6-16
Cisco 7204 Installation and Configuration Guide
OL-5101-02
Chapter 6 Maintaining the Cisco 7204
Replacing or Recovering a Lost Password
Hostname(config)# enable secret newpassword1
Hostname(config)#
enable password newpassword2
Hostname(config)#
line con 0
Hostname(config-line)# password newpassword3
Change only the passwords necessary for your configuration. You can remove individual passwords by
using the no form of the above commands. For example, entering the no enable secret command
removes the enable secret password.
Step 15
You must configure all interfaces to be not administratively shutdown as follows:
Hostname(config)#
interface fastethernet 0/0
Hostname(config-int)#
no shutdown
Enter the equivalent commands for all interfaces that were originally configured. If you omit this step,
all interfaces will be administratively shutdown and unavailable when the router is restarted.
Step 16
Use the config-register command to set the configuration register to the original value noted in Step 3
or Step 7, or to the factory default value 0x2102 as follows:
Hostname(config)#
config-register 0x2102
Step 17
Press Ctrl-Z (hold down the Control key while you press Z) or enter end to exit configuration mode
and return to the EXEC command interpreter.
Caution
Do not execute the next step unless you have changed or replaced a password. If you skipped
Step 12
through
Step 15
, skip to
Step 19
. Failure to observe this caution will cause you to erase your router
configuration file.
Step 18
Enter the copy running-config startup-config command to save the new configuration to nonvolatile
memory.
Step 19
Enter the reload command to reboot the router.
Step 20
Log in to the router with the new or recovered passwords.
This completes the steps for recovering or replacing a lost enable, enable secret, or console login
password.