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 might also be configured to temporarily allow bursts of traffic to flow through the port at higher speeds.

Before you begin

Enable the port-level override option for this policy. See Edit Advanced Distributed Port Group Settings with the vSphere Web Client.

About this task

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

Procedure

  1. Browse to a distributed switch in the vSphere Web Client.
  2. To navigate to the distributed ports of the distributed switch, click Manage > Ports.
  3. Select a port from the list.
  4. Click Edit distributed port settings.
  5. Click Traffic shaping, and select the Override check box to override ingress traffic shaping, egress traffic shaping, or both.
    Note:

    The traffic is classified to ingress and egress according to the traffic direction in the switch, not in the host.

    Option

    Description

    Status

    If you enable either Ingress Traffic Shaping or Egress Traffic Shaping by using the Status drop-down menus, you are setting limits on the amount of networking bandwidth allocated for each VMkernel adapter or virtual network adapter associated with this particular port group. If you disable the policy, services have a free, clear connection to the physical network by default.

    Average Bandwidth

    Establishes the number of bits per second to allow across a port, averaged over time, that is, the allowed average load.

    Peak Bandwidth

    The maximum number of bits per second to allow across a port when it is sending or receiving a burst of traffic. This parameter tops the bandwidth used by a port whenever it is using its burst bonus.

    Burst Size

    The maximum number of bytes to allow in a burst. If this parameter is set, a port might 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.

  6. Review your settings in the Ready to complete section and click Finish.

    Use the Back button to edit any settings.