Packet Path Troubleshoot
PREVIEW — for evaluation, not the live site

Troubleshoot › Error Decoder › %CDP-4-NATIVE_VLAN_MISMATCH

Decoder

What does %CDP-4-NATIVE_VLAN_MISMATCH mean?

Native VLAN mismatch on a trunk

%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/49 (501), with Switch2 GigabitEthernet1/0/49 (1)
In plain English: A trunk is a link carrying many VLANs (separate virtual networks) between switches.

Platform: Cisco IOS / IOS XE. Values shown are the documented defaults — confirm them on your platform with the check commands below.

What it means

A trunk is a link carrying many VLANs (separate virtual networks) between switches. Traffic for one special VLAN — the 'native' VLAN — crosses the trunk without a tag. The two switches disagree about which VLAN that is, so untagged traffic leaving switch A in VLAN 501 arrives at switch B and lands in VLAN 1. Two separate networks are now silently leaking into each other.

Likely causes, in order

Check, in order

  1. show interfaces trunkThe native VLAN configured on each end of the trunk — they must match exactly.
  2. show spanning-tree inconsistentportsWhether spanning tree has already blocked a port to protect the network from this leak.

The fix

Did this fix it for you? One tap — anonymous, nothing to type, and nothing you send is ever published.

Source: Cisco 802.1Q trunking documentation

More error messages

Decoder

%SPANTREE-2-BLOCK_PVID_LOCAL

Spanning tree blocked a port: VLAN inconsistency

Decoder

%UDLD-4-UDLD_PORT_DISABLED

UDLD shut the port: one-way link detected

Decoder

%IP-4-DUPADDR

Duplicate IP address on the network