RME - CLI reboot after IOS upgrade?

Unanswered Question
Feb 8th, 2010
User Badges:


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.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Joe Clarke Mon, 02/08/2010 - 12:37
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

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:

randomjoe1 Wed, 02/10/2010 - 13:44
User Badges:

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?

Joe Clarke Wed, 02/10/2010 - 18:01
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

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.


This Discussion