Recovering a Cisco 877 password

Posted on 2011-05-05
Medium Priority
Last Modified: 2012-08-13
Hello experts,

I have had a new Cisco 877 router. When trying to configure for the first time, I have logged on using username and password (cisco). After that I have logged off without configuring the router. Now (cisco) username doesn't exist.

How to login again? I have surfed to this article:


They say: "Enter the config-register 0x01 command from privileged EXEC mode To enable the break setting (indicated by the value of bit 8 in the configuration register). "

What do they mean by (Privileged EXEC mode) ?
Question by:Muhajreen
  • 3
  • 2
  • 2
  • +1
LVL 26

Expert Comment

ID: 35698131
Based on the line you provided, you need to:


Step 1 If break is enabled, go to Step 2. If break is disabled, turn the router off (O), wait 5 seconds, and turn it on (|) again. Within 60 seconds, press the Break key. The terminal displays the ROM monitor prompt. Go to Step 3.


Note Some terminal keyboards have a key labeled Break. If your keyboard does not have a Break key, see the documentation that came with the terminal for instructions on how to send a break.


Step 2 Press break. The terminal displays the following prompt:

rommon 2>
Step 3 Enter confreg 0x2142 to reset the configuration register:

rommon 2> confreg 0x2142
Step 4 Initialize the router by entering the reset command:

rommon 2> reset
The router cycles its power, and the configuration register is set to 0x2142. The router uses the boot ROM system image, indicated by the system configuration dialog:

--- System Configuration Dialog ---
Step 5 Enter no in response to the prompts until the following message is displayed:

Press RETURN to get started!
Step 6 Press Return. The following prompt appears:

Step 7 Enter the enable command to enter enable mode. Configuration changes can be made only in enable mode:

Router> enable
The prompt changes to the privileged EXEC prompt:

Step 8 Enter the show startup-config command to display an enable password in the configuration file:

Router# show startup-config


If you are recovering an enable password, do not perform the steps in the following "Reset the Password and Save Your Changes" section. Instead, complete the password recovery process by performing the steps in the "Reset the Configuration Register Value" section.

If you are recovering an enable secret password, it is not displayed in the show startup-config command output. Complete the password recovery process by performing the steps in the following "Reset the Password and Save Your Changes" section.

Reset the Password and Save Your Changes
To reset your password and save the changes, follow these steps:


Step 1 Enter the configure terminal command to enter global configuration mode:

Router# configure terminal
Step 2 Enter the enable secret command to reset the enable secret password in the router:

Router(config)# enable secret password
Step 3 Enter exit to exit global configuration mode:

Router(config)# exit
Step 4 Save your configuration changes:

Router# copy running-config startup-config


Reset the Configuration Register Value
To reset the configuration register value after you have recovered or reconfigured a password, follow these steps:


Step 1 Enter the configure terminal command to enter global configuration mode:

Router# configure terminal
Step 2 Enter the configure register command and the original configuration register value that you recorded.

Router(config)# config-reg value
Step 3 Enter exit to exit configuration mode:

Router(config)# exit
LVL 11

Expert Comment

ID: 35698171
Basically it means that you have to be an admin and in cisco world admin has privilege 15

now in your case since this is the very first time that you are logging in and there are no users all you do is type
enable which will give you elevated admin access.

Author Comment

ID: 35698308
Where can I type enable? I am asked for a username and password
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

LVL 34

Accepted Solution

Istvan Kalmar earned 2000 total points
ID: 35698353

You need to reload the router, if you not wrote the config
The default cisco / cisco is not readable in the config
you need to create own username:
conf t
username xxxx privilege 15 sec yyyyyyy
ena sec zzzzz

Author Comment

ID: 35698370

I pressed Break on keyboard while router is booting, but nothing happened.

I am using PuTTY

Author Comment

ID: 35698387

Where shall I type (conf t) ? I can't type anything, only Username and Password are required
LVL 34

Assisted Solution

by:Istvan Kalmar
Istvan Kalmar earned 2000 total points
ID: 35698438
You need to push CTRL + BREAK if you want to use password recovery
conf t is the configuration mode
LVL 11

Expert Comment

ID: 35698544
Basically start all over again by rebooting the router, CTRL + BREAK needs to happen while you have direct access to the Router. you have to use a console cable not putty. you can't do inital router configuration via SSH/Telnet/Putty

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

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

During and after that shift to cloud, one area that still poses a struggle for many organizations is what to do with their department file shares.
On Feb. 28, Amazon’s Simple Storage Service (S3) went down after an employee issued the wrong command during a debugging exercise. Among those affected were big names like Netflix, Spotify and Expedia.
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…
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…

850 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