Cisco Router Password Classic recovery scheme

Source: Internet
Author: User

Cisco routers use a lot of users, at the same time there will be many problems, the password is forgotten or lost users are very common problems, so I studied the Cisco router password recovery of two methods, here to take out and share with you, hope for everyone useful. When a Cisco router forgets or loses the enable password, there are two ways to recover, depending on which series of routers you are using.

The first type of Cisco router password recovery method:

This approach allows the following Cisco router password recovery: Cisco 2000 series, 2500 series, 3000 series, Cisco 4000 series with 680x0 Motorol a CPU, 10.0 series routers running 7000 versions of Cisco IOS systems.

1. Connect a terminal at the console port of the router or a PC with the emulation terminal software installed.

2. Enter the show version command, and then note the register value, usually 0x2102 or 0x102. This value is displayed on the last line, noting whether the Register's configuration sets the break to enable or disable.

The default configuration register value is 0x2102. This value is from the left and the third number is disable if it is 1, and if zero, the break is enabled.

3. Power off and reboot.

4. Press the break key on the terminal within 60 seconds of the router's startup. The rommon> prompt is displayed. If the prompt is not the case, the terminal does not issue the correct interrupt signal to check whether the break key is correct or is set to disable.

5. Enter o/r0x42 or o/r0x41,o/r0x42 at the prompt to boot from the flash memory, o/r0x41 meaning to boot from the ROMs (note that the first character is the letter O, not the number 0). Preferably with 0x42, in the case of flash memory or erase, only use 0x41, if there is 0x41 can only view or erase configuration, can not directly change the password.

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

7. Enter the System configuration dialog prompt to knock No, has been waiting for prompt information display: Press RETURN to get started!

8. Knock the carriage return, appear router> prompt character.

9. Enter the Enable command and the router# prompt appears.

10. Select one of the following options:

If the password is not encrypted, directly with more Nvram:startup-config command can see the password, in password encrypted case, cannot see, can only modify, enter the command as follows:

Router # Configure Memory

Router # Configure Terminal

Router (config) # enable secret 1234ABCD

Router (config) # ctrl-z

Router # Write memory

11. Enter configure terminal into configuration mode at the exec prompt. Enter the Config-register command to restore the register value recorded in the second step.

12. Knock Ctrl-z, exit configuration status.

13. In privileged mode, save the configuration with the Write Memory command, and then reboot reboot.

The second type of Cisco router password recovery method:

Using this method, the following Cisco router passwords can be restored: Cisco 1003, 1600 series, 3600 series, 4500 series, 7200 series, 7500 series and IDT orion-based routers, the first four steps are the same.

5. At the rommon> prompt, enter the Confreg command.

Do your wish to change configuration[y/n]?

Type Yes, and then enter. Always select no until you answer the question, until "Ignore system config info[y/n" appears? When you enter Yes. Then continue to knock no answer, until you see "Change boot characteristics[y/n]?" When you enter Yes.

Enter to boot: There are 2 and 12 options available at this prompt. If the flash memory is erased select 1, you can only view or erase configuration and cannot modify password directly. The best choice is 2. The following prompts appear:

Do your wish to change configuration[y/n]?

Answer No, then enter, and display " ".

6. Enter the reload command under the privileged exec.

Follow the same procedure 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.