
6-15
Cisco 7204 Installation and Configuration Guide
OL-5101-02
Chapter6 Maintaining the Cisco 7204 Replacing or Recovering a Lost Password
Step6 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.
Step7 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 --
Step8 Enter no in response to the system configuration dialog prompts until the following message is
displayed:
Press RETURN to get started!
Step9 Press Return. The user EXEC prompt is displayed as follows:
Router>
Step10 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
Step11 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 pa ssword is nea r th e en d). T he pass word s
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 se cret passwor d, note th e en ab le and c on sol e
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 yo u to era se your
router configuration.
Step12 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
Step13 Enter the privileged EXEC command configure terminal to enter configuration mode:
Hostname# configure terminal
Step14 Change all three passwords using the following commands: