Wednesday, February 4, 2009

Router Password Recovery

1. Turn off the power and again on to start the device.

2. Now bring device into ROM monitor mode. It can be done by using BREAK key or sequence might be CTRL-BREAK or CTRL-D or another combination, it varies by system to system.

3. At the > prompt, type o (it’s not zero) to record the current value of configuration register (or it can be 0x2102 or 0x102).
> o

4. Type o/r 0x2142 to tell the router to boot from Flash without loading configuration in NVRAM (Startup-Configuration) at the next reload.

5. Type i to have the router reboot, the router ignores the configuration in NVRAM.

6. Now the router run the setup dialog, type no or press Ctrl-C to skip the initial setup dialog.

7. Type enable at the line mode to enter into the privilege mode

Router > enable

8. Copy the startup-configuration to running-configuration by using command

Router# copy startup-configuration running-configuration

Note: Do not type configure terminal, if you did so you over write the configuration stored in NVRAM.

9. View the configuration by giving command given below.

Router# show running-configuration

View the configuration, Line password, vty and Enable Password while an encrypted password need to be changed.

10. Enter Configuration mode and change the enable, line and vty password.

Router# configure terminal
Router (config) #

11. No shutdown all the interfaces that you are using.

12. Type config-register 0x2102 to return router to normal operation at next reload.

13. Exit configuration by Ctrl-Z

Router (config) # press Ctrl-Z
Router #


14. Save your changes by command given below.

Router# copy running-configuration startup-configuration

15. Reload the router to verify the password.

4 comments:

nayyares said...

excellent !

is it same for all routers ? i guess the process is a bit different with different series of routers...

Sohail Akhtar said...

yes there is some difference in this command "o/r 0x214", like that day i was solving a problem on phone for 822 series i think that was in dubai so there was a difference in this command,
but all of them were the same and we didi with that.
the remaning are the same for almost all.....

Unknown said...

replica watches, ugg boots, ralph lauren pas cher, oakley sunglasses, louis vuitton, nike roshe run, chanel handbags, burberry, kate spade outlet, louis vuitton outlet, nike outlet, longchamp, louboutin shoes, gucci outlet, ray ban sunglasses, air jordan pas cher, nike free, jordan shoes, sac longchamp, uggs on sale, louboutin, nike free, cheap oakley sunglasses, nike air max, prada outlet, air max, christian louboutin outlet, tory burch outlet, longchamp pas cher, polo ralph lauren outlet, ugg boots, polo ralph lauren outlet, louis vuitton, replica watches, nike air max, louboutin pas cher, oakley sunglasses, tiffany jewelry, oakley sunglasses, ray ban sunglasses, louis vuitton, prada handbags, michael kors, ray ban sunglasses, louis vuitton outlet, louboutin outlet, longchamp outlet, oakley sunglasses, longchamp outlet, tiffany and co

Unknown said...

vans shoes, beats by dre, ghd, lancel, herve leger, new balance, ray ban, ralph lauren, abercrombie and fitch, celine handbags, north face outlet, birkin bag, louboutin, chi flat iron, soccer jerseys, nike air max, ferragamo shoes, mont blanc, insanity workout, hollister, jimmy choo shoes, nfl jerseys, soccer shoes, nike huarache, nike air max, nike roshe, wedding dresses, instyler, iphone cases, p90x workout, timberland boots, reebok shoes, mcm handbags, gucci, oakley, hollister, asics running shoes, valentino shoes, longchamp, converse, vans, converse outlet, baseball bats, hollister, north face outlet, bottega veneta, lululemon, babyliss, mac cosmetics, nike trainers