Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Native Vlan Error

Hello everyone,

I have a question on Vlans for you...

I recently added a vlan to a Cisco 3524xl (SW1) which is connected to a 3508.  I configured trunking on SW1 on G0/1 and added the "switchport access vlan 22" statement to the rest of the ports except port 1 which is configured for the other Vlan.

So...

0/2 -> 0/24 + G0/2 = switchport access vlan 22

0/1 = vlan 9

G0/1 = Trunking -> connected to the 3508

I also have another 3524xl (SW2) which is connected from G0/2 to G0/2 of SW1

I thought that I could connect the two switches without a problem using G0/2 of SW1 as an access port.

Everything seems to be working except I am receiving this error on the syslog server I have setup.

CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet0/2 (22), with MCCF_1st_FL_Admin_1 GigabitEthernet0/2 (1).

SW2 is setup with native vlan 1, the default because I am not trunking that switch at all.

I can see where the error is coming from but what is the best way to resolve this?

Should I just disable CDP or will this mismatch cause issues down the road?

Thanks for your help,

Matt

4 REPLIES
Cisco Employee

Re: Native Vlan Error

Hello,

You have correctly identified the root cause. You can turn-off the CDP on

that port and your error message will disappear. The only disadvantage of

this approach will be that you will not be able to see the neighbor via CDP.

A better way would be to assign all ports to VLAN 22 in SW2. That way, you

will not have any issues and you do not need to turn off CDP.

Hope this helps.

Regards,

NT

New Member

Re: Native Vlan Error

So I would have to Add Vlan 22 to the switch,

and add all ports to that Vlan.

I do have an IP address on the switch on Vlan 1.

Will I also need to remove the IP from Vlan1 and

add it to Vlan 22 to still be able to manage the switch?

Thanks for your help,

Matt

Cisco Employee

Re: Native Vlan Error

Hello,

Yes, you need to move the IP address to VLAN 22 interface.

Regards,

NT

Re: Native Vlan Error

Hi

If you will configure two switches that connect each other with access port the you will get that error .

Please refer the link : https://supportforums.cisco.com/thread/2029176

Regards

Chetan Kumar

http://chetanress.blogspot.com

383
Views
0
Helpful
4
Replies
CreatePlease to create content