02-08-2010 12:18 PM
Hi,
Is there any way for RME to invoke a CLI reboot after an image upgrade job? I maintain a network without SNMP RW permissions.
LMS 3.2
RME 4.3.1
network devices - switches - mainly 3750(regular/g/e), 3560(regular/g), and a few 2950's.
02-08-2010 12:37 PM
You could create a Netconfig job to do this. Netconfig has a template for reloading a device. You could do this automatically by creating a script which gets called when the SWIM job finishes. The script could call cwcli to create a Netconfig job. For example:
cwcli netconfig createjob -u admin -p admin -devicelist rtr1 -commandfile cmd.dat -description "cwcli job to reload rtr1" -mode enable
The contents of cmd.dat would be:
reaload
02-08-2010 12:41 PM
Thanks for the quick reply!
02-10-2010 01:44 PM
How does the script get called when the SWIM job finishes? From what I got out of the example script you are creating a netconfig job to log into the device, enable, then execute the cmd.dat file (reload) on rtr1 immediately with user and pass 'admin'. How do you set the script to execute upon successful completion of the SWIM job?
02-10-2010 06:01 PM
Go to RME > Admin > Software Mgmt > View/Edit Preferences. Consult the context sensitive online help here to get the format of the script as well as its required location.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide