Script a "wr" command to many switches?

Unanswered Question
May 24th, 2012
User Badges:


Is there a tool to allow me to issue the "write" command on lots of switches rather than me access them all one by one as I have about 100 to access?


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Andy White Thu, 05/24/2012 - 05:54
User Badges:

I have this tool, but I don't want to upload configs, but just want to access the switch and do a "write" then exit, will that do this?

szajihsaniatan Thu, 05/24/2012 - 05:56
User Badges:

yeah, you tell what u want to do and it will do can sched it as well...give it a try...

hobbe Thu, 05/24/2012 - 06:52
User Badges:
  • Gold, 750 points or more


Depending on what switches you are using you can do things like that with EEM and TCL scripts

I can not find a scenario where you want to do this other than you absolutely want to be sure that the configuration is saved.

You can use eem and tcl scripts to either time the wr so that it happens at a specific time fx 23:00 or at a specific event such as fx logging out, a hit on a specific row in an access-list and so on.

The EEM and TCL scripts makes many tasks possible that was not possible before.

Good luck

Hope This Helps

Steve Graham Thu, 05/24/2012 - 07:19
User Badges:

Andy, I'm not sure by your question if you were looking for free software or simply software that does this.  Solarwinds NCM is a great tool for pushing scripts to network devices.  Very useful tool, however, it will take some investment to deploy, but with the modules available, it's a great investment to automate several operational tasks throughout your network environment.  Obviously it's not used for pushing scripts to your devices, it does a whole lot more than that.  You can get a 30 day free trial of the full version to see if it's something that would be beneficial to you.

Good luck!

Andy White Thu, 05/24/2012 - 07:25
User Badges:


Solarwinds NCM looks good, so it could be used to issue a write command only to multiple devices?


Steve Graham Thu, 05/24/2012 - 07:33
User Badges:

Absolutely!  Comes in handy when wanting to change configs on multiple devices in your environment, i.e. changing enable secret, updating snmp configs, etc.



This Discussion

Related Content