< All Topics
Print

Cisco 1921 router password recovery

Issue:

Tech cant log in on the cisco 1921 AR router

Solution:

1)Power the device down
2)Power on the device
3)hit ctrl+break until you are in rommon mode

Type confreg 0x2142 at the rommon 1> prompt in order to boot from Flash.

This step bypasses the startup configuration where the passwords are stored.

Type reset at the rommon 2> prompt.

The router reboots, but ignores the saved configuration.

Type no after each setup question, or press Ctrl-C in order to skip the initial setup procedure.

Type enable at the Router> prompt.

You are in enable mode and should see the Router# prompt.

As it’s a new router without previous configuration it’s not really required to restore the previous saved configuration. But if you would do: copy start run

Warning: Do not enter copy running-config startup-config or write. These commands erase your startup configuration.

Type configure terminal.

The hostname(config)# prompt appears.

Type do show run at the enable prompt

Press the space bar until you see usernames

Find the username you want to change and the type no, and press the space bar(do not hit enter)

Highlight the entire line of the user name you want to change

Right click and it will paste the line into the command line after no

Hit return

Then type, username emer-access privilege 0 secret 5 $1$jAMH$60D1yLZEJo6ivCFrtQ37C/ at the command line

To change the enable password, Type the below command in order to change the enable secret password.

hostname(config)#enable secret 5 $1$hgar$groVcZ5o6Hd9.BhYblsD4/

Restore the previous conf-reg value:
hostname(config)#config-register 0x2102

And of course: save your configuration

Leave a Reply

Your email address will not be published. Required fields are marked *

Table of Contents