Pcornel
Security · Network Access Control

Dynamic VLAN

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

Back to the Topic

Answer

Dynamic VLAN authorization assigns a network segment to an authenticated or profiled session through returned attributes, translating identity/policy into topology and reachability at the access edge.

Remember

  • RADIUS VLAN attributes returned ≠ VLAN exists and is applied.
  • VLAN assignment ≠ complete least-privilege enforcement.
  • Authentication success ≠ final authorization outcome.
  • AAA response ≠ access enforcement applied at the authenticator.

First checks

  • show authentication sessions interface <if> details | include Vlan — assigned VLAN
  • RADIUS attributes: Tunnel-Type=13, Tunnel-Medium-Type=6, Tunnel-Private-Group-ID — VLAN assignment
  • show vlan brief — VLAN exists on switch

Commands

show access-session interface <if> details

Verify in this order

authentication → RADIUS VLAN attributes → port VLAN

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 → Dynamic VLAN 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=4631

Confirmation

Confirm action

Continue?