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

VLANs and Trunks – I

Its the first major topic of our Cisco switch world. Well to start of let me tell you one secret, if you are using a managed switch, you are using VLANs, so its not that alien of a topic. Yes its true even if you have not came across setting up VLANs while configuring your networks (using managed switches), you are using VLAN, as its default “VLAN 1” every port of a managed switch belongs to VLAN 1 by default. So what is VLAN, lets start with a brief discussion of what switches do; Well they are the Layer 2 (OSI) device and divide collision domain on per port basis i.e. each port of a switch is a separate collision domain. But by default it does not divide the broadcast domain. To have separate broadcast domains we need a layer 3 device like a router. But there is a mechanism to divide broadcast domain at layer 2, and that mechanism is referred as VLANs. VLANs logically group users by segmenting broadcast domain. As per Cisco, VLANs = Broadcast Domain = Subnet End nodes on a giv...

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...

Linux -- TIPS

Hi, Actually, an incident at work with one of my friend has prompted me to write this. With out going into much details, I'd quickly like to tell all the readers out there that mounting an windows NTFS partition is quite possible in Linux (RedHat). All you have to do is to install the following components: Firstly, install the FUSE-xxx version. Can be downloaded from http://fuse.sourceforge.net/ It also has a detailed explanation of procedure. After successfully installing the FUSE package, look for the " NTFS-3g" . It can be downloaded from http://www.ntfs-3g.org/ And also comes with detail explanations of installation procedure. After finishing installation of the above two packages following command will sort out all your problems: # ntfs-3g /dev/(device) /(mount point) Will mount the ntfs partition on the targeted directory. NOTE: Don't put entry in the fstab, as it will fail. can put the above comand in "rc.local"  for automati...