Cisco ASR 9000 Series Configuration Manual page 81

Aggregation services router modular quality of service
Hide thumbs Also See for ASR 9000 Series:
Table of Contents

Advertisement

Configuring Modular QoS Congestion Avoidance on Cisco ASR 9000 Series Routers
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
random-detect dscp dscp-value min-threshold
[ units ] max-threshold [ units ]
Example:
RP/0/RSP0/CPU0:router(config-pmap-c)#
random-detect dscp af11 1000000 bytes 2000000
bytes
Step 5
bandwidth { bandwidth [ units ] | percent
percentage-value }
Example:
RP/0/RSP0/CPU0:router(config-pmap-c)# bandwidth
percent 30
OL-17239-01
D r a f t — C i s c o C o n f i d e n t i a l
Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide
How to Configure Modular QoS Congestion Avoidance on Cisco IOS XR Software
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.
Changes the minimum and maximum packet thresholds for
the DSCP value.
Enables RED.
dscp-value—Number from 0 to 63 that sets the DSCP
value. Reserved keywords can be specified instead of
numeric values.
min-threshold—Minimum threshold in the specified
units. The value range of this argument is from 512 to
1073741823. When the average queue length reaches
the minimum threshold, WRED randomly drops some
packets with the specified DSCP value.
max-threshold—Maximum threshold in the specified
units. The value range of this argument is from the
value of the min-threshold argument to 1073741823.
When the average queue length exceeds the maximum
threshold, WRED drops all packets with the specified
DSCP value.
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.
This example guarantees 30 percent of the interface
bandwidth to class class1.
QC-71

Advertisement

Table of Contents
loading

Table of Contents