You are on page 1of 2

301, ND Hazel,

13th Main, BTM 2nd Stage,


Bangalore – 560 076.
Ph : 91-9886627701

CCNA Lab 1
Reset the router password

Topology:

Objectives:
1. Setting the enable password if you forgot the password.

Lab Process

Configuring Telnet password for Telnet access:


Router(config)#hostname kamp_r1
kamp_r1(config)#line vty 0 4
kamp_r1(config-line)#password kamp
kamp_r1(config-line)#login

Configuring enable password:


kamp_r1(config)#enable password kamp123
kamp_r1(config)#exit
kamp_r1#copy run star : copy the running configuration into startup
configuration
kamp_r1#reload : reboot the router

Enter into ROMMon Mode:


When restarting the router, press Ctrl+Break to enter the ROMMon mode.
rommon 1 > confreg 0x2142 : Change the value of the configuration registry so
that you can enter the setup mode after the router is restarted

rommon 2 > reset : restart the router

Enter into Setup Mode but do not make any configuration:


© 2011 KAMP Academy. All rights reserved.
When you enter the setup mode after the router is restarted, do not perform any configuration.
Could you like to terminate autoinstall? [yes]: yes
Continue with configuration dialog? [yes/no]: no : Setup mode with no configuration
Router#configure terminal
Router(config)#no enable secret : delete the password
Router(config)#line console 0 : delete the password
Router(config-line)#no password : delete the password
Router(config)#config-register 0X2102 : Change the register values to default
Router(config)#exit

Check and save the setting into NVRAM:


Router(config)#exit : Exit the router configuration mode
Router#show run : Check the configuration
Router#show version : Check the register value
Router#copy run star : save the settings
Router#reload : Restart the router

Testing:
1. After the router is restarted, you can enter the privilege mode without password.
2. Observe the effect of register value 0x2142 and 0X2102

© 2011 KAMP Academy. All rights reserved.

You might also like