How to Configure Modular QoS Congestion Avoidance on Cisco IOS XR Software
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
DETAILED STEPS
Command or Action
Step 1
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
policy-map policy-map-name
Example:
RP/0/RSP0/CPU0:router(config)# policy-map
policy1
Step 3
class class-name
Example:
RP/0/RSP0/CPU0:router(config-pmap)# class
class1
Step 4
random-detect [ default ]
Example:
RP/0/RSP0/CPU0:router(config-pmap-c)#
random-detect
Step 5
bandwidth { bandwidth [ units ] | percent value }
Example:
RP/0/RSP0/CPU0:router(config-pmap-c)# bandwidth
percent 30
Step 6
bandwidth remaining percent value
Example:
RP/0/RSP0/CPU0:router(config-pmap-c)# bandwidth
remaining percent 20
Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide
QC-68
D r a f t — C i s c o C o n f i d e n t i a l
class class-name
random-detect [default]
bandwidth {bandwidth [units] | percent value}
bandwidth remaining percent value
shape average {percent percentage | value [units]}
exit
exit
interface type instance
service-policy {input | output} policy-map
end
or
commit
Configuring Modular QoS Congestion Avoidance on Cisco ASR 9000 Series Routers
Purpose
Enters global configuration mode.
Enters policy map configuration mode.
Creates or modifies a policy map that can be attached to
•
one or more interfaces to specify a service policy.
Enters policy map class configuration mode.
Specifies the name of the class whose policy you want
•
to create or change.
Enables RED with minimum and maximum thresholds.
(Optional) Specifies the bandwidth allocated for a class
belonging to a policy map.
(Optional) Specifies how to allocate leftover bandwidth to
various classes.
OL-17239-01