31-4
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
78-11380-12
Chapter 31      Troubleshooting
    Using Recovery Procedures
Step 15 Change the password:
switch(config)# enable secret <
password
>
or
switch(config)# enable password <
password
>
Step 16 Return to privileged EXEC mode:
switch(config)# exit
switch#
Step 17 Write the running configuration to the startup configuration file:
switch# copy running-config startup-config
The new password is now included in the startup configuration.
Recovering from Lost or Forgotten Passwords on Catalyst 2950 LRE Switches
An end user with physical access to the switch can recover from a lost password by interrupting the boot 
process during power-on and by entering a new password. This is the default configuration for Catalyst 
2940Catalyst 2950 LRE switches.
Note A system administrator can disable some of the functionality of the password recovery feature by 
allowing an end user to reset a password only by agreeing to return to the default configuration. If you 
are an end user trying to reset a password and password recover has been disabled, a status message 
shows this during the recovery process.
Follow these steps if you have forgotten or lost the switch password:
Step 1 Connect a terminal or PC with terminal-emulation software to the switch console port. 
Note See the “Connecting the Console Port” and “Starting the Terminal Emulation Software” sections 
in “Appendix D, Configuring the Switch with the CLI-Based Setup Program.”
Step 2 Set the line speed on the emulation software to 9600 baud.
Step 3 Unplug the switch power cord. 
Step 4 Reconnect the power cord to the switch and, within 15 seconds, press the Mode button while the System 
LED above port 1X is still flashing green. Continue pressing the Mode button until the System LED 
turns briefly amber and then solid green; then release the Mode button. 
Several lines of information about the software appear with instructions, informing you if the password 
recovery procedure has been disabled or not. 
• If you see a message that begins with this:
The system has been interrupted prior to initializing the flash file system. The 
following commands will initialize the flash file system
go to the “Password Recovery with Password Recovery Enabled” section on page 31-5, and follow 
the steps.