Policy Parameter Quick Configuration; Creating Rate-Limit Profiles - Juniper POLICY MANAGEMENT - CONFIGURATION GUIDE V11.1.X Configuration Manual

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

Advertisement

Policy Parameter Quick Configuration

To configure policing, use the following steps:
1.
2.
3.
4.

Creating Rate-Limit Profiles

Create rate-limit profiles with a rate based on percentage and a burst in milliseconds.
The system creates a policy using these rate-limit profiles and then attaches them
to different interfaces using different parameter values.
1.
2.
If you modify a policy parameter value in Global Configuration mode, it affects
all policies attached to all interfaces that use the global values. For example, if
parameter param1 is used in policies attached to two interfaces, but param1 is
only configured for interface i1, when you modify the default value for param1
in Global Configuration mode, it affects only the attachment on the second
interface i2.
You can specify a rate within a rate-limit profile as a percentage of the parameter
and burst size in milliseconds. You can use this rate-limit profile in a policy. You
can assign values to these parameters for an interface. The actual rate and burst
size are calculated at the time of attachment. You can attach the same policy to
multiple interfaces with different parameter values.
A hierarchical rate-limit profile that contains percentage-based parameters can
be used in an external parent-group and the global default values can be changed
for each external parent group instance. The following restrictions apply:
When you attach policies that reference such same external parent group
instances to each interface, you must specify the same reference-rate
policy-parameter value.
You cannot change the reference-rate policy-parameter values at interface
level when a policy attachment to the interface exists.
Configure a policy parameter in Global Configuration mode.
Assign the parameter type and global default value to a parameter.
Use this policy parameter in policy objects, create a generic policy, and attach
it to multiple interfaces.
Adjust the policy parameter value for a specific interface by configuring it in
Interface Configuration mode for any interface.
Create policy parameter refRlpRate.
host1(config)#policy-parameter refRlpRate reference-rate
host1(config-policy-param-reference-rate)#reference-rate 100000
host1(config-policy-param-reference-rate)#exit
Create rate-limit profile rlpData.
host1(config)#ip rate-limit-profile rlpData
host1(config-rate-limit-profile)#committed-rate refRlpRate percentage 10
host1(config-rate-limit-profile)#committed-burst millisecond 100
Chapter 5: Creating Rate-Limit Profiles
Policy Parameter Quick Configuration
77

Advertisement

Table of Contents
loading

This manual is also suitable for:

E series

Table of Contents