Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting default username has shut me out

Status
Not open for further replies.

charlied3

Technical User
May 11, 2010
11
US
Hello all!
I was trying to figure out how to have my router (Cisco 2801 ver 12.1) only prompt for a password to enter into enable more right from the start. My other routers do this. I telnet in, and all I get is "password:". So, I tried setting the default username using "default username admin" (admin is how I log into it). Now it won't let me log on at all. I try the username (it's still prompting) admin, and my password, and it's saying "% Login invalid". I didn't write the change, so if I do a reload it should be back to how it was, but this is a remote site and I really can't have them take it down. Any ideas?

Thanks!
Chuck
 
Try this:

Router(config)#username admin privilege 15 password mypassword
Router(config)#line vty 0 4
Router(config-line)#login local

I'd suggest adding SSH, to.

HTH
 
Cluebird,
Thanks for the response, but it will not let me log on to do any of that now. It just keeps telling me "% Login invalid" when I try the logon that I've been using since it was set up.
Chuck
 
You might try admin with no password, or the password cisco.


Otherwise, you'll need to bite the bullet and reload the box to it's previous configuration.

As an addendum to your original post, you can also do this:

Router(config)#line vty 0 4
Router(config-line)#login
Router(config-line)#password mypassword
Router(config-line)#privilege level 15
 
Cluebird,
I have tried those logons, and a few more, so I think you're right............I'm just going to have to reload. Thanks for the help and suggestions!
Chuck
 
One last attempt: username: cisco, password: cisco

That is a onetime use account for other platforms.
 
Tried that one too. No luck. I'm glad I didn't write that change!
 
So all you had to do was reload? And you posted here for a resolution?

CCNP
 
IPK King, yes because reloading that router is a major ordeal. If there was a possibility of fixing the issue without doing a reload, I needed to pursue that possibility.
 
So, you all good now, ISP? lol

/

tim@tim-laptop ~ $ sudo apt-get install windows
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package windows...Thank Goodness!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top