08-13-2010 12:40 PM - edited 03-06-2019 12:28 PM
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
08-13-2010 12:45 PM
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
08-16-2010 07:12 AM
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
08-16-2010 07:37 AM
Hello,
Yes, you need to move the IP address to VLAN 22 interface.
Regards,
NT
08-13-2010 12:53 PM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide