Login local on con 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2013 06:42 AM - edited 03-07-2019 04:56 PM
Hello,
I'm trying to get the login local command to work on the console port.
I have added:
username admin secret admin priv 15
enable secret 12345
line con 0
login local
I now get presented with a username and password option but it doesn't accept my local database username and password?
What am I doing wrong?
Thanks
- Labels:
-
Other Switching

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2013 06:47 AM
Is aaa configured? If so, I don't believe login local will work any longer. You'll need "login authentication default" or whatever you named your local authentication name.
**** Edit *****
I stand corrected....I tested this, and it works fine even with aaa configured.
HTH,
John
*** Please rate all useful posts ***

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2013 06:56 AM
The problem is in your username line.
It should be:
username admin priv 15 secre xxxxx
HTH,
John
*** Please rate all useful posts ***
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2013 07:43 AM
Agree with john .
You entered the wrong command for credentials.
Please use like this :
Username admin priv 15 secret admin
Regards
Sent from Cisco Technical Support iPhone App
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2013 07:47 AM
Thanks guys, what is wrong with my head today, that works, why did I do it the other way. It let me do it, what does the command I typed do then?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2013 07:52 AM
HI Andy,
config t
username admin priv 15 secret admin
Regards
Dont forget to rate helpful posts and mark this question as answered.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2013 05:42 AM
I believe that the way you typed the command makes priv 15 into part of the password.
HTH
Rick
Rick
