How to configure 802.1q VLAN on Easy Smart Switches?

A Virtual Local Area Network (VLAN) is a network topology configured according to a logical scheme rather than the physical layout. Hosts in the same VLAN communicate with each other as if they are in a LAN. However, hosts in different VLANs cannot communicate with each other directly.
Now let´s learn how to configure the tag VLAN on Smart Switches by the following example:
Here we take TL-SG1016DE and TL-SG108E as an example.
TL-SG1016DE connects to the Internet via TL-R480T+ in port 9, and connects to TL-SG108E with an Ethernet cable in port 1.
The computers of Group A connect to port 2-3 of TL-SG1016DE and port 2-3 of TL-SG108E. The Group B connects to port 4-8 of them.
Purpose
1 The computers of Group A can communicate with each other.
2 The computers of Group B can communicate with each other.
3 The computers of Group A can’t communicate with computers of Group B, and vice versa.
4 Both Groups can access to Internet through TL-R480T+
VLAN Configuration parameters:
 
 
VLAN 1
VLAN101
VLAN102
TL-SG1016DE
1-9
1-3,9
1,4-9
TL-SG108E
1-8
1-3
1,4-8
 
To achieve Purpose 1, we create the VLAN whose VLAN ID is 101
To achieve Purpose 2, we create the VLAN whose VLAN ID is 102
By setting VLAN 101 and 102, we have achieved Purpose 3.
To achieve Purpose 4, we use the default VLAN 1 to make sure TL-R480T+ could communicate with all ports of the two switches.  
 
Switch
TL-SG1016DE
TL-SG108E
                  Port
1
2-3
4-8
9
1
2-3
4-8
Egress Rule
Tag
UNTAG
UNTAG
UNTAG
TAG
UNTAG
UNTAG
PVID
1
101
102
1
1
101
102
 
The table above shows other parameters.
 
Note:
TL-SG1016DE and TL-SG108E are both Easy Smart Switches, but their difference is TL-SG1016DE has its web-gui, while TL-SG108E can only be configured by Easy Smart Configuration Utility.
In this text we introduce how to configure 802.1q VLAN on TL-SG1016DE by web-gui, and how to configure it on TL-SG108E by Easy Smart Configuration Utility, of course you could configure TL-SG1016DE via the utility as well, it’s totally the same as TL-SG108E
 
Now, let’s start to configure Switch TL-SG1016DE:
 
Step 1 Enter the web-gui of TL-SG1016DE, choose “802.1Q VLAN” in the “VLAN” menu, and check “Enable” on the right “802.1Q VLAN Configuration”, click “Apply” to open the 802.1Q VLAN feature, only after this you could add or modify VLAN :
Step 2 Enter the VLAN ID you want to create, and you could name the VLAN if you like. Here we typing the VLAN ID 101, then choose port 1 as tagged, port 2-3, 9 as untagged, then click “Add/Modify”:
 
 
Step 3 The same way as step 2, we create VLAN 102 with tagged port 1, and untagged port 4-9
 
 
Step 4 This step we should configure the PVID of port, here we configure PVID of port 2-3 to 101, choose “802.1q PVID setting” on the left hand “VLAN” menu, then choose the port you want to configure, typing PVID value then click “Apply”:
 
 
Step 5 Configure PVID of all ports correctly as step 4
 
So now the configuration on TL-SG1016DE has been done, let’s see how to configure 802.1q VLAN on TL-SG108E via Easy Smart Configuration Utility:
 
Step 1 Enter the TL-SG108E by utility, then choose “VLAN” sheet, “802.1Q VLAN” on the left, you could see the right window only shows “Global Config”, please set the “802.1q VLAN status” to “Enable” then apply, the 802.1q vlan setting will show up:
Step 2 We could find the difference between set VLAN here and on web-gui of TL-SG1016DE, on this utility we use graphic port selection, you just need to click on the port you want to choose, it much easier. We set VLAN101 with tagged port 1, untagged port 2-3, then click apply:
Step 3 As the step 2 shows, we then set VLAN 102 with tagged port 1 and untagged port 4-8:
 
Step 4This step we should configure the PVID of port, here we configure PVID of port 2-3 to 101, choose “802.1q PVID setting” on the left hand menu, then choose the port you want to configure, typing PVID value then click “Apply”:
 
Step 5 Configure PVID of all ports correctly as step 4
 
Now we have successfully created the 2 VLAN working together with the default VLAN1, realizing the usage need.
 
Note:
1.    Only when specific VLAN has already been created that you could change a port’s PVID to VID of this VLAN. The correct steps to build several VLAN on switch are: 1.Create these VLAN 2.Select Member Ports 3.Set PVID for these ports.

2.   Due to PVID of port is unique even if it belongs to more than one VLAN, you could choose any VLAN to set the PVID. 

This Article Applies to:
TL-SG1016DE , TL-SG108E , TL-SG1024DE
User Application Requirement | Updated 08-25-2016 08:35:20 AM