Port blocking policies allow you to selectively block ports from sending or receiving data.

Edit the Port Blocking Policy for a Distributed Port Group

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. On the vSphere Client Home page, click Networking and 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.

Edit the Blocking Policy for a Distributed Port or Uplink Port

You can block an individual distributed port or uplink port.

Blocking the flow through a port might disrupt the normal network operations on the host or virtual machine using the port.

Prerequisites

Enable the port-level overrides. See Configure Overriding Networking Policies on Port Level

Procedure

  1. Navigate to a distributed switch and then navigate to a distributed port or an uplink port.
    • To navigate to the distributed ports of the switch, click Networks > Distributed Port Groups, click a distributed port group from the list, and click the Ports tab.
    • To navigate to the uplink ports of an uplink port group, click Networks > Uplink Port Groups, click an uplink port group from the list, and click the Ports tab.
  2. Select a port from the list.
  3. Click Edit distributed port settings.
  4. In the Miscellaneous section, select the Override check box, and from the drop-down menu enable or disable port blocking.
  5. Click OK.