9 min read

VLAN Membership at the Port Level: Access, Trunk, Tagged, and Untagged Explained

A VLAN is a broadcast domain, but the port decides who joins it. Learn how access, trunk, and hybrid ports handle tagged and untagged frames, why the native VLAN matters, and how to verify membership.

ByAndré Ribeiro· Founder, Obelinf
VLAN Membership at the Port Level: Access, Trunk, Tagged, and Untagged Explained
VLAN Membership at the Port Level: Access, Trunk, Tagged, and Untagged Explained · October 18, 2026
On this page

A VLAN is a broadcast domain, a logical grouping of devices that can reach each other with an Ethernet broadcast without touching another group. That definition is about the network, not about the equipment, and it hides the part that actually decides membership: the switch port. Two hosts in the same VLAN on paper can sit in different broadcast domains in practice if the ports between them disagree, and two hosts with no VLAN in common can end up sharing one if a tag is stripped or misplaced along the path.

The confusion is understandable, because VLAN membership is expressed in several different terms that describe the same frame from different directions. A port is assigned a VLAN. A frame carries a tag or does not. One VLAN on a trunk is treated differently from the rest. Learning the vocabulary in the right order, frame first and then port, turns a topic that seems arbitrary into a set of rules that predict exactly what a switch will do with any frame you hand it.

At a Glance: Access, Trunk, and Hybrid Ports

Access port Trunk port Hybrid port
Frames leaving the port Untagged, one VLAN Tagged, plus one untagged VLAN Per VLAN, chosen by configuration
Frames arriving with a tag Usually dropped or ignored Classified by the tag Classified by the tag
Frames arriving untagged Placed in the access VLAN Placed in the native VLAN Placed in the configured untagged VLAN
VLANs carried Exactly one Many, up to the hardware limit Many, mixed tagging
Typical use Host, server, access point Switch uplink, hypervisor, firewall IP phone with a workstation behind it
Most common mistake Assuming it carries a tagged frame Native VLAN mismatch between ends Mixing tagged and untagged for the same VLAN

The tag is a four byte label

Everything about port behavior follows from one detail of the frame format. A normal Ethernet frame carries a destination address, a source address, a type field, a payload, and a frame check sequence. An 802.1Q frame inserts four extra bytes between the source address and the type field, and those four bytes are the entire mechanism.

An Ethernet frame with a four byte 802.1Q tag inserted between the source address and the type field Dest MAC 6 bytes Source MAC 6 bytes 802.1Q tag 4 bytes, inserted Type 2 bytes Payload variable FCS 4 bytes Inside the tag TPID 0x8100 PCP 3 bits DEI 1 bit VID 12 bits The 12 bit VID holds the VLAN identifier The type field is duplicated as part of the tag, so a tagged frame still tells the receiver what payload it carries. Remove the tag and every port decision disappears with it.

The tag holds three things worth naming. The tag protocol identifier marks the frame as tagged. The priority code point carries a class of service value used by QoS. The drop eligible indicator and the twelve bit VLAN identifier identify the VLAN itself. Every rule about access and trunk ports is a rule about whether that tag exists when the frame crosses a given port.

Access ports carry exactly one VLAN

An access port belongs to a single VLAN, and it removes the tag in both directions. Frames arriving from the connected host are untagged, so the switch places them into the VLAN configured on the port. Frames leaving toward the host are untagged as well, because the host is not expected to understand a tag. From the host’s perspective there is no VLAN at all, just a normal Ethernet segment.

This is why access ports are the default for servers, workstations, and access points that manage one network. The simplicity is the feature, and the failure mode is equally simple. If a host sends a tagged frame into an access port, most switches treat the frame as invalid for that port or drop it, because the port has no configured membership in the VLAN the tag names.

Trunk ports carry many VLANs, and one without a tag

A trunk port is where the tagging becomes visible. It carries a set of VLANs, and every frame belonging to those VLANs leaves with a tag, with one exception. The VLAN identified as the native or untagged VLAN crosses without a tag, and the receiving switch reclassifies those frames according to its own native VLAN setting.

An access port emits one untagged VLAN while a trunk port emits tagged VLANs plus one untagged native VLAN Access port on VLAN 20 frame, no tag frame, no tag Hosts see a plain Ethernet segment Trunk port, native VLAN 999 tag 10 tag 20 native, no tag Every VLAN but one carries a tag A trunk is not a port that tags everything. It is a port where only the native VLAN is untagged.

That single untagged VLAN is the source of most trunk problems. A trunk configured with native VLAN 1 on one end and native VLAN 10 on the other does not fail loudly. Untagged frames from the first switch are placed into VLAN 10 by the second, merging the two broadcast domains and leaking traffic between segments that were supposed to be separate.

Why the native VLAN deserves a dedicated identifier

Because the native VLAN is the one path where a frame loses its label, it should never be a VLAN that carries real traffic. The common practice is to leave VLAN 1 unused as the native VLAN on every trunk and to set it to a dedicated, empty identifier, frequently something in the high range such as 999. The traffic consequence is nil, and the security consequence is that an untagged frame injected into a trunk lands in a VLAN with nothing in it.

A native VLAN mismatch is also one of the few VLAN problems that is easy to detect from the switch itself. Many platforms log an inconsistency when the two ends disagree, and the state is visible in the trunk summary output. Treat that log entry as a defect regardless of whether users have reported anything, because the absence of a complaint only means the leak has not caused a visible problem yet.

Untagged frames crossing a trunk with mismatched native VLANs land in the wrong segment Switch A native VLAN 1 frames sent untagged belong to VLAN 1 Switch B native VLAN 10 frames arriving untagged join VLAN 10 untagged trunk link VLAN 1 on one end and VLAN 10 on the other become one broadcast domain. Nothing logs a user visible failure, which is exactly why the setting belongs in your records.

Hybrid and voice ports

Not every port fits the two clean categories. A hybrid port can send some VLANs tagged and others untagged on the same interface, and vendors expose this with different names and defaults. The familiar example is a desk port serving an IP phone with a workstation plugged into the phone. Voice traffic is tagged with the voice VLAN, data traffic is untagged and lands in the access VLAN, and the single cable carries both.

The trade off is that hybrid behavior is the hardest to predict from looking at the cable. The device behind the port decides which VLAN it joins based on whether it tags its frames, so a workstation misconfigured to tag its traffic will quietly jump into the voice VLAN. Documenting which VLAN is expected to be tagged and which is expected to be untagged is what makes that jump visible as a mismatch instead of a mystery.

Verifying membership from the command line

Every expectation above can be confirmed against the running device. On most network operating systems the trunk summary shows the mode, the native VLAN, and the list of allowed and active VLANs, while the per interface switchport output shows the administrative and operational mode plus the access VLAN.

show interfaces switchport
show interfaces trunk
show vlan brief

On a Linux host the equivalent view comes from the bridge and link tools, which report membership per port and the VLAN subinterfaces on each physical interface.

bridge vlan show
ip -d link show type vlan

The value of reading both ends is that trunk behavior is a relationship, not a property. A port is only an access port relative to what the far end expects, and a trunk is only correct when both sides agree on the native VLAN and the allowed list.

Documenting membership so drift becomes visible

The reason VLAN problems persist is that membership lives in more places than the design documents. The design says which VLAN a port should carry, the switch holds the running configuration, and the inventory, if it records anything, usually holds a single VLAN number and misses the tagged list entirely. When those three disagree, nobody can tell which one is right.

Record both the untagged VLAN and the full tagged list for every port, note which mode the port is intended to run in, and label the physical port with the same information. Then a review is a comparison rather than an investigation. Ports whose tagged list changed, access ports that gained a tag, and trunks whose native VLAN moved all stand out immediately, and the original design intent is available for anyone who has to decide whether the change was deliberate.

None of this changes what a VLAN is. It stays a broadcast domain, and the tag stays a label that a port either adds or removes. The part worth internalizing is that the port makes the decision, so the port is where the record has to be accurate, and where a five minute check prevents a segment from quietly joining another one.

Frequently Asked Questions

What does untagged mean on a switch port?
Untagged means the frame leaves the port without an 802.1Q tag. The receiving device has no way to tell which VLAN the frame came from, so it relies on the port itself belonging to a single VLAN, which is how an access port works. A trunk port also has exactly one untagged VLAN, called the native VLAN, and everything else it carries is tagged.
How many VLANs can a trunk port carry?
A standard 802.1Q tag reserves twelve bits for the VLAN identifier, which allows 4094 usable VLANs out of 4096 values, since 0 and 4095 are reserved. A trunk port can advertise up to that many in principle, but real switches limit both the number of VLANs and the number of simultaneous tagged memberships in hardware, so the practical ceiling is usually far lower.
Why does the native VLAN matter?
The native VLAN is the one VLAN whose frames cross a trunk without a tag, so a mismatch between the two ends silently merges two broadcast domains and leaks traffic from one into the other. Keeping the native VLAN on a dedicated, unused identifier rather than VLAN 1 is a common hardening step, because it means an untagged frame that leaks carries nothing useful.
What is a hybrid port?
A hybrid port is one that can send some VLANs tagged and others untagged on the same interface, unlike a strict access port with one untagged VLAN or a trunk port where every VLAN but the native one is tagged. Vendors differ in how they expose this, and the classic use case is a port serving an IP phone and a workstation where the voice traffic is tagged and the data traffic is not.
Does a trunk port tag every frame?
No, a trunk port tags every VLAN except one. The single exception is the native or untagged VLAN, whose frames are placed on the wire without a tag and reclassified by the far end according to its own native VLAN setting. That asymmetry is the reason a native VLAN mismatch is so easy to create during a maintenance window.
How do I check which VLAN a port is in?
On most switches you can read the running state directly with commands such as `show interfaces switchport`, `show interfaces trunk`, or `show vlan brief`, which report the administrative and operational mode plus the assigned VLANs. On a Linux host, `bridge vlan show` lists VLAN membership per port and `ip -d link show` reveals the VLAN subinterfaces on an interface.

Free Tools

Put this into practice with the free calculators, reference tables, and checklists in the Obelinf toolkit.

Stop reaching for a spreadsheet

Obelinf keeps every subnet, device, circuit, and rack in one live source of truth, with audit logs and a topology view. Free for personal use.

Related Articles