Pcornel
Security · Network Access Control

802.1X

Cheat sheet · https://pcornel.dk/topic.php?topic=4622

Back to the Topic

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 status
  • show authentication sessions — sessions
  • wpa_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

BoundaryEstablishDoes not establish
Scope and intentExact subjects, destinations, application, direction, trust zone and expected decisionDoes not prove effective path, identity, cryptography or enforcement
Effective control stateResolved rule/policy, session/SA, identity/posture, translation and selected pathObject/config presence does not prove a match or packet outcome
Runtime evidenceCorrelated client, authenticator/firewall/VPN, AAA and destination observations for one flow/timeA single log or success does not prove every packet, peer, path or failover state
ClosureOriginal allowed/denied operation behaves as intended and regression/failure tests passAdministrative 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

Confirmation

Confirm action

Continue?