AAA: RADIUS and TACACS+ for device logins
▶ Start the interactive lesson
An engineer leaves Burrow. Every router has the same local admin password, which he knew. Changing it means logging into 60 devices. "With AAA," Maya says, "routers ask a central server who you are. Disable one account and he's locked out of everything, and every login and command is logged."
Key points
- AAA = Authentication (who are you?), Authorisation (what may you do?), Accounting (what did you do?).
- RADIUS: UDP 1812 (auth) and 1813 (accounting), an open standard. It encrypts only the password and combines authentication and authorisation. Typical use: network access such as Wi-Fi/802.1X, VPN users and NAC.
- TACACS+: TCP 49, encrypts the whole payload, and separates authentication, authorisation and accounting, so it can authorise each command. Typical use: device administration (router/switch/firewall logins).
- A method list sets the order, e.g. aaa authentication login default group radius local: try RADIUS, and if the server is unreachable, use the local account (break-glass). A rejected password doesn't fall back.
- The router and server must share the same secret/key (case-sensitive). Users get privilege levels (1 = read-only, 15 = full admin). Typical servers include Cisco ISE, Aruba ClearPass, FreeRADIUS and Windows NPS.
The full lesson has more: animations, a hands-on exercise, 3 quiz questions and spaced review cards. Open it free →