Vro switch password recovery

Source: Internet
Author: User

Vro switch password recovery
1. configure the Console port password Router (config) # line console 0 Router (config-line) # password 123 Router (config-line) # after login is configured, view show run line con 0 password 123 loginline vty 0 4 login2. configure the privileged mode password Router (config) # enablepassword 123 plaintext password Router (config) # enable secret123.com encryption password show runenable secret 5 $1 $ mERr $ MNp8Yo5Mas8GUpxpr0GfR1enable password 1233. configure the encrypted plaintext password Router (config) # servicepassword-encryptionShow runenable secret 5 $1 $ MERr $ MNp8Yo5Mas8GUpxpr0GfR1enable password 7 08701E1D4. configure the VTY password. Remote login Password: Router (config) # line vty 0 4 Router (config-line) # password123Router (config-line) # login 2: vro password restored 1. restart the vro. At the same time, press ctral + breack to interrupt IOS loading, and the router enters ROM Monitor mode. Self decompressing the image: ######################################## ### monitor: command "boot" aborted due to user interruptrommon 1> 2. change the value of the configuration register to 0x2142, indicating that the startup-config configuration is ignored at startup. Rommon 1> confreg 0x2142rommon 2> reset3. the vro3. restarts again because the configuration register value is changed. The vro cannot load the configuration file, so there will be no login password. 4. Enter the configuration mode. Manually load the configuration file back. Router # copy startup-config running-config5. run the show run command to view the vro configured with those passwords and change them one by one. 6. Modify the value of the configuration register, and save the configuration, Router (config) # config-register0x2102Router (config) # exitRouter # copy running-configstartup-config 2.The password of the SWAp machine is saved in the configuration file config.txt in falsh, through the "dir" command to view. Switch # dirDirectory of flash:/1-rw-3117390 <no date> pt3000-i6q4l2-mz.121-22.EA4.bin 64016384 bytes total (60898994 bytes free) 1. Unplug the Switch. 2. Re-plug the power supply. Immediately press and hold the 'Mode' key of the vswitch. When the 'Switch: 'command prompt is displayed on the configuration page, the 'Mode' key can be released. This indicates that a simple IOS dedicated for fault recovery has been entered. Because there is no password, normal IOS cannot be accessed. Therefore, you can only set some parameters here. 3. use the command 'Flash _ init 'as prompted above to initialize flash.4. Set config. change the text file name to config, old.5. restart Switch: boot6. restore other parameters and change the name of the configuration file back. Switch # rename flash: config. old flash: config.txt 7. Manually load the configuration file. Switch: copy flash: config. text system: running-config8. After the configuration file is loaded, you need to enter the configuration mode to change the password, and finally save the configuration, complete the password recovery.

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.