Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

An old device Cisco 1841 router was reused and forgot the enable password

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Clear the password for the Cisco 1841 router:

(1) the console line connects the computer and the Console port of the router, and through the terminal client connection, the router is powered on (if the device has been started, press the power button to restart the router, wait for the router to start, press the [Ctrl+Break] key to interrupt the normal startup process, and enter the ROM state.

(2) modify the value of the configuration register and restart

The value of the rommon 1 > confreg 0x2142 / / modification register is 0x2142 so that the router skips the execution of the NVRAM configuration file and does not check the previously set password.

Rommon 2 > I / / restart the router

(3) after waiting for the router to boot and enter setup mode, press [Ctrl+C] key to exit setup mode and change the password.

Router > enable

Router# copy startup-config running-config / / call out the configuration file in router NVRAM

RouterA# config teminal

RouterA (config) # enable password cisco / / change the enable password to replace the original password

(4) restore the register value, save the configuration and restart the router

RouterA (config) # config-register 0x2102 / / the recovery register has a value of 0x2102 to execute the configuration file in NVRAM the next time the router is rebooted

RouterA (config) # exit

RouterA# copy running-config startup-config / / Save the configuration file to NVRAM

RouterA# reload / / restart the router. You can see that the original configuration still exists after rebooting.

Of course, if the previous login requires a user name, reset the user password in step 3, or recreate the new user and password and set the permission level

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report