Need to recover username - can't get into the router
Brand new 1841 router. Connected to the console and ran through the initial setup, changing the enable secret and enable passwords. After setup I did a conf term and entered the following - no username cisco, then wrote the config to memory. The router is now prompting me for a username, and it's not cisco or admin. I know what the passwords are, but have no idea what it wants for a username. Thanks for any help you can offer.
Re: Need to recover username - can't get into the router
It sounds like you have painted yourself into a corner. My guess is that the console is configured with login local (or perhaps aaa authentication local). When this is configured the router will look for a locally configured username and password to authenticate sessions on the console (and if it is done on the console it is probably done on the vty as well). But you have deleted the local username and password. And this locks you out of the router.
At this point you will need to do password recovery: boot the router, while it is booting hit the break key to get into rommon, set the config register to 0x2142, boot (ignoring startup-config). When you get into the router - with an empty config - you can either start from scratch and configure it as you want it, or you can copy from startup-config to running-config, and while you are in privilege mode you can correct the config. (correcting the config might be configuring a username and password or it might be changing authenticatin on the console and the vty)
After you do password recovery be sure to put the config-register back to its usual 0x2102.
Question We run asr9001 with XR 6.1.3, and we have a very long delay to
login w/ SSH 1 or 2 to the device compare to IOS device. After
investigation, the there is 1s delay between the client KEXDH_INIT and
the server (XR) KEXDH_REPLY. After debug ssh serv...
Introduction The purpose of this document is to demonstrate the Open
Shortest Path First (OSPF) behavior when the V-bit (Virtual-link bit) is
present in a non-backbone area. The V-bit is signaled in Type-1 LSA only
if the router is the endpoint of one or ...
Hi, I am seeing quite a few issues with patch install and wanted to
share my experience and workaround to this. Login to admin via CLI, then
access root with the “shell” command Issue “df –h” and you’ll probably
see the following directory full or nearly ...