This password recovery method also applies to at least the:
Cisco 2950, Cisco 2960, Cico 3550, Cisco 3560 and Cisco 3750 series.
The only difference will be for how long you will hold the mode button,
from my experience just try to hold it longer if it doesn’t work.
(It should be around 15 seconds for the 3750.)
Connect the PC to the console port
Settings:
The switch should then give you this prompt
The next command is load_helper to load any helper images required by boot.
You can now list the contents of your flash by running dir flash:
There should be a file named ‘config.text’, you can rename this file
To recover the old configuration:
Just remember to change your password now
Cisco 2950, Cisco 2960, Cico 3550, Cisco 3560 and Cisco 3750 series.
The only difference will be for how long you will hold the mode button,
from my experience just try to hold it longer if it doesn’t work.
(It should be around 15 seconds for the 3750.)
Connect the PC to the console port
Settings:
- 9600 bits
- 8 data bits
- ‘none’ parity
- 1 stop bit
The switch should then give you this prompt
switch:To initialize the flash file system, run the command
switch: flash_initThe switch will now print a bunch of messages about the flash memory, hopefully one of them will be ‘done initializing flash’.
The next command is load_helper to load any helper images required by boot.
You can now list the contents of your flash by running dir flash:
There should be a file named ‘config.text’, you can rename this file
switch: rename flash:config.text flash:oldconfig.backupTo further boot the switch run the boot command, this will start the boot you are used to. When the switch is booted up, you will realize that the configuration is gone.. But you are enabled on the switch now.
To recover the old configuration:
Switch#rename flash:oldconfig.backup flash:config.textAnd now to replace the running configuration with the backup
Switch#copy flash:config.text running-configPress enter, and you will have your old switch configuration back and you are enabled.
Destination filename [running-config]?
Just remember to change your password now