Password Recovery Procedure for the Catalyst For 2900XL, 3500XL, 2940, 2950, 2960, 2970, 3550, 3560, and 3750 series switches (with keeping/save configuration)

From NesevoWiki
Revision as of 15:42, 15 September 2011 by Roberto (talk | contribs) (Password Recovery Procedure for the Catalyst For 2900XL, 3500XL, 2940, 2950, 2960, 2970, 3550, 3560, and 3750 series switches moved to [[Password Recovery Procedure for the Catalyst For 2900XL, 3500XL, 2940, 2950, 2960, 2970, 3550, 3560, and 3750 seri)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Step 1: Unplug the power cable

Step 2: Power the switch and release the Mode button when the LED above Port1x goes out

Step 3: switch: flash_init

Step 4: switch: load_helper

Step 5: dir flash:

Step 6: config.text (must be in the directory)

Step 7: rename flash:config.text flash:config.old

Step 8: switch: boot

Step 9: Continue with configuration dialog? [yes/no]: n

Step 10: Switch>en

Step 11: Switch#rename flash:config.old flash:config.text

Step 12: Switch#copy flash:config.text system:running-config

Step 13: Sw1# conf t

Step 14: Sw1(config)#enable secret <new_secret_password>

Step 15: Sw1(config)#enable password <new_enable_password>

Step 16: Sw1(config)#line vty 0 15

Step 17: Sw1(config-line)#password <new_vty_password>

Step 18: Sw1(config-line)#login

Step 19: Sw1(config-line)#line con 0

Step 20: Sw1(config-line)#password <new_console_password>

Step 21: Sw1#write memory

Step 22: Sw1#reload