Webmaster Original: IT technology network debut: Mini rabbit
Let's record the vro and vswitch password recovery problems we net do not like to remember. Although there are several simple steps, I can't remember them, I should not remember them, I think it is of little use, but I will encounter some technical problems at work. Therefore, I think of a way to write it on a Blog and use it in time. Let's take a look at it for useful friends, the following is a spray of water... 650) this. width = 650; "alt =" "src ="/neweditor/editor/images/smiley/15.gif"/> welcome !!!)
Vro Password Recovery Section:
Password restoration principles:
As long as the device does not load the Startup File, you do not need a password to enter the device for configuration. If you want the vro to bypass the startup-config configuration at startup, you only need to modify the value of the configuration register. Under normal circumstances, the value of the configured register is 0x21020x, which represents the hexadecimal system. Convert 2102 to the hexadecimal system: 0010.0001.0000.0010, where 6th bits are counted from the right) you can control the sequence of vro startup. If this bit is 0, the configuration of startup-confg is run at startup. If this bit is 1, the configuration of startup-config is ignored at startup, and enter the Setup mode. When this bit is 1, the configured register value should be 0x2142.
How to restore the vro password:
The configuration file is not loaded during vro startup.
Modify the configuration register value to 0x2142. Do not load the configuration file at startup.
Steps for restoring the vro password:
1. Press Ctrl + Breack to interrupt IOS loading during startup
2. Go to ROM Monitor mode and modify the value of the configuration register.
Rommon1> confreg 0x2142
Rommon2> reset
3. Use startup-config to overwrite running-config after startup.
Router # copy startup-config running-config
4. Change the password and modify the value of the configuration register.
Router (config) # enable secret dongjun
Machine (config) # config-register 0x2102
Switch Password Recovery Section:
Extension description:Press and hold the Mode key for 10 s to automatically restore the factory settings.
How to recover the vswitch password:
The configuration file is not loaded during vswitch startup.
Modify the configuration file name so that the vswitch does not load the configuration file
Steps for recovering the vswitch password:
1. Unplug the switch, plug in the power, and hold down the MODE key.
2. When "switch:" is displayed, the system prompts you to release the key and initialize Flash.
Switch: flash_init
3. Change the config. text File to config. old, and then start the switch.
Switch: rename flash: config. text flash: config. old
Switch: boot
4. Change the configuration file name back.
Switch # rename flash: config. old flash: config. text
5. Manually load the configuration file
Switch # copy flash: config. text system: running-config
6. Change the password in configuration mode.
Enable secret dongjun
This article is from the "Mini Rabbit" blog, please be sure to keep this source http://minitoo.blog.51cto.com/4201040/804241