Description: We
configure console password and vty password. Use enable password ccna,
enable secret password exam, console and vty password of exam
again.
Instructions:
1. Enter global configuration mode.
2. Set the enable password to "ccna"
3. Set the enable secret to "exam"
4. Set the console password to "exam" for line console 0
5. Set the telnet access password to "exam" for line vty 0-4
6. Exit the line configuration mode.
R1>enable
R1#configure terminal
R1(config)#enable password ccna
R1(config)#enable secret exam
R1(config)#line console 0
R1(config-line)#login
R1(config-line)#password exam
R1(config-line)#line vty 0 4
R1(config-line)#login
R1(config-line)#password exam
R1(config-line)#exit