Skip to main content

Cisco: Resetting Forgotten Password

I was actually made to write this blog after I end up buying a password protected Cisco 2500 router from Ebay. My room mate collected it and straight away tried to connect it to HyperTerminal as he wanted to test his newly learnt skills from CCNA classes. But more to his disappointment, the router was password protected and it was not until evening when I returned home after work.

If you do end up in a similar situation, before you start have your snacks, roll up your sleeves and be prepared for a good 3-4 hrs of command line drill.

Alright.. my bad.. it won’t take this long, it’s actually easier than it looks and can only take a max of 2 minutes if you got all the right stuffs with you.

And here is how we do it in easy steps:

1) Connect to your router via console.

2) Power reset the Router.

3) When the router boots again, Press "Ctrl + Break” or “Ctrl +Pause”(Hyper-terminal/Putty). Pause/Break is actually the same key. And make sure to do this with in within 60 sec. And if you are using:

Telix: Ctrl+End

Procomm: Alt+B

And if the cable is good and the BREAK signal is correct, the router should boot to a router> prompt. Well done…

4) Type o/r 0x42 at the “router>” prompt.

Well the command doesn’t make much sense if you are a newbie and for time being I won’t go into much details and anyway who cares if these magic command do the job..

Well as an overview all I can tell is, this tells the router to boot from the Flash Memory without loading the configuration file.

5) Type “i” and press return.

Woollaa.. The router will reboot and after reboot it will take you to the configuration wizard. You may continue with it or press Ctrl+C to break.

Type enable at the router> prompt. This will put you in enable or Privileged mode and the prompt will look like this: router#

Thats it.. your router is now password free.. n good to go…

Comments

Popular posts from this blog

Getting Started - I

We can start off our campaign by configuring a small LAN network. We will configure a cisco switch that is connected to end user device and eventually forward traffic to a router with connects our LAN with outside network/ Internet. In our scenario, the configuration will be done on the switch, here we are going to divide the whole process into six stages: 1) Beginning: start up new switch/ wipe out existing configs. 2) Security: passwords & banner. 3) Cosmetics: name & work environment. 4) Management: IP address & gateway. 5) Interfaces: speed, duplex & description. 6) Verify & backup: CDP, TFTP, show interfaces. BEGINNING Very few of us will be born with the silver spoon to have a brand new switch to start off the proceedings, for other not so lucky comrades like me, before we can start any configuration we need to make sure that previous configuration do not effect what we are about to do. At boot up of a brand new switch, it always prompts with a qu...