802.1X, RADIUS and TACACS+
Before a device joins the network or an administrator configures a router, it must be authenticated and authorised. This lesson explains IEEE 802.1X port-based access control and the RADIUS and TACACS+ AAA protocols.
Learning outcomes
After completing this lesson, you will be able to:
- Describe the AAA model.
- Describe the roles and operation of 802.1X.
- Compare RADIUS and TACACS+.
- Choose an AAA protocol for a requirement.
AAA
Network access control is organised around AAA: authentication (who or what is connecting), authorisation (what they may do or reach) and accounting (recording what they did and for how long). Centralised AAA servers let organisations manage access for thousands of devices, users and network devices consistently, using the central directory, rather than configuring credentials on each switch, access point or VPN gateway.
AAA
IEEE 802.1X
IEEE 802.1X is the standard for port-based network access control on wired and wireless networks. It defines three roles, described below.
- Supplicant
- The device or software requesting access, such as a laptop's 802.1X client.
- Authenticator
- The network device controlling the port, such as a switch or wireless access point. It relays authentication messages but does not decide.
- Authentication server
- Usually a RADIUS server, which checks the credentials against a directory and tells the authenticator whether to allow access and with what settings.
Until authentication succeeds, the authenticator allows only authentication traffic (EAP over LAN, EAPOL) on the port. The supplicant and server exchange credentials using an Extensible Authentication Protocol (EAP) method, such as EAP-TLS with certificates or PEAP with a password inside a TLS tunnel. On success, the server can instruct the switch to place the device in a particular VLAN or apply an access list according to its role, so that, for example, staff laptops, printers and guests land on different networks. Devices that cannot run 802.1X may be admitted with MAC authentication bypass into a restricted segment.
The following diagram shows each 802.1X component's part in deciding what happens to a visitor's personal laptop.

RADIUS
The Remote Authentication Dial-In User Service (RADIUS) is an open standard AAA protocol widely used for network access: 802.1X, Wi-Fi, VPNs and remote access. Network devices act as RADIUS clients and send requests to a RADIUS server over UDP (port 1812 for authentication, 1813 for accounting). RADIUS combines authentication and authorisation in one exchange: the access-accept message carries the authorisation attributes. It encrypts only the password field, using a shared secret between client and server, so other attributes are visible on the network; RADIUS over TLS (RadSec) addresses this.
TACACS+
The Terminal Access Controller Access-Control System Plus (TACACS+), developed by Cisco and documented in RFC 8907, is used mainly for device administration: authenticating administrators who log in to routers, switches and firewalls. It runs over TCP port 49, encrypts the entire payload of each message, and separates authentication, authorisation and accounting into independent processes. That separation allows per-command authorisation: the server can permit an operator to run show commands but not configuration commands, and accounting records every command each administrator ran.
Diameter is a successor to RADIUS used mainly in mobile carrier networks. The following comparison summarises RADIUS and TACACS+.
RADIUS or TACACS+?
Choosing the protocol
A company wants network engineers' logins to routers and firewalls to be authenticated against the directory, with junior engineers limited to read-only commands and every command logged. Which AAA protocol fits?
TACACS+: it separates authorisation from authentication, supports per-command authorisation and accounting, and encrypts the whole session with the AAA server. RADIUS is better suited to network access for users and devices.
The unknown laptop
A visitor plugs a personal laptop into a meeting room network socket. The switch port uses 802.1X with EAP-TLS, and the laptop has no company certificate. What happens?
The laptop, as supplicant, cannot complete EAP-TLS, so the RADIUS server rejects it and the switch (authenticator) keeps the port closed to everything except authentication traffic, or places the device in a guest VLAN with internet-only access if that is configured. The visitor cannot reach internal systems.
In 802.1X, which component decides whether a device may connect?
Show answer
The authentication server, usually RADIUS; the authenticator (switch or access point) only relays the exchange and enforces the result.
Exam Tips
Remember for the exam
- 802.1X roles: supplicant, authenticator, authentication server (usually RADIUS).
- RADIUS: UDP, encrypts only the password, combines authentication and authorisation.
- TACACS+: TCP 49, encrypts the whole payload, separates AAA and supports per-command authorisation.