Configure the Traffic Shaping Policy

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.

Prerequisites

Verify that you are connected to a vCenter Server system.

Procedure

  1. Get the current traffic shaping policy of the port group.
    $policy = Get-VDTrafficShapingPolicy -Direction In -VDPortGroup $myVDPortGroup
  2. Set the peak bandwidth to 100 Mbps.
    Set-VDTrafficShapingPolicy -Policy $policy -PeakBandwidth 104857600