2950 switch not prompting username and password

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.

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
Bob BrownIT Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Bob BrownIT Author Commented:
I am going to try it on my Cisco 2950 switch
Bob BrownIT Author Commented:
I added no aaa new-model to the configuration - your explanation helped. Thanks alot
You're welcome.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Switches / Hubs

From novice to tech pro — start learning today.