
View
Policy-class view
Parameter
value
: DSCP value in the range of 0 to 63, which can be any of the following keys:
ef
,
af11
,
af12
,
af13
,
af21
,
af22
,
af23
,
af31
,
af32
,
af33
,
af41
,
af42
,
af43
,
cs1
,
cs2
,
cs3
,
cs4
,
cs5
or
cs7
.
low-limit
: Lower threshold value in the range of 1 to 1024. It is 10 by default.
high-limit
: Upper threshold value in the range of 1 to 1024. It is 30 by default.
discard-prob
: Denominator of drop proportion in the range of 1 to 255. It is 10 by
default.
Description
Using
wred ip
-
dscp
command, you can set DSCP lower-limit, upper-limit and drop
proportion denominator of WRED. Using
undo wred ip-dscp
command, you can
delete the configuration.
This command can be used only after the
wred
command is used to enable the
WRED drop mode based on DSCP.
The configuration of
wred ip
-
dscp
will be deleted if the configuration of
wred
is
deleted.
The configuration of drop parameters will be deleted if
af
is deleted.
For the related command, see
qos policy
,
qos-class
.
Example
Set the queue lower-limit to 20, upper-limit to 40 and discard probability to 15 for the
packet whose DSCP is 3.
[3Com]
qos policy 3Com
[3Com-qospolicy-3Com]
qos-class database
[3Com-qospolicy-c-3Com database]
wred ip-dscp
[3Com-qospolicy-c-3Com database]
wred ip-dscp 3 low-limit 20 high-limit 40
discard-probability 15
3Com Router Command Reference Guide Addendum for V1.2
32