![Cisco 10000 Series Configuration Manual Download Page 424](http://html.mh-extra.com/html/cisco/10000-series/10000-series_configuration-manual_66373424.webp)
13-18
Cisco 10000 Series Router Quality of Service Configuration Guide
OL-7433-09
Chapter 13 Defining QoS for Multiple Policy Levels
Configuring QoS for Multiple Queues
Example 13-5 Configuring a Middle-Level Child Policy of a Three-Level Hierarchy
Router(config-pmap)#
policy-map Southwest
Router(config-pmap)#
class Premium
Router(config-pmap-c)#
priority
Router(config-pmap-c)#
police percent 50
Router(config-pmap-c)#
class Gold
Router(config-pmap-c)#
random-detect prec-based
Router(config-pmap-c)#
random-detect precedence 2 3
Router(config-pmap-c)#
service-policy Gold-Meter
Router(config-pmap-c)#
class class-default
Router(config-pmap-c)#
random-detect prec-based
Router(config-pmap-c)#
random-detect precedence 1
Router(config-pmap-c)#
service-policy Default-Meter
Router(config-pmap-c)#
exit
Router(config-pmap)#
Configuring the Top-Level Parent Policy of a Three-Level Hierarchy
To configure a top-level parent policy, enter the following commands beginning in global configuration
mode:
Note
In a top-level parent policy, define only the class-default class and specify the
shape
command and then
the
service-policy
command in the class configuration. Do not specify any other commands.
Command
Purpose
Step 1
Router(config-pmap)#
policy-map
policy-map-name
Creates or modifies a top-level parent policy map.
policy-map-name
is the name of the policy map. The name can be
a maximum of 40 alphanumeric characters.
Step 2
Router(config-pmap)#
class
class-default
Configures or modifies the class-default class.
Step 3
Router(config-pmap-c)#
shape
kbps-value
Shapes traffic to the indicated bit rate.
kbps-value
is the bit-rate (in kilobits per second) used to shape the
traffic.
Step 4
Router(config-pmap-c)#
service-policy
policy-map-name
Applies the middle-level child policy map to the parent
class-default class. Do not specify an
input
or
output
keyword.
policy-map-name
is the name of a previously configured
middle-level child policy map.