6.5.1

Table Of Contents
Configure VLAN Tagging on a Distributed Port Group or
Distributed Port
To apply VLAN tagging globally on all distributed ports, you must set the VLAN policy on a distributed port
group. To integrate the virtual traffic on the port with physical VLANs in a different way from the parent
distributed port group, you must use the VLAN policy on a distributed port.
Prerequisites
To override a policy on distributed port level, enable the port-level override option for this policy. See
Configure Overriding Networking Policies on Port Level.
Procedure
1 In the vSphere Web Client, navigate to the distributed switch.
2 Navigate to the VLAN policy on the distributed port group or distributed port.
Option Action
Distributed port group a From the Actions menu, select Distributed Port Group > Manage
Distributed Port Groups.
b Select VLAN and click Next.
c Select the port group and click Next.
Distributed port a On the Networks tab, click Distributed Port Groups and double-click a
distributed port group.
b On the Ports tab, select a port and click the Edit distributed port settings
icon.
c Select VLAN.
d Select Override next to the properties to override.
3 From the VLAN type drop-down menu, select the type of VLAN traffic filtering and marking, and click
Next.
Option Description
None Do not use VLAN.
Use this option in case of External Switch Tagging.
VLAN Tag traffic with the ID from the VLAN ID field.
Type a number between 1 and 4094 for Virtual Switch Tagging.
VLAN Trunking Pass VLAN traffic with ID within the VLAN trunk range to guest operating
system. You can set multiple ranges and individual VLANs by using a comma-
separated list.
Use this option for Virtual Guest Tagging.
Private VLAN Associate the traffic with a private VLAN created on the distributed switch.
4 Review your settings and apply the configuration.
vSphere Networking
VMware, Inc. 108