6-15
Cisco 7204 Installation and Configuration Guide
OL-5101-02
Chapter 6 Maintaining the Cisco 7204
Replacing or Recovering a Lost Password
Step 6
Set the configuration register using the configuration register utility—enter the confreg command at the
ROM monitor prompt as follows:
rommon1>
confreg
Answer yes to the enable “ignore system config info”? question and note the current configuration
register settings.
Step 7
Initialize the router by entering the reset command as follows:
rommon2>
reset
The router will initialize, the configuration register will be set to 0x142, and the router will boot the
system image from Flash memory and enter the system configuration dialog (setup) as follows:
--- System Configuration Dialog --
Step 8
Enter no in response to the system configuration dialog prompts until the following message is
displayed:
Press RETURN to get started!
Step 9
Press Return. The user EXEC prompt is displayed as follows:
Router>
Step 10
Enter the enable command to enter privileged EXEC mode. Then enter the show startup-config
command to display the passwords in the configuration file as follows:
Router#
show startup-config
Step 11
Scan the configuration file display looking for the passwords (the enable passwords are usually near the
beginning of the file, and the console login or user EXEC password is near the end). The passwords
displayed will look something like this:
enable secret 5 $1$ORPP$s9syZt4uKn3SnpuLDrhuei
enable password 23skiddoo
.
.
line con 0
password onramp
The enable secret password is encrypted and cannot be recovered; it must be replaced. The enable and
console passwords may be encrypted or clear text. Proceed to the next step to replace an enable secret,
console login, or enable password. If there is no enable secret password, note the enable and console
login passwords, if they are not encrypted, and proceed to
Step 16
.
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 may cause you to erase your
router configuration.
Step 12
Enter the configure memory command to load the startup configuration file into running memory. This
action allows you to modify or replace passwords in the configuration.
Router# configure memory
Step 13
Enter the privileged EXEC command configure terminal to enter configuration mode:
Hostname# configure terminal
Step 14
Change all three passwords using the following commands: