3Com S7902E Command Reference Manual - page 1718
3-8
View
Ethernet interface view, port group view
Default Level
2: System Level
Parameters
queue-id
: ID of the queue, in the range of 0 to 7.
group-id
: It can only be 1.
weight
schedule-value
: Specifies the scheduling weight of a queue, rang from 1 to 15.
sp
: Configures SP queuing.
Description
Use the
qos wrr
command to configure Weighted Round Robin (WRR) queue scheduling algorithm or
the SP + WRR queue scheduling algorithm on a port or port group.
Use the
undo
qos wrr
command to restore the default queue-scheduling algorithm on the port.
By default, the switch adopts the SP queue-scheduling algorithm.
As required, you can configure part of the queues on the port to adopt the SP queue-scheduling
algorithm and parts of queues to adopt the WRR queue-scheduling algorithm. Through adding the
queues on a port to the SP scheduling group and WRR scheduling group (namely, group 1), the SP +
WRR queue scheduling is implemented. During the queue scheduling process, the queues in the SP
scheduling group is scheduled preferentially. When no packet is to be sent in the queues in the SP
scheduling group, the queues in the WRR scheduling group are scheduled. The queues in the SP
scheduling group are scheduled according to the strict priority of each queue, while the queues in the
WRR queue scheduling group are scheduled according the weight value of each queue.
Related commands:
display qos wrr interface
.
Examples
# Configure SP+WRR queue scheduling algorithm on GigabitEthernet 2/0/1 as follows: assign queue 0,
queue 1, queue 2, and queue 3 to the SP scheduling group; and assign queue 4, queue 5, queue 5, and
queue 7 to WRR scheduling group, with the weight 2, 4, 6, and 8.
[Sysname] interface GigabitEthernet 2/0/1
[Sysname-GigabitEthernet2/0/1] qos wrr
[Sysname-GigabitEthernet2/0/1] qos wrr 0 group sp
[Sysname-GigabitEthernet2/0/1] qos wrr 1 group sp
[Sysname-GigabitEthernet2/0/1] qos wrr 2 group sp
[Sysname-GigabitEthernet2/0/1] qos wrr 3 group sp
[Sysname-GigabitEthernet2/0/1] qos wrr 4 group 1 weight 2
[Sysname-GigabitEthernet2/0/1] qos wrr 5 group 1 weight 4
[Sysname-GigabitEthernet2/0/1] qos wrr 6 group 1 weight 6
[Sysname-GigabitEthernet2/0/1] qos wrr 7 group 1 weight 8