How to Configure Modular QoS Congestion Avoidance on Cisco ASR 9000 Series Routers
Command or Action
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
class class-name
Example:
RP/0/RSP0/CPU0:router(config-pmap)# class
class2
Step 6
bandwidth { bandwidth [ units ] | percent value }
Example:
RP/0/RSP0/CPU0:router(config-pmap-c)# bandwidth
percent 30
Step 7
exit
Example:
RP/0/RSP0/CPU0:router(config-pmap-c)# exit
Step 8
exit
Example:
RP/0/RSP0/CPU0:router(config-pmap)# exit
Step 9
interface type interface-path-id
Example:
RP/0/RSP0/CPU0:router(config)# interface pos
0/2/0/0
Step 10
service-policy {input | output} policy-map
Example:
RP/0/RSP0/CPU0:router(config-if)#
service-policy output policy1
Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide
QC-84
Configuring Modular QoS Congestion Avoidance on Cisco ASR 9000 Series Routers
Purpose
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 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 class2.
Returns the router to policy map configuration mode.
Returns the router to global configuration mode.
Enters configuration mode, and configures an interface.
Attaches a policy map to an input or output interface to be
used as the service policy for that interface.
In this example, the traffic policy evaluates all traffic
•
leaving that interface.
OL-23108-02