Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

linking config & s/w deployment jobs in RME

Hello.

Is it possible to have a netconfig job fire off a software deployment job which in turn sets off another netconfig job?

I need to update IOS on 3800s but to allow RME to reboot via SNMP I first need to add config cmd 'snmp-server system-shutdown' and remove after successful reboot.

I'm looking for a more efficient way than running three separate jobs.

Any ideas?

Cheers

David

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: linking config & s/w deployment jobs in RME

You can do this using the SWIM pre and post scripting capabilities, but the change cannot happen via Netconfig. If you use SWIM scripting, the device will already be locked for exclusive access by SWIM, so Netconfig will fail. However, you could use Perl's Net::Telnet, or SNMP/TFTP to manually make the configuration change. More on SWIM scripting can be found in the RME online help at http://server/help/rme/fundamentals/swmgt_View_Edit_Preferences.html#wp1154398 and http://server/help/rme/fundamentals/swmgt_Understandng_Usersupplied_Scripts.html .

Outside of SWIM scripting, you would need to schedule multiple jobs as SWIM jobs cannot currently be scheduled from the command line.

2 REPLIES
Cisco Employee

Re: linking config & s/w deployment jobs in RME

You can do this using the SWIM pre and post scripting capabilities, but the change cannot happen via Netconfig. If you use SWIM scripting, the device will already be locked for exclusive access by SWIM, so Netconfig will fail. However, you could use Perl's Net::Telnet, or SNMP/TFTP to manually make the configuration change. More on SWIM scripting can be found in the RME online help at http://server/help/rme/fundamentals/swmgt_View_Edit_Preferences.html#wp1154398 and http://server/help/rme/fundamentals/swmgt_Understandng_Usersupplied_Scripts.html .

Outside of SWIM scripting, you would need to schedule multiple jobs as SWIM jobs cannot currently be scheduled from the command line.

New Member

Re: linking config & s/w deployment jobs in RME

Thanks Joe.

122
Views
5
Helpful
2
Replies
CreatePlease login to create content