You can block all ports in a distributed port group.

Blocking the ports of a distributed port group might disrupt the normal network operations of the hosts or virtual machines using the ports.

Procedure

  1. In the vSphere Web Client, navigate to the distributed switch.
  2. Right-click the distributed switch in the object navigator and select Distributed Port Group > Manage Distributed Port Groups.
  3. Select the Miscellaneous check box and click Next.
  4. Select one or more distributed port group to configure and click Next.
  5. From the Block all ports drop-down menu, enable or disable port blocking, and click Next.
  6. Review your settings and click Finish.