Pcornel
Networking · Switching › 802.1Q Trunking › Trunk Troubleshooting

Access/trunk mode mismatch

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

Back to the Topic

Answer

An access/trunk mode mismatch means one end is a trunk and the other is an access port. The trunk side sends tagged frames the access side does not expect; only untagged native-VLAN traffic gets through, into the access port's VLAN.

Remember

Check operational mode on both ends before VLAN lists. A trunk facing an access port works only for the native VLAN, and only if it matches the access VLAN. STP may block the port as inconsistent.

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 <interface> switchport
Inspect access/trunk mode, VLANs, native VLAN and negotiation state.
show interfaces <id> switchport
show interfaces trunk
show cdp neighbors <id> detail
show spanning-tree interface <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=991

Confirmation

Confirm action

Continue?