Cisco Switch Password reset steps

Source: Internet
Author: User
Tags cisco switch

Ciscoswitch password reset steps1.PCMachine has Breakmethod of the key 1.1 Interrupt Device startup Ctrl+break key

Step: Turn off the device and restart:

Self decompressing the image: Press the Ctrl+break key when you start the device

##########################

Monitor:command "Boot" aborted due to user interrupt

1.2 change the value of the configuration register to 0x2142 (Two register values:0x2102 (Normal),0x2142 (do not read the saved configuration) )

steps: Rommon 1 > Confreg 0x2142 Configure the configuration register with a value of 0x2142

1.3Restarting the device

steps: Rommon 2 > Reset restarting the device

1.4to view the enable password in a saved configuration file

steps: Continue with configuration dialog? [yes/no]: n no longer loaded startup-config

router#show Startup-config View the previous password

router#copy startup-config running-config load the previous configuration into memory

1.5Reset the Enable password

steps: Router#config T go to global configuration mode

Router (config) #enable password Cisco resetting the password

1.6Save Configuration

steps: router#copy running-config startup-config Save the configuration of the password after you change it

Destination filename [startup-config]?

Building configuration ...

[OK]

1.7change the value of the configuration register to 0x2102

steps: router#router#show version to view the value of a configuration register

Configuration Register is 0x2142

Router#conf T

Enter configuration commands, one per line. End with cntl/z.

Router (config) #conf t

Router (config) #config-register 0x2102 Reconfigure register values

attached:Register Value meaning

0X2102: The interrupt key is masked during operation, the device looks at the contents configured in NVRAM to determine the boot order, and starts with the default ROM software if the boot failure occurs.

0x2142: used when restoring password. Ignore the NVRAM configuration information and go to the Initial configuration dialog mode.

2.PCmethod of the machine without break key2.1Interrupt Device Startup Ctrl + C (5 sec)

steps: Self decompressing the image: Press CTRL + C when you start the device

##########################

Monitor:command "Boot" aborted due to user interrupt

Rommon 1 > "Interrupt"

2.2go in Rommon mode start using the command configuration as follows

Step:Rommon 1 > Confreg

Choose y or N below the word bad I'll tell Y or N in the order of choice. Excuse me.

The order is as follows: 1. Y 2.N 3.N 4.N 5.N 6.N 7.Y 8.N 9.N 10.N

650) this.width=650; "style=" Float:none; "title=" 123.png "src=" http://s3.51cto.com/wyfs02/M02/71/37/ Wkiom1xjr8dtoehaaagcy3dy9aw290.jpg "alt=" Wkiom1xjr8dtoehaaagcy3dy9aw290.jpg "/>

650) this.width=650; "style=" Float:none; "title=" 1234.png "src=" http://s3.51cto.com/wyfs02/M00/71/34/ Wkiol1xjscgbbwo_aaoyfavxzm0346.jpg "alt=" Wkiol1xjscgbbwo_aaoyfavxzm0346.jpg "/>

2.3 change the value of the configuration register to 0x2142

Step:rommon1 > Confreg 0x2142

2.4Restarting the device

steps: rommon1 > Reset

2.5View the changed the value of the register is right

steps: rommon1 > Show version

There is a word inside; Configuration Register is 0x2142 if you have a value, you're right.

2.6View the original configuration and save

Step:Router #show startup-config View previous configuration

Router#config T go to global configuration mode

Router (config) #show Configure memory Save the previous configuration

2.7Reset the Enable password

Step: Router (config) #no enable password delete the old password

Router (config) #enable password Cisco Configure a new password

2.8change the value of the configuration register to 0x2102 and save

steps: Router (config) #config-register 0x2102

Router (config) #exit

Router#write Save

Cisco switch password reset steps

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.