Concept Guide
Recovering from a Forgotten Password
If you congure authentication for the console and you exit out of EXEC mode or your console session times out, you are prompted for a
password to re-enter.
Use the following commands if you forget your password.
1 Log onto the system using the console.
2 Power-cycle the chassis by switching o all of the power modules and then switching them back on.
3 Hit the ESC key when prompted to abort the boot process. You enter uBoot immediately, as indicated by the => prompt.
(during bootup)
Hit the ESC key when prompted.
4 Use the following command to ignore the startup conguration.
uBoot mode
ignore startup-config
5 Reload the system.
uBoot mode
reset
6 Copy startup-cong.bak to the running cong.
EXEC Privilege mode
copy flash://startup-config.bak running-config
7 Remove all authentication statements you might have for the console.
LINE mode
no authentication login no password
8 Save the running-cong.
EXEC Privilege mode
copy running-config startup-config
9 Set the system parameters to use the startup conguration le when the system reloads.
uBoot mode
setenv stconfigignore false
Recovering from a Forgotten Enable Password
Use the following commands if you forget the enable password.
1 Log onto the system using the console.
2 Power-cycle the chassis by switching o all of the power modules and then switching them back on.
3 Hit the ESC key when prompted to abort the boot process. You enter uBoot immediately, as indicated by the => prompt.
(during bootup)
hit the ESC key when prompted.
4 Set the system parameters to ignore the enable password when the system reloads.
uBoot mode
ignore enable-password
5 Reload the system.
90
Management