Configuring Hierarchical Modular QoS on Cisco ASR 9000 Series Routers
How to Configure Hierarchical QoS
QC-136
Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide
OL-23108-02
Step 4
bandwidth {
rate
 [
units
] | percent 
percentage-value
} 
or
bandwidth remaining [percent 
percentage-value
 | ratio 
ratio-value
] 
or
shape average {percent 
percentage
 | 
rate
 
[
units
]}
Example:
RP/0/RSP0/CPU0:router(config-pmap-c)# 
bandwidth percent 30
or
RP/0/RSP0/CPU0:router(config-pmap-c)# 
bandwidth remaining percent 80
or
RP/0/RSP0/CPU0:router(config-pmap-c)# shape 
average percent 50
Specifies the minimum bandwidth allocated to a 
class as a percentage of link bandwidth.
Specifies how to allocate excess bandwidth to a 
class.
Specifies maximum bandwidth as a percentage of 
link bandwidth (when other classes are not using 
all of their bandwidth share).
Note You must configure at least one of the 
three parameters.
Step 5
exit
Example:
RP/0/RSP0/CPU0:router(config-pmap-c)# exit
Exits policy map class configuration mode.
Step 6
policy-map 
policy-name
Example:
RP/0/RSP0/CPU0:router(config-pmap)# 
policy-map Top-Parent
Creates or modifies the top-level policy.
Step 7
class class-default
Example:
RP/0/RSP0/CPU0:router(config-pmap)# class 
class-default
Configures or modifies the parent class-default 
class.
Note You can configure only the class-default 
class in a parent policy. Do not configure 
any other traffic class.
Step 8
shape average {percent 
percentage
 | 
rate
 
[
units
]}
Example:
RP/0/RSP0/CPU0:router(config-pmap-c)# shape 
average 1 mbps
(Optional) Shapes traffic to the indicated bit rate.
Command or Action Purpose