Command Manual – QoS/ACL 
Quidway S8500 Series Routing Switches  Chapter 2  QoS Commands
 
Huawei Technologies Proprietary 
2-46 
<Quidway> system-view 
System View: return to User View with Ctrl+Z.  
[Quidway]interface e thernet3/1/1  
[Quidway-Ethernet3/1/1] traffic-statistic inbound ip-group 2000 
2.1.38  wred 
Syntax 
wred wred-index 
undo wred wred-index 
View 
System view 
Parameter 
wred-index: WRED index, in the range of 0 to 3. 
Description 
Use the wred command to create a WRED index view and enter it. 
Use the undo wred command to restore the default WRED parameters. 
The switch provides four sets of default WRED parameters, respectively numbered as 
0, 1, 2 and 3. The ten parameters for a port are green-min-threshhold, 
yellow-min-threshhold,  red-min-threshhold,  green-max-threshhold, 
yellow-max-threshhold,  red-max-threshhold,  green-max-prob,  yellow-max-prob, 
red-max-prob and exponent. Red, yellow and green packets respectively refer to those 
with drop precedent levels 2, 1 and 0. 
Example 
# Create WRED 0 view and enter it.  
[Quidway] wred 0 
[Quidway-wred-0]