// Lesson 44 of 49 · Security fundamentals
AAA, RADIUS, TACACS+ and 802.1X
AAA
- Authentication — who are you? (username and password, certificate, MFA)
- Authorisation — what are you allowed to do? (privilege level, permitted commands, VLAN)
- Accounting — what did you do? (logins, commands entered, session time)
Central AAA means one place to add, change or remove access for every device — instead of local users on each router.
RADIUS vs TACACS+
| RADIUS | TACACS+ | |
|---|---|---|
| Standard | Open | Cisco-developed, now widely supported |
| Transport | UDP (1812/1813) | TCP 49 |
| Encryption | Only the password | The whole payload |
| AAA functions | Authentication and authorisation combined | All three separated |
| Typical use | Network access — Wi-Fi, 802.1X, VPN users | Device administration — per-command authorisation and accounting |
AAA for device logins
R1(config)# aaa new-model
R1(config)# tacacs server ISE1
R1(config-server-tacacs)# address ipv4 192.168.1.60
R1(config-server-tacacs)# key <SHARED-SECRET>
R1(config)# aaa authentication login default group tacacs+ local
R1(config)# aaa authorization exec default group tacacs+ local
R1(config)# aaa accounting commands 15 default start-stop group tacacs+
The local keyword is the fallback: if the server is unreachable, the local user database is used, so you are never locked out. Configure the local user before enabling aaa new-model.
802.1X — port-based access control
802.1X decides whether a device may use a switch port (or Wi-Fi network) at all.
| Role | Who |
|---|---|
| Supplicant | The client device's 802.1X software |
| Authenticator | The switch or WLC — relays the conversation |
| Authentication server | The RADIUS server (for example Cisco ISE) |
Until authentication succeeds, the port passes only EAP traffic. On success, the RADIUS server can also tell the switch which VLAN or ACL to apply. Devices that cannot do 802.1X (printers, cameras) are commonly handled with MAC Authentication Bypass (MAB).
Key points
- AAA = authentication, authorisation, accounting.
- RADIUS (UDP, network access) vs TACACS+ (TCP 49, device admin, full encryption).
- Always keep a
localfallback in AAA method lists. - 802.1X: supplicant → authenticator → RADIUS server.
Sign in to save your lesson progress across devices. You can read every published lesson without an account.