07-24-2012 02:32 PM - edited 03-07-2019 07:57 AM
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.
Solved! Go to Solution.
07-24-2012 02:46 PM
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
07-24-2012 04:54 PM
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
07-24-2012 02:46 PM
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
07-24-2012 04:54 PM
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
07-25-2012 08:09 AM
Thanks for the help guys. I did that and it worked.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide