13-16
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-4 shows how to configure the bottom-level child policy of a three-level hierarchy.
Remember, the bottom-level policy typically defines marking and metering actions. In this example, the
policy map named Gold-Meter defines the policing rate and actions for Business class traffic; the policy
map named Default-Meter defines the default policing rate and actions.
Example 13-4 Configuring a Bottom-Level Child Policy of a Three-Level Hierarchy
Router(config)# policy-map Gold-Meter
Router(config-pmap)# class Business
Router(config-pmap-c)# police 15000 10000 6000 conform-action transmit exceed-action
set-prec-transmit 1
Router(config-pmap-c)# exit
Router(config-pmap)# policy-map Default-Meter
Router(config-pmap)# class Business
Router(config-pmap-c)# police percent 10 1500 0 conform-action transmit exceed-action
set-prec-transmit 4
Router(config-pmap-c)# exit
Router(config-pmap)#
Configuring a Middle-Level Child Policy of a Three-Level Hierarchy
To configure a middle-level child policy, enter the following commands beginning in global
configuration mode:
Note For information about additional actions you can specify in child policies, see the “Types of QoS
Actions” section on page 3-4.
discard-class Marks a packet with the discard-class value that you specify, indicating the
drop eligibility of a packet.
dscp Marks a packet with the differentiated services code point (DSCP) you
specify.
mpls experimental
imposition
Sets the value of the MPLS experimental (EXP) field on all imposed label
entries.
ip precedence Marks a packet with the IP precedence level you specify.
qos-group Marks a packet with the QoS group identifier you specify.
Table 13-2 Traffic Marking Actions (continued)
Action Description
Command Purpose
Step 1
Router(config-pmap)# policy-map
policy-map-name
Creates or modifies a middle-level child 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-map-name
Assigns the traffic class you specify to the policy map. Enters
policy-map class configuration mode.
class-map-name is the name of a previously configured class map
and is the traffic class for which you want to define QoS actions.