Is there any way for RME to invoke a CLI reboot after an image upgrade job? I maintain a network without SNMP RW permissions.
network devices - switches - mainly 3750(regular/g/e), 3560(regular/g), and a few 2950's.
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:
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?
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.