Chapter 5 Replacing or Recovering Passwords

Password Recovery Procedure

Caution Do not execute the next step unless you have determined you must change or replace the enable, enable secret, or console login passwords. Failure to follow the steps as shown might cause you to erase the router configuration.

Step 12 Enter the copy startup-configrunning-configcommand to load the startup configuration file into running memory. This action allows you to modify or replace passwords in the configuration.

Router# copy startup-config running-config

Step 13 Enter the privileged EXEC command configure terminal to enter configuration mode:

Router# configure terminal

Step 14 Change all three passwords using the following commands:

Router(config)# enable secret newpassword1

Router(config)# enable password newpassword2

Router(config)# line con 0

Router(config-line)# password newpassword3

Change only the passwords necessary for your configuration. You can remove individual passwords by using the no form of the above commands. For example, entering the no enable secret command removes the enable secret password.

Step 15 You must configure all interfaces to avoid having the system be administratively shut down:

Router(config)# interface fastethernet 0/0

Router(config-int)# no shutdown

Enter the equivalent commands for all interfaces that were originally configured. If you omit this step, all interfaces are administratively shut down and unavailable when the router is restarted.

Step 16 Use the config-registercommand to set the configuration register to the original value noted in Step 3 or Step 7, or to the factory default value 0x2102.

Router(config)# config-register 0x2102

Step 17 Press Ctrl-Z(hold down the Control key while you press Z) or enter end to exit configuration mode and return to the EXEC command interpreter.

Caution Do not execute the next step unless you have changed or replaced a password. If you skipped Step 12 through Step 15, go to Step 19. Failure to observe this caution causes you to erase the router configuration file.

Step 18 Enter the copy running-configstartup-configcommand to save the new configuration to NVRAM. Step 19 Enter the reload command to reboot the router.

Step 20 Log in to the router using the new or recovered passwords.

Cisco uBR10012 Universal Broadband Router Troubleshooting Guide

 

OL-1237-01

5-3

 

 

 

Page 71
Image 71
Cisco Systems UBR10012 manual Change all three passwords using the following commands