Password recovery procedure for cisco catalyst switch


Password recovery of following switches 2900XL/3500XL, 2940, 2950/2955, 2960, and 2970 Series 3550, 3560, and 3750 Series Cisco Catalyst

  1. Attach a terminal or PC with terminal emulation (for example, Hyper Terminal) to the console port of the switch.
    Use the following terminal settings:

Bits per second (baud): 9600

Data bits: 8

Parity: None

Stop bits: 1

Flow Control: Xon/Xoff
2. Unplug the power cable.

  1. Power the switch and bring it to the switch: prompt:

For 2900XL, 3500XL, 2940, 2950, 2960, 2970, 3550, 3560, and 3750 series switches, do this:

Hold down the mode button located on the left side of the front panel, while you reconnect the power cable to the switch.







2940, 2950

2960, 2970

3560, 3750

LED Behavior and Mode Button Release


Release the Mode button when the LED above Port1x goes out.

Release the Mode button after approximately 5 seconds when the Status (STAT) LED goes out. When you release the Mode button, the SYST LED blinks amber.

Release the Mode button when the SYST LED blinks amber and then turns solid green. When you release the Mode button, the SYST LED blinks green.

Release the Mode button after approximately 15 seconds when the SYST LED turns solid green. When you release the Mode button, the SYST LED blinks green.

Note: LED position may vary slightly depending on the model.

Catalyst 3524XL

  1. Issue the flash_init command.
  2. Issue the load_helper command.

switch: load_helper switch:
6. Issue the dir flash: command.

Note: Make sure to type a colon “:” after the dir flash.

The switch file system is displayed:

switch: dir flash:
Directory of flash:/
2 -rwx 1803357 c3500xl-c3h2s-mz.120-5.WC7.bin
!— This is the current version of software.
4 -rwx 1131 config.text
!— This is the configuration file.
5 -rwx 109 info
6 -rwx 389 env_vars
7 drwx 640 html
18 -rwx 109 info.ver

403968 bytes available (3208704 bytes used) switch:

  1. Type rename flash:config.text flash:config.old to rename the configuration file.

  2. Issue the boot command to boot the system.
    switch: boot

  3. Enter “n” at the prompt to abort the initial configuration dialog.

  4. At the switch prompt, type en to enter enable mode.

11. Type rename flash:config.old flash:config.text to rename the configuration file with its original name.

Switch#rename flash:config.old flash:config.text
Destination filename [config.text]

  1. Copy the configuration file into memory.

Switch#copy flash:config.text system:running-config
Destination filename [running-config]?
13. Overwrite the current passwords that you do not know. Choose a strong password with at least one capital letter, one number, and one special character.

Sw1# conf t
Sw1(config)#enable secret <new_secret_password>
Sw1(config)#enable password <new_enable_password>
Sw1(config)#line vty 0 15
Sw1(config-line)#password <new_vty_password>
Sw1(config-line)#line con 0
Sw1(config-line)#password <new_console_password>

  1. Write the running configuration to the configuration file with the write memory command.

Sw1#write memory
Building configuration…