You can modify the traffic shaping policy of a port group to limit the bandwidth of the incoming traffic and ensure that enough bandwidth is available for other port groups on the same vSphere distributed switch.

Verify that you are connected to a vCenter Server system.


Get the current traffic shaping policy of the port group.

$policy = Get-VDTrafficShapingPolicy -Direction In -VDPortGroup $myVDPortGroup

Set the peak bandwidth to 100 Mbps.

Set-VDTrafficShapingPolicy -Policy $policy -PeakBandwidth 104857600