AAA and VTY access

Hi All,

I am trying to understand the workings of AAA and here is my question:

When a user telnets into a device that is configured for AAA, the line vty local paswords are ignored, correct?

I have a switch that is configured for AAA and has the following configuration under VTY lines:

line vty 0 4
password 7 3456776457888643
length 0
transport input telnet ssh

I don't seem to understand how would the tacacs authentication work in this scenario. Please note that AAA is configured on this device but no configuration of AAA appears under the VTY lines.

I personally think that the following cofiguration line should appear under the VTY line:

aaa authentication logain default group tacacs+ enable

But, it doesn't, and the user still gets authenticated by tacacs server! Can anyone please explain what might be the cause of this?

Many thanks....
thunder8080Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

HodepineCommented:
The aaa commands are in global mode, it's perfectly normal that the config under line contains no login/aaa information.

Have a look at this question, he's got a working aaa setup too: http://www.experts-exchange.com/Hardware/Networking_Hardware/Switches/Q_25654396.html
0

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
amprantiCommented:
If tacacs is local (on router) then you have to configure like this:

conf t
aaa new-model
aaa authentication login VTY-LOGIN local
aaa authorization exec VTY-LOGIN local

line vty 0 4
 authorization exec VTY-LOGIN
 login authentication VTY-LOGIN
0
602650528Commented:
Once aaa-new model and aaa authentication is configured in the global mode on router or switch  using the default name list, it will be used by default by vty access even if nothing is config under line vty.

Tacacs is never local as stated by ampranti, the local in that line means authenticate with password created in router global mode.

Specifying "login authentication VTY-LOGIN" means that you have created an aaa authentication list named VTY-LOGIN under aaa-new model and you want to use that instead of default.
The password 7 3456776457888643 is only used if tacacs server isn't available e.g disconnected from network.

I hope i am a bit clear
0
amprantiCommented:
Yep. tacacs is never local; I mean "authentication"
0
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
Routers

From novice to tech pro — start learning today.