Overview of the Password Recovery Procedure
SUMMARY STEPS
1. If you can log in to the router, enter the show version command to determine the existing configuration
register value.
2. Press the Break key to get to the bootstrap program prompt (ROM monitor). You might need to reload
the system image by power cycling the router.
3. Change the configuration register so the following functions are enabled:
4. Power cycle the router by turning power off and then back on.
5. Log in to the router and enter the privileged EXEC mode.
6. Enter the show startup-config command to display the passwords.
7. Recover or replace the displayed passwords.
8. Change the configuration register back to its original setting.
DETAILED STEPS
Step 1
If you can log in to the router, enter the show version command to determine the existing configuration register value.
Step 2
Press the Break key to get to the bootstrap program prompt (ROM monitor). You might need to reload the system image
by power cycling the router.
Note
To recover a lost password if the Break function is disabled on the router, you must have physical access to the
router.
If you are going to power cycle a Cisco ASR 1013 Router, we recommend that you first perform a graceful
Caution
reload on the router. Power cycling the router without first performing a graceful reload might cause a loss
of data stored in the NVRAM. In other words, the configuration file might be lost. Note that this is not
observed when a power failure occurs because each active power supply in the two power supply zones is
power cycled at the same time during a power failure. If there is a chance that the router might be power
cycled without a graceful reload, we recommend that you use the boot config file-system:configuration-file
nvbypass command to specify a file system other than the NVRAM for storing the configuration file. The
following are examples:Router(config)# boot config harddisk:config_file.cfg nvbypassRouter(config)#
boot config bootflash:configuration_data.cfg nvbypass
Step 3
Change the configuration register so the following functions are enabled:
a) Break
b) Ignore startup configuration
c) Boot from flash memory
Note
The key to recovering a lost password is to set the configuration register bit 6 (0x0040) so that the startup
configuration (usually in NVRAM) is ignored. This allows you to log in without using a password and to
display the startup configuration passwords.
Step 4
Power cycle the router by turning power off and then back on.
When powering off the router, wait for 30 seconds before powering it on again.
Note
Step 5
Log in to the router and enter the privileged EXEC mode.
Step 6
Enter the show startup-config command to display the passwords.
Step 7
Recover or replace the displayed passwords.
Step 8
Change the configuration register back to its original setting.
Cisco ASR 1000 Series Router Hardware Installation Guide
656
Troubleshooting Initial Startup Problems