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
- Define authentication, authorization and accounting with an example of each.
- Explain where AAA is used: device administration, 802.1X network access, VPN.
- Compare RADIUS and TACACS+ for each role.
- Read
aaa new-modeland method lists, including the local fallback.
The three As
| Question | Example | |
|---|---|---|
| Authentication | Who are you? | Username and password, certificate, MFA |
| Authorization | What may you do? | Privilege level 15, a VLAN or ACL assigned to an 802.1X user, allowed commands |
| Accounting | What 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 servers | Configured AAA servers, their state and counters. |
show aaa sessions | Active AAA sessions. |
debug aaa authentication | Each step of a login, to see which method answered. |
Exam traps
- Authorization comes after authentication: you must know who before deciding what.
- The local fallback is used only when the server does not respond, not when it rejects the user.
- RADIUS combines authentication and authorization; TACACS+ separates all three.
- In 802.1X the switch is the authenticator, not the authentication server.
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
- 5.1 Define the basic security vocabulary: threat, vulnerability, exploit, mitigation
- 5.2 Describe the non-technical side of a security program: awareness, training, physical access
- 5.3 Configure and verify local-password protection of device access
- 5.4 Describe password policy elements and alternatives: MFA, certificates, biometrics
- 5.5 Describe site-to-site and remote-access IPsec VPNs
- 5.6 Configure and verify access control lists (ACLs)
- 5.10 Configure and verify a WPA2-PSK WLAN in the controller GUI