Cisco 2950 switch password recovery

Contributor Icon Contributed by BWAYCCTY  
Tag Icon Tagged: Cisco switch  

This documents the procedure for performing a password recovery on a Cisco 2950 switch (and probably other models, as well).


1. Unplug the power cable

2. Hold down the mode button while replugging the power cable

3. Type flash_init over the console

4. Type load_helper

5. Type Dir flash :
//make sure to type the semi-colons

6. Type rename flash:config.txt flash:config.old
//the password is contained in the config.txt file

7. Type boot
//this reboots the system

8. Type n to skip the initial setup configuration

9. Type enable
//this takes you to the enable mode

10. Type rename flash:config.old flash:config.txt

11. Save config.txt to system
#copy flash:config.txt system:running-config

12. Enter config mode and change the password
# config t
# no enable secret
//this applies only if the enable secret password was created

13. Finally, write the changes to memory
# write memory

 

10 Comments -


  1. avenkat said on June 5, 2009

    very nice.

    thank you so much….

    by venki

  2. Ahmed said on June 17, 2009

    Many Thanks for your effort

    it help me too much

    wish my best Wishes

  3. Anonymous said on August 9, 2009

    very good but need more information

    thank you

  4. bartho said on January 12, 2010

    Thanks foe advice

  5. Anonymous said on January 14, 2010

    Thanks Bro.
    Nice post.Its working.

  6. seshi said on June 2, 2010

    Thanks for the post

    5. Type dir flash :
    6. Type rename flash:config.text flash:config.old

    Please refer the link…
    http://www.cisco.com/en/US/products/hw/switches/ps628/products_password_recovery09186a0080094184.shtml

  7. J Laraune said on September 20, 2010

    clever man, thanx!!!!

  8. Flowersb1 said on December 23, 2010

    Thank you. I was stuck at this point also.

  9. delforouz said on January 31, 2011

    Very very nice

  10. Juan Lopez said on May 30, 2011

    If in step 12, when a write configure terminal, send me % Authorization failed.

 

RSS feed for comments on this post. TrackBack URL

Leave a comment -