Login and telnet to cisco switch
$ telnet
Enable command line for switch
telnet> enable
Prepare to configure switch
ciscoswitch-ip# configure terminal
exapsw-ip(config)#line vty 0 15
exapsw-ip(config-line)#login
Change the password
exapsw-ip(config-line)#password newpassword
exapsw-ip(config-line)#login
exapsw-ip(config-line)#end
Save the changes to the switch
exapsw-ip#write memory
Building configuration…
Compressed configuration from 4001 bytes to 1608 bytes[OK]
exapsw-ip#
Now try to login again with new password to verify the changed password
$ telnet
Enable command line for switch
telnet> enable
Prepare to configure switch
ciscoswitch-ip# configure terminal
exapsw-ip(config)#line vty 0 15
exapsw-ip(config-line)#login
Change the password
exapsw-ip(config-line)#password newpassword
exapsw-ip(config-line)#login
exapsw-ip(config-line)#end
Save the changes to the switch
exapsw-ip#write memory
Building configuration…
Compressed configuration from 4001 bytes to 1608 bytes[OK]
exapsw-ip#
Now try to login again with new password to verify the changed password
No comments:
Post a Comment