Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Help: Cisco Router Password Recovery

Posted on 2006-11-13
7
Medium Priority
?
4,180 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
Arrow Electronics was searching for a KVM  (Keyboard/Video/Mouse) switch that could display on one single monitor the current status of all units being tested on the rack.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Suggested Courses

722 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