EdgeSwitch & EdgeSwitch X - Tagging and Untagging Port VLANs
Overview
This article describes the steps needed to create VLANs and define ports to be either Untagged (access) or Tagged (trunk) for specific VLANs.
Port VLAN Configuration
The UAP will tag the wireless network with VLAN20. The management traffic from the UAP is sent Untagged (U) and will be placed in VLAN10.
Follow the steps below to add and configure the port VLANs on the EdgeSwitch X (ES-10X):
1. Navigate to the VLANs tab to add VLAN10 and VLAN20 to the EdgeSwitch X.
VLANs > New VLAN ID
2. Fill in 10 and select the icon to add the VLAN.
3. Fill in 20 and select the icon to add the VLAN.
4. Apply the changes.
5. Under port 7 and port 8, change the default VLAN1 from Untagged (U)
to Excluded (E)
.
6. Under port 7 and port 8, change VLAN10 and VLAN20 from Excluded (E)
to Tagged (T)
.
7. Apply the configuration changes.
Follow the steps below to add and configure the port VLANs on the EdgeSwitch (ES-8-150W):
1. Navigate to the VLANs tab to add VLAN10 and VLAN20 to the EdgeSwitch.
VLANs > New VLAN ID
2. Fill in 10 and select the icon to add the VLAN.
3. Fill in 20 and select the icon to add the VLAN.
4. Apply the changes.
5. Under port 2, 6 and 8, change the default VLAN1 from Untagged (U)
to Excluded (E)
.
6. Under port 2, change VLAN10 from Excluded (E)
to Untagged (U)
.
7. Under port 6, change VLAN10 from Excluded (E)
to Untagged (U)
and VLAN20 from Excluded (E)
to Tagged (T)
.
8. Under port 8, change VLAN10 and VLAN20 from Excluded (E)
to Tagged (T)
.
9. Apply the configuration changes.
The above EdgeSwitch (ES) configuration can also be set using the CLI:
enable
vlan database
vlan 10,20
exit
configure
interface 0/2
description unifi-controller
vlan pvid 10
vlan participation exclude 1,20
vlan participation include 10
exit
interface 0/6
description uap-ac-pro
vlan tagging 20
vlan pvid 10
vlan participation exclude 1
vlan participation include 10,20
exit
interface 0/8
description es-10x
vlan tagging 10,20
vlan participation exclude 1
vlan participation include 10,20
exit
Related Articles
EdgeRouter - Router on a Stick