Example: Aggregate Rate Limit for All Nonvoice Traffic Hierarchical Policy Configuration
- There are four IP sessions and their corresponding interfaces are I1, I2, I3, and I4.
- Each interface corresponds to a dynamic user.
- All users can send a maximum of 1 Mbps video traffic each, but the total bandwidth for all video traffic combined is 1.5 Mbps for a specific VLAN.
- Similarly, all users can send a maximum of 5 Mbps data traffic, but the sum of all data traffic on an Ethernet port is 10 Mbps. Interfaces I1-I4 are interfaces where you can attach policies.
![]()
This example uses the following:
- Classified Video Flow. VIDEO_RATE, Committed Rate: 1 Mbps
- Peak Rate: 0 Mbps
- Committed Action: transmit conditional
- Conformed Action: drop
- Exceeded Action: drop
- Classified Data Flow. DATA_RATE, Committed Rate: 5 Mbps
- Peak Rate: 0 Mbps
- Committed Action: transmit conditional
- Conformed Action: drop
- Exceeded Action: drop
- All classified video flow policers over each VLAN interface feed into a single policer with the following configuration:
- VIDEO_AGG, Committed Rate: 1.5 Mbps
- Peak Rate: 0 Mbps
- Committed Action: transmit final
- Conformed Action: drop
- Exceeded Action: drop
- All classified data flow policers over each Ethernet port feed into a single policer with the following configuration:
- DATA_AGG, Committed Rate: 10 Mbps
- Peak Rate: 0 Mbps
- Committed Action: transmit final
- Conformed Action: drop
- Exceeded Action: drop
![]()
- Create a rate limit that can be shared across all video streams. Create an external parent group to hold this rate limit.
host1(config)#rate-limit-profile VIDEO_AGG two-rate hierarchicalhost1(config-rate-limit-profile)#committed-rate 1500000host1(config-rate-limit-profile)#committed-action transmit finalhost1(config-rate-limit-profile)#exithost1(config)#parent-group EPG1host1(config-parent-group)#rate-limit-profile VIDEO_AGGhost1(config-parent-group)#exit- Create a policy list to attach to all IP sessions.
host1(config)#rate-limit-profile VIDEO_RATE two-rate hierarchicalhost1(config-rate-limit-profile)#committed-rate 1000000host1(config-rate-limit-profile)#committed-action transmit conditionalhost1(config-rate-limit-profile)#exithost1(config)#rate-limit-profile DATA_RATE two-rate hierarchicalhost1(config-rate-limit-profile)#committed-rate 5000000host1(config-rate-limit-profile)#committed-action transmit conditionalhost1(config-rate-limit-profile)#exithost1(config)#policy-parameter A hierarchicalhost1(config-policy-parameter)#exithost1(config)#policy-parameter B hierarchicalhost1(config-policy-parameter)#exithost1(config)#ip policy-list IP_POL1host1(config-policy-list)#classifier-group VIDEO_CLACL external parent-group EPG1 parameter Ahost1(config-policy-list-classifier-group)#rate-limit-profile VIDEO_RATEhost1(config-policy-list-classifier-group)#exithost1(config-policy-list)#classifier-group * external parent-group EPG2 parameter Bhost1(config-policy-list-classifier-group)#rate-limit-profile DATA_RATEhost1(config-policy-list-classifier-group)#exithost1(config-policy-list)#exit- In all users' records in RADIUS, specify the ingress policy name IP_POL1. However, be sure to specify the policy parameter through the profile.
host1(config)#profile PPPOE_PROF1host1(config-profile)#ip policy-parameter hierarchical A vlanhost1(config-profile)#ip policy-parameter hierarchical B ethernethost1(config-profile)#exithost1(config)#interface fastEthernet 3/0.1host1(config-interface)#vlan id 1host1(config-interface)#encapsulation pppoehost1(config-interface)#profile PPPOE_PROF1host1(config-interface)#pppoe auto-configurehost1(config-interface)#exit