226 CHAPTER 7: QOS/ACL OPERATION
max-thresholds of red, yellow and green packets are exceeded, all excessive
packets are dropped.
You must first configure WRED parameters for every outbound queue in defining
drop precedence.
The switch provides four sets of default WRED parameters, respectively numbered
as 0 to 3. Each set includes 80 parameters, 10 parameters for each of the eight
queues. The ten parameters 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
precedence levels 2, 1 and 0.
Perform the following configurations in the specified views.
The command restores the parameters of the specified WRED index as the default
setting. The command restores the WRED parameters related to the queue as the
default setting.
The switch provides four sets of WRED parameters by default.
See the Switch 8800 Command Reference Guide for details of the commands.
Configuring the Drop Algorithm
Perform the following configurations in Ethernet port view.
By default, tail drop mode is selected.
See the corresponding Command Manual for details of the commands.
Table 20 Configuring WRED parameters
Operation Command
Enter WRED index view (system view) wred wred-index
Restore the default WRED parameters
(system view)
undo wred wred-index
Configure WRED parameters (WRED
index view)
queue queue-id green-min-threshold
green-max-threshold green-max-prob
yellow-min-threshold yellow-max-threshold
yellow-max-prob red-min-threshold
red-max-threshold red-max-prob exponent
Restore the default WRED parameters
(WRED index)
undo queue queue-id
Exit WRED index view (WRED index view) quit
Table 21 Configuring the Drop Algorithm
Operation Command
Configure drop algorithm drop-mode { tail-drop | wred } [ wred-index ]
Restore the default algorithm undo drop-mode