Create the necessary private VLANs on the vSphere Distributed Switch to be able to assign distributed ports to participate to a private VLAN.

1

In the vSphere Web Client, navigate to the distributed switch.

2

On the Manage tab, click Settings.

3

Select Private VLAN and click Edit.

4

To add a primary VLAN, under Primary VLAN ID click Add and enter the ID of a primary VLAN.

5

Click the plus sign (+) in front of the primary VLAN ID to add it to the list.

The primary private VLAN also appears under Secondary Private VLAN ID.

6

To add a secondary VLAN, in the right pane click Add and enter the ID of the VLAN.

7

Click the plus sign (+) in front of the secondary VLAN ID to add it to the list.

8

From the drop-down menu in the Secondary VLAN type column, select either Isolated or Community.

9

Click OK.

Configure a distributed port group or port to associate traffic with the private VLAN. See Configure VLAN Tagging on a Distributed Port Group or Distributed Port.