cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
189
Views
0
Helpful
2
Replies

Native VLAN mismatch

tmourelle
Level 1
Level 1

Hi Guys,

I'm working on my switch called LW-MNSV-SW2

I have configured my port 1/0/1 to be my management port for SSH remote access.

This is on VLAN 1 as VLAN 1 is my management VLAN.

This is then patched into my Uplink Switch which is managed by a 3rd party - lets call this SW1.

VLAN 50 is for Data and VLAN 42 is for VoIP

The rest of my interfaces are as follows

interface GigabitEthernet1/0/1
description MGNT
!
interface GigabitEthernet1/0/2
switchport access vlan 50
switchport mode access
switchport voice vlan 42
spanning-tree portfast

I have a trunk port setup on 2/0/48 (This is a stack switch hence the 2/0)

This trunk port is in a LAG with another Trunk port on 1/0/48

This LAG Trunk is patched into the same 3rd party switch - SW1. This is acting as my uplink for my switch.


!
interface GigabitEthernet2/0/48
description UPLK 1-D
switchport access vlan 50
switchport trunk native vlan 50
switchport trunk allowed vlan 42,50
switchport mode trunk
channel-group 1 mode active

For some reason i keep getting this error:

Jan 17 20:24:11.993: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet2/0/48 (50), with LW-MNSV-SW2.harlowbros.local GigabitEthernet1/0/1 (1).

Spanning-tree kept shuttingdown the MGNT port 1/0/1 due to the above error.

I have since turned off spanning-tree on that interface for VLAN 1, which now lets me use the port and i can remote on using PuTTy SSH no problem.

My issue is that the errors continue to pop up. In writing this, 4 more have appeared.

How do I resolve this issue? Could someone shed some light for me as to what this error is and how to fix it?

 

 

2 Replies 2

Its showing you what the error is. On one side your native VLAN is 50 and on the other side your native VLAN is 1 (1 is the default if not configured). If you make them the same the error should go away. If that not feasible can you provide the configuration of all your devices to help troubleshoot.

 

-David

Other vendor not use native vlan like cisco use. 

So the best is make cisco tag native vlan in trunk. 

Second point the cdp mismatch native vlan not make the link down, the stp is down the link because you have mismatch between STP mode between cisco sw and other vendors sw. 

What is vendor SW?

MHM

Review Cisco Networking for a $25 gift card