802.1X
Cheat sheet · https://pcornel.dk/topic.php?topic=4622
Answer
IEEE 802.1X provides port-based network access control in which a supplicant exchanges EAP through an authenticator while controlled access remains unauthorized until policy permits it.
Remember
- 802.1X ≠ an EAP authentication method.
- Physical link up ≠ controlled port authorized.
- Authentication success ≠ final authorization outcome.
- AAA response ≠ access enforcement applied at the authenticator.
First checks
show dot1x all— 802.1X statusshow authentication sessions— sessionswpa_cli status— Linux supplicant
Commands
show authentication sessions- Lists the authentication sessions per port: MAC address, method (dot1x or MAB), domain and status.
show dot1x all- Shows the global 802.1X state and the per-port 802.1X role and status.
show access-session interface Gi1/0/10 details
Verify in this order
supplicant → EAPOL → switch → RADIUS → authorised port
Where it usually breaks
First mismatch in endpoint/identity → path/reachability → policy selection → enforcement/session → protected flow → telemetry/detection; preserve identity/policy/pre-state before mutation.
Network Access Control → 802.1X proof map
| Boundary | Establish | Does not establish |
|---|---|---|
| Scope and intent | Exact subjects, destinations, application, direction, trust zone and expected decision | Does not prove effective path, identity, cryptography or enforcement |
| Effective control state | Resolved rule/policy, session/SA, identity/posture, translation and selected path | Object/config presence does not prove a match or packet outcome |
| Runtime evidence | Correlated client, authenticator/firewall/VPN, AAA and destination observations for one flow/time | A single log or success does not prove every packet, peer, path or failover state |
| Closure | Original allowed/denied operation behaves as intended and regression/failure tests pass | Administrative commit or tunnel-up state alone is not closure |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4622