R1(config)#line console 0 //To Line console configuration
R1(config-line)#password theline //password is "thecat"
R1(config-line)#login //use password to connect via console cable
AUX port :
R1(config)#line aux 0
R1(config)#password theaux
R1(config-line)#login
Telnet :
R1(config)#line vty 0 4 //0 and 4 are sessions (5 sessions can telnet to R1)
R1(config-line)#password thetelnet //password is "thetelnet"
R1(config-line)#login
***** R1#show user
User Mode to Privileged Mode :
R1(config)#enable secret theprivileged
***** output on "show run" : enable secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0
R1(config)#enable password theprivileged
***** output on "show run" : enable password theprivileged
"Encrypt System Password" : Console, AUX, TelnetR1(config)#service password-encryption