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
- On the vSphere Client Home page, click Networking and navigate to the distributed switch.
- Right-click the distributed switch in the object navigator and select .
- Select the Miscellaneous check box and click Next.
- Select one or more distributed port group to configure and click Next.
- From the Block all ports drop-down menu, enable or disable port blocking, and click Next.
- 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
- 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 Ports tab. , click a distributed port group from the list, and click the
- To navigate to the uplink ports of an uplink port group, click Ports tab. , click an uplink port group from the list, and click the
- Select a port from the list.
- Click Edit distributed port settings.
- In the Miscellaneous section, select the Override check box, and from the drop-down menu enable or disable port blocking.
- Click OK.