Rate limit – H3C Technologies H3C S6300 Series Switches User Manual

Page 45

Advertising
background image

35

Forwarding the packet with its precedence re-marked if the evaluation result is "conforming."

Priorities that can be re-marked include 802.1p priority, DSCP precedence, and local precedence.

GTS

GTS supports shaping the outbound traffic. GTS limits the outbound traffic rate by buffering exceeding
traffic. You can use GTS to adapt the traffic output rate on a device to the input traffic rate of its connected

device to avoid packet loss.
The differences between traffic policing and GTS are as follows:

Packets to be dropped with traffic policing are retained in a buffer or queue with GTS, as shown
in

Figure 8

. When enough tokens are in the token bucket, the buffered packets are sent at an even

rate.

GTS can result in additional delay and traffic policing does not.

Figure 8 GTS

For example, in

Figure 9

, Device B performs traffic policing on packets from Device A and drops packets

exceeding the limit. To avoid packet loss, you can perform GTS on the outgoing interface of Device A so

that packets exceeding the limit are cached in Device A. Once resources are released, GTS takes out the

cached packets and sends them out.

Figure 9 GTS application

Rate limit

Rate limit controls the rate of inbound and outbound traffic. The outbound traffic is taken for example.

Device A

Device B

Physical link

Advertising