Solved

Help: Cisco Router Password Recovery

Posted on 2006-11-13
7
4,158 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
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

749 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