Use it when CDP logs "Native VLAN mismatch", STP marks ports type-inconsistent, or hosts appear in the wrong VLAN.
Native VLAN mismatch
A native VLAN mismatch means the two ends of a trunk use different native VLANs. Untagged frames leave in one VLAN and arrive in another, merging the two VLANs.
1. show interfaces trunk on both ends — compare the Native vlan column.
2. show cdp neighbors <if> detail / log — native VLAN mismatch message?
3. show spanning-tree inconsistentports — ports blocked as type-inconsistent?
4. Set switchport trunk native vlan <id> to the same value on both ends.
5. Inconsistency clears; traffic in both VLANs works.
both ends trunking → same native VLAN → VLAN allowed on both ends → VLAN exists on both switches → VLAN forwarding in STP → frames tagged and delivered
Align the intentional native VLAN on both ends and re-verify; capture tagged/untagged traffic if symptoms remain.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show interfaces trunkShow Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
How to read the output
show interfaces trunkLook 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.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Known-good, broken and when it is fixed Verify boundary
Known-good is an intentional, matching native VLAN on both trunk peers with target control/data traffic stable. Broken state is a reproducible mismatch tied to untagged traffic symptoms or control-plane warnings. The limit of what it shows: a mismatch warning shows configuration disagreement, not necessarily the observed application failure; matching native VLAN does not show allowed-VLAN or STP forwarding. Close by repeating the original workload and verifying VLAN-specific state.
Step 2 Native failure isolation and next-check logic Narrow the fault
Confirm both interfaces are the same physical/logical link, then compare operational trunk mode and native VLAN on both peers. Inspect logs/CDP mismatch messages and identify which traffic is untagged. If only one VLAN/service fails, verify whether it depends on native VLAN rather than assuming the mismatch explains all symptoms. On port-channels, compare the port-channel configuration and member consistency. Correct one side to the intended design and immediately re-read both peers.
Step 3 Common mistakes Narrow the fault
- Different native VLANs on each end.
- Native VLAN carrying user traffic.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
The trunk stays up, so the fault is easy to miss. Spanning tree (PVST+) blocks the port in the affected VLANs as type-inconsistent. Fix by setting the same native VLAN on both ends.
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
How it works
The 802.1Q native VLAN carries untagged frames on a trunk. A mismatch means each side assigns received untagged traffic to a different VLAN, potentially affecting control protocols, management or untagged hosts while other tagged VLANs still work. CDP may report the mismatch, but the operational impact depends on whether untagged traffic is actually used. Native VLAN is a per-link boundary and must match across all logical members of an EtherChannel.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Native VLAN mismatch: untagged frames land in different VLANs on each side
On an 802.1Q trunk, frames in the native VLAN are sent untagged. If the two ends use different native VLANs, untagged frames from switch A's native VLAN arrive in switch B's native VLAN. That silently merges two VLANs. The Catalyst 9300 trunk guide states that the native VLAN must be the same on both ends of an 802.1Q trunk, and that a mismatch can cause spanning-tree loops. The default native VLAN is VLAN 1.
C9300-A# show logging | include NATIVE_VLAN
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on TenGigabitEthernet1/1/1 (99), with SW-B TenGigabitEthernet1/1/1 (1).
C9300-A# show interfaces Te1/1/1 trunk | include Native|Te1/1/1
Port Mode Encapsulation Status Native vlan
Te1/1/1 on 802.1q trunking 99
C9300-B# show interfaces Te1/1/1 trunk | include Te1/1/1
Te1/1/1 on 802.1q trunking 1
Effects
| Effect | Detail |
|---|---|
| VLAN leaking | Hosts in VLAN 99 on A and VLAN 1 on B end up in one broadcast domain |
| STP inconsistency | PVST+ detects the mismatch and can block the port (*PVID_Inc state) |
| Intermittent connectivity | Some traffic uses the native VLAN (management, untagged devices) |
C9300-B# show spanning-tree inconsistentports
Name Interface Inconsistency
-------------------- ------------------------ ------------------
VLAN0001 TenGigabitEthernet1/1/1 Port VLAN ID Mismatch
Fix
Set the same native VLAN on both ends in the same change window:
C9300-B(config)# interface Te1/1/1
C9300-B(config-if)# switchport trunk native vlan 99
Prevention
| Practice | Reason |
|---|---|
| A dedicated, unused native VLAN on all trunks | No user traffic depends on untagged frames |
vlan dot1q tag native where supported | Tags native VLAN frames too, preventing double-tagging attacks |
| CDP or LLDP on trunks | Mismatch messages appear immediately |
| Templates for trunk configuration | Both ends configured from the same standard |
Documented example, not captured output.
Quick reference
The native VLAN is the one VLAN whose traffic crosses a trunk without a tag. If the two ends disagree on which VLAN is native, untagged frames leave one switch in one VLAN and arrive at the other in a different VLAN — silently joining two networks that should be separate. CDP usually reports the mismatch, which makes it easy to spot.
Native VLAN mismatch: each side sends untagged frames in its own native VLAN, so untagged traffic silently crosses into the wrong VLAN.
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on Te1/1/1 (999), with SW2 Te1/1/1 (1).
show interfaces trunk | include Native|Te1/1/1
interface Te1/1/1
switchport trunk native vlan 999
Also a security issue (VLAN hopping via double tagging uses the native VLAN). Set the same unused native VLAN on both sides, or tag the native VLAN (vlan dot1q tag native).
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Switching → 802.1Q Trunking → Trunk Troubleshooting → Native VLAN mismatch. 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%