Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

IOS Command Question

Here is my situation. I have a couple hundred switches. Want to preform the following command:

show run | redirect tftp://xxx.xx.xx.xx/configs/hostname.cfg

Is there a way to have the switch automatically input the "hostname" into this command or will I have to manually enter it for each switch that I want to do this on?

Brian

Everyone's tags (1)
2 REPLIES

IOS Command Question

Hi Brian,

there is EEM and TCL scripting that can really help for this. Of course you need to write a script, testing it and deploying it before automising any action. I am sure you know Ivan Papelnijak and his expertise...

http://wiki.nil.com/Main_Page

His website (his company's) is a very good start point to start understanding practically how to implement these scripts

Alessio

IOS Command Question

Hi Brian,

You can do that with the VBScript as well... If anyone knows VB scripts you can ask them to do a script for you to get this done.  Idea is you should have the list of network devices (IP address list) mentioned in one notepad. VB script which links the putty.exe or some other application which you use  and you should mention the file name where it has to store. You may also include your user credentials for making this work.

Am not much expertise in writing the script... But this is the scenario.

By

Karthik

243
Views
0
Helpful
2
Replies
CreatePlease to create content