VLAN Tagging is used when a link needs to carry traffic for more than one VLAN. VLAN ( virtual local area network) is logically or simply a group of network devices. When we create a VLAN tagging on a switch, then we actually break a broadcast domain or we can say a VLAN break broadcast domain at layer2 we use VLAN and one VLAN defines one broadcast domain.
That is the simple description of VLAN but this is not simple in a real scenario network. It very uses full in the big network as well as a small network. Without VLAN technology a big network can’t be handled. Now I telling about the feature, advantage and used of Vlan.
By this can understand normally behave of VLAN how they configure and work. You are the networking guys or technically guys so, you know that on switch neighbor a device always there like PC, Router, Switch & WiFi, etc. In between there a link, here that links also a big role. A link is two types of Access links or Trunk links.
A switch has compatibility to do layer2 address switching.
Access port– carries single VLAN data
Trunk port – carry multiple VLAN data
The trunk link uses the trunk encapsulation protocol, these protocol two types.
You can see in the below picture, there is 3 VLAN available VLAN10, VLAN20, and VLAN30. Between two switches a TRUNK link used, we know that a trunk link can pass different VLAN with dot.1q encapsulation.
Here we show you VLAN1o with Red Colour, VLAN20 with Green Colour & VLAN30 with Blue Colour. According to the above picture, you can easily understand VLAN tagging. When VLAN sends a message then Trunk link tagged with VLAN10 (red color only for understanding) other side trunk link remove Tagged and switch message to VLAN10 ports. Same as other VLAN data proceed with tagging and remove tagging. VLAN Tagging is used when a single link needs to carry traffic for more than one VLAN