ESXi allows you to shape both inbound and outbound traffic on vSphere distributed switches. The traffic shaper restricts the network bandwidth available to a port, but may also be configured to temporarily allow “bursts” of traffic to flow through the port at higher speeds.

A traffic shaping policy is defined by three characteristics: average bandwidth, peak bandwidth, and burst size.

To override the traffic shaping policy at the port level, enable the port-level overrides. See Edit Advanced Distributed Port Group Settings.

1

Log in to the vSphere Client and select the Networking inventory view.

2

Select the vSphere distributed switch in the inventory pane.

3

On the Ports tab, right-click the port to modify and select Edit Settings.

4

Click Policies and select Traffic shaping.

When the traffic shaping policy on the port is disabled, the configurable features are dimmed.

5

From the Status drop-down menu for either Inbound Traffic Shaping or Outbound Traffic Shaping, select Override and enable or disable the traffic shaping policy on the port.

Note

The traffic is classified to inbound and outbound according to the traffic direction in the distributed switch, not in the host.

If you enable the policy exception you are setting limits on the amount of networking bandwidth allocated for each virtual adapter associated with this particular port.

If you disable the policy, services have a free, clear connection to the physical network by default.

6

If you have enabled traffic shaping for inbound and outbound traffic, configure network traffic parameters of inbound and outbound traffic.

Average Bandwidth establishes the number of bits per second to allow through a port, averaged over time, that is, the allowed average load.

Peak Bandwidth is the maximum number of bits per second to allow through a port when it is sending/receiving a burst of traffic. This tops the bandwidth used by a port whenever it is using its burst bonus.

Burst Size is the maximum number of bytes to allow in a burst. If this parameter is set, a port may gain a burst bonus when it does not use all its allocated bandwidth. Whenever the port needs more bandwidth than specified by Average Bandwidth, it might be allowed to temporarily transmit data at a higher speed if a burst bonus is available. This parameter tops the number of bytes that might be accumulated in the burst bonus and transferred at a higher speed.

7

Click OK.