04-08-2017 07:24 PM - edited 03-08-2019 10:07 AM
I have setup my username and password on a Cisco 2950 switch for security. My computer is connected to the switch with a console cable.
When I restart my switch I get prompted for the enable password only.
Problem.
I do not get prompted for a username and password - Why ??- What am I doing wrong in my configuration.
These are the commands I have loaded on the switch.
enable secret Cisco1
username admin privilege 15 secret Cisco
Solved! Go to Solution.
04-09-2017 07:40 AM
Hi
Try this command lines only:
username admin privilege 15 password Cisco
conf t
no aaa new-model
username admin privilege 15 password Cisco
line vty 0 15 (or 0 4)
login local
line con 0
login local
Hope it is useful
:-)
04-08-2017 08:39 PM
Try this command:
no username admin privilege 15 secret Cisco
username admin privilege 15 password 7 Cisco
and test again.
HTH
04-09-2017 07:19 AM
Hi Reza the commands did not work
I received the following message after the last command line.
Invalid encrypted password
04-09-2017 07:40 AM
Hi
Try this command lines only:
username admin privilege 15 password Cisco
conf t
no aaa new-model
username admin privilege 15 password Cisco
line vty 0 15 (or 0 4)
login local
line con 0
login local
Hope it is useful
:-)
04-09-2017 07:43 AM
Hi
Also this link could be useful:
http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960/software/release/12-2_53_se/configuration/guide/2960scg/swauthen.html
04-09-2017 12:53 PM
Hi Julio - That was a very big help
doing a no aaa new-model, and adding the lines for vty and con.
It was simple but it worked. Thanks
God Bless and Have A Great Dat
04-09-2017 01:51 PM
Hi
It was pleasure :-)
God Bless you and have a great day too
Thank you
:-)
04-09-2017 12:54 PM
Julio
I gave you 5 stars. - Just want to make sure,.
04-09-2017 04:09 AM
on your vty line 0 4
use "login local" command
please rate if useful.
04-09-2017 07:22 AM
Dennis
Thanks but that did not work.
The command you sent is only good for using telnet from the network.
If a switch or router is connected by a console cable the first level of security I need to receive is a username and I am not getting that.
Hopes this helps
04-09-2017 04:25 PM
OK, yes, in that case stick the login local on the line console
Please rate if useful.
04-09-2017 07:27 AM
If you are having the issue on the console interface only - use:
configure terminal
line con 0
login local
end
This should actually enable user authentication on console as well.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide