How to Configure Modular QoS Congestion Avoidance on Cisco IOS XR Software
DETAILED STEPS
Command or Action
Step 1
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
policy-map policy-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
queue-limit value [ units ]
Example:
RP/0/RSP0/CPU0:router(config-pmap-c)#
queue-limit 1000000 bytes
Step 5
priority
Example:
RP/0/RSP0/CPU0:router(config-pmap-c)# priority
Step 6
class class-name
Example:
RP/0/RSP0/CPU0:router(config-pmap)# class
class2
Step 7
bandwidth { bandwidth [ units ] | percent value }
Example:
RP/0/RSP0/CPU0:router(config-pmap-c)# bandwidth
percent 30
Step 8
exit
Example:
RP/0/RSP0/CPU0:router(config-pmap-c)# exit
Step 9
exit
Example:
RP/0/RSP0/CPU0:router(config-pmap)# exit
Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide
QC-74
Configuring Modular QoS Congestion Avoidance on Cisco ASR 9000 Series Routers
D r a f t — C i s c o C o n f i d e n t i a l
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.
Specifies or modifies the maximum the queue can hold for
a class policy configured in a policy map. The default value
of the units argument is packets.
In this example, when the queue limit reaches
•
1,000,000 bytes, enqueued packets to the class queue
are dropped.
Specifies priority to a class of traffic belonging to a policy
map.
Specifies the name of the class whose policy you want to
create or change.
In this example, class2 is configured.
•
(Optional) Specifies the bandwidth allocated for a class
belonging to a policy map.
This example guarantees 30 percent of the interface
•
bandwidth to class class1.
Returns the router to policy map configuration mode.
Returns the router to global configuration mode.
OL-17239-01