Remove unused primary VLANs from the configuration of a vSphere Distributed Switch.

When you remove a primary private VLAN, you also remove the associated secondary private VLANs.


Verify that no port groups are configured to use the primary VLAN and its associated secondary VLANs.


  1. On the vSphere Client Home page, click Networking and navigate to the distributed switch.
  2. On the Configure tab, expand Settings and select Private VLAN.
  3. Click Edit.
  4. Select the primary private VLAN to remove.
  5. Click the times sign (x) button above the Primary VLAN ID list.
  6. Click OK.