The VLAN policy allows virtual networks to join physical VLANs.


Launch the vSphere Client and log in to a vCenter Server system.


  1. Log in to the vSphere Client and select the Networking inventory view.
  2. Right-click the distributed port group in the inventory pane, and select Edit Settings.
  3. Select Policies.
  4. Select the type of VLAN filtering and marking from the VLAN Type drop-down menu.
    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.
  5. Click OK.