Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Trunk Troubleshooting

Direct answer

Trunk troubleshooting compares both ends of a link for mode, native VLAN, allowed VLANs and VLAN existence, and finds the first point where a VLAN stops being carried.

When to use this

Use it when a link is up but one or more VLANs do not pass, or the link does not become a trunk.

First 30 seconds

1. show interfaces trunk on both switches — port listed as trunking?

2. Native VLAN the same on both ends?

3. VLAN in "allowed", "allowed and active" and "forwarding" on both ends?

4. Missing in "active" → VLAN not created on that switch. Missing in "forwarding" → STP blocking or VTP pruning.

5. show interfaces <if> switchport — not negotiated into access mode?

Operational verification

both ends trunking → same native VLAN → VLAN allowed on both ends → VLAN exists on both switches → VLAN forwarding in STP → frames tagged and delivered

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Cisco IOS / IOS XE
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCisco IOS / IOS XE · Cisco IOS XE
Key commandshow interfaces <interface> switchport
Scope / prerequisiteUse it when a link is up but one or more VLANs do not pass, or the link does not become a trunk.
Show · 3Reference · 1
What next?3 suggested next steps
Child topics (this level)4
Catalog command links4
Evidence0
On this pageJump to a specific section
Verification

Show Commands

Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.

How to read the output

show interfaces <interface> switchport

Look first: line/protocol state, errors/discards, rate, duplex/speed, last input/output

Healthy: State and counters align with expected traffic and physical conditions.

Warning: CRC/input errors, drops, resets, queue drops or unexpected negotiation.

Does not prove: An interface counter is a symptom until correlated with path/time/workload.

show interfaces trunk

Look first: trunk status, native VLAN, allowed/active/forwarding VLAN lists

Healthy: Expected trunk is up and VLAN is allowed, active and forwarding.

Warning: VLAN missing from any stage, native mismatch or non-trunk interface.

Does not prove: VLAN allowed on trunk does not prove endpoint MAC/L3 reachability.

show interfaces switchport

Look first: line/protocol state, errors/discards, rate, duplex/speed, last input/output

Healthy: State and counters align with expected traffic and physical conditions.

Warning: CRC/input errors, drops, resets, queue drops or unexpected negotiation.

Does not prove: An interface counter is a symptom until correlated with path/time/workload.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

6 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 First 30 seconds Verify boundary

Immediate answer: Compare both trunk ends for operational mode, native VLAN and allowed/active VLANs before changing VLAN creation or STP.

Verification chain: physical/link state → operational trunk mode → native VLAN → allowed/active VLAN → STP forwarding → MAC learning → host test

Stop condition: Stop at the first hop where the required VLAN is not operationally carried; an up trunk is not evidence that this VLAN crosses it.

Step 2 Known-good, broken and proof-boundary verification Verify boundary

Known-good trunking means both ends agree on trunk mode/encapsulation behavior, native VLAN, expected allowed VLANs, and the target VLAN forwards without STP inconsistency; the original host traffic then succeeds. Broken state includes access/trunk mismatch, allowed-VLAN omission, native mismatch or VLAN-specific STP block. “Trunking” operational state does not show every VLAN is carried, and an allowed list does not show STP forwarding; those are separate limits of what the checks show.

Step 3 Step-by-step troubleshooting Narrow the fault

Boundary rule: Stop at the first hop where the required VLAN is not operationally carried; an up trunk is not evidence that this VLAN crosses it.

Step 4 Verification & troubleshooting Narrow the fault

1. Show link up. 2. Compare show interfaces switchport on both ends. 3. Compare show interfaces trunk. 4. Check VLAN existence. 5. Check STP/MAC learning and the Layer 3 gateway only after the trunk boundary is confirmed.

Step 5 Troubleshooting order Narrow the fault

Use one affected VLAN as a probe. Confirm physical link and operational port mode first. Then trace that VLAN through show interfaces trunk allowed/active/forwarding state on every hop, confirm VLAN existence, and only then move to STP/MAC/gateway evidence. This prevents a broad “VLAN problem” from becoming random configuration changes.

Step 6 Failure isolation: observation → implication → next check Narrow the fault

If the link is up but no VLANs pass, verify both ends are operational trunks and not an access/trunk mode mismatch. If only one VLAN fails, compare allowed/active VLAN lists and STP state for that VLAN. If untagged or control traffic behaves oddly, compare native VLANs. If trunk state flaps, inspect DTP/static mode and EtherChannel consistency. Test with one known host/MAC in the affected VLAN and confirm MAC learning on both switches before moving to L3.

Command lookup Jump straight to Cisco syntax
Drill down

Subtopics

Go one level deeper into this subject.

Troubleshooting trees

Start from the symptom

Prove the nearest boundary, branch on the observation, and repeat the original test after the minimum controlled change.

Symptom-first flow VLAN works locally but not across the trunk 7 decision steps

First proof

Prove the VLAN locally on both switches before changing trunk configuration.

Useful read-only checks: show vlan brief · show interfaces trunk · show interfaces switchport

Step 1 Local VLAN exists Observe → decide

Confirm the VLAN is active on both switches.

If healthy: VLAN exists and is active.

If broken: Fix the local VLAN state before inspecting the trunk.

Step 2 Ports are really trunks Observe → decide

Confirm administrative and operational switchport mode on both ends.

If healthy: Both ends operate as trunks.

If broken: Correct access/trunk mode or negotiation mismatch.

Step 3 VLAN is allowed Observe → decide

Compare allowed VLAN lists end to end.

If healthy: The VLAN is permitted on both ends.

If broken: Correct the smallest allowed-list mismatch.

Step 4 VLAN is forwarding Observe → decide

Confirm the VLAN is active and forwarding on the trunk.

If healthy: The VLAN appears in forwarding state.

If broken: Investigate STP or local VLAN state before changing routing.

Step 5 Native VLAN agrees Observe → decide

Compare native VLAN configuration on both ends.

If healthy: Native VLAN semantics agree.

If broken: Correct the mismatch only after confirming intended design.

Step 6 Endpoint MAC crosses the boundary Observe → decide

Check MAC learning on the expected access and trunk path.

If healthy: MAC state appears on the expected interfaces.

If broken: Stop at the first switch where MAC learning diverges.

Step 7 Repeat the original test Observe → decide

Retest the same endpoint-to-endpoint flow.

If healthy: The original VLAN path works end to end.

If broken: Do not call the trunk fixed until the original test passes.

Proof limit

A passing step proves only that boundary; continue until the original symptom is explained and retested.

Key points

Always read both ends. Typical causes, in order: one side not trunking (mode mismatch or DTP), the VLAN not in the allowed list, the VLAN not created on one switch, STP blocking or VTP pruning, native VLAN mismatch.

Key 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.
ReferenceHow it works1 section · depth on demand

Mechanics, state owner and dependency boundary

An 802.1Q trunk has administrative/operational mode, native VLAN, allowed VLAN list and per-VLAN forwarding dependencies such as STP. A port can operationally trunk while a required VLAN is pruned, not allowed or blocked by STP. Native-VLAN mismatch can affect untagged/control traffic without stopping all tagged VLANs. DTP negotiation, switchport mode and VLAN existence are separate owners and should be read from both ends.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

Troubleshooting trunks: compare both ends

Most trunk problems come from the two ends disagreeing on mode, native VLAN or allowed VLANs. The Catalyst 9300 trunk guide documents the verification commands show interfaces <id> switchport and show interfaces <id> trunk.

C9300-A# show interfaces trunk
Port        Mode             Encapsulation  Status        Native vlan
Te1/1/1     on               802.1q         trunking      998
Port        Vlans allowed on trunk
Te1/1/1     20,30,120
Port        Vlans allowed and active in management domain
Te1/1/1     20,120
Port        Vlans in spanning tree forwarding state and not pruned
Te1/1/1     20
C9300-A# show vlan id 30
VLAN id 30 not found in current VLAN database
C9300-A# show spanning-tree vlan 120 interface Te1/1/1
Vlan             Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
VLAN0120         Altn BLK 2         128.49   P2p

VLAN 30 is allowed but doesn't exist on this switch. VLAN 120 exists but is blocked by spanning tree.

Checklist by symptom

SymptomCheckTypical cause
Link up but not trunkingshow interfaces switchport on both endsauto–auto, or access on one end
One VLAN doesn't crossThe three lists in show interfaces trunkNot allowed, doesn't exist, STP blocked or pruned
Untagged traffic in the wrong VLANNative VLAN on both endsNative mismatch
VLANs flapping active/suspendedNative and management VLANSame ID for both (the guide describes about 15 s of flapping)
Trunk won't come up with 802.1XPort configurationThe guide states 802.1X can't run on trunk or dynamic ports
Port-channel members suspendedTrunk settings per memberAll members must share the same trunk configuration

VTP pruning (documented)

Pruning removes VLANs from a trunk where no downstream ports need them. Only VLANs 2–1001 can be pruned, the default pruning-eligible list is 2–1001, and VTP pruning must be enabled for it to work. Extended VLANs are never pruned.

Order of checks

1. Is it trunking? (Status trunking on both ends)

2. Same native VLAN?

3. VLAN allowed on both ends?

4. VLAN exists on both switches?

5. STP forwarding for that VLAN on this link?

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Method

Trunk troubleshooting checks whether the link is a trunk on both sides, which VLANs it carries, and whether STP forwards them.

1. show interfaces trunk — is the port listed? Native VLAN, allowed and forwarding VLANs.

2. show interfaces <if> switchport — administrative vs operational mode.

3. Compare both ends: mode, native VLAN, allowed lists, encapsulation.

4. Check the VLAN exists on both switches (show vlan brief).

5. Check STP state for the VLAN on the trunk (show spanning-tree vlan <id>).

SymptomLikely cause
Port not a trunkOne side access or both DTP auto
VLAN missing on trunkNot in allowed list or not created
Native VLAN mismatch logDifferent native VLANs
VLAN allowed but not forwardingSTP blocking or VTP pruning
Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

Authoritative/upstream documentation reviewed for bounded claims in Switching → 802.1Q Trunking → Trunk Troubleshooting. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%
Confirmation

Confirm action

Continue?