Password Recovery for Cisco Router 1841

From ITCwiki
Revision as of 16:40, 9 December 2010 by Jasonredlin (talk | contribs)
Jump to navigation Jump to search

Password Recovery for Cisco Router 1841

Recovering a Cisco 1841 Router Password Connect to the console of the router.

If you can access the router use the show version command. The last line of the output should tell you the version that the configuration register is set to. If you can’t access the router because of a lost login or TACACS password then your configuration register is set to 0x2102.

Cycle power to the router and within 60 seconds enter the break sequence to enter ROMMON. Standard Break Key Combinations

Enter confreg 0x2142 at the rommon 1> prompt to boot from flash.

Enter reset at the rommon 2> prompt to reboot the router but ignore the startup-config.

Enter no after the setup questions or press Ctrl-C to skip the initial setup.

Enter Enable to enter enable mode.

To recover your password, enter configure memory or copy startup-config running-config.

Enter show running-config to verify that the running configuration has been changed.

Enter configure terminal

To change your secret password enter enable secret <password> at the hostname(config)# prompt.

Issue the no shutdown command on each of the interfaces you are using.

Enter config-register 0x2102 and press Ctrl-z to save and leave privilege EXEC mode.

Enter write memory or copy running-config startup-config to save your changes to the startup configuration.

Enter reload to restart the router using the 0x2102 register.