In this post i’ll describe and simulate on how to reset your Catalyst Cisco 2900XL, 3500XL, 2940, 2950, 2960, 2970, 3550, 3560, and 3750 series switch.
Please Note to perform this procedure, you should have physical access to your switch, there is no such way we can recover the password via telnet.
Step by Step:-
- Connect Cisco console cable to switch
- Unplug your switch switch power.
- Plug the power back into your switch switch.
- Keep the mode button pressed until you reach the following prompt
once you reach this prompt apply the below commands one by one.
Insert the flash_init commandSwitch: flash_init
This command will start initializing switch flash to gather files and directories.
Insert the load_helper
Enter the dir flash: command
Switch: dir flash:
Directory of flash:/
2 -rwx 856 Mar 1 1993 00:07:35 +00:00 vlan.dat
4 -rwx 4337 Jan 24 2007 09:25:10 +00:00 config.txt
5 drwx 192 Mar 1 1993 00:06:06 +00:00 c3560-ipbase- mz.122-25.SEE2
409 -rwx 5 Jan 24 2007 09:25:10 +00:00 private-config.text
Type rename flash:config.text flash:config.old
switch: rename flash:config.text flash:config.old
“Please note config file always contains the password”
Now issue the “boot” command to reload the switch and once the switch is back you should be able to enter in the switch