5-14
Cisco 7206 Installation and Configuration Guide
OL-5102-02
Chapter 5 Maintaining the Cisco 7206
Replacing or Recovering a Lost Password
Router# copy tftp slot0
Enter source filename: image.name
20575008 bytes available on device slot0, proceed? [confirm]
address or name of remote host [tftp.server.name]? tftp.server.name
loading new.image from tftp.server.name (via Ethernet1/0):!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 7799951/15599616 bytes]
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
Router#
The Flash memory card is now reformatted and ready to use.
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 7206 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.
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.
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.