2950 switch not prompting username and password

Bob Brown
Bob Brown used Ask the Experts™
on
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
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Distinguished Expert 2018
Commented:
I guess that you are missing command login local under console and vty lines.

line vty 0 4
 login local
line con 0
 login local

If you are login with level 15 account  you will be placed directly to privileged mode and you will not be prompt additionally for password to be able to enter privileged mode.

Author

Commented:
I am going to try it on my Cisco 2950 switch

Author

Commented:
I added no aaa new-model to the configuration - your explanation helped. Thanks alot
Distinguished Expert 2018

Commented:
You're welcome.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial