Setting The Committed Action For A Rate-Limit Profile - Juniper POLICY MANAGEMENT - CONFIGURATION GUIDE V11.1.X Configuration Manual

Junose software for broadband services routers policy management configuration guide
Table of Contents

Advertisement

The following example creates a rate-limit profile named hardlimit9Mb. This rate-limit
profile, when included as part of a rule in a policy list, sets a hard limit on the specified
committed rate with no peak rate or peak burst ability:
The following example modifies the rate-limit profile named hardlimit9Mb to include
an exceeded action that marks the packets that exceed the peak rate. This marking
action sets the DS field in the ToS byte (the six most significant bits) to the decimal
value of 7 using a mask value of 0xFC:
To set IP precedence in the ToS byte, use the mask value of 0xE0, for visibility into
the three most significant bits.
Related Topics

Setting the Committed Action for a Rate-Limit Profile

You can use the committed-action command to set the committed action for a
rate-limit profile. Packets are colored green. For IP and IPv6 rate-limit profiles, mark
the packet by setting the ToS byte (IP) or traffic class field (IPv6) to the specified 8-bit
value, and transmit the packet. The mark value is masked with the default 255 unless
it is overridden by the mask-val command to specify a different mask; not supported
on hierarchical rate limits. For MPLS rate-limit profiles, set the EXP bits of MPLS
packets to the specified value in the range 0–7, and transmit the packet. The mark
EXP value is masked with the default 7 unless you use the exp-mask command to
specify a different mask; not supported on hierarchical rate limits.The no version
restores the default value, transmit
NOTE: If a rate-limit rule and a mark or mark-exp rule have the same classifier, the
marking set by a rate-limit rule takes precedence when packets are processed by
that classifier. The rate-limit rule marking overwrites any marking set by the mark
rule (to the ToS byte) or by the mark-exp rule (to the EXP bits). These actions do not
apply to hierarchical rate limits.
To configure the committed action, enter Rate Limit Profile Configuration mode.
host1(config)#ip rate-limit-profile hardlimit9Mb two-rate
host1(config-rate-limit-profile)#committed-rate 9000000
host1(config-rate-limit-profile)#committed-burst 20000
host1(config-rate-limit-profile)#committed-action transmit
host1(config-rate-limit-profile)#conformed-action drop
host1(config-rate-limit-profile)#exceeded-action drop
host1(config-rate-limit-profile)#mask-val 255
host1(config)#ip rate-limit-profile hardlimit9Mb two-rate
host1(config-rate-limit-profile)#exceeded-action mark 7
host1(config-rate-limit-profile)#mask-val 252
Rate Limits for Interfaces Overview on page 62
Monitoring Policy Management Overview on page 181
Issue the committed-action command:
Chapter 5: Creating Rate-Limit Profiles
Setting the Committed Action for a Rate-Limit Profile
89

Advertisement

Table of Contents
loading

This manual is also suitable for:

E series

Table of Contents