CONSOLE PASSWORD
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#line con 0
Router(config-line)#password CCENT
Router(config-line)#login
Router(config-line)#^Z
Router#
*Jan 19 21:49:48.235: %SYS-5-CONFIG_I: Configured from console by console
Router#
TELNET PASSWORD
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#line vty 0 4
Router(config-line)#password cisco
Router(config-line)#login
Router(config-line)#^Z
*Mar 1 00:02:14.499: %SYS-5-CONFIG_I: Configured from console by console
Router#wr
Building configuration...
[OK]
ENABLE PASSWORD
Router(config)#enable secret cisco
LOGIN USER
R1_1841(config)#line vty 0 4
R1_1841(config-line)#login ?
local Local password checking
tacacs Use tacacs server for password checking
Create user database
R1_1841(config-line)#login local
username pedro password cisco