Traffic shaping shapes the outbound traffic.
Traffic shaping limits the outbound traffic rate by buffering exceeding traffic. You can use traffic shaping
to adapt the traffic output rate on a device to the input traffic rate of its connected device to avoid packet
The difference between traffic policing and GTS is that packets to be dropped with traffic policing are
retained in a buffer or queue with GTS, as shown in
bucket, the buffered packets are sent at an even rate. Traffic shaping can result in additional delay and
traffic policing does not.
Figure 10 GTS
For example, in
exceeding the limit. To avoid packet loss, you can perform traffic shaping on the outgoing interface of
Device A so packets exceeding the limit are cached in Device A. Once resources are released, traffic
shaping takes out the cached packets and sends them out.
Figure 11 GTS application
Line rate supports rate-limiting the inbound traffic and the outbound traffic.
1, Device B performs traffic policing on packets from Device A and drops packets
10. When enough tokens are in the token