Figure 18 shows the following example:
This example uses the following:
All classified video flow policers over each PPP interface feed into a single policer with the following configuration:
Figure 18: Interface Stack for Hierarchical Policy Configuration

- 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
- 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
- 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
- host(config-policy-list)#exit
- host(config)#profile PPPOE_PROF1
- host(config-profile)#ip policy-parameter hierarchical
P1_PPP ppp-interface
- host(config-profile)#ip policy input IP_POL1
sta enabled merge
- host(config-profile)#ipv6 policy-parameter
hierarchical P1_PPP ppp-interface
- host(config-profile)#ipv6 policy input IP_POL2
sta enabled merge
- host(config-profile)#exit
- host(config)#profile PPPOE_PROF2
- host(config-profile)#ip policy-parameter hierarchical
P1_PPP ppp-interface
- host(config-profile)#ip policy input IP_POL1
sta enabled merge
- host(config-profile)#ipv6 policy-parameter
hierarchical P1_PPP ppp-interface
- host(config-profile)#ipv6 policy input IP_POL2
sta enabled merge
- host(config-profile)#ip policy-parameter reference-rate
sessionRlpRate 5000000
- host(config-profile)#ipv6 policy-parameter
reference-rate sessionRlpRate 5000000
- host(config-profile)#exit
- host(config)#interface gig 2/1/0.1
- host(config-interface)#vlan id 1
- host(config-interface)#encapsulation pppoe
- host(config)#interface gig 2/1/0.1.1
- host(config-interface)#encapsulation ppp
- host(config-interface)#profile PPPOE_PROF1
- host(config)#interface gig 2/1/0.1.2
- host(config-interface)#encapsulation ppp
- host(config-interface)#profile PPPOE_PROF2
- host(config-interface)#exit
![]() |
Note: You can optionally specify an aggregation node for a policy parameter during its definition in Global Configuration mode. This example configures parameters at the interface level. However, you can also configure these same settings at the global level, without defining them at the interface or profile level. This feature supports both these methods of configurations. |