Example: Percentage-Based Hierarchical Rate-Limit Profile For External Parent Group - Juniper POLICY MANAGEMENT - CONFIGURATION GUIDE V11.1.X Configuration Manual

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

Advertisement

JUNOSe 11.1.x Policy Management Configuration Guide
4.
Example: Percentage-Based Hierarchical Rate-Limit Profile for External Parent
Group
The following example creates rate-limit profiles with rate based on percentage and
burst in milliseconds. You can create a policy using these rate-limit profiles and attach
them to different interfaces using different parameter values.
1.
2.
3.
4.
152

Example: Percentage-Based Hierarchical Rate-Limit Profile for External Parent Group

host1(config-policy-list-classifier-group)#exit
host1(config-policy-list)#exit
Attach IP_POL to each IP session. Specify the same ID for parameter A, but a
different ID for parameter B.
host1(config)#interface fastEthernet 3/0.1
host1(config-interface)#vlan id 1
host1(config-interface)#exit
host1(config)#interface ip 3/0.1.1
host1(config-interface)#ip policy-parameter hierarchical A vlan
host1(config-interface)#ip policy-parameter hierarchical B forwarding
host1(config-interface)#ip policy input IP_POL statistics enable
host1(config-interface)#exit
host1(config)#interface ip 3/0.1.2
host1(config-interface)#ip policy-parameter hierarchical A vlan
host1(config-interface)#ip policy-parameter hierarchical B forwarding
host1(config-interface)#ip policy input IP_POL statistics enable
host1(config-interface)#exit
Create a policy parameter refRlpRate.
host1(config)#policy-parameter refRlpRate reference-rate
host1(config-policy-parameter)#reference-rate 100000
host1(config-policy-parameter)#exit
Create a hierarchical rate-limit profile rlpData.
host1(config)#rate-limit-profile rlpData hierarchical
host1(config-rate-limit-profile)#committed-rate refRlpRate percentage 10
host1(config-rate-limit-profile)#peak-rate refRlpRate percentage 100
host1(config-rate-limit-profile)#exit
Associate this hierarchical rate-limit profile with the external parent group.
host1(config)#parent-group epg1
host1(config-parent-group)#rate-limit-profile rlpData
host1(config-parent-group)#exit
Create a hierarchical policy parameter.
host1(config)#policy-parameter A hierarchical
host1(config-policy-parameter)#aggregation-node forwarding
host1(config-policy-parameter)#exit

Advertisement

Table of Contents
loading

This manual is also suitable for:

E series

Table of Contents