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.
¿Es útil esta pregunta frecuente?
Sus comentarios nos ayudan a mejorar este sitio.
What’s your concern with this article?
- Dissatisfied with product
- Too Complicated
- Confusing Title
- Does not apply to me
- Too Vague
- Other
Gracias
Agradecemos sus comentarios.
Haga clic aquí para comunicarse con el soporte técnico de TP-Link.
Este sitio web utiliza cookies para mejorar la navegación en el sitio web, analizar las actividades en línea y tener la mejor experiencia de usuario posible en nuestro sitio web. Puedes oponerte al uso de cookies en cualquier momento. Puede encontrar más información en nuestra política de privacidad . No volver a mostrar
Your Privacy Choices
Este sitio web utiliza cookies para mejorar la navegación en el sitio web, analizar las actividades en línea y tener la mejor experiencia de usuario posible en nuestro sitio web. Puedes oponerte al uso de cookies en cualquier momento. Puede encontrar más información en nuestra política de privacidad . No volver a mostrar
Basic Cookies
These cookies are necessary for the website to function and cannot be deactivated in your systems.
TP-Link
SESSION, JSESSIONID, accepted_local_switcher, tp_privacy_banner, tp_privacy_base, tp_privacy_marketing, tp_top-banner, tp_popup-bottom, tp_popup-center, tp_popup-right-middle, tp_popup-right-bottom, tp_productCategoryType
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
Zendesk
OptanonConsent, __cf_bm, __cfruid, _cfuvid, _help_center_session, _pendo___sg__.<container-id>, _pendo_meta.<container-id>, _pendo_visitorId.<container-id>, _zendesk_authenticated, _zendesk_cookie, _zendesk_session, _zendesk_shared_session, ajs_anonymous_id, cf_clearance
Analysis and Marketing Cookies
Analysis cookies enable us to analyze your activities on our website in order to improve and adapt the functionality of our website.
The marketing cookies can be set through our website by our advertising partners in order to create a profile of your interests and to show you relevant advertisements on other websites.
Google Analytics & Google Tag Manager
_gid, _ga_<container-id>, _ga, _gat_gtag_<container-id>
Google Ads & DoubleClick
test_cookie, _gcl_au