What about Cisco Password loss

Source: Internet
Author: User
Tags config

Cisco routers are widely used in network interconnection, among which the 2500 series routers are used in a large number of low-end users. So what if you accidentally forget the Super User password for the 2500-series Router? Do not be afraid, as long as you follow the following methods can be restored:

Preparation: A microcomputer runs the terminal emulator (can start HyperTerminal under Windows 95/98), and the PC serial port (COM1/COM2) is connected to the router console port through a random configuration line of Cisco Company.

Recovery steps:

(1) The router turns on, press Ctrl+break key in 30 seconds, the Prompt ">" appears (if the prompt is not present, the router reboots, repeat (1) steps).

(2) Type the following command: ">o/r 0x142".

(3) Initialize the router: ">i".

(4) System reboot, screen Display System Configuration dialog: "桽 ystem Configuraiton to get started?, type" No "and the system displays" press Return to get started! ", press" return "key, the system displays" Router> ".

(5) Type the following command: "Router>enable" into the Superuser state (the system no longer requires you to enter a super password); "Router#show startup-config" displays configuration parameters, Be particularly careful to remember the password you see (you can also change the superuser password by using the Enable Serect "ChangePassword" command).

(6) Type the following command to restore the original register:

"Router (config) #config-reg 0x2102";

"Router (config) #ctrl-z";

"Router (config) #wr" disk.

(7) Restart the router, you can: "Router#reload".

December 14, "China Computer newspaper" D8 version of a forgotten Cisco2500 router password to do when the article, I think the article described the restoration principle and steps are basically correct, but in the implementation process should be slightly changed:

1. Router boot, the technical manual provided by Cisco should be the break key in 60 seconds instead of the Crl+break key in the 30 seconds described in the article.

2. Before typing the ">o/r 0x142" command, type the ">e/s 2000002" command and record the return value for the following "Router (config) #config-register 0x2102" Replace 2102 in the command (in fact, the return value is usually 2102, but what if it isn't?) )。

3. After completing the 3, 4, 5 steps mentioned in this article, do not run step 6 directly, otherwise the configuration of the router will be lost! (Although the technical manuals provided with Cisco are the same, I'm afraid Cisco has not considered the consequence) because although you can restore Config-register in step 6 and overwrite the previous configuration file with a blank profile, even if you find the Enable password, There is no point in it. Fortunately despair, there are two ways to continue working:

A. Restart the router directly, proceed to step 1, and type ">o/r 0x2102" (that is, the returned value recorded), type ">i".

B. Type the following command:

"Router#copy Start Run" (Copy the configuration file to memory first)

"Router#config T"

"Router (config) #config-register 0x2102" (that is, the returned value recorded)

"Router (config) #ctrl+z"

"Router#write (Save configuration file after changing Config-register)"

"Router#reload"

This approach applies not only to Cisco2500, but also to Cisco2000, Cisco3000, Cisco4000 and Cisco7000, and not to dwell on this.

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.