::
Computers & Technology
setup local username password for cisco switchrouter for telnet access
SpiderTip
Posted: 2014-03-20
The example will show you how to go about logging protecting your router or Switch via telnet using full username and password instead of just password. This example will setup a locally significant username and password to access the switch or the router.
Here is how you would setup a local username and password:
Switch1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch1(config)#username adm1 password adpass
Switch1(config)#username adm2 password adpass2
Switch1(config)#line vty 0 4
Switch1(config-line)#end
Switch1#wr
Building configuration...
[OK]
Switch1#
Note, we setup two local users’ adm1 and adm2 with passwords. Also note that Telnet session is not secure since the communication is not encrypted.