31-6
Catalyst 2960 Switch SoftwareConfiguration Guide
78-16881-01
Chapter31 Troubleshooting
Recovering from a Lost or Forgotten Password
Step14 Reload the switch:
Switch# reload
Procedure with Password Recovery Disabled
If the password-recovery mechanism is disabled, this message appears:
The password-recovery mechanism has been triggered, but
is currently disabled. Access to the boot loader prompt
through the password-recovery mechanism is disallowed at
this point. However, if you agree to let the system be
reset back to the default system configuration, access
to the boot loader prompt can still be allowed.
Would you like to reset the system back to the default configuration (y/n)?
Caution Returning the switch to the default configuration results in the loss of all existing configurations. We
recommend that you contact your system administrator to verify if there are backup switch and VLAN
configuration files.
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 enter 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.
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:
Directory of flash:
13 drwx 192 Mar 01 1993 22:30:48 c2960-lanbase-mz.122-25.FX.0
16128000 bytes total (10003456 bytes free)
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