3com 8807 참조 가이드
QoS Commands
261
Description
Use the queue command to configure parameters for a WRED index.
Use the undo queue command to restore the default parameters for the WRED
index.
index.
The switch provides four sets of default WRED parameters, respectively numbered
as 0, 1, 2 and 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. You can use the command to modify the parameters
of a specific WRED index.
as 0, 1, 2 and 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. You can use the command to modify the parameters
of a specific WRED index.
Example
# Configure parameters for WRED 0: queue-id is 7; green-min-threshold is 150;
green-max-threshold is 500; green-max-prob is 5; yellow-min-threshold is 100;
yellow-max-threshold is 150; yellow-max-prob is 10; red-min-threshold is 50;
red-max-threshold is 100; red-max-prob is 15; exponent is 10.
green-max-threshold is 500; green-max-prob is 5; yellow-min-threshold is 100;
yellow-max-threshold is 150; yellow-max-prob is 10; red-min-threshold is 50;
red-max-threshold is 100; red-max-prob is 15; exponent is 10.
<SW8800> system-view
System View: return to User View with Ctrl+Z.
[SW8800]wred 0
[3Com-wred-0] queue 7 150 500 5 100 150 10 50 100 15 10
queue-scheduler
Syntax
queue-scheduler wrr { group1 { queue-id queue-weight } &<1-8> | group2 {
queue-id queue-weight } &<1-8> }*
queue-id queue-weight } &<1-8> }*
undo queue-scheduler [ queue-id ] &<1-8>
View
Ethernet port view, port group view
Parameter
wrr: Weighted round robin algorithm.
group1: Adds the queue to WRR priority group 1.
group2: Adds the queue to WRR priority group 2.
queue-id: Outbound queue ID, in the range of 0 to 7.
queue-weight: Queue weight, in the range of 1 to 255.
&<1-8>: You can input the queue-id and queue-weight parameters eight times at
most.
most.
Description
Use the queue-scheduler command to choose queue scheduling algorithm and
parameters.
parameters.