Troubleshooting

Recovering Lost Passwords

You can remove individual passwords by using the no form of these commands. For example, enter the no enable secret command to remove the enable secret password.

17.Configure all interfaces to be administratively up. In the following example, the Ethernet 0 port is configured to be administratively up:

Router(config-line)# interface ethernet 0

Router(config-if)# no shutdown

Enter the equivalent commands for all interfaces that were originally configured.

18.Set the configuration register to the original value you noted in step 3 or the factory-default value (0x2102). The following example shows how to set the configuration register to the factory-default value:

 

 

Router(config-if)#config-register 0x2102

 

 

Router(config)#

 

19.

Press Ctrl-Zto exit configuration mode.

 

 

C A U T I O N

Do not take the next three steps unless you have changed or replaced a

 

password or you might erase your router configuration. If you did not change

 

or replace a password, proceed to step 23 and log in.

 

20.

Enter the copy running-config startup-config command to save the

 

 

 

new configuration to NVRAM. This command copies the changes you just

 

 

made to the running configuration to the startup configuration. The

 

 

following message appears:

 

 

Router# copy running-config startup-config

 

 

Building configuration...

 

 

[OK]

 

 

Router#

 

21.

Reboot the router:

 

 

Router# reload

 

 

Proceed with reload? [confirm]

 

22.

Press Return to confirm. When the router reboots it will use the new

 

 

configuration register value you set in step 18.

 

23.

Log in to the router with the new or recovered passwords.

Maintenance

4-7