2950 Password Recovery

It may work for other models as well 

Step 1:

Unplug the power cable


Step 2:

Hold the mode button while plugging the power cable back


Step 3:

Type flash_init over the console


Step 4:

Type load_helper


Step 5:

 Type Dir flash :

-- make sure to type the semi-colons


Step 6:

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

-- the password is contained in the config.txt file


Step 7:

 Type boot

-- this reboots the system

Step 8:

Type "n" to skip the initial setup configuration

Step 9:

Type enable
-- this takes you to the enable mode

Step 10:

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


Step 11:

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


Step 12:

Enter config mode and change the password
# config t
# no enable secret

-- this applies only if the enable secret password was created


Step 13:

Finally, write the changes to memory
# write memory

No comments: