The password of the Cisco router forgot to reset the Cisco router password with simple commands

Source: Internet
Author: User

Cisco is now the world's largest manufacturer of switching routes! Many of our businesses, large and small, can use the network, and it is possible to switch routes to Cisco! When we install network equipment, we may ask the network engineer to help us install it! Access to the router has a lot of passwords! What if we forget these passwords? We may have to make changes to the routing entries when our company needs to modify the network! No password, nothing! We can reset the routing password with a few simple commands!

Let's use the Cisco Packet Tracer simulator to emulate the password of the reset router! Let's set up the password for this router first! Open the router's configuration interface! The command is as follows:

Router>enable//Enter privileged mode

Router#configure Terminal//Enter global mode

Router (config) #hostname r-a//command to name the router

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

If we forget to enter the privileged mode password, then we shut down the router and reboot! Then press "Ctrl+break" key to interrupt the router's boot process and enter Rommon mode!


The input command changes the configuration register value to 0x2142, which causes the router to not read the configuration file in NVRAM when it is turned on. Then restart the router!

The command is as follows:

Rommon 1 > Confreg 0x2142//Change the configuration register value to 0x2142

Rommon 3 > Reset//Restart router

When the router restarts, it goes directly to the Setup configuration mode, using "CTRL + C" or "N",

Exit Setup mode! Then we go into the global mode to reset the password for privileged mode! If there are other password samples are forgotten, here we can reset together!

The command is as follows:

Router>enable//Enter privileged mode

Router#configure Terminal//Enter global mode

Router (config) #enable password 1234//Reset Password command

Now return the value of the register to normal 0x2102! Then save the router configuration that has changed! And then reboot our router and you're done!

The command is as follows:

Router (config) #config-register 0x2102//Register value returned to normal 0x2102

Router (config) #exit//exit Global mode

Router#copy running-config startup-config//Save changes to router configuration

Destination filename [startup-config]?

Building configuration ...

[OK]

Router#reload//Restart router

The password of the Cisco router forgot to reset the Cisco router password with simple commands

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.