3-26
Cisco 7201 Installation and Configuration Guide
OL-11364-04
Chapter 3 Starting and Configuring the Router
Replacing or Recovering a Lost Password
Replacing or Recovering a Lost Password
This section describes how to recover a lost enable or console login password, and how to replace a lost
enable secret password on your Cisco 7201 router.
Note It is possible to recover the enable or console login password. The enable secret password is encrypted,
however, and must be replaced with a new enable secret password.

Overview of the Password Recovery Procedure

Following is an overview of the steps in the password recovery procedure:
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.
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.
Note When powering off the router, wait 30 seconds before powering it on again.
Step 4 Power cycle the router by turning power off and then back on.
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.