How to configure 802.1q VLAN on Smart Switches

TL-SG2452 , T1500G-10PS , T1600G-28TS , TL-SL2210 , TL-SG2424 , TL-SG2216 , TL-SG2424P , T1700G-28TQ , T1500-28PCT , T1600G-28PS , T1500G-10MPS , TL-SL2428 , TL-SL2218 , T1600G-52TS , T1500G-8T , T1700X-16TS , TL-SL2452WEB
Recent updates may have expanded access to feature(s) discussed in this FAQ. Visit your product's support page, select the correct hardware version for your device, and check either the Datasheet or the firmware section for the latest improvements added to your product. Please note that product availability varies by region, and certain models may not be available in your region.
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-SG2424 and TL-SG2216 as an example.
TL-SG2424 connects to the Internet via TL-R480T+ in port 9, and connects to TL-SG2216 with an Ethernet cable in port 1.
The computers of Group A connect to port2-3 of TL-SG2424 and port2-3 of TL-SG2216. The Group B connects to port 4-8 of them.
Purpose:
1 The computers from Group A can communicate with each other.
2 The computers from Group B can communicate with each other.
3 The computers of Group A and Group B can’t communicate with each other.
4 Both the Group A and Group B can go to Internet through TL-R480T+
VLAN Configuration parameters:
|
VLAN 100 |
VLAN101 |
VLAN102 |
TL-SG2424 |
1-3,9 |
1,4-9 |
1-9 |
TL-SG2216 |
1-3 |
1,4-8 |
1-8 |
To achieve Purpose 1, we create the VLAN whose VLAN ID is 100.
To achieve Purpose 2, we create the VLAN whose VLAN ID is 101
By setting VLAN 100 and 101, we have achieved Purpose 3.
To achieve Purpose 4, we create the VLAN whose VLAN ID is 102
Switch |
TL-SG2424 |
TL-SG2216 |
|||||
Port |
1 |
2-3 |
4-8 |
9 |
1 |
2-3 |
4-8 |
Egress Rule |
Tag |
UNTAG |
UNTAG |
UNTAG |
TAG |
UNTAG |
UNTAG |
PVID |
1 |
100 |
101 |
102 |
1 |
100 |
101 |
The table above shows other parameters.
Now, let’s start to configure Switch TL-SG2424:
Step 1 Choose “802.1Q VLAN” in the “VLAN” menu:
Step 2 Enter the VLAN ID you want to create, and you could name the VLAN if you like. Click “Create” to save your configuration, you will find your created VLAN in the table below:
Step 3 Check the box on the left of your VLAN ID first, then you could choose which ports will be added to this VLAN in the table below. There are three ports rules as “Untagged”, “Tagged” and “NotMember”. As we design, select port 1 as Tagged port, ports 2-3 and 9 as Untagged, click “Apply” to save your configuration, then you’ll find in the “VLAN Table”, your configuration is displayed:
Step 4 After configuring all VLAN, check the “Select” box of any VLAN as you want, then set the PVID for each port. Don’t forget to “Apply”:
When you finish these steps above, VLAN on TL-SG2424 has been finished, then set VLAN on TL-SG2216 as these steps above, your functional VLAN could work as you want.
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 is: 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.
Is this faq useful?
Your feedback helps improve this site.
What’s your concern with this article?
- Dissatisfied with product
- Too Complicated
- Confusing Title
- Does not apply to me
- Too Vague
- Other
Thank you
We appreciate your feedback.
Click here to contact TP-Link technical support.
This website uses cookies to improve website navigation, analyze online activities and have the best possible user experience on our website. You can object to the use of cookies at any time. You can find more information in our privacy policy . Don’t show again
This website uses cookies to improve website navigation, analyze online activities and have the best possible user experience on our website. You can object to the use of cookies at any time. You can find more information in our privacy policy . Don’t show again
Standaard Cookies
Deze cookies zijn noodzakelijk voor de werking van de website en kunnen niet worden uitgeschakeld.
TP-Link
accepted_local_switcher, tp_privacy_base, tp_privacy_marketing, tp_smb-select-product_scence, tp_smb-select-product_scenceSimple, tp_smb-select-product_userChoice, tp_smb-select-product_userChoiceSimple, tp_smb-select-product_userInfo, tp_smb-select-product_userInfoSimple, tp_top-banner, tp_popup-bottom, tp_popup-center, tp_popup-right-middle, tp_popup-right-bottom, tp_productCategoryType
Live-Chat
__livechat, __lc2_cid, __lc2_cst, __lc_cid, __lc_cst, CASID
Youtube
id, VISITOR_INFO1_LIVE, LOGIN_INFO, SIDCC, SAPISID, APISID, SSID, SID, YSC, __Secure-1PSID, __Secure-1PAPISID, __Secure-1PSIDCC, __Secure-3PSID, __Secure-3PAPISID, __Secure-3PSIDCC, 1P_JAR, AEC, NID, OTZ
Analyse en Marketing Cookies
Cookies voor analyse geven ons de mogelijkheid uw activiteiten op onze website te volgen en zo de functionaliteit van de website aan te passen en te verbeteren.
Marketing cookies kunnen op onze website worden geplaatst door externe adverteerders waar wij mee samenwerken om een profiel te creëren met uw interesses en u zo van relevante advertenties te kunnen voorzien op andere websites.
Google Analytics & Google Tag Manager
_gid, _ga_<container-id>, _ga, _gat_gtag_<container-id>
Google Ads & DoubleClick
test_cookie, _gcl_au
Meta Pixel
_fbp
Crazy Egg
cebsp_, _ce.s, _ce.clock_data, _ce.clock_event, cebs
lidc, AnalyticsSyncHistory, UserMatchHistory, bcookie, li_sugr, ln_or