Pcornel
Networking · Network Devices › Layer 2 Switch

Trunking

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

Back to the Topic

Answer

Trunking carries several VLANs over one link by tagging frames with 802.1Q VLAN IDs; untagged frames belong to the native VLAN, which must match on both ends.

Remember

  • Trunking carries several VLANs over one link using 802.1Q tags.
  • Untagged frames belong to the native VLAN.
  • Allowed VLAN lists must match the design.

First checks

  • show interfaces trunk — allowed and native VLANs
  • show interfaces <interface> switchport — mode trunk, DTP

Commands

show interfaces trunk

Verify in this order

VLAN frames → 802.1Q tag → trunk → peer

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

Confirmation

Confirm action

Continue?