![Cisco 10000 Series Configuration Manual Download Page 369](http://html.mh-extra.com/html/cisco/10000-series/10000-series_configuration-manual_66373369.webp)
11-27
Cisco 10000 Series Router Quality of Service Configuration Guide
OL-7433-09
Chapter 11 Managing Packet Queue Congestion
Configuring Layer 3 Queue Limit and Drop Policies
Configuration Example for Configuring DSCP-Based WRED
Example 11-2
shows how to create a class map named Gold and associate it with the policy map named
Business. The configuration enables WRED to drop Gold packets based on DSCP 8 with a minimum
threshold of 24 and a maximum threshold of 40. The Business policy map is attached to the outbound
ATM interface 1/0/0.
Example 11-2
Configuring DSCP-Based WRED
Router(config-if)#
class-map Gold
Router(config-cmap)#
match access-group 101
Router(config-cmap)#
exit
Router(config)#
policy-map Business
Router(config-pmap)#
class Gold
Router(config-pmap-c)#
bandwidth 48
Router(config-pmap-c)#
random-detect dscp-based
Router(config-pmap-c)#
random-detect dscp 8 24 40
Router(config-pmap-c)#
exit
Router(config-pmap)#
exit
Router(config)#
interface atm 1/0/0
Router(config-if)#
service-policy output Business
Step 7
PRE2
Router(config-pmap-c)#
random-detect dscp
dscp-value min-thresh-value
max-thresh-value
mark-probability-denominator-value
PRE3
Router(config-pmap-c)#
random-detect
dscp values
s
ub-class-val1
[...[
sub-class-val8
]]
minimum-thresh
min-thresh
maximum-thresh
max-thresh
mark-prob
mark-prob
Configures WRED to drop packets based on the DSCP value you
specify.
dscp-value
or
sub-class-val
is a number or keyword that indicates
the differentiated services code point. Value numbers are from 0
to 63, or it can be one of the following keywords: ef, af11, af12,
af13, af21, af22, af23, af31, af32, af33, af41, af42, af43, cs1, cs2,
cs3, cs4, cs5, or cs7.
min-threshold
is the minimum number of packets allowed in the
queue. Valid minimum threshold values are from 1 to 16,384.
max-thresh
is the maximum number of packets allowed in the
queue. Valid maximum threshold values are from the value of the
minimum-threshold to 16,384.
mark-probability-denominator-value
(PRE2) or
mark-prob
(PRE3) is the drop rate. Valid values are from 1 to 65,535. The
default value is 10.
Step 8
Router(config-pmap-c)#
exit
Exits policy map class configuration mode.
Step 9
Router(config-pmap)#
exit
Exits policy map configuration mode.
Step 10
Router(config)#
interface
type
slot
/
module
/
port
.
subinterface-number
Configures an interface type and enters interface configuration
mode.
Step 11
Router(config-if)#
service-policy output
policy-map-name
Attaches a policy map to an output interface or VC to be used as
the service policy for that interface or VC.
policy-map-name
is the name of the policy map you configured in
Step 4.
Command
Purpose