White Belt: RADIUS vs TACACS+: AAA for Users and for Admins
Two protocols, both decades old, both still everywhere. RADIUS decides whether a laptop gets on the network. TACACS+ decides whether an engineer can type reload. They are often served by the same box (Cisco ISE does both), which is exactly why people mix them up. This lesson separates them cleanly.
AAA in one table
| Letter | Question it answers | Network access example | Device admin example |
|---|---|---|---|
| Authentication | Who are you? | Laptop presents a certificate over 802.1X. | Engineer enters username and password at the SSH prompt. |
| Authorization | What may you do? | Put this session in VLAN 10 with this ACL. | Grant privilege 15, but deny reload and write erase. |
| Accounting | What did you do, and when? | Session started 09:02, got IP 10.10.10.23, ended 17:30. | User jdoe ran interface Gi1/0/10 then shutdown at 14:12. |
Both protocols cover all three letters. The difference is in how well they do each one, and that difference is the whole story.
Side by side
| RADIUS | TACACS+ | |
|---|---|---|
| Origin | Livingston, 1991; IETF standard (RFC 2865/2866). | Cisco, 1990s; documented in RFC 8907 (2020) as an informational spec. |
| Transport | UDP 1812 (auth) and 1813 (accounting). Legacy 1645/1646 still seen. | TCP 49. |
| What is encrypted | Only the User-Password attribute is obfuscated. Usernames, attributes and everything else are cleartext. Integrity comes from Message-Authenticator. | The entire packet body is obfuscated with the shared secret. Only the header is visible. |
| Authentication and authorization | Combined. One Access-Request, one Access-Accept carrying the authorization attributes. | Separate. Authentication is one exchange; authorization is a fresh request, and it can be repeated per command. |
| Granularity of authorization | Per session: VLAN, ACL, timeout, vendor attributes. | Per command: the device asks "may this user run show run?" each time. |
| Accounting | Session start/interim/stop with byte counts. | Per command, with the full command line logged. |
| Server push | Yes: Change of Authorization (RFC 5176) can disconnect or re-authorize a live session. | No equivalent. |
| Multi-vendor | Universal. | Cisco-native, but supported by Juniper, Arista, Palo Alto, Fortinet, F5 and most enterprise gear. |
| Best at | Network access: 802.1X, MAB, VPN, wireless, guest. | Device administration: who can log in to a switch and what they can type. |
Why RADIUS owns network access
802.1X needs a protocol that can carry EAP. RADIUS has the EAP-Message attribute and the Access-Challenge round trip designed for exactly that; TACACS+ has neither. RADIUS also has CoA, which is what makes posture, quarantine and guest flows possible after the session is up. And because the authorization rides in the same Accept as the authentication result, one UDP exchange per step is enough, which matters when a wireless controller is handling thousands of clients.
RADIUS over UDP is showing its age
In 2024 the Blast-RADIUS attack (CVE-2024-3596) showed that a man-in-the-middle can forge an Access-Accept when Message-Authenticator is not required, because the Response Authenticator is only MD5. The fixes: require Message-Authenticator on every packet (modern ISE and IOS XE have a setting for this), and where you can, move to RadSec: RADIUS over TLS on TCP 2083, which encrypts everything. EAP methods were never exposed by this because they carry Message-Authenticator anyway; plain PAP, CHAP and MAB were.
Why TACACS+ owns device administration
When an engineer SSHes into a switch you want three things RADIUS does badly:
- Command authorization. With TACACS+ the switch sends each command to the server before executing it. The server answers permit or deny against a command set. A junior engineer can be allowed every
showand nothing else, from a central policy, with no per-device configuration. RADIUS authorizes once at login and is done. - Command accounting. Every command the user types is logged with timestamp, user and device. This is the audit trail your security team asks for after an outage.
- Encrypted body. The whole conversation is obfuscated, so a capture on the management network does not show usernames and privilege levels in the clear.
The cost is TCP state and a round trip per command, which nobody notices on a management plane. On Cisco ISE, TACACS+ is the "Device Administration" work centre and needs its own licence and a dedicated service enabled on a policy node.
What the device-side config looks like
Both protocols are defined on the device under aaa. The shape is the same: name a server, put it in a group, then point each AAA function at the group with a local fallback. Here is the skeleton on IOS XE for both at once:
aaa new-model
!
! RADIUS: for 802.1X / MAB on the user ports
radius server ISE-PSN-1
address ipv4 10.20.0.11 auth-port 1812 acct-port 1813
key <radius-secret>
aaa group server radius ISE-RADIUS
server name ISE-PSN-1
aaa authentication dot1x default group ISE-RADIUS
aaa authorization network default group ISE-RADIUS
aaa accounting dot1x default start-stop group ISE-RADIUS
!
! TACACS+: for engineers logging in to this switch
tacacs server ISE-PAN-1
address ipv4 10.20.0.11
key <tacacs-secret>
aaa group server tacacs+ ISE-TACACS
server name ISE-PAN-1
aaa authentication login default group ISE-TACACS local
aaa authorization exec default group ISE-TACACS local if-authenticated
aaa authorization commands 15 default group ISE-TACACS local if-authenticated
aaa accounting commands 15 default start-stop group ISE-TACACS
!
username breakglass privilege 15 secret <long-local-password>
Explanation: the dot1x and network lines go to the RADIUS group because that is the network-access path. The login, exec and commands lines go to the TACACS+ group because that is the admin path. Each method list ends in local so a local account still works when ISE is unreachable; without that, a RADIUS outage locks you out of every switch at the same time. The full TACACS+ build, including ISE's side, is in ISE Device Administration.
Shared secrets are per device, per protocol
ISE stores a RADIUS secret and a TACACS+ secret for each network device. They can be the same string, but they are different fields, and a mismatch on either one shows up as "could not locate network device" or an invalid Message-Authenticator rather than a clean "wrong secret" message. When something authenticates on one protocol and not the other, check the secret first.
Summary
- AAA = who are you, what may you do, what did you do.
- RADIUS: UDP 1812/1813, password-only obfuscation, combined authn+authz, carries EAP, has CoA. Use it for network access.
- TACACS+: TCP 49, whole body obfuscated, separate authn/authz, per-command authorization and accounting. Use it for device administration.
- Run both, usually from the same server, and always keep a local fallback account.
- Require Message-Authenticator and plan for RadSec to close the Blast-RADIUS gap.