Frequent %CDP-4-NVLANMISMATCH or %CDP-4-NATIVE_VLAN_MISMATCH syslog messages are generated on the catalyst 6500 switch.
Frequent %CDP-4-NVLANMISMATCH or %CDP-4-NATIVE_VLAN_MISMATCH syslog messages are generated on the catalyst 6500 switch because either the native VLAN on the port is different from the one on the neighbor port, or different CDP versions run on each switch.
These are among some of the reasons for the syslog messages:
Trunking dot1q when the native VLAN is defined differently.
To resolve this issue, ensure the native VLAN for an 802.1q trunk is the same on both ends of the trunk link. If the native VLAN on one end of the trunk is different from the native VLAN on the other end, the traffic of the native VLANs on both sides cannot be transmitted correctly on the trunk. This can imply some connectivity issues in the network.
This sample output shows a 6506A switch running Catalyst OS (CatOS) that is trunking on port 3/1 to interface GigabitEthernet 3/2 on a 4507B switch running Cisco IOS software:
6506A> (enable) sh trunk * - indicates vtp domain mismatch # - indicates dot1q-all-tagged enabled on the port Port Mode Encapsulation Status Native vlan -------- ----------- ------------- ------------ ----------- 3/1 auto n-dot1q trunking 1
4507B#sh interfaces gigabitEthernet 3/1 trunk Port Mode Encapsulation Status Native vlan Gi3/2 desirable 802.1q trunking 2
The native VLANs do not match. Issue the set vlan command to change the native VLAN on a switch running CatOS or issue the switchport trunk native vlan command on a switch running Cisco IOS.
Both ends are configured as access ports and are on two different VLANs.
When two switches are connected through the access ports and both are mapped to different VLANS, they do not communicate and also the Cisco Discovery Protocol (CDP) gives VLAN mismatch errors.
The concept of native VLANs comes into picture when 802.1q trunking is configured and the ports are configured as trunk ports. But when switches are connected through the ports that are configured as access ports, then the native VLAN is the VLAN that is assigned to the access ports.
The workaround for this issue is to configure both ports as trunk ports and allow only the needed VLANs on those trunk links. However, if they are configured as access ports, ensure that both ends are in the same VLAN.
CDP version 2 has a Time Length Variable (TLV) field that carries native VLAN information. CDP version 1 does not. If a switch running version 2 receives a frame from a switch running version 1, it sees no native VLAN information and assumes the native VLAN is a zero. As its native VLAN would be a non-zero value, it does not generate this informational message.
Issue the show cdp command to check the CDP version running on both devices, as shown in this command output:
4003-E> (enable) sh cdp CDP: enabled Message Interval: 60 Hold Time: 180 Version: V2 Device Id Forma: Other
Issue the set cdp version command to change the CDP version if desired, as shown in this command output:
4003-E> (enable) set cdp version ? v1 Set CDP to version 1 v2 Set CDP to version 2
Note: CDP is Cisco proprietary. If either device is non-Cisco, the CDP version cause does not apply.
Hi All, I copied the config of an Old switch to configure a new switch but when I login through https:// IP into the new switch, its showing the old location, check the screenshot attached, Is there any command to add the new location of the sw...
Hi Team, my C3750 Switch restarted Twice today and i am not sure what caused the issue. i checked my Power Supply but did not find any issue. can somebody help me to figure it out the Root cause of the issue. show versionCisco IOS Software, C375...
hello, im looking to use a single 867's dialer interface to hopefully accomplish outbound PAT for internet access but also with some inbound port forwarding. ive tried the idea of a route map to only allow the external addresses i want for the port f...
Dear All,I am facing an issue since last 15 days. We are using Cisco 3845 with 2 ISP. One for data another for VOIP.We have 2 VOIP servers on cloud. We are doing Policy Based routing that any traffic destined for VOIP servers will go via 1st ISP and all o...