Configuration Example For Configuring Dscp-Based Wred - Cisco 10000 Series Configuration Manual

Quality of service configuration guide
Hide thumbs Also See for 10000 Series:
Table of Contents

Advertisement

Chapter 11
Managing Packet Queue Congestion
Command
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 sub-class-val1
[...[sub-class-val8]] minimum-thresh
min-thresh maximum-thresh max-thresh
mark-prob mark-prob
Step 8
Router(config-pmap-c)# exit
Step 9
Router(config-pmap)# exit
Step 10
Router(config)# interface type
slot/module/port.subinterface-number
Step 11
Router(config-if)# service-policy output
policy-map-name

Configuration Example for Configuring DSCP-Based WRED

Example 11-2
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
OL-7433-09
Purpose
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.
Exits policy map class configuration mode.
Exits policy map configuration mode.
Configures an interface type and enters interface configuration
mode.
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.
shows how to create a class map named Gold and associate it with the policy map named
Cisco 10000 Series Router Quality of Service Configuration Guide
Configuring Layer 3 Queue Limit and Drop Policies
11-27

Advertisement

Table of Contents
loading

Table of Contents