Configuring Modular QoS Congestion Avoidance
Command or Action
Step 5
bandwidth {bandwidth [units] | percent value}
or bandwidth remaining [percent value | ratio
ratio-value]
Example:
RP/0/RSP0/CPU0:router(config-pmap-c)#
bandwidth percent 30
or
RP/0/RSP0/CPU0:router(config-pmap-c)#
bandwidth remaining percent 20
Step 6
bandwidth {bandwidth [units] | percent value}
Example:
RP/0/RSP0/CPU0:router(config-pmap-c)#
bandwidth percent 30
Step 7
bandwidth remaining percent value
Example:
RP/0/RSP0/CPU0:router(config-pmap-c)#
bandwidth remaining percent 20
Step 8
shape average {percent percentage | value
[units]}
Example:
RP/0/RSP0/CPU0:router(config-pmap-c)#
shape average percent 50
Step 9
queue-limit value [units]
Example:
RP/0/RSP0/CPU0:router(config-pmap-c)#
queue-limit 50 ms
Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide, Release 6.1.x
Configuring Weighted Random Early Detection
Purpose
• units—Units of the threshold value. This can be bytes, gbytes,
kbytes, mbytes, ms (milliseconds), packets, or us
(microseconds). The default is packets.
• This example shows that for packets with DSCP AF11, the
WRED minimum threshold is 1,000,000 bytes and maximum
threshold is 2,000,000 bytes.
(Optional) Specifies the bandwidth allocated for a class belonging to
a policy map.
or
(Optional) Specifies how to allocate leftover bandwidth to various
classes.
(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.
(Optional) Specifies how to allocate leftover bandwidth to various
classes.
• The remaining bandwidth of 70 percent is shared by all
configured classes.
• In this example, class class1 receives 20 percent of the 70
percent.
(Optional) Shapes traffic to the specified bit rate or a percentage of
the available bandwidth.
(Optional) Changes queue-limit to fine-tune the amount of buffers
available for each queue. The default queue-limit is 100 ms of the
service rate for a non-priority class and 10ms of the service rate for
a priority class.
45