Pcornel
Networking · Switching › 802.1Q Trunking › Trunk Troubleshooting

Native VLAN mismatch

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

Back to the Topic

Answer

A native VLAN mismatch means the two ends of a trunk use different native VLANs. Untagged frames leave in one VLAN and arrive in another, merging the two VLANs.

Remember

The trunk stays up, so the fault is easy to miss. Spanning tree (PVST+) blocks the port in the affected VLANs as type-inconsistent. Fix by setting the same native VLAN 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 trunk
Display trunk state, native VLAN and allowed/active VLANs.

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=989

Confirmation

Confirm action

Continue?