The system view is displayed.
Step 2
Run:
drop-profile
drop-profile-name
A drop profile is created and the drop profile view is displayed.
There is a default WRED drop profile. You cannot delete the default WRED drop profile, but
can modify the values of the parameters.
Step 3
Run:
color
{
green
|
non-tcp
|
red
|
yellow
}
low-limit
low-limit-percentage
high-limit
high-limit-percentage
discard-percentage
discard-percentage
WRED parameters are set.
By default, the upper threshold, lower threshold, and maximum drop percent of a WRED drop
profile are 100.
----End
3.2.5 Applying the WRED Drop Profile
The configured WRED drop profile takes effect only after being applied. You can apply the
WRED drop profile to the system, an interface or a queue.
Context
You can apply a WRED drop profile to an interface or in an interface queue or to the system,
an interface, and an interface queue on the S3700 as required. The following takes place when
the WRED drop profiles are applied:
l
If a WRED drop profile is applied to the system and an interface simultaneously, the WRED
drop profile applied to the interface takes effect. After a WRED drop profile is applied to
the system, it takes effect on all the interfaces.
l
If WRED drop profiles are applied to an interface and an interface queue on the S3700, the
S3700 matches packets with WRED drop profiles in the interface queue and the interface
in sequence. Then the S3700 performs congestion avoidance for the matched packets.
To set the same WRED drop profile on multiple interfaces, perform the configuration on the
port group to reduce the workload.
Before applying a WRED drop profile, run the
drop-profile
command to create a WRED drop
profile.
Procedure
l
Applying a WRED drop profile to the system
1.
Run:
system-view
The system view is displayed.
2.
Run:
qos queue
queue-index
wred
drop-profile-name
A WRED drop profile is applied to the system.
l
Applying a WRED drop profile to an interface
S3700HI Ethernet Switches
Configuration Guide - QoS
3 Congestion Avoidance and Congestion Management
Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
90