Step-by-Step Recovery Password For CISCO Switch
Step-by-Step Recovery Password For CISCO Switch
Step-by-Step Recovery Password For CISCO Switch
Introduction
This document describes the password recovery procedure for the Cisco Catalyst Layer 2 fixed
configuration switches 2900XL/3500XL, 2940, 2950/2955, 2960, and 2970 Series, as well as the
Cisco Catalyst Layer 3 fixed configuration switches 3550, 3560, and 3750 Series.
Before You Begin
Conventions
For more information on document conventions, see the Cisco Technical Tips Conventions.
Prerequisites
There are no specific prerequisites for this document.
Step-by-Step Procedure
Follow the password recovery procedure below.
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
Note: For additional information on cabling and connecting a terminal to the console
port, refer to Connecting a Terminal to the Console Port on Catalyst Switches.
2. Unplug the power cable.
3. 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.
Catalyst Switch LED Behavior and Mode
Series Button Release Action
2900XL, Release the Mode button when
3500XL, 3550 the LED above Port1x goes out.
Release the Mode button after
approximately 5 seconds when
the Status (STAT) LED goes out.
2940, 2950 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,
2960, 2970 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
3560, 3750 green.
Note: LED position may vary slightly depending on the model.
Catalyst 3524XL
Catalyst 2950-24
flash_init
load_helper
boot
switch:
4. Issue the flash_init command.
switch: flash_init
Initializing Flash...
flashfs[0]: 143 files, 4 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 3612672
flashfs[0]: Bytes used: 2729472
flashfs[0]: Bytes available: 883200
flashfs[0]: flashfs fsck took 86 seconds
....done Initializing Flash.
Boot Sector Filesystem (bs:) installed, fsid: 3
Parameter Block Filesystem (pb:) installed, fsid: 4
switch:
Switch#
11. Copy the configuration file into memory.
Switch#copy flash:config.text system:running-config
Destination filename [running-config]?
Sw1(config)#line vty 0 15
Sw1(config-line)#password <new_vty_password>
Sw1(config-line)#login
Sw1(config-line)#line con 0
Sw1(config-line)#password <new_console_password>
13. Write the running configuration to the configuration file with the write
memory command.
Sw1#write memory
Building configuration...
[OK]
Sw1#