17-61
Cisco 10000 Series Router Quality of Service Configuration Guide
OL-7433-09
Chapter 17 Configuring Dynamic Subscriber Services
Queuing PPP Sessions on ATM VCs
Example of Configuring PPP Session Queuing on ATM VCs
The following example shows how to configure PPPoA or PPPoEoA session queuing. In the example, a
hierarchical QoS policy named pm_hier2_0_2 is associated with Virtual-Template555, which is applied
to the broadband aggregation group named pppoeoa-group.
Example 17-30 Configuring PPP Session Queuing on ATM VCs
bba-group pppoe pppoeoa-group
Virtual-Template 555
!
policy-map pm_hier2_child_0_2
class cm_0
priority level 1
police percent 5 2 ms 0 ms conform-action transmit exceed-action drop
violate-action drop
queue-limit 77 packets
class cm_1
shape average percent 80
bandwidth remaining ratio 80
class class-default
shape average percent 50
bandwidth remaining ratio 20
policy-map pm_hier2_0_2
class class-default
shape average percent 100
bandwidth remaining ratio 100
service-policy pm_hier_child_0_2
interface ATM2/0/7.5555 point-to-point
pvc 1/5555
vbr-nrt 4000 2000 50
no dbs enable
encapsulation aal5snap
protocol pppoe group pppoeoa-group
!
!
interface Virtual-Template555
ip unnumbered Loopback5555
no logging event link-status
peer default ip address pool pool-1
ppp authentication chap
service-policy output pm_hier2_0_2
Example of Configuring and Applying an Hierarchical Policy Map
Example 17-31
shows how to configure a hierarchical policy and apply it to a virtual template. The
example contains a child policy map named child1 with QoS features defined for the gold and bronze
traffic classes. The child1 policy is applied to the parent policy map, which is shaped to 512000 bps. The
hierarchical policy is applied to the virtual template named virtual-template 1.
Example 17-31 Configuring an Hierarchical Policy Map
Router(config)# policy-map child1
Router(config-pmap)# class gold
Router(config-pmap-c)# priority
Router(config-pmap-c)# police percent 40
Router(config-pmap-c)# class bronze