Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Enable password recovery in cisco 2950 with AAA

Hello friends,

I need to reccover switch enable password, i have already configured AAA also, when i am tryig to follow below proceedure finally saying Authorization failed. how can i recover enable password,

Regards,

Haris

If I try to recover password like this description says

http://www.cisco.com/en/US/docs/switches/lan/catalyst2960/software/release/12.2_25_see/configuration/guide/swtrbl.html#wp1090048

Step 1 Connect a terminal or PC with terminal-emulation software to the switch console port.

Step 2 Set the line speed on the emulation software to 9600 baud.

Step  3 Power off the switch. Reconnect the power cord to the switch and,  within 15 seconds, press the Mode button while the System LED is still  flashing green.

Base ethernet MAC Address: 00:0x:xx:xx:xx:xx

Xmodem file system is available.

The password-recovery mechanism is enabled.

The system has been interrupted prior to initializing the

flash filesystem. The following commands will initialize

the flash filesystem, and finish loading the operating

system software:

flash_init

load_helper

boot

switch:

Step 4 switch: flash_init

Initializing Flash...

flashfs[0]: 600 files, 19 directories

flashfs[0]: 0 orphaned files, 0 orphaned directories

flashfs[0]: Total bytes: 32514048

flashfs[0]: Bytes used: 7713792

flashfs[0]: Bytes available: 24800256

flashfs[0]: flashfs fsck took 10 seconds.

...done Initializing Flash.

Boot Sector Filesystem (bs) installed, fsid: 3

Setting console baud rate to 9600...

Step5 switch:load_helper

Step6 switch: dir flash:

Directory of flash:/

2 -rwx 916 <date> vlan.dat

5 drwx 192 <date> c2960-lanbase-mz.122-25.SEE1

620 -rwx 5488 <date> config.text

621 -rwx 5 <date> private-config.text

24800256 bytes available (7713792 bytes used)

Step7 switch: rename flash:config.text flash:config.text.old

Step8 switch: boot

Loading "flash:c2960-lanbase-mz.122-25.SEE1/c2960-lanbase-mz.122-25.SEE1.bin"...

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

Initializing flashfs...

flashfs[1]: 600 files, 19 directories

flashfs[1]: 0 orphaned files, 0 orphaned directories

flashfs[1]: Total bytes: 32514048

flashfs[1]: Bytes used: 7713792

flashfs[1]: Bytes available: 24800256

flashfs[1]: flashfs fsck took 1 seconds.

flashfs[1]: Initialization complete....done Initializing flashfs.

... ... ... ... ...

64K bytes of flash-simulated non-volatile configuration memory.

Base ethernet MAC Address : 00:0x:xx:xx:xx:xx

Motherboard assembly number : xxxxxxxxxx

Power supply part number : xxxxxxxxxxx

Motherboard serial number : xxxxxxxxxxx

Power supply serial number : xxxxxxxxxxx

Model revision number : B0

Motherboard revision number : B0

Model number : WS-C2960G-24TC-L

System serial number : xxxxxxxxxxxx

Top Assembly Part Number : xxxxxxxxxxxx

Top Assembly Revision Number : B0

Version ID : V02

CLEI Code Number : xxxxxxxxxxxxx

Hardware Board Revision Number : 0x01

Switch Ports Model SW Version SW Image

------ ----- ----- ---------- ----------

* 1 24 WS-C2960G-24TC-L 12.2(25)SEE1 C2960-LANBASE-M

Press RETURN to get started!

Step9 Hit <Enter>

Would you like to terminate autoinstall? [yes]: yes

Step10

--- System Configuration Dialog ---

Would you like to enter the initial configuration dialog? [yes/no]no

Switch>

Step11 Switch> enable

Step12 Switch# rename flash:config.text.old flash:config.text

Destination filename [config.text]? <Enter>

Step13 Switch# copy flash:config.text system:running-config

Destination filename [running-config]?<Enter>

5488 bytes copied in 0.940 secs (5838 bytes/sec)

Step14 NewSwitchName#conf t

% Authorization failed.

Doesn't this procedure work any more ?

1 REPLY
VIP Purple

Enable password recovery in cisco 2950 with AAA

The password recovery worked, but you copied your problematic config back to the switch. Skip Step 13 and paste only the working part of the config to the switch.

You can see your renamed config with "more flash:config.text.old".


--
Don't stop after you've improved your network! Improve the world by lending money to the working poor: http://www.kiva.org/invitedby/karsteni
808
Views
0
Helpful
1
Replies
CreatePlease to create content