Two-Rate Rate-Limits Overview
Copyright © 2010, Juniper Networks, Inc.
t = time
T(t) = number of tokens in token bucket at time t
Table 10: TCP-Friendly One-Rate Rate-Limit Profile Algorithms
Step
If not color aware, use green as the
incoming packet color, otherwise use the
actual packet color
If incoming packet color is green
If T(t) > = B
If T(t) < B and CD is incremented by
B – T(t)
If CD < Extended Burst and T(t) < B
If CD > = Extended Burst B and T(t) < B
If incoming packet color is (only occurs in
color-aware operation)
If T(t) < B and CD is incremented
by B– T(t)
If CD < Extended Burst
If CD >= Extended Burst
If incoming packet color is (only occurs in
color-aware operation)
The two-rate rate limiter enables you to build tiered rate-limit services and to specify
different treatments for packets at different rates.
Token buckets control how many packets per second are accepted at each of the
configured rates and provide flexibility in dealing with the bursty nature of data traffic.
At the beginning of each sample period, the two buckets are filled with tokens based on
the configured burst sizes and rates. Traffic is metered to measure its volume. When
traffic is received, if tokens remain in both buckets, one token is removed from each
Chapter 5: Creating Rate-Limit Profiles
Result
–
–
Packet is colored
T(t) is decremented by B
–
Packet is colored
T(t) is decremented by B (allow T(t) < 0, if
necessary)
Packet is colored
CD is reset to 0
–
–
Packet is colored yellow
T(t) is decremented by B (allow T(t) < 0, if
necessary)
Packet is colored
CD is reset to 0
Packet is colored red
81
Need help?
Do you have a question about the JUNOSE SOFTWARE FOR E SERIES 11.3.X - POLICY MANAGEMENT CONFIGURATION GUIDE 2010-10-04 and is the answer not in the manual?
Questions and answers