cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
941
Views
5
Helpful
2
Replies

linking config & s/w deployment jobs in RME

dlongworth
Level 1
Level 1

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

Joe Clarke
Cisco Employee
Cisco Employee

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.

View solution in original post

2 Replies 2

Joe Clarke
Cisco Employee
Cisco Employee

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.

Thanks Joe.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: