Cisco 1921 Router default password invalid

Answered Question
Jan 10th, 2013

Hi All,

I am facing a weird issue where after resetting the Cisco router 1921, i am trying to login using default username "cisco" and password "cisco"

and i am getting password invalid error.

I have hard resetted the router using the the key in the back.

Can someone help me in resolving this error. Its frustrating when you cant even login to a new router

Thanks!!

I have this problem too.
0 votes
Correct Answer by davy.timmermans about 1 year 3 months ago

Some devices are configured with onetime password. If you log on with these credentials and save the configuration, the default password is erased. If you don't have set a new password, you'll end up with an inaccessible box. This avoids production devices with the default manufacture password and being exposed.



You need to do a password recovery procedure.



1) connect via console to the device
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 enable secret in order to change the enable secret password. For example:

hostname(config)#enable secret YourPassword


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

If you did a copy start run, you must also configure a new user:

Username youruser secret yourpassword

And of course: save your configuration


Don't forget to rate useful posts ;)





Sent from Cisco Technical Support iPad App

  • 1
  • 2
  • 3
  • 4
  • 5
Average Rating: 5 (2 ratings)
Correct Answer
davy.timmermans Fri, 01/11/2013 - 00:42

Some devices are configured with onetime password. If you log on with these credentials and save the configuration, the default password is erased. If you don't have set a new password, you'll end up with an inaccessible box. This avoids production devices with the default manufacture password and being exposed.



You need to do a password recovery procedure.



1) connect via console to the device
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 enable secret in order to change the enable secret password. For example:

hostname(config)#enable secret YourPassword


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

If you did a copy start run, you must also configure a new user:

Username youruser secret yourpassword

And of course: save your configuration


Don't forget to rate useful posts ;)





Sent from Cisco Technical Support iPad App

Actions

Login or Register to take actions

This Discussion

Posted January 10, 2013 at 9:03 PM
Stats:
Replies:2 Avg. Rating:5
Views:52228 Votes:0
Shares:8

Related Content

Discussions Leaderboard