cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1184
Views
0
Helpful
4
Replies

RME - CLI reboot after IOS upgrade?

randomjoe1
Level 1
Level 1

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.

4 Replies 4

Joe Clarke
Cisco Employee
Cisco Employee

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

Thanks for the quick reply!

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.

Review Cisco Networking for a $25 gift card