cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
536
Views
2
Helpful
6
Replies

Native VLAN

xklima6
Level 1
Level 1

Do I need to have the same native VLAN throughout the network?

Yesterday, I tried to connect a Cisco Catalyst 1300 to a Catalyst 9200L. And changed the native VLAN on only one side (didn't matter which). I thought the native VLAN mismatch message should appear, but it didn't. Both have CDP enabled and are running PVST+.

Can anyone tell me why?

6 Replies 6

This native vlan mismatch error appear only if you have trunk' I think you use access port so both SW not detect native vlan mismatch.

MHM

No. Interfaces on both sides are configured as trunk port. 

Can I see 

Show switchport interface x/x <<-of both SW

MHM 

Joseph W. Doherty
Hall of Fame
Hall of Fame

"Do I need to have the same native VLAN throughout the network?"

Nope.

The native vlan must match on both sides of the link. We are using an unrouted vlan (vlan 5) on interfaces. You will need it if you ever start using stackwise virtual and multichassis etherchannel with the 9300 switches. If you have to add a vlan to a trunk link, the interface goes down for about 10 seconds. We found out from Cisco that with 9300 switches running MEC, and connecting to Cat 9500 and 9600 switches running Stackwise virtual that if the native vlan is also used in the trunk link, you will have a short outage. This is what we do:
Switchport trunk native vlan 5 (no SVI for that Vlan. Only created in the vlan database)
Switchport trunk allowed vlan 100, 1001
Switchport mode trunk
Since vlan 5 is unrouted, you can use it in the whole network (even if you have over 5,000 devices like we do) Remember that with Cisco, the native vlan is an untagged vlan. Therefore, since we are using vlan 5 as native, even if you were to add it to the trunk link, there would be no packets tagged with vlan 5. I could tell you other stories about that, but I have some stuff to get done this morning.
Hope that helps

Joseph W. Doherty
Hall of Fame
Hall of Fame

Yesterday, I tried to connect a Cisco Catalyst 1300 to a Catalyst 9200L. And changed the native VLAN on only one side (didn't matter which). I thought the native VLAN mismatch message should appear, but it didn't. Both have CDP enabled and are running PVST+.

Can anyone tell me why?

CDP, on both devices, shows the other side's interface and device info?  In other words, other than CDP not flagging a trunk native VLAN, CDP appears to otherwise be working correctly on the two interconnected trunk interfaces?