Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 2 Congestion Management Configuration
Commands
3Com Corporation
2-52
[3Com -behavior-database] traffic-policy Child
2.5.41 wred
Syntax
wred [ dscp | ip-precedence ]
undo wred
View
Traffic behavior view
Parameter
dscp: Uses DSCP value for calculating drop probability for a packet.
ip-precedence: Uses IP precedence value for calculating drop probability for a packet.
Description
Use the wred command to configure drop mode as weighted random early detection
(WRED).
Use the undo wred command to delete the configuration.
By default, ip-precedence is configured.
This command can be used only after the queue af command has been configured.
The wred command and queue-length command can not be used simultaneously.
Other configurations under the random drop will be deleted when this command is
deleted. When a policy is applied on an interface, the previous WRED configuration on
interface level will become ineffective.
When configuration is performed in default-class view, ip-precedence is configured by
default.
The behavior associated with default-class can only use wred ip-precedence.
Related command: qos policy, traffic behavior, and classifier behavior.
Example
# Configure WRED for a traffic behavior named database and drop probability is
calculated by IP precedence.
[3Com ] traffic behavior database
[3Com -behavior-database] wred