[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More


Password Recovery for Cisco Catalyst 2900XL, 3500XL, 2950, and 3550 Series Switches

Published on
11,524 Points
2 Endorsements
Last Modified:
The worst thing when starting a new job is when the previous Network Administrator left behind no documentation. How do you get into the devices? If you've been in this situation or just accidently mistyped your password, this article will hopefully shed some light on your problem.

1. Console to the device

Console into your switch using a console cable an a program such as HyperTerminal, CRT, SecureCRT or Putty.

2. Enter recovery mode

Unplug the power cable. Then, plug the power cable back in WHILE holding the mode button located on the front panel of the switch.

Note: For 2900/3500XL and 3550 Series switches, release the mode button after the LED above port 1 turns off. For 2950 Series switches, release the mode button after the STAT LED goes out.

3. Initialize the flash


switch: flash_init

Open in new window

4. Issue the load_helper command


switch: load_helper

Open in new window

5. View the flash


switch: dir flash:

Open in new window

6. Rename the current configuration file


switch: rename flash:config.text flash:config.old

Open in new window

7. Boot the device

Type "boot" and press enter.

switch: boot

Open in new window


8. Cancel the the system setup


--- System Configuration Dialog ---
At any point you may enter a question mark '?' for help.
Use ctrl-c to abort configuration dialog at any prompt.
Default settings are in square brackets '[]'.
Continue with configuration dialog? [yes/no]: n 

Press RETURN to get started.

Open in new window

9. Enter enabled mode



Open in new window

10. Rename the configuration


Switch#rename flash:config.text system:running-config

Open in new window

11. Copy the configuration into the running-configuration


Switch#copy flash:config.text system:running-config

Open in new window

12. Change the password


Switch#configure terminal
Switch(config)#no enable secret 
Switch(config)#enable password NEWPASSWORD

Open in new window

13. Save your new password


Switch#write memory

Open in new window

1 Comment

Administrative Comment

This appears to be substantially nothing more than the information already provided by Cisco:

Do you have anything further to add that they don't cover already?

Experts-Exchange Moderator

Featured Post

Starting with Angular 5

Learn the essential features and functions of the popular JavaScript framework for building mobile, desktop and web applications.

I've published three five-minute Experts Exchange video Micro Tutorials that describe terrific features in an excellent, free PDF product called PDF-XChange Editor: How to rotate pages in a PDF with free software (https://www.experts-exchange.com…
I previously published an Experts Exchange video Micro Tutorial that describes how to scan documents to a PDF file using an excellent, free product called Foxit Reader: How to scan to a PDF file with free software (https://www.experts-exchange.co…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month