Page 21 of 21
o
Packets leaving the switch will be either tagged or untagged depending on the setting for that port’s
VLAN membership properties.
A ‘U’ for a given port means that packets leaving the switch from that port will be Untagged.
Inversely, a ‘T’ for a given port means that packets leaving the switch from that port will be tagged
with the respective VLAN ID in which it participated in.
The example given in this section will step through a more elaborate setup illustrating all possible scenarios
for a comprehensive understanding of tagged VLANs.
Example
This example demonstrates several scenarios of VLAN use and how the switch will handle Tagged and
Untagged traffic.
Please see the following figure for detail setting.
1) Setup the following VLANs: VLAN 10, 20.
2)
Configure the VLAN membership. Be sure to set all of them as follows.
o
Setting up first VLAN group, VLAN ID = 10:
o
Setting up second VLAN group, VLAN ID = 20:
3)
Modify PVID Setting to apply previous two VLAN groups:
Modify Default VLAN group (VLAN ID = 1) to apply two new VLAN groups:
The specific ports above have the following Port VLAN ID settings:
Default VLAN: Port 7 – Port 26 (all U),
VID = 1
VLAN 1: Port 1 (U), Port 2 (U), Port 3 (T),
VID = 10
VLAN 2: Port 4 (U), Port 5 (T), Port 6 (U),
VID = 20.
4) The following scenarios will produce results as described below:
(1). If an untagged packet enters Port 1, the switch will tag it with a VLAN tag value 10. The packet
will have access to Port 2 and Port 3. The outgoing packet will be stripped away its tag becoming
an untagged packet as it leaves Port 2. For Port 3, the outgoing packet will leave as a tagged
packet with a VLAN tag value 10.
(2). If a tagged packet with a VLAN tag value 10 enters Port 3, the packet will have access to Port 1
and Port 2. If the packet leaves Port 1 and/or Port 2, it will be stripped away its tag becoming an
untagged packet as it leaves switch.
(3). If an untagged packet enters Port 4, switch will tag it with a VLAN tag value 20. The packet will
have access to Port 5 and Port 6. The outgoing packet will be stripped away its tag becoming an
untagged packet as it leaves Port 6. For Port 5, the outgoing packet will leave as a tagged packet
with a VLAN tag value 20.
Downloaded from
www.Manualslib.com
manuals search engine