• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 534
  • Last Modified:

Cisco 1720 Username Problem

Hello, I am having a problem logging into a Cisco 1720 router.  I am a Cisco user who knows enough to be dangerous.  I know how to login and change configurations, but I don't always know the consequences of those changes.  I recently attemped to change my cisco login password to something that I can remember easier.  I logged in went to config t, enable password xxxx, then I went to enable secret xxxx.  After I made those changes, I did a sh run, to see if the changes took.  I then noticed that the line con0, line aux, and line vty 0 4, were set as the old password.  I then went into each interface and made the following change: Line con0 password line xxxx, Line aux password line xxxx, and Line vty 0 4 password line xxxx, (xxxx represents the new password I entered).  After all that, I made one more change.  I went to the con0 interface and changed the login to local.  Then I restarted the router and when it came up it asked me for a username.  Normally it ask me for a password, but never a username.  I don't know what the username is.  Therefore I cannot login to the Cisco router.  I have a feeling I made alot of unnecessary changes.  Is there a way I can get around the username?  HELP?  Thank You
0
dkwymer
Asked:
dkwymer
  • 2
1 Solution
 
mikebernhardtCommented:
Login local means that it looks for a line in your config that says "username xxxx password xxxxx." Since you don't have one, you're hosed. You will need to do a password recovery:

http://www.cisco.com/en/US/products/hw/routers/ps221/products_installation_guide_chapter09186a00800c623a.html#34110
0
 
lrmooreCommented:
If you only added that to the console interface, not to the vty lines, then you should be able to telnet to it and get prompted for a password without a username. Then you can make your changes from the telnet session..
0
 
mikebernhardtCommented:
Yep, that's true too. Didn't notice that you only did that on the console...
0

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now