Two ways to quickly restore the Cisco Router password

Source: Internet
Author: User

It is very important for Cisco router users to learn about how to restore their vro passwords. Here we mainly introduce two methods to help you quickly restore the vro password, when the Cisco Router password is forgotten or the enable password is lost, there are two methods to restore it, depending on the series of products you are using.

The first method to restore the password of a Cisco Router

You can use this method to restore the following vrouters: cisco 2000 Series, 2500 series, 3000 series, Cisco 680 series with 4000x0 a6l a CPU, and 10.0 series routers running Cisco IOS systems later than 7000.

To restore the password of a Cisco router, follow these steps:

1. Connect a terminal or a PC with simulation terminal software installed on the console port of the router.

2. Enter the show version command and write down the register value, usually 0x2102 or 0x102. This value is displayed on the last line. Check whether the Break is set to enable or disable in the register configuration. The default register value is 0x2102. The value ranges from the third digit to the left. If it is 1, it is disable Break. If it is 0, Break is enabled.

3. Shut down the power supply and restart.

4. Press the Break key on the terminal within 60 seconds after the vro starts. The rommon> prompt is displayed. If this is not the case, the terminal does not send a correct interrupt signal to check whether the Break Key is correct or whether it is set to disable.

5. enter o/r0x42 or o/r0x41 at the prompt. o/r0x42 means to boot from Flash memory, and o/r0x41 means to boot from ROMs (note that the first character is the letter o, it is not a number 0 ). It is best to use 0x42. If Flash memory is not installed or erase, 0x41 is used. If 0x41 is available, you can only view or erase configurations. You cannot directly change the Cisco Router password.

6. Enter the initialization command at the rommon> prompt.

7. Enter the system configuration dialog prompt and Press "no" until the prompt is displayed. Press RETURN to get started!

8. Press enter and a prompt appears.

9. Enter the enable command and the Router # prompt is displayed.

10. select one of the following options: if the password is not encrypted, use the more nvram: startup-config command to view the Cisco Router password. If the password is encrypted, the password cannot be viewed and can only be modified, enter the following command:
Router # configure memory
Router # configure terminal
Router (config) # enable secret 1234 abcd
Router (config) # ctrl-z
Router # write memory

11. Enter configure terminal at the EXEC prompt to enter the configuration mode. Enter the config-register command to restore the register value recorded in step 2.

12. Press Ctrl-Z to exit the configuration.

13. In privileged mode, run the write memory command to save the configuration and restart reboot.

Cisco Router password recovery method 2

This method restores the following vrouters: Cisco 1003, 1600, 3600, 4500, 7200, 7500, and IDT Orion-Based.

To restore the password of a Cisco router, follow these steps:

The first four steps are the same as the previous method.

5. At the rommon> prompt, enter the confreg command, which is displayed as follows: Do you wish to change configuration [y/n]? Enter yes and press Enter. Select no until "ignore system config info [y/n]?" appears. Enter yes. Then I continued to answer the question by typing "change boot characteristics [y/n]?". Enter yes. Displayed as follows: enter to boot: You can select 2 or 1 at this prompt. If Flash memory is erased is set to 1, you can only view or erase configuration, but cannot directly change the password. It is best to select 2. The following message is displayed: Do you wish to change configuration [y/n]? Answer no, and press enter to display "rommon> ".

6. Enter the reload command under the Privileged EXEC. The subsequent operation is the same as the first method.
 

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.