•
If the bandwidth command is used in the child policy, the bandwidth command must also be used in
the parent policy. The one exception is for policies using the default class.
Task ID
OperationsTask ID
read, writeqos
Examples
The following example shows how to create a hierarchical service policy in the service policy called parent:
RP/0/RP0/CPU0:router(config)# policy-map child
RP/0/RP0/CPU0:router(config-pmap)# class class1
RP/0/RP0/CPU0:router(config-pmap-c)# priority
RP/0/RP0/CPU0:router(config-pmap-c)# exit
RP/0/RP0/CPU0:router(config-pmap)# exit
RP/0/RP0/CPU0:router(config)# policy-map parent
RP/0/RP0/CPU0:router(config-pmap)# class class-default
RP/0/RP0/CPU0:router(config-pmap-c)# shape average 10000000
RP/0/RP0/CPU0:router(config-pmap-c)# service-policy child
Related Commands
DescriptionCommand
Specifies the minimum bandwidth allocated to a class belonging to
a policy map.
bandwidth (QoS), on page 4
Defines a traffic class and the associated rules that match packets
to the class.
class-map, on page 12
Creates or modifies a policy map that can be attached to one or more
interfaces to specify a service policy.
policy-map, on page 67
Assigns a priority to a class of traffic belonging to a policy map.priority (QoS), on page 69
Attaches a policy map to an input interface or output interface to be
used as the service policy for that interface.
service-policy (interface), on page 93
Cisco IOS XR Modular Quality of Service Command Reference for the Cisco CRS Router, Release 4.0
96 OL-23235-03
Quality of Service Commands on the Cisco IOS XR Software
service-policy (policy map class)