When is a tagged VLAN (Virtual Local Area Network) used?
Answer
A tagged VLAN is used whenever several VLANs have to be transported over one physical connection – typically a trunk port between two switches, or between a switch and a router, server or hypervisor.
On a normal access port the switch knows the VLAN from the port itself (untagged, one VLAN per port). On a trunk, frames from different VLANs share the same cable, so each Ethernet frame gets a tag (IEEE 802.1Q, 4 bytes) with the VLAN ID. The receiving switch reads the tag and puts the frame into the right VLAN.
Access port → untagged, to end devices (PCs, printers).
Trunk port → tagged, between network devices, carries many VLANs.
Diagram
Key vocabulary
Term
Meaning
Example
VLAN
a logical network inside a physical network
The guest Wi-Fi has its own VLAN.
tag
extra information added to a frame
The tag contains the VLAN ID.
trunk port
a port that carries several VLANs
Configure port 24 as a trunk port.
access port
a port that belongs to one VLAN, untagged
The printer is on an access port in VLAN 30.
VLAN ID
the number of a VLAN (1–4094)
The VoIP phones use VLAN ID 40.
802.1Q
the standard for VLAN tagging
Both switches support 802.1Q.
Useful phrases
to carry several VLANsThe trunk carries several VLANs over one cable.
to tag / untag a portTag VLAN 10 and 20 on the uplink port.
to assign a port to a VLANAssign port 5 to VLAN 20.
to be allowed on the trunkIs VLAN 30 allowed on the trunk?
Talk about it
Explain the difference between an access port and a trunk port with an example from an office.
A PC in VLAN 20 on switch B cannot reach the server in VLAN 20 on switch A. What would you check?
Why do companies separate guests, staff and VoIP phones into different VLANs?
IHK hint
German: Tagged VLAN: wenn mehrere VLANs über eine Leitung laufen (Trunk-Port, z. B. zwischen Switches); Frames werden per IEEE 802.1Q mit der VLAN-ID markiert.