Guide
What Is 802.1X? Port-Based Network Access Control Explained
The protocol that decides whether a device gets on your network at all — how 802.1X actually works, where MAB fits, and why enterprise interviews keep asking about it.
Security programs keep arriving at the same question: what stops an unknown device from plugging into a wall jack and landing on the corporate network? The answer enterprises standardized on is IEEE 802.1X — port-based network access control. In its strict form, a switch port forwards no normal traffic until the device on that port proves who it is to an authentication server. The same exchange authenticates wireless clients: WPA2-Enterprise and WPA3-Enterprise use 802.1X/EAP to authenticate the client before 802.11 key management derives the session keys.
The Three Roles
802.1X is a conversation between three parties, and keeping them straight unlocks everything else. The supplicant is the software on the endpoint asking for access — built into Windows, macOS, and most phones. The authenticator is the network device in the middle: the switch or wireless controller. In the standard enterprise design it does not judge credentials; it relays them. The authentication server — a RADIUS server such as Cisco Identity Services Engine (ISE) — makes the decision.
The supplicant speaks EAP over LAN (EAPOL) to the switch; in the standard pass-through design, the switch encapsulates the same EAP conversation inside RADIUS attributes to the server. Until authentication succeeds, a closed-mode port forwards EAPOL and little else — no DHCP, no ARP to the rest of the network, no user traffic. The design keeps the switch simple: it enforces the verdict but never holds the credential database.
EAP Methods: How Identity Is Proven
EAP is a framework, and the method that runs inside it is a real design decision — negotiated between supplicant and authentication server, with the switch as a pass-through. PEAP with MSCHAPv2 validates a username and password inside a TLS tunnel negotiated with the server — and it is safe only when supplicants actually validate the server’s certificate, or a rogue access point can harvest credentials. It is historically common and aging, because everything password-based inherits password problems. EAP-TLS authenticates with certificates on both sides and is the preferred method for managed endpoints: there is no password to steal, and with controlled enrollment and protected private keys, a device certificate binds network access to managed hardware. The cost is real too — EAP-TLS demands a PKI and a way to enroll and renew certificates on every endpoint, which is why the method choice is inseparable from the device-management story.
When Devices Cannot Speak: MAB
Printers, IP cameras, door controllers, lab gear — a large share of what plugs into an enterprise network has no supplicant. MAC Authentication Bypass (MAB) is the pragmatic fallback: when no supplicant answers — in Cisco’s default order, after the 802.1X exchange times out, though the order is configurable — the switch submits the endpoint’s MAC address to the RADIUS server as though it were a credential. Because a MAC address can be spoofed by anyone with thirty seconds and a search engine, MAB is never the whole answer. Mature deployments pair it with device profiling — does this endpoint actually behave like a printer? — and an authorization result scoped so a printer can print and do nothing else.
Authorization Is the Product
Passing authentication is only half the story. The authorization result the server returns can assign a dynamic VLAN, apply a downloadable ACL to the port — Cisco switches fetch the ACL’s contents in a follow-up RADIUS exchange — or attach a Security Group Tag for TrustSec segmentation. This is where 802.1X stops being a gate and becomes policy — the same wall jack gives an engineer, a contractor, and a camera three different levels of access. And the decision is not final: RADIUS Change of Authorization (RFC 5176) lets the server ask the switch to change or terminate a live session’s authorization — and Cisco’s CoA extensions add actions such as forced reauthentication — so a device that fails a posture check or gets reprofiled can be quarantined without waiting for it to reconnect.
Deploying Without Breaking the Business
Few production networks turn on closed mode everywhere at once. Cisco’s phased-deployment guidance starts in monitor mode — authenticate each endpoint but never block, so you find every device that would have failed — and then moves to one of two end states chosen per environment: low-impact mode, which keeps the port open behind a restrictive pre-authentication ACL, or closed mode, where the standard finally means what it says. The other half of deployment discipline is failure planning — critical authentication, which can keep specifically authorized access alive when every RADIUS server is unreachable. The phased rollout and the fallback design are where engineers earn their pay.
802.1X keeps showing up in enterprise security interviews because it touches everything: switching, RADIUS, certificates, endpoint behavior, and policy design. It is also named on the blueprints — SCOR 350-701 includes configuring network access control mechanisms such as 802.1X and MAB with ISE, and SISE 300-715 devotes objectives to wired and wireless 802.1X and to implementing MAB. If you can whiteboard the three roles and defend a phased rollout plan, you are describing work you can practice on real gear — start here.
Frequently Asked Questions
What is the difference between 802.1X and MAB?
802.1X authenticates a device or user with credentials or certificates via EAP. MAC Authentication Bypass (MAB) is the fallback for devices that cannot speak 802.1X — printers, cameras, badge readers — where the switch submits the device's MAC address to the authentication server instead. MAB is weaker (a MAC can be spoofed), so mature deployments pair it with profiling and restrictive authorization.
Do I need Cisco ISE to run 802.1X?
You need a RADIUS server that supports EAP. Cisco ISE is the standard choice in Cisco networks because it adds profiling, posture, and policy on top, but 802.1X itself is an open IEEE standard.
What happens if the RADIUS server is down?
That is what critical authentication (often called critical VLAN or critical ACL) is for: the switch detects the dead server and applies a configured fallback authorization that can keep specifically permitted access working through the outage. Designing this fallback is a classic exam topic and an even more classic 2 a.m. outage story.