5.8 Compare the roles of authentication, authorization and accounting

CCNA 200-301 v1.1 · 5.0 Security Fundamentals

AAA answers three questions about everyone who uses the network or its devices. Authentication: who are you? Authorization: what may you do? Accounting: what did you do? For the CCNA you keep the three apart, know which protocols carry them, and read a basic AAA configuration.

What you must know

The three As

QuestionExample
AuthenticationWho are you?Username and password, certificate, MFA
AuthorizationWhat may you do?Privilege level 15, a VLAN or ACL assigned to an 802.1X user, allowed commands
AccountingWhat did you do?Login and logout times, every command typed, bytes used

AAA on IOS

aaa new-model
tacacs server ISE1
 address ipv4 10.0.50.15
 key T4c4cs-Key
aaa authentication login default group tacacs+ local
aaa authorization exec default group tacacs+ local
aaa accounting commands 15 default start-stop group tacacs+

A method list gives the order to try: the TACACS+ group first, then the local database. The fallback is used only if the server does not answer; a server that answers "no" is final.

For network access, 802.1X has three roles: the supplicant (the client), the authenticator (the switch or WLC) and the authentication server (RADIUS). The port stays closed until the server accepts the user (1), and the answer can carry authorization, such as the VLAN to use.

Commands

show aaa serversConfigured AAA servers, their state and counters.
show aaa sessionsActive AAA sessions.
debug aaa authenticationEach step of a login, to see which method answered.

Exam traps

Check yourself

A log of every command an admin typed is which A?
Accounting.
What are the three 802.1X roles?
Supplicant, authenticator, authentication server.
The TACACS+ server rejects a password. Does the router try the local database?
No. The next method is tried only if the server does not respond.

More topics in 5.0 Security Fundamentals