Simple command to reset router passwords

Source: Internet
Author: User
Tags config reset

The general router's access to set a lot of passwords, if not careful to forget the words that can be troublesome, without the password on whether there is nothing to do? Below, introduce a few simple commands to reset the route's password.

In many ways, we choose Cisco Packet Tracer Simulator such tools to restore the password, generally before we start the router set a enable password and open the router configuration interface, there will be several commands, in order: router>enable Enter privileged mode.

Router#configure Terminal//Enter global mode

Router (config) #hostname r-a//router named command

R-a (config) #enable password 123456789//Set password command

Password as privileged mode once we forget, then you can choose to turn off the router and restart, and then click the "Ctrl+break" button to enter the Rommon mode.

Then enter the command to change the value of the configuration register to 0x2142, and then restart the router again.

The commands used are as follows:

Rommon 1 > Confreg 0x2142//change config register value to 0x2142

Rommon 3 > Reset//Reboot router

Then we can go into the global mode to reset the password of the privileged mode and then change the register value to normal, and save the router configuration that has been set up, and then restart the router again.

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.