To determine if there is a native VLAN mismatch, you can use the following two commands:
-
show interface trunk - This command displays the trunking status of interfaces on a switch, including the native VLAN for each trunk port. Comparing the native VLANs on both ends of a trunk link can help identify mismatches.
-
show interface interface switchport - This command gives detailed information about the switchport configuration for a specific interface, including the configured native VLAN. You can use this command on both sides of a trunk to compare native VLANs.
Using both commands will help you identify any native VLAN mismatches between connected switches.