Solved

Help: Cisco Router Password Recovery

Posted on 2006-11-13
7
4,138 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
  • 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
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
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.

760 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now