12-03-2018 03:38 PM
I have a ton of switches which needs to be cleared of the configs and we bought a console switch to automate the process, can anyone help me with a script or a way to reset multiple switches to default configuration. Please post the script and a way to do it, i will test it out and will post the results. In this way it will be useful to everyone. Thank you.
12-04-2018 05:41 AM
Hi
I have done the bulk configuration edit via telnet or ssh from a Linux machine using expect script.
As you mentioned that you bought a console switch I am guessing what you mean is a "Cisco Access Server Terminal Server AS2500 series".
Please share the command input and output of erasing one switch for script to be generated.
Regards
Zaaf
12-06-2018 11:47 AM
12-07-2018 04:26 AM
Hi Vannapa
I am familiar with NM-16A with octal cable or AS2511. Did a quick search for seramux 16 port switch on google but nothing came up unfortunately.
Moreover as requested previously can you share a command output for clearing configuration for one switch using the switch you mentioned.
In summary you have three options
- Manually connect to one switch's console port at a time and clear the configuration manually.
- Use terminal device with multiple ports. Connect each port from terminal server to individual switch's console port. Login to terminal device and manually clear each switch's configuration one after another.
- User terminal device with multiple ports. Connect each port from terminal server to individual switch's console port. configuration a script on your PC which login to terminal device and clear each switch's configuration one after another.
Unfortunately there is no generic script. I would need an example of how you login to terminal device (telnet easy to automate) and connect to switches.
A quick search came up with good examples https://www.youtube.com/watch?v=QuTpQBT1mH8 and https://www.youtube.com/watch?v=QfCiaQP1Itc
Regards
Zaaf
12-07-2018 08:10 AM
12-04-2018 05:47 AM
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