cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
27748
Views
1
Helpful
3
Replies

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.

2 Accepted Solutions

Accepted Solutions

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

View solution in original post

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

View solution in original post

3 Replies 3

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

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

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

Review Cisco Networking for a $25 gift card