Huawei Router forgets the password solution

Source: Internet
Author: User
Tags reset valid

After setting up the router, there may be a long time will not go to configure, then there may be forgotten password situation, how to do it, the Huawei router as an example to introduce this knowledge.

First, the Huawei router has saved several different configuration parameters, and stored in different memory modules, describes the following internal memory types, there are several categories of memory: ROM, Flash, non-variable RAM (NVRAM), RAM and packet shared memory five.

Second, the operating environment and the corresponding configuration registration code router Normal Start, should be guided in turn the following procedures, password recovery is the key to the configuration registration code to modify, so that the router from different memory call different parameters table to start.

Valid password stored in the NVRAM, so the essence of the change password is to modify the registration code, so that the router skips the NVRAM in the configuration table, directly into the ROM mode, and then the effective password and terminal password to modify or reset the effective encryption password, because the effective encryption password is encrypted garbled, Unable to recover, only can overwrite, complete and then restore the registration code.

Third, the custom router start process, all Huawei routers have a 16-bit register, it is stored in the NVRAM. The router determines where to load iOS from, depending on the set value in the register. The register is not saved in the boot configuration file Startup-config, so you cannot see this value with the show startup command. You can see this value using show version, whose default value is 0x2102, which means that iOS is loaded from flash.

Four, run the boot routine from ROM, according to register value to read iOS, by default is loaded from flash, load priority is: Flash, TFTP, ROM, read the NVRAM in the configuration file, if there is no valid configuration file in the NVRAM, prompted to enter the setup mode.

Five, to ensure network security, set the router password is necessary, but if the router password forgotten, to the administrator is a very small loss. After research and practice, found the Huawei Router password recovery method, this method for 1500, 1600 and other series Huawei routers are applicable, in the Huawei router has a configuration registration code, that is, Configuration register value, using the show version command , you can see its value in the last line, which consists of 4 16 numbers, such as 0x2102, which is 0010,0001,0000,0010 in binary notation, and its four-bit is called the boot field, where the router activates the iOS system based on the value of the boot field.

Six, its tenth position is generally "0", if it is "1" (0x2142) means that when the router is activated to bypass the configuration file into startup mode, there is no password hint directly into the privileged configuration mode, so by modifying the value of the sixth bit can achieve the purpose of restoring password, Using the router with the console line to connect the PC's COM port and router's console port, and then enter the PC, into the "start → program → attachment → communication → HyperTerminal", to establish a new connection, using COM serial port, the ports are set to: 9600bps per second, data bit 8 bits, Parity no, stop bit 1, data flow control none. Then turn on the router and type the ENTER key to display the router activation information.

Then, you need to modify the configuration registration code (Configuration Register value) of the activation router. When the Ctrl+break key is pressed in the first 60 seconds of the router activation, it terminates the activation of the router and enters Rommon mode, that is, the Rommon 1>, enter the following command:

Rommon 1 > Confreg 0x2142

Rommon 2 > Reset

To make the router activated when bypassing the configuration file into startup mode, after the router activated into startup mode, display System Configuration dialog, prompted to enter the initial configuration, input "N" does not configure, and then enter the Enable command in user mode directly into the privileged mode, There is no prompt to enter the password.

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.