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.

NOTES & REQUIREMENTS:
Applicable to the latest firmware on all EdgeSwitch (ES) and EdgeSwitch X (ES-X) models. Please see the Related Articles below for more information.
 
Devices used in this article:

Port VLAN Configuration


Back to Top

topology.png

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):

GUI: Access the Web UI on the ES-10X.

1. Navigate to the VLANs  vlans.png  tab to add VLAN10 and VLAN20 to the EdgeSwitch X.

VLANs > New VLAN ID

newvlanid.png

2. Fill in 10 and select the  plus.png  icon to add the VLAN.

3. Fill in 20 and select the  plus.png  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):

GUI: Access the Web UI on the ES-8-150W.

1. Navigate to the VLANs  vlans.png  tab to add VLAN10 and VLAN20 to the EdgeSwitch.

VLANs > New VLAN ID

newvlanid.png

2. Fill in 10 and select the  plus.png  icon to add the VLAN.

3. Fill in 20 and select the  plus.png  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.

NOTE: There is more information about the EdgeRouter configuration in the Router on a Stick article.

The above EdgeSwitch (ES) configuration can also be set using the CLI:

CLI: Access the Command Line Interface on the ES-8-150W.
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


Back to Top

EdgeRouter - Router on a Stick

EdgeSwitch & EdgeSwitch X - How to Add VLANs

EdgeSwitch - Inter-VLAN Routing


We're sorry to hear that!