cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
17069
Views
13
Helpful
11
Replies

2950 switch not prompting username and password

Cisco10956
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

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

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

View solution in original post

11 Replies 11

Reza Sharifi
Hall of Fame
Hall of Fame

Try this command:

no username admin privilege 15 secret  Cisco

username admin privilege 15 password 7 Cisco

and test again.

HTH

Hi Reza the commands did not work

I received the following message after the last command line.

Invalid encrypted password

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

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

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




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

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

Hi

It was pleasure  :-) 

God Bless you and have a great day too 

Thank you

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Julio

I gave you 5 stars. - Just want to make sure,.

Dennis Mink
VIP Alumni
VIP Alumni

on your vty line 0 4

use "login local" command

please rate if useful.

Please remember to rate useful posts, by clicking on the stars below.

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

OK, yes, in that case stick the login local on the line console

Please rate if useful.

Please remember to rate useful posts, by clicking on the stars below.

Mr Noone
Level 1
Level 1

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.