Recovering Cisco Access Switch passwords

Source: Internet
Author: User

There was just one Cisco 2960 switch that failed this afternoon, replacing an alternate switch immediately, but the backup switch was transferred back from another branch and the password was forgotten. Just use the recovery password process, also share it.


1. Set the Windows HyperTerminal, name customization. Recommended for SECURECRT:
baud rate (number of bits per second): 9600
Data bits: 8
parity check: none
Stop bit: 1
Data flow control: hardware or none

2. Connect the switch power while holding down the mode key on the switch front panel until the 1X port led on the switch is no longer lit (approximately 15-20 seconds). The following information appears:
The system has been interrupted prior to initializing the Flash file system. The following commands would initialize the Flash file system, and finish loading the operating system software:

Flash_init
Load_helper
Boot

switch>


3. Type flash_initat the switch> prompt to initialize;

4, switch>load_helper

5. switch>dir flash:
The following information is displayed:
Directory of Flash:
2-rwx 843947 Mar 1993 00:02:18 C2900xl-h-mz-112.8-sa
4 drwx 3776 Mar 1993 01:23:24 HTML
66-rwx 1970 00:01:19 Env_vars
68-rwx 1296 Mar 1993 06:55:51 Config.text
1728000 Bytes Total (456704 bytes free)

6, switch>rename flash:config.text flash:config.old


7. switch>Boot

After renaming the configuration file, type the boot boot device under Switch>, and when the system starts to set, press N and when the setting is complete, the following message appears:
Continue with the configuration dialog? [Yes/no]:
Type N

8. After the switch> prompt appears, type en into the configuration mode

9. Rename the configuration file:
switch>rename Flash:config.old flash:config.text

10. Copy the configuration file into memory
switch# copy flash:config.text system:running-config
Destination filename [running-config]? (Press Return)
press ENTER to reload the configuration file.

11. Change the password
Switch#config Terminal
switch (config) #enable password Cisco
switch (config) #enable secret cisco123


12. Write the current configuration to the configuration file
Switch (config) #copy run Starup


After the above steps, the switch password has been modified, but the configuration information is not changed.


This article is from the "Haina Rivers" blog, please be sure to keep this source http://hichuann.blog.51cto.com/1024435/1580309

Recovering Cisco Access Switch passwords

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.