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. 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. Select the primary private VLAN to remove.
  5. Click Remove under the Primary VLAN ID list.
  6. Click OK to confirm that you want to remove the primary VLAN.
  7. Click OK.