18-28
Cisco 10000 Series Router Quality of Service Configuration Guide
OL-7433-09
Chapter 18 Regulating and Shaping Subscriber Traffic
Shaping and Queuing Per-Session Traffic on LNS
Configuration Example for Configuring a Per Session Shaping and Queuing on LNS Policy
Example 18-9
shows how to configure a per session shaping and queuing on LNS policy. In this example,
the router uses 20 overhead bytes and ATM cell tax in calculating ATM overhead.
The child and parent
policies contain the required matching offset values. The parent policy is attached to virtual template 1.
Example 18-9 Configuring Per Session Shaping and Queuing on LNS Policy on the Router
policy-map child
class class1
bandwidth 500 account user-defined 20 atm
class class2
shape average 30000 account user-defined 20 atm
policy-map parent
class class-default
shape average 30000 account user-defined 20 atm
service-policy child
interface virtual-template 1
service-policy output parent
Verifying Per Session Shaping and Queuing on LNS Policies
To display the configuration of per session shaping and queuing on LNS policies, enter the following
commands in privileged EXEC mode:
Verification Examples for Per Session Shaping and Queuing on LNS Policies
Example 18-10
shows sample output for the
show policy-map
command. In the example, the router uses
20 overhead bytes in calculating ATM overhead.
Example 18-10 Sample Output—show policy-map Command
Router#
show policy-map child
Policy Map child
Class Class1
Average Rate Traffic Shaping
cir 20% account user-defined 20
Example 18-11
shows sample output for the
show running-config
command. In the example, the output
modifier starts the display at the Parent policy map line.
Example 18-11 Sample Output—show running-config Command
Router#
show running-config | begin Parent
Policy Map Parent
class class1
Command
Purpose
Router#
show policy-map
[
policy-map
]
Displays the configuration of all classes for a specified service
policy map or all classes for all existing policy maps.
policy-map
specifies the name of the policy map.
Router#
show running-config
Displays the running configuration on the router. The output
shows the configuration of the policy maps.