Pcornel
Networking · Switching › 802.1Q Trunking › Trunk Troubleshooting

Allowed VLAN mismatch

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

Back to the Topic

Answer

An allowed VLAN mismatch means a VLAN is allowed on one end of a trunk but not on the other, so traffic for it is dropped at that end.

Remember

Follow the failing VLAN hop by hop through every trunk. A common cause is switchport trunk allowed vlan <id> typed without add, which replaced the whole list. Allowed is not enough: the VLAN must also be active (created) and forwarding.

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.
show vlan brief
show interfaces <trunk> trunk
show vlan id 40
show spanning-tree vlan 40

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

Confirmation

Confirm action

Continue?