Set the maximum number of ports on a host to limit the number of distributed ports that can exist on one or more hosts associated with a vSphere distributed switch.


  1. Log in to the vCenter Server system using the vSphere Client.
  2. Select the host to modify in the inventory pane.
  3. On the host Configuration tab, click Networking.
  4. Select the vSphere Distributed Switch view.
  5. Click Properties next to the vSphere distributed switch to modify.
  6. Select the maximum number of ports from the drop-down menu, and click OK.

What to do next

If you are changing the maximum number of ports for a host after the host is added to the distributed switch, you must restart the host before the new maximum takes effect.