You can shape both inbound and outbound traffic on vSphere distributed port groups or distributed ports. The traffic shaper restricts the network bandwidth for any port in the group, but might also be configured to temporarily allow “bursts” of traffic to flow through a port at higher speeds.

The traffic shaping policies that you set at distributed port group level are applied on each individual port that participates in the port group. For example, if you set an average bandwidth of 100000 Kbps on a distributed port group, 100000 Kbps averaged over time can pass through each port that is associated with the distributed port group.

To override a policy on distributed port level, enable the port-level override option for this policy. See Configure Overriding Networking Policies on Port Level.

1

In the vSphere Web Client, navigate to the distributed switch.

2

Navigate to the Traffic Shaping policy for the distributed port group or port.

Option

Action

Distributed port group

a

From the Actions menu, select Distributed Port Group > Manage Distributed Port Groups.

b

Select Traffic shaping.

c

Select the port group and click Next.

Distributed port

a

Select Related Object, and select Distributed Port Groups.

b

Select a distributed port group.

c

Under Manage select Ports.

d

Select a port and click Edit distributed port settings.

e

Select Traffic shaping.

f

Select Override next to the properties to override.

3

Configure traffic shaping policies.

Note

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

Option

Description

Status

Enable either Ingress Traffic Shaping or Egress Traffic Shaping by using the Status drop-down menus.

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/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 the average bandwidth specifies, the port can temporarily transmit data at a higher speed if a burst bonus is available. This parameter tops the number of bytes that might accumulate in the burst bonus and be transferred at a higher speed.

4

Review your settings and apply the configuration.