
Maintaining the Cisco 2524 and Cisco 2525 Routers A-17
Recovering Lost Passwords
Step 11 Scan the configuration file displayed for the passwords (the enable and enable
secret passwords are usually near the beginning of the file and the console
password is near the end of the file). An example display follows:
enable secret 5 $1$ORPP$s9syZt4uKn3SnpuLDrhuei
enable password sand
.
.
line con 0
password seashells
Proceed to Step 12 to replace an enable secret, console, or enable password. If
there is no enable secret password, note the enable and console passwords, if they
are not encrypted, and proceed to Step 15.
Caution Do not take the next three steps unless you have determined that you must change
or replace the enable, enable secret, or console passwords. Failure to follow the steps as
shown might cause you to erase your router configuration.
Step 12 Enter the configure memory command to modify or replace passwords in
NVRAM:
Router# configure memory
Step 13 Enter the configure terminal command to enter configuration mode:
Router# configure terminal
Step 14 Change only the passwords that are necessary for your configuration. The
following example shows how to change all three types of passwords. The first
two lines show how to change the enable secret and enable passwords. The last
two lines show how to change the console password.
Router(config)# enable secret pail
Router(config)# enable password shovel
Router(config)# line con 0
Router(config-line)# password con1
For maximum security, be sure the enable secret and enable passwords are
different.
Comentarios a estos manuales