cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Who Me Too'd this topic

Using Cisco Commands in a Batch file

majdalani
Level 1
Level 1

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. ?

Who Me Too'd this topic