BuildTheNet

Opening your workspace

Your learning content and tools are loading.

802.1Q Trunking

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,99

Reference output: hand-written in standard Cisco IOS format for this example network, not captured from a device.

Useful variants

What each column or field means

FieldMeaning
PortThe trunk. With EtherChannel the port-channel is listed, not its member ports.
Modeon (switchport mode trunk), desirable or auto (DTP negotiation), or nonegotiate.
Encapsulation802.1q, or n-802.1q if it was negotiated.
Statustrunking when the trunk is up.
Native vlanThe VLAN sent untagged. It must match on both ends.
Vlans allowed on trunkThe configured allowed list (switchport trunk allowed vlan).
Vlans allowed and activeAllowed VLANs that also exist on this switch.
forwarding state and not prunedVLANs 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

Try it yourself

Learn it in the CCNA path

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.

All 57 commands