The VLAN policy allows virtual networks to join physical VLANs.

Before you begin

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

Procedure

  1. Log in to the vSphere Client and select the Networking inventory view.
  2. Select the vSphere distributed switch in the inventory pane.
  3. On the Ports tab, right-click the port to modify and select Edit Settings.
  4. Click Policies.
  5. Select the VLAN Type to use.

    Option

    Action

    None

    Do not use VLAN.

    VLAN

    In the VLAN ID field, enter a number between 1 and 4094.

    VLAN Trunking

    Enter one or more VLAN trunk range.

    Private VLAN

    Select an available private VLAN to use.

  6. Click OK.