802.1Q Tag Field Reference
Cheat sheet · https://pcornel.dk/topic.php?topic=285
Answer
The 802.1Q tag is four bytes added to a frame on a trunk: a marker (0x8100), three priority bits, a drop-eligible bit, and the 12-bit VLAN number.
Remember
Frames in the native VLAN are sent untagged; if the two ends disagree, traffic crosses between VLANs. Usable VLAN numbers are 1–4094. The priority bits exist only in the tag and are lost on access ports. Captures often show no tag because the network card strips it.
First checks
show interfaces trunk— native VLAN and allowed VLANs per trunk.show interfaces <interface> switchport— mode, access VLAN, native VLAN.show vlan id <id>— the VLAN exists; its access ports.- In a capture: the "802.1Q Virtual LAN" header with priority and ID.
Commands
show interfaces trunkshow vlan id
Verify in this order
frame enters on an access port → VLAN assigned → tagged with that ID on the trunk (untagged only in the native VLAN) → far end reads the tag → delivered in the same VLAN
Where it usually breaks
physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=285