How to configure 802.1Q VLAN on Smart and Managed switches using the new GUI

T1600G-18TS( V2 ) , TL-SG2008P , TL-SG3452X , TL-SG2218P , TL-SG3452XP , TL-SG2016P , TL-SG2210P , SG2210MP , T2600G-28MPS( V3 ) , TL-SX3008F , TL-SL2428P , TL-SX3016F , S4500-8G , SG3428 , TL-SG3452P , TL-SG3428X , S4500-16GP , SL2428P , T1600G-28TS( V3 ) , S4500-8GHP2F , TL-SG3428XF , TL-SG2210MP , T1600G-28PS( V3 ) , SG3210 , SG3452 , SG3452X , TL-SG3210XHP-M2 , S5500-24GP4XF , T1600G-52PS( V3 ) , TL-SG2428P , T1500G-8T( V2 ) , T1600G-52TS( V3 ) , SG3428XF , TL-SG2210 , T1500G-10PS( V2 ) , SG2428LP , Festa FS308GP , SX3008F , SG3428MP , SG3428X , SG3452P , T2600G-52TS( V3 ) , SX3016F , T2600G-28TS( V3 ) , SG2218P , SG2428P , SG2008P , SG3452XP , T1500G-10MPS( V2 ) , TL-SG3428 , SG2210P , SG2016P , S5500-4XHPP2XF , S5500-8MHP2XF , TL-SG3428MP , TL-SG2008 , T1500-28PCT( V3 ) , T2600G-28SQ( V1 ) , TL-SG3210 , TL-SG3452 , Festa FS310GP , TL-SX3206HPP , SG3428XMP , TL-SG3428XMP , SX3206HPP , S5500-24MPP4XF
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.
VLAN (Virtual Local Area Network) is a technology that can solve broadcasting issues. A LAN can be divided into several VLANs logically, and only the hosts in a same VLAN can communicate with each other.
Here is a configuration example for 802.1Q VLAN.
Network Topology:
Network Requirement:
- Hosts in the same department can communicate with each other.
- Hosts in different departments cannot communicate with each other.
- Both department A and department B can visit the FTP server.
Configuration Scheme:
- Create VLAN 10 and VLAN 20 for department A and department B respectively.
- Create VLAN 30 for the FTP server, and add the hosts in department A and department B to VLAN 30.
- Configure PVIDs for ports. With correct PVID settings, both department A and department B can visit the FTP server, but cannot communicate with each other.
VLAN Configurations on Switch 1 and Switch 2:
|
VLAN 10 |
VLAN 20 |
VLAN 30 |
Switch 1 |
Port 1-2 |
Port 1, 3 |
Port 1-3 |
Switch 2 |
Port 1-2, 4 |
Port 1, 3-4 |
Port 1-4 |
Egress Rule and PVID settings for Switch 1 and Switch 2:
Switch |
Switch 1 |
Switch 2 |
|||||
Port |
1 |
2 |
3 |
1 |
2 |
3 |
4 |
Egress Rule |
Tagged |
Untagged |
Untagged |
Tagged |
Untagged |
Untagged |
Untagged |
PVID |
1 |
10 |
20 |
1 |
10 |
20 |
30 |
Configurations on Switch 1:
Step 1
Go to L2 Features > VLAN > 802.1Q VLAN > VLAN Config, create VLAN 10, VLAN 20 and VLAN 30; add Untagged port 2 and Tagged port 1 to VLAN 10; add Untagged port 3 and Tagged port 1 to VLAN 20; add Untagged port 2-3 to VLAN 30 and Tagged port 1 to VLAN 30.
Step 2
Go to L2 Features > VLAN > 802.1Q VLAN > Port Config, set the PVID value as 1, 10, 20 for port 1, port 2 and port 3 respectively.
Configurations on Switch 2:
Step 1
Go to L2 Features > VLAN > 802.1Q VLAN > VLAN Config, create VLAN 10, VLAN 20 and VLAN 30; add Untagged port 2, Untagged port 4 and Tagged port 1 to VLAN 10; add Untagged port 3, Untagged port 4 and Tagged port 1 to VLAN 20; add Untagged port 2-4 to VLAN 30 and Tagged port 1 to VLAN 30.
Step 2
Go to L2 Features > VLAN > 802.1Q VLAN > Port Config, set the PVID value as 1, 10, 20 and 30 for port 1, port 2, port 3 and port 4 respectively.
Looking for More
Είναι χρήσιμο αυτό το FAQ;
Τα σχόλιά σας συμβάλλουν στη βελτίωση αυτού του ιστότοπου.
What’s your concern with this article?
- Dissatisfied with product
- Too Complicated
- Confusing Title
- Does not apply to me
- Too Vague
- Other
Σας Ευχαριστούμε
Εκτιμούμε τα σχόλιά σας.
Κάντε κλικεδώ για να επικοινωνήσετε με την τεχνική υποστήριξη TP-Link.
Αυτός ο ιστότοπος χρησιμοποιεί cookies. Συνεχίζοντας την περιήγηση στον ιστότοπο, αποδέχεστε τις χρήσεις των cookies από εμάς. Μάθε περισσότερα.
Your Privacy Choices
Αυτός ο ιστότοπος χρησιμοποιεί cookies. Συνεχίζοντας την περιήγηση στον ιστότοπο, αποδέχεστε τις χρήσεις των cookies από εμάς. Μάθε περισσότερα.
Βασικά Cookies
Αυτά τα cookie είναι απαραίτητα για τη λειτουργία του ιστότοπου και δεν μπορούν να απενεργοποιηθούν στα συστήματά σας.
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
Cookies Ανάλυσης και Μάρκετινγκ
Τα cookie ανάλυσης μας δίνουν τη δυνατότητα να αναλύσουμε τις δραστηριότητές σας στον ιστότοπό μας για να βελτιώσουμε και να προσαρμόσουμε τη λειτουργικότητα του ιστότοπού μας.
Τα διαφημιστικά cookie μπορούν να ρυθμιστούν μέσω του ιστότοπού μας από τους διαφημιστικούς μας συνεργάτες, προκειμένου να δημιουργήσουν ένα προφίλ των ενδιαφερόντων σας και να σας εμφανίζει σχετικές διαφημίσεις σε άλλους ιστότοπους.
Google Analytics & Google Tag Manager
_gid, _ga_<container-id>, _ga, _gat_gtag_<container-id>
Google Ads & DoubleClick
test_cookie, _gcl_au