Configuring Modular QoS Congestion Avoidance on Cisco ASR 9000 Series Routers
How to Configure Modular QoS Congestion Avoidance on Cisco ASR 9000 Series Routers
QC-84
Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide
OL-23108-02
Step 3
class
class-name
Example:
RP/0/RSP0/CPU0:router(config-pmap)# class
class1
Enters policy map class configuration mode.
• Specifies the name of the class whose policy you want
to create or change.
Step 4
queue-limit
value
[
units
]
Example:
RP/0/RSP0/CPU0:router(config-pmap-c)#
queue-limit 1000000 bytes
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.
Step 5
class
class-name
Example:
RP/0/RSP0/CPU0:router(config-pmap)# class
class2
Specifies the name of the class whose policy you want to
create or change.
• In this example, class2 is configured.
Step 6
bandwidth {
bandwidth
[
units
] | percent
value
}
Example:
RP/0/RSP0/CPU0:router(config-pmap-c)# bandwidth
percent 30
(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.
Step 7
exit
Example:
RP/0/RSP0/CPU0:router(config-pmap-c)# exit
Returns the router to policy map configuration mode.
Step 8
exit
Example:
RP/0/RSP0/CPU0:router(config-pmap)# exit
Returns the router to global configuration mode.
Step 9
interface
type
interface-path-id
Example:
RP/0/RSP0/CPU0:router(config)# interface pos
0/2/0/0
Enters configuration mode, and configures an interface.
Step 10
service-policy {input | output}
policy-map
Example:
RP/0/RSP0/CPU0:router(config-if)#
service-policy output policy1
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.
Command or Action Purpose