Chapter 3
Starting and Configuring the Router
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 7301 router.
It is possible to recover the enable or console login password. The enable secret password is encrypted,
Note
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.
Press the Break key to get to the bootstrap program prompt (ROM monitor). You might need to reload
Step 2
the system image by power cycling the router.
Change the configuration register so the following functions are enabled:
Step 3
a.
b.
c.
Note
Note
Power cycle the router by turning power off and then back on.
Step 4
Log in to the router and enter the privileged EXEC mode.
Step 5
Enter the show startup-config command to display the passwords.
Step 6
Recover or replace the displayed passwords.
Step 7
Change the configuration register back to its original setting.
Step 8
To recover a lost password if the Break function is disabled on the router, you must have physical access
Note
to the router.
OL-5418-07
Break
Ignore startup configuration
Boot from Flash memory
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.
When powering off the router, wait 30 seconds before powering it on again.
Replacing or Recovering a Lost Password
Cisco 7301 Installation and Configuration Guide
3-31