JUNOSe 11.1.x Policy Management Configuration Guide
For this example, displaying the rate-limit profile shows:
If the calculated peak burst value is less than the default peak burst size of 8 KB, the
default burst size is used. For most configurations this value is probably sufficient,
making it optional to configure the associated peak burst size.
Related Topics
Setting a One-Rate Rate-Limit Profile
You can use the rate-limit-profile one-rate command to create a rate-limit profile
and enter Rate Limit Profile Configuration mode, from which you can configure
attributes for the rate-limit profile. See Table 11 on page 87.
NOTE: The JUNOSe software includes the layer 2 headers in the calculations it uses
to enforce the rates that you specify in rate-limit profiles.
Use one of the ip, ipv6, l2tp, or mpls keywords in front of the command to specify
the type of rate-limit profile you want to create or modify. If you do not include one
of the keywords, the router creates an IP rate-limit profile by default.
For hierarchical rate limits, do not specify the interface type, but add the hierarchical
keyword at the end. The color-aware keyword is only supported on hierarchical rate
limits.
If you do not include a one-rate or two-rate keyword, the default is a two-rate
rate-limit profile. If you enter a rate-limit-profile command with the one-rate
keyword and then type exit, the router creates a rate-limit profile with the default
values listed in Table 13 on page 94.
Table 13: One-Rate Rate-Limit-Profile Defaults
94
Setting a One-Rate Rate-Limit Profile
peak burst = (8,000,000 bps x 100 ms) ÷ 8 = 100,000 bytes
peak-rate 8000000
peak-burst 100000
Issue the peak-rate command in Rate Limit Profile Configuration mode to set
the peak rate:
host1(config-rate-limit-profile)#peak-rate refRlpRate percentage 100
peak-rate
Policy Attribute
type
committed-rate
committed-burst
Default Value
one-rate
0
8192
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