JUNOSe 11.1.x Policy Management Configuration Guide
2.
3.
4.
5.
156
Example: PPP Interfaces Hierarchical Policy Configuration
host1(config)#policy-parameter P1_PPP hierarchical
host1(config-policy-parameter)#exit
Create a reference rate parameter to be used in external parent groups associated
with PPP sessions.
host1(config)#policy-parameter sessionRlpRate reference-rate
host1(config-policy-parameter)#reference-rate 3000000
host1(config-policy-parameter)#exit
Create an aggregate session rate-limit (using reference-rate) that can be shared
between IPv4 and IPv6 interfaces of each PPP session. Create an external parent
group to hold this rate-limit.
host(config)#rate-limit-profile SESSION_AGG two-rate hierarchical
host(config-rate-limit-profile)#committed-rate sessionRlpRate percent 100
host(config-rate-limit-profile)#committed-action transmit conditional
host(config-rate-limit-profile)#exit
host(config)#parent-group EPG_SESSION
host(config-parent-group)#rate-limit-profile SESSION_AGG
host(config-parent-group)#exit
Create an aggregate video rate-limit that can be shared between IPv4 and IPv6
interfaces of each PPP session. Create an external parent group to hold this
rate-limit.
host(config)#rate-limit-profile VIDEO_AGG two-rate hierarchical
host(config-rate-limit-profile)#committed-rate 1000000
host(config-rate-limit-profile)#committed-action transmit unconditional
host(config-rate-limit-profile)#exit
host(config)#parent-group EPG_VIDEO
host1(config-parent-group)#next-parent EPG_SESSION parameter P1_PPP
host(config-parent-group)#rate-limit-profile VIDEO_AGG
host(config-parent-group)#exit
Create IPv4/ IPv6 policy-lists to be attached to all PPP sessions.
host(config)#ip policy-list IP_POL1
host(config-policy-list)#classifier-group VIDEO_CLACL_V4 external parent-group
EPG_VIDEO parameter P1_PPP
host(config-policy-list-classifier-group)#forward
host(config-policy-list-classifier-group)#exit
host(config-policy-list)#classifier-group * external parent-group EPG_SESSION
parameter P1_PPP
host(config-policy-list-classifier-group)#forward
host(config-policy-list-classifier-group)#exit
host(config-policy-list)#exit
host(config)#ipv6 policy-list IP_POL2
host(config-policy-list)#classifier-group VIDEO_CLACL_V6 external parent-group
EPG_VIDEO parameter P1_PPP
host(config-policy-list-classifier-group)#forward
host(config-policy-list-classifier-group)#exit
host(config-policy-list)#classifier-group * external parent-group EPG_SESSION
parameter P1_PPP
host(config-policy-list-classifier-group)#forward
host(config-policy-list-classifier-group)#exit
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