Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Local Login

I am running a C3750E switch and I am just practicing, but I cant get login local to work on the VTY lines or Console line. I have a local account with a password. I type the following:

username new view NEW secret cisco

(the NEW is the Parser view Im trying out so ignore it for now)

Switch(config-line)#login ?

authentication     Authentication parameters

Switch(config-line)#login local

                                   ^

% Invalid input detected at marker

All the VY and console lines have passwords of cisco (like I said, just palying around) but I want to use the UN/PW on the local machine

aaa new-model is enabled and I have and RSA key generated. It works on my other switches but not this one. Like I said I am just playing around so no other configuration exists. VLAN 1 has no IP. I am logged in through the console cable.

Everyone's tags (2)
2 ACCEPTED SOLUTIONS

Accepted Solutions

Local Login

David,

Since we have configured 'aaa new-model', one must use the aaa authentication commands to setup logging mechanisms.

If you want to use only local authentication and there is no use of a AAA device, turn off AAA using 'no aaa new-model'.

Else use the aaa authentication login commands as mentioned in the link below

http://www.cisco.com/en/US/docs/ios/12_0/security/command/reference/srathen.html#wp1017794

Thanks,

Karthic

Local Login

HI, only local user :

conf t

no aaa new-model

username david priv 15 secret david

line vty 0 4

login local

trans in all

exec-t 5 0

end

wr

!

otheriwse as Karthic was telling you need to use the login authentication local and following this info:

http://www.cisco.com/en/US/docs/ios/12_2/security/configuration/guide/scfathen.html#wp1001032

Enjoy!!!

Alessio

3 REPLIES

Local Login

David,

Since we have configured 'aaa new-model', one must use the aaa authentication commands to setup logging mechanisms.

If you want to use only local authentication and there is no use of a AAA device, turn off AAA using 'no aaa new-model'.

Else use the aaa authentication login commands as mentioned in the link below

http://www.cisco.com/en/US/docs/ios/12_0/security/command/reference/srathen.html#wp1017794

Thanks,

Karthic

Local Login

HI, only local user :

conf t

no aaa new-model

username david priv 15 secret david

line vty 0 4

login local

trans in all

exec-t 5 0

end

wr

!

otheriwse as Karthic was telling you need to use the login authentication local and following this info:

http://www.cisco.com/en/US/docs/ios/12_2/security/configuration/guide/scfathen.html#wp1001032

Enjoy!!!

Alessio

New Member

Local Login

Thanks for the help guys. I did that and it worked.

756
Views
0
Helpful
3
Replies