Solved

Help: Cisco Router Password Recovery

Posted on 2006-11-13
7
4,170 Views
Last Modified: 2013-11-29
Hi guys,
     I am trying to break into a cisco 805 router which i do not know the password. once it starts booting and i do a Ctrl+ break, it goes to a boot# prompt instead of the rommon > prompt i am used to .
  Pls i need help fast on this.
0
Comment
Question by:olaolusijuwola
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 3

Expert Comment

by:tang_tzuchi
ID: 17928486
what are the purpose you doing so? are you authorised to do this? seems like you are breaking some one's router. we would give you a help if you can provide a reason. :)
0
 

Author Comment

by:olaolusijuwola
ID: 17928498
i am not breaking anybody's router. I have an engineer on site who has phoned in to report the situation . As the network engineer, i am supposed to offer him assistance.
0
 
LVL 3

Expert Comment

by:tang_tzuchi
ID: 17928570
Hi,

Ok....
1) Make sure your router configuration register is set to 0x2102.
2) Use the power switch to turn off the router, and then turn it back on.

Important: To simulate step 4 on a Cisco 6400, pull out and then replace the Node Route Processor (NRP) or Node Switch Processor (NSP) card.

Important: To simulate step 4 on a Cisco 6x00 using NI-2, pull out and then replace the NI-2 card.

3) Press Break on the terminal keyboard within 60 seconds of the power-up to put the router into ROMMON.

4) Type confreg 0x2142 at the rommon 1> prompt to boot from Flash without loading the configuration.

5) Type reset at the rommon 2> prompt.

The router reboots but ignores its saved configuration.

6) Type no after each setup question or press Ctrl-C to skip the initial setup procedure.

7) Type enable at the Router> prompt.

You are taken to the enable mode, and the Router# prompt appears.

8) Important: Type configure memory or copy startup-config running-config to copy the nonvolatile RAM (NVRAM) into memory.

Do not type configure terminal .

9) Type write terminal or show running-config .

The show running-config and write terminal commands show the configuration of the router. In this configuration you see under all the interfaces the shutdown command, which means all interfaces are currently shutdown. Also, you can see the passwords (enable password, enable secret, vty, console passwords, and so on) either in encrypted or unencrypted format. The unencrypted passwords can be re-used, the encrypted ones will have to be changed with a new one.

10)  Type configure terminal and make the changes.

The prompt is now hostname(config)#.

11) Type enable secret <password> to change the enable secret password, for example.

12) Issue the no shutdown command on every interface that is used.

If you issue a show ip interface brief command, every interface that you want to use should be "up up".

13) Type config-register 0x2102, or the value you recorded in step 2.

14) Press Ctrl-Z or end to leave the configuration mode.

The prompt is now changed to hostname#.

15) Type write memory or copy running-config startup-config to commit the changes.


0
WordPress Tutorial 2: Terminology

An important part of learning any new piece of software is understanding the terminology it uses. Thankfully WordPress uses fairly simple names for everything that make it easy to start using the software.

 

Author Comment

by:olaolusijuwola
ID: 17928655
Hi tang_tzuchi
       The problem is that when the router is booted, and Ctrl+break is applied, it does not even get to rommon1> mode. Instead it defaults to boot # mode. Pls how do i get around this? Since i cant even apply confreg 0x2142 until i get to rommon1> mode. That is my dilemma

     
0
 
LVL 3

Expert Comment

by:tang_tzuchi
ID: 17928738
ya, that's the Rommon mode....
you can proceed with the procedure to recover....
0
 
LVL 3

Expert Comment

by:tang_tzuchi
ID: 17928746
0
 
LVL 3

Accepted Solution

by:
ctrost earned 500 total points
ID: 17929640
Type set ios-conf = 142 at the boot# prompt.
Type boot at the boot# prompt to initialize the router.

The router reboots but ignores its saved configuration.

0

Featured Post

Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
WARNING:   If you follow the instructions here, you will wipe out your VTP and VLAN configurations.  Make sure you have backed up your switch!!! I recently had some issues with a few low-end Cisco routers (RV325) and I opened a case with Cisco TA…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question