undo wred
[
ip-dscp
|
ip-precedence
]
View
Policy-class view
Parameter
ip
-
dscp
: Indicate that DSCP value is used when calculating drop proportion for a
packet.
ip-precedence
: Indicate that IP precedence value is used when calculating drop
proportion for a packet. By default,
ip-precedence
is configured.
Description
Using
wred
command, you can configure drop mode as WRED. Using
undo wred
command, you can delete the configuration.
To use this command, the
af
command must have been configured. For default-class,
the
af
or
wfq
command must be configured before using the command.The
wred
and
queue-length
commands cannot be configured at a time. When canceling this
configuration, the WRED-related configuration will be deleted.
When a policy
configured with
wred
is applied on an interface, the previous WRED configuration on
interface will become ineffective.
For default-class, only
ip-precedence
can be configured.By default, the parameter of
wred
is
ip-precedence
.
For the related command, see
qos policy
,
qos-class
.
Example
Configure WRED for a behavior named database and drop proportion is calculated by
IP precedence.
[3Com]
qos policy 3Com
[3Com-qospolicy-3Com]
qos-class database
[3Com-qospolicy-c-3Com database]
wred
1.32 wred ip-dscp
Syntax
wred ip-dscp
value low-limit low-limit high-limit high-limit
[
discard-probability
discard-prob
]
undo wred ip-dscp
dscp-value
3Com Router Command Reference Guide Addendum for V1.2
31