12-04-2006 05:22 PM
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
Solved! Go to Solution.
12-04-2006 05:54 PM
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.
12-04-2006 05:54 PM
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.
12-05-2006 04:28 PM
Thanks Joe.
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: