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
rate.
•
GTS can result in additional delay and traffic policing does not.
Figure 8 GTS
For example, in
exceeding the limit. To avoid packet loss, you can perform GTS on the outgoing interface of Router A so
that packets exceeding the limit are cached in Router A. Once resources are released, GTS takes out the
cached packets and sends them out.
Figure 9 GTS application
Router A
Rate limit
Rate limit controls the rate of inbound and outbound traffic. The outbound traffic is taken for example.
The rate limit of a physical interface specifies the maximum rate for forwarding packets (including critical
packets).
8. When enough tokens are in the token bucket, the buffered packets are sent at an even
Figure
9, Router B performs traffic policing on packets from Router A and drops packets
Router B
Physical link
37