show interfaces trunk
Lists every operational trunk with its mode, encapsulation, native VLAN and the VLANs allowed, active and forwarding on it.
Written by a working field network engineer · CCNA, Security+, CySA+
The single most useful trunk check. It lists only ports that are actually trunking, and for each one shows the native VLAN and three VLAN lists that explain exactly which VLANs cross the link.
Example output
SW1#show interfaces trunk
Port Mode Encapsulation Status Native vlan
Po1 on 802.1q trunking 99
Port Vlans allowed on trunk
Po1 10,20,99
Port Vlans allowed and active in management domain
Po1 10,20,99
Port Vlans in spanning tree forwarding state and not pruned
Po1 10,20,99Reference output: hand-written in standard Cisco IOS format for this example network, not captured from a device.
Useful variants
sh int trunkshow interfaces Fa0/7 trunk
What each column or field means
| Field | Meaning |
|---|---|
Port | The trunk. With EtherChannel the port-channel is listed, not its member ports. |
Mode | on (switchport mode trunk), desirable or auto (DTP negotiation), or nonegotiate. |
Encapsulation | 802.1q, or n-802.1q if it was negotiated. |
Status | trunking when the trunk is up. |
Native vlan | The VLAN sent untagged. It must match on both ends. |
Vlans allowed on trunk | The configured allowed list (switchport trunk allowed vlan). |
Vlans allowed and active | Allowed VLANs that also exist on this switch. |
forwarding state and not pruned | VLANs actually forwarding on this trunk after STP and VTP pruning. A VLAN missing here does not cross the link. |
When it doesn’t look right
The port is not listed at all.
It is not trunking. Both ends may be dynamic auto, or one end is access. Set switchport mode trunk on both ends and check show interfaces switchport.
A VLAN is allowed but missing from the last list.
Either the VLAN does not exist on this switch (create it), or STP is blocking it on this trunk (check show spanning-tree vlan <id>).
%CDP-4-NATIVE_VLAN_MISMATCH messages.
The two ends have different native VLANs. Set switchport trunk native vlan to the same value on both.
Related commands
- show interfaces switchport
- show vlan brief
- show spanning-tree vlan
- show etherchannel summary
- show cdp neighbors
Try it yourself
- VLAN Trunking Mode (free)
- Access and Trunk Ports on One Switch (free)
- Changing the Trunk Native VLAN (free)
- VLAN Native Mismatch Repair (Pro)
Learn it in the CCNA path
- VLAN Trunking & 802.1Q (2. Network Access)
- Bring up an 802.1Q trunk (2. Network Access)
- Check a two-switch trunk end to end (2. Network Access)
- Add a VLAN to a trunk's allowed list (2. Network Access)
- Repair a native VLAN mismatch (2. Network Access)
- Repair a trunk with mismatched allowed lists (2. Network Access)
Topic
802.1Q Trunking — Carry several VLANs over one link with 802.1Q, control the allowed list and native VLAN, and diagnose trunks that will not form.