05-29-2015 11:37 PM - edited 03-08-2019 12:16 AM
Hi All,
I can manage to save the "sh run" of a single Cisco/Router in a text file using putty.
But, can any one help me on, how to save "sh run" of multiple Cisco switch/router (more than 100 devices) to different text file at a single time?
Your help is highly appreciated.
05-30-2015 12:44 AM
But, can any one help me on, how to save "sh run" of multiple Cisco switch/router (more than 100 devices) to different text file at a single time?
Is this a "once off" thing or are you planning to do this regularly?
Try the script below:
archive log config logging enable hidekeys path tftp://<TFTP IP address>/$h- write-memory
The script above means every time you save the config a copy of the config is stored in the TFTP of your choice.
If you want to store the config file regularly, like every week, then add the command "time-period 10080" at the end of the archive command.
05-30-2015 08:41 AM
hi Leo,
Thanks for the above input...
Please clarify me how to run the above script, should i have to save the above text in .bat format and then run or else how?
Also, let me know, should i have to enable ssh in all the devices or else telnet is enough.
I am planning to do this regular basis.
05-30-2015 04:22 PM
Please clarify me how to run the above script, should i have to save the above text in .bat format and then run or else how?
Every time you save the config of the appliance, the script will automatically run.
Also, let me know, should i have to enable ssh in all the devices or else telnet is enough.
Won't make any difference. Make sure TFTP is allowed, on the firewall, to the TFTP server.
I am planning to do this regular basis.
Insert the "time-period <BLAH>" command and the script will automatically run when there's no intervention.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide