Solved

Help: Cisco Router Password Recovery

Posted on 2006-11-13
7
4,163 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
Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

 

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
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…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

752 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