Dynamic VLAN
Cheat sheet · https://pcornel.dk/topic.php?topic=4631
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
| 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=4631