If you don’t set a password for your switch, you will not be able of getting in, so in a few steps:
Take your favorite client, I normally work with minicom:
# minicom -s ( Setting up serial cable: 9600 8N1 )
Some useful commands:
– CTRL-A Q Exit minicom
– CTRL-A F Send breakmyswitch> enable
myswitch#configure
myswitch(config)#line vty 0 4
myswitch(config-line)#password mypasswd
myswitch(config-line)#login
myswitch(config-line)#exit
myswitch(config)#service password-encryption
myswitch(config)#exit
myswitch#write
The last line is the most important, if you forget this line you will not be able of doing telnet. Now you can do telnet your switch.
0 comments ↓
There are no comments yet...Kick things off by filling out the form below.
Leave a Comment