JUNOSe 11.1.x Policy Management Configuration Guide
Table 12: Two-Rate Rate-Limit Profile Algorithms
Creating a Two-Rate Rate-Limit Profile
To create or modify a two-rate rate-limit profile, use the following commands with
the two-rate keyword:
88
Creating a Two-Rate Rate-Limit Profile
B = size of packet in bytes
Tp = size of peak token bucket in bytes (maximum size of this bucket is the
configured peak burst)
Tc = size of the committed token bucket in bytes (maximum size of this bucket
is the configured committed burst)
t = time
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 Tc(t) >= B
If Tp(t) >= B and Tc(t) < B
If Tp(t) < B and Tc(t) < B
If incoming packet color is (only occurs in
color-aware operation)
If Tp(t) >= B
If Tp(t) < B
If incoming packet color is red (only
occurs in color aware operation)
ip rate-limit-profile command
ipv6 rate-limit-profile command
l2tp rate-limit-profile command
mpls rate-limit-profile command
Result
–
–
Packet is marked as green
Tc(t) is decremented by B
Tp(t) is decremented by B (allow Tp(t) < 0 if
necessary)
Packet is marked as yellow
Tp(t) is decremented by B
Packet is marked as red
–
Packet is marked as yellow
Tp(t) is decremented by B
Packet is marked as red
Packet is marked as red
Need help?
Do you have a question about the POLICY MANAGEMENT - CONFIGURATION GUIDE V11.1.X and is the answer not in the manual?
Questions and answers