The VLAN policy allows virtual networks to join physical VLANs.
Launch the vSphere Client and log in to a vCenter Server system.
- Log in to the vSphere Client and select the Networking inventory view.
- Select the vSphere distributed switch in the inventory pane.
- On the Ports tab, right-click the port to modify and select Edit Settings.
- Click Policies.
- 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.
- Click OK.