802.1Q Trunking
Cheat sheet · https://pcornel.dk/topic.php?topic=590
Answer
An 802.1Q trunk carries several VLANs over one link by adding a 4-byte tag with the VLAN ID to each frame. Frames in the native VLAN are sent untagged.
Remember
A VLAN passes a trunk only if it is allowed on both ends, exists on both switches, and is forwarding in spanning tree. show interfaces trunk lists three stages: allowed, allowed and active, and forwarding (not pruned). The native VLAN must match on both ends.
First checks
show interfaces trunk— trunk ports, mode, encapsulation, native VLAN, allowed / active / forwarding VLANs.show interfaces <if> switchport— administrative and operational mode, negotiation, native VLAN.show dtp interface <if>— DTP state and negotiation.show spanning-tree interface <if>— per-VLAN STP state on the trunk.show cdp neighbors <if> detail— the neighbour's port, and native VLAN mismatch messages.
Commands
show interfaces switchport- Access
show interfaces trunk- Trunk
show interfaces Gi1/0/48 switchport
Verify in this order
both ends trunking → same native VLAN → VLAN allowed on both ends → VLAN exists on both switches → VLAN forwarding in STP → frames tagged and delivered
Where it usually breaks
physical link → switchport/bundle membership → VLAN/instance state → STP/LAG decision → MAC forwarding → end-to-end frame path
802.1Q Trunking · reference boundaries
| Trunk property | Healthy reference | What it does not prove |
|---|---|---|
| Operational trunk | Link is acting as a trunk | Target VLAN is carried |
| Allowed list | Target VLAN permitted by policy | VLAN exists or forwards |
| Native VLAN | Both ends use intended native VLAN | Tagged VLANs are healthy |
| STP forwarding | Target VLAN can use the link | Remote endpoint/service health |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=590