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

NX-OS CDP Native VLAN mismatch

YEH
Level 1
Level 1

When connecting between Switch1 and Switch2 of Nexus9000 with different VLANs assigned to each other,
I assumed that the Native VLAN mismatch log (see below) would be output like the Catalyst switch,
However, nothing was output.
Is it correct to assume that VLAN mismatch is detected on NX-OS as well? Also, if there is a way to output the VLAN mismatch log, please let us know.
CDP is enabled by default.

%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/24 (20), with XXX FastEthernet0/24 (10)

<Switch1>
interface Ethernet 1/1
switchport access vlan 10

<Switch2>
interface Ethernet 1/1
switchport access vlan 20

2 Replies 2

M02@rt37
VIP
VIP

Hello @YEH 

In NX-OS, the [CDP-4-NATIVE_VLAN_MISMATCH] message is sent when there is a native VLAN mismatch on a trunk link. If a switchport is configured as an access port and not a trunk, then a native VLAN mismatch will not be detected or reported.

In your example, both Ethernet 1/1 interfaces on Switch1 and Switch2 are configured as access ports with VLANs 10 and 20 respectively. Therefore, there is no native VLAN mismatch, as the native VLAN is only relevant for trunk links.

If you want to detect VLAN mismatches on access ports in NX-OS, you can use the "show interface status" command to check the VLAN configuration of the interfaces. This command will display a list of interfaces and their respective VLAN assignments, making it easy to spot any mismatches.

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

Hi, M02@rt37 

Thank you for informative information.
Thanks to you, I was convinced.

Review Cisco Networking for a $25 gift card