32-7
Catalyst2950 and Catalyst2955 Switch Software Configuration Guide
78-11380-10
Chapter32 Troubleshooting Using Recovery Procedures
If you enter n (no), the normal boot process continues as if the Mode button had not been presse d;
you cannot access the boot loader prompt, and you cannot ent er a new password. You see the
message:
Press Enter to continue........
If you enter y (yes), the configuration file in flash memory and the VLAN database file are deleted.
When the default configuration loads, you can reset the password.
Follow these steps when the password-recovery mechanism is disabled:
Step1 Elect to continue with password recovery and lose the existing configuration:
Would you like to reset the system back to the default configuration (y/n)? Y
Step2 Load any helper files:
Switch# load_helper
Step3 Display the contents of flash memory:
switch# dir flash:
The switch file system appears in the directory.
Step4 Boot the system:
Switch# boot
You are prompted to start the setup program. To continue with password recovery, enter N at the prompt:
Continue with the configuration dialog? [yes/no]: N
Step5 At the switch prompt, enter privileged EXEC mode:
Switch> enable
Step6 Enter global configuration mode:
Switch# configure terminal
Step7 Change the password:
Switch (config)# enable secret password
The secret password can be from 1 to 25 alphanumeric characters, can start with a number, is case
sensitive, and allows spaces but ignores leading spaces.
Step8 Return to privileged EXEC mode:
Switch (config)# exit
Switch#
Step9 Write the running configuration to the startup configuration file:
Switch# copy running-config startup-config
The new password is now in the startup configuration.