Pcornel
Networking · Switching › 802.1Q Trunking

Trunk Troubleshooting

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

Back to the Topic

Answer

Trunk troubleshooting compares both ends of a link for mode, native VLAN, allowed VLANs and VLAN existence, and finds the first point where a VLAN stops being carried.

Remember

Always read both ends. Typical causes, in order: one side not trunking (mode mismatch or DTP), the VLAN not in the allowed list, the VLAN not created on one switch, STP blocking or VTP pruning, native VLAN mismatch.

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
Shows administrative/operational switchport mode, access VLAN, native VLAN and trunk details.
show vlan brief
Compact VLAN membership/status view.
show interfaces trunk
Display trunk state, native VLAN and allowed/active VLANs.
show interfaces <interface> switchport
Inspect access/trunk mode, VLANs, native VLAN and negotiation state.
show interfaces <id> switchport
show interfaces <id> trunk
show interfaces <if> switchport
show spanning-tree vlan <id>

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

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=594

Confirmation

Confirm action

Continue?