34
Rate limit also uses token buckets for traffic control. With rate limit configured on an interface, all
packets to be sent through the interface are handled by the token bucket for rate limiting. If enough
tokens are in the token bucket, packets can be forwarded. Otherwise, packets are put into QoS
queues for congestion management. In this way, the traffic passing the physical interface is
controlled.
Figure 12 Rate limit implementation
The token bucket mechanism limits traffic rate when accommodating bursts. It allows bursty traffic to
be transmitted if enough tokens are available. If tokens are scarce, packets cannot be transmitted
until efficient tokens are generated in the token bucket. It restricts the traffic rate to the rate for
generating tokens.
Rate limit controls the total rate of all packets on a physical interface. It is easier to use than traffic
policing in controlling the total traffic rate on a physical interface.
Configuration task list
Task Remarks
Configuring traffic policing by using the policy approach
Configuring
traffic
policing by
using the
non-policy
approach
Configuring CAR-list-based traffic policing
Configuring ACL-based traffic policing
Configuring traffic policing for all traffic
Configuring GTS by using the policy approach
Configuring
GTS by
using the
non-policy
approach
Configuring GTS for all traffic