R2511-HP MSR Router Series ACL and QoS Configuration Guide(V5)
36
Rate limit also uses token buckets for traffic control. When rate limit is configured on an interface, are a
token bucket handles all packets to be sent through the interface 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 10 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
Configuring traffic policing in policy approach
Configuring traffic policing in
non-policy approach
Configuring CAR-list-based traffic policing
Configuring ACL-based traffic policing
Configuring traffic policing for all traffic
Configuring GTS
Configuring GTS in policy approach
Configuring GTS in
non-policy approach
Configuring ACL-based GTS
Configuring GTS for all traffic
Configuring the rate limit
Configuring traffic policing
Configure traffic policing in either policy approach or non-policy approach.
If traffic policing is configured in both the policy approach and non-policy approach, the configuration
in policy approach takes effect.










