Native VLANs allow a single untagged VLAN to traverse an 802.1q trunk link alongside multiple tagged VLANs, enabling backward compatibility with legacy devices that cannot process VLAN tags. Understanding how to configure and match native VLANs on both ends of a trunk is essential for maintaining a stable and secure switched network.
Native VLANs
We know that how trunk lines operate is they send the information from switch to switch with the VLAN information, the VLAN ID, tagged within the ethernet frame, so that when the frame gets to the other switch it can know what VLAN that ethernet frame is a part of. But what we can do is we can have one, and only one, of these VLANs that are being sent across here untagged.
What that means is that I can have all of these different VLANs going across here, they're all tagged, and as long as they only have one VLAN that's untagged, this switch is going to know what VLAN that's a part of, provided that you program both of these switches to have the same native VLAN in place. So that's what the native VLAN is: it's just untagged traffic that's going across those ethernet lines.
So what does that look like from the ethernet frame standpoint? Here's our 802.1Q defined ethernet frame with the tagged traffic in there, and that can be sent across, and the switch on the other side knows what VLAN it's a part of. And the native VLAN just does not have that tag in there, so essentially it's just like a regular ethernet frame that's sent across there.
The reason why you'd want to have a native VLAN is for some legacy equipment or some older protocols that are communicating back and forth, and those devices are not necessarily going to have tagged traffic go across there, so this helps support some of that legacy equipment.
This is a per link setting, and what that means is that every single one of these links could actually have a different native VLAN. I could do a native VLAN 10, a native VLAN 20 and a native VLAN 30 on each of these separate trunk lines, and it's going to operate just fine, because what I'm doing is I'm actually configuring it on the interface. I'm configuring it on each of these interfaces, which allows me to configure each of these lines differently.
One thing you've got to watch out for: what you would not want to do is a native VLAN 2 on this side and a native VLAN 10 on this side, because that can cause some problems. Now, your Cisco switches, if you have CDP running and some of the other protocols, they'll actually recognize that you have a mismatch and it will identify it on the switch. So that is helpful on these Cisco devices, but just generally speaking you wouldn't want to set up the wrong connections on there. You'd want to set it up all the same on both of the sides, but as long as they're the same on both sides, then that's going to be per interface.
What I tend to do is I tend to have each one of these trunk lines all the same — they're all programmed the same, that way it's easier for me to remember. I also choose one that's not the same as any of my other VLANs, not the VLANs that I'm going to use. I just do that for a little extra bit of security there, so that way those are separated out and no one else can utilize that native VLAN.
One thing to note on Cisco equipment is that the default native VLAN is one. So if you don't specify something, then one is going to be the native VLAN on that device, on all those interfaces. The reason for that is because Cisco wants their devices for the most part to work out of the box — once you unpack it and plug it in, they want it to work — and so one way they do that is to set it up so that VLAN one is the native VLAN, and now you can start connecting in devices.
TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.
Explore free tools and programs →