How to set telnet password on Cisco router and switches

Configure telnet password on Cisco router & switches

R1#conf t
R1(config)#line vty 0 4
R1(config-line)#password cisco
R1(config-line)#login
R1(config-line)#end
R1#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
R1#

//Remember to set your enable password for full access

R1(config)#enable secret yourPassWord

How to set console password:

R1#conf t
R1(config)#line con 0
R1(config-line)#password cisco
R1(config-line)#login
R1(config-line)#end
R1#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
R1#

Same step for configuring Auxiliary (AUX) port.

Just replace line con 0 to line aux 0

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top