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