33
•
Entering the next-level policing (you can set multiple traffic policing levels each focused on
specific objects).
Traffic shaping
Traffic shaping supports shaping the inbound traffic and 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 loss.
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
. When enough tokens are in the token
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
, Router B performs traffic policing on packets from Router A and drops
packets exceeding the limit. To avoid packet loss, you can perform traffic shaping on the outgoing
interface of Router A so packets exceeding the limit are cached in Router A. Once resources are
released, traffic shaping takes out the cached packets and sends them out.
Figure 11 GTS application
Rate limit
Rate limit supports controlling the rate of inbound traffic and outbound traffic.
The rate limit of a physical interface specifies the maximum rate for forwarding packets (including
critical packets).
Router A
Router B
Physical link