01-29-2008 09:03 AM - edited 03-05-2019 08:47 PM
Hi,
Does any one know how to write a batch file to configure cisco switches.
for example i have 20 2970 switches, and i dont want to enter each one by one to change the password.
the lines are simple:
telnet 172.16.0.1
password
en
password
config t
line vty 0 15
password mypassowrd
login
does anyone know how to include this in a batch file, so that i can telnet each switch and run these commands. ?
Solved! Go to Solution.