Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

VLAN mismatch

Direct answer

On a Layer 2 access EtherChannel, all member ports must be in the same access VLAN. A member with a different VLAN is suspended or will not bundle, so show etherchannel summary shows it as s or I instead of P.

When to use this

Use it when a member of an access-mode EtherChannel is suspended, or after someone changed the VLAN on a single physical port of a channel.

First 30 seconds

1. show interfaces Gi1/0/1 switchport — access VLAN on each end.

2. CDP logs %CDP-4-NATIVE_VLAN_MISMATCH for trunks.

3. show vlan brief — the VLAN exists and the port is in it.

Operational verification

Port-channel and members share mode access and the same VLAN → members P → VLAN exists and is active → same VLAN on the far switch → hosts in the VLAN reach each other across the channel

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
Key commandshow interfaces port-channel <id> switchport
Scope / prerequisiteUse it when a member of an access-mode EtherChannel is suspended, or after someone changed the VLAN on a single physica…
Reference · 1
What next?3 suggested next steps
Catalog command links1
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 port-channel <id> 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.

5 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 Operational verification and known-good state Verify boundary
show etherchannel summary
show interfaces port-channel 1 switchport
show vlan brief

The summary shows suspended members. The switchport view gives the operational mode and access VLAN of the logical interface. show vlan brief confirms the VLAN exists and is active.

Known-good: the port-channel and every member report the same access VLAN, and both switches use the same VLAN number.

Step 2 Verification & troubleshooting Narrow the fault

1. show etherchannel summary → any member with s.

2. show interfaces port-channel <n> switchport and the same for each member → Access Mode VLAN.

3. Repeat on the other switch and compare the VLAN number.

4. show logging | include NATIVE_VLAN_MISMATCH.

5. Correct the VLAN on the port-channel interface, not on the members.

Step 3 Failure signatures and troubleshooting branches Narrow the fault
  • One member s after a change. The VLAN was changed on that member only.
  • Channel fully bundled but hosts cannot communicate. The two switches use different access VLANs.
  • NATIVE_VLAN_MISMATCH in the log. CDP sees different VLANs on the two ends.
  • Ports show as inactive. The access VLAN does not exist on that switch.
Step 4 When the problem is really fixed Narrow the fault
  • No member is suspended.
  • The access VLAN is the same on the port-channel, on every member and on both switches.
  • No VLAN mismatch messages appear in the log.
  • Hosts in the VLAN reach each other across the channel.
Step 5 Common mistakes Narrow the fault
  • VLAN missing on one switch.
  • Port in the wrong access VLAN.
Command lookup Jump straight to Cisco syntax
Key points

All members must be in the same access VLAN, and both switches should use the same VLAN. Make switchport changes on the Port-channel interface — they are copied to the members; a change on one member alone suspends that member.

Key checks

show etherchannel summary → s on the differing member. show interfaces <if> switchport → Access Mode VLAN per member. show running-config interface <if> → compare members with the Port-channel interface.

ReferenceWhat it is1 section · depth on demand

What it is

A VLAN mismatch on an access-mode EtherChannel means either that one member port is in a different access VLAN from the rest of the bundle, or that the two switches use different VLANs on the channel.

ReferenceWhy it matters1 section · depth on demand

Why it matters

The two cases look completely different. Inside one switch, the member that differs is suspended — visible in the summary. Between the two switches, the channel bundles perfectly and reports no error, yet the hosts on either side are in different VLANs: either traffic does not work, or two VLANs are quietly joined together. The second case is the one that gets overlooked.

ReferenceImportant terms & boundaries4 sections · depth on demand

Key points

  • All members must be in the same access VLAN. Set it on the Port-channel interface.
  • A VLAN changed on one member alone suspends that member.
  • The switch cannot check the other switch's VLAN, but CDP reports a difference as %CDP-4-NATIVE_VLAN_MISMATCH.
  • The VLAN must exist and be active on both switches.

In depth

VLAN mismatch: access VLAN or allowed VLANs differ between members

The Catalyst 9300 EtherChannel guide requires all members to be in the same VLAN, or to be trunks with the same native VLAN and the same allowed VLAN list. A member that differs is suspended.

C9300# show etherchannel 10 summary
10     Po10(SU)        LACP        Te1/1/1(P)  Te2/1/1(s)
C9300# show running-config interface TenGigabitEthernet2/1/1
interface TenGigabitEthernet2/1/1
 switchport trunk allowed vlan 10,20
 switchport mode trunk
 channel-group 10 mode active
C9300# show running-config interface Port-channel10 | include allowed
 switchport trunk allowed vlan 10,20,30
%EC-5-CANNOT_BUNDLE2: Te2/1/1 is not compatible with Po10 and will be suspended (vlan mask is different)

Typical sources

SourceExample
A VLAN added on one member instead of the port-channelswitchport trunk allowed vlan add 30 on Te1/1/1 only
A replaced or added member with old configurationThe new port still has its previous access VLAN
Different native VLANOne member with native vlan 999, the other with the default

Fix

1. Configure VLAN settings on the port-channel interface. They propagate to the members.

2. Align the member's configuration: default interface and re-add channel-group, or copy the port-channel's settings.

3. Re-enable the suspended member.

Mismatch with the peer

If both ends bundle but their allowed VLAN lists differ, the channel stays up and traffic for missing VLANs is silently dropped on one side. Compare show interfaces trunk on both switches. A native VLAN mismatch with the peer is reported by CDP as %CDP-4-NATIVE_VLAN_MISMATCH.

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

A VLAN mismatch in an EtherChannel means members have different access VLANs, or different trunk native/allowed VLAN lists. Members that differ from the bundle are suspended.

1. show etherchannel summary — suspended members.

2. show interfaces <member> switchport — compare access VLAN, mode, native and allowed VLANs.

3. Remove member-level VLAN settings and configure them on the Port-channel interface.

4. Make both sides of the bundle consistent.

5. Verify all members show P and show interfaces trunk lists the Port-channel.

Configuring VLANs on the port channel instead of members prevents this problem.

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

Mechanics and state ownership

Settings entered on the port-channel interface are copied to all members, which keeps them identical. A setting entered directly on one member is not copied anywhere; that port now differs from the bundle and is suspended until it matches again.

Between switches there is no such check. An access port sends untagged frames, and the receiving switch places them in whatever access VLAN its own port has. If one side uses VLAN 10 and the other VLAN 20, frames cross from one VLAN into the other. The only thing that notices is CDP, which carries the VLAN number and logs a mismatch.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical examples

Configuration & expected output

Concrete examples are shown only when the stored reference contains an actual configuration or output shape for this Topic.

Configuration example

Cisco IOS / IOS XEChange the access VLAN of a channel the safe way — on the Port-channel

Assumptions: Lab devices; addresses and interface names are examples.

interface Port-channel1
 switchport mode access
 switchport access vlan 10
! do not set the VLAN on Gi1/0/1 or Gi1/0/2 individually

Expected output

Cisco IOS / IOS XEshow etherchannel summary

Expected state: Failure signature: one member was moved to another VLAN.

Group  Port-channel  Protocol    Ports
------+-------------+-----------+-----------------------------------------------
1      Po1(SU)         LACP      Gi1/0/1(P)  Gi1/0/2(s)
! Illustrative output, not captured Evidence.
Gi1/0/2 is suspended because its access VLAN differs from the Port-channel. `show interfaces Gi1/0/2 switchport` shows the odd VLAN; removing the per-port setting brings it back.
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 → EtherChannel → Troubleshooting → 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%
Embedded reference data

Quick lookup tables

VLAN mismatch operational reference

Topic-specific bounded interpretation: known-good state, suspicious signatures and the next technical proof boundary.

BoundaryKnown-good for VLAN mismatchSuspicious signatureNext proof
IntentMatches access VLAN and Layer-2 consistency designConfiguration differs from peer/designCompare effective config
Control stateStable expected role/route/member statedifferent access VLANs across members/peers, a member suspended for consistency, or hosts landing in the wrong VLAN after a partial configuration changeInspect protocol/RIB detail
ForwardingExpected egress/Port-Channel/VLAN pathState exists but traffic path disagreesFIB/MAC/adjacency
ClosureOriginal test passes for explained reasonSymptom merely moved or was bypassedRegression test
Confirmation

Confirm action

Continue?