Debian Admin - Your way to Debian World

November 22, 2007

Howto Recover Cisco Router Password

by @ 6:06 am. Filed under Network

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

This ‘How to’ is written to show the step by step password recovery of the Cisco Routers. It is assumed that you have a prior knowledge of what a router is and its basic function. It is also assumed the you are having some experience of configuring the router.

Please do not follow these steps if you are a new to Routers, as this can damage the IOS or any physical interface of the router.

1.Connect a computer to the router’s Console port using the Console cable that came with your router (it is usually flat and light blue).

Use these terminal settings:
* 9600 baud rate
* No parity
* 8 data bits
* 1 stop bit
* No flow control

2.Turn the router off using the power switch and turn it back on.

3.Once text starts popping up on the screen, send the break command CTRL + B or CTRL +BREAK (sometimes it is CTRL +X). This will abort the boot and present you with a rommon 1> prompt

4.From the new prompt you need to change the configuration register using the following command: confreg 0×2142

5.If you are using an older model of router you may need to enter o/r 0×2142

6.Now you need to recycle the router with the reset command.

7.If you used the o/r command then reset the router with the I command

8.Once the router finishes restarting you will find that there are no passwords to deal with, so you can enter enabled mode carte blanche.

9.Once in enabled mode enter this: copy start run. This will copy the startup config to the running config.

10.Now, go into configuration mode with the config t command

11.Once there enter the new password with the enable secret password command (i.e. enable secret admin).

12.Now set the configuration register back to normal with this command: confreg 0×2102

13.Exit config mode and enter the command copy run start to copy the new configuration to ram.

14.Now it is time to reload your router

15.Once the router is back up you need to configure all of your interfaces with the no shutdown command or they will not work.

Tags: , , , ,

You may also be interested in...

Leave a Reply

Subscribe RSS Feed

subscribe to the Debian Admin RSS feed

Internal links:

Sponsors:



Categories:

Support Debian Admin

Amount $:
Website(Optional):

Sponsors:

Archives:

WidgetBucks - Trend Watch - WidgetBucks.com

Related Links:


WidgetBucks - Trend Watch - WidgetBucks.com

Favourite Sites:

Wordpress Collection
Windows Reference
Ubuntu Geek
DebianHelp
All About Debian Tutorials
Power Electrical
Check Your IP Here
Debian,Ubuntu News
DebCentral
Tuxmachines
Capnkirby
Libervis
Nuxifield
Linux Horizon
Linux Appfinder
Debuntu
GNU/Linux For Everyone
Free Penguin
DebianAdmin is not related to the Debian Project.
This site is copyright © 2006,2007 Debian Admin
All Trademarks are the property of their respective owners.
The contents of this website may not be mirrored or archived without the express written permission of DebianAdmin Site Owner.

DISCLAIMER: All the information, troubleshooting methods, utilities offered in this website is provided AS-IS, without any warranties. Though I strive for perfection, and always test the validity and effectiveness of the troubleshooting content in various systems, I assume no responsibility for your use of these Fixes, Utilities and other troubleshooting advice. The author will not be liable for any special, incidental, consequential or indirect damages due to loss of data or any other reason. All use is completely at your own risk. Changes to the existing content and new additions are made to this website periodically, without notification.
Rodney's Kontera DynamiContext Plugin plugged in.