3Com Switch 8800 Advanced Software V5 Configuration Guide
Configuring Group-based WRR Queues 849
Configuring
Group-based WRR
Queues
With a queue on a port configured as a group-based WRR queue, the queue
scheduling algorithm on the current port is the mix of WRR queue scheduling
algorithm and SP queue scheduling algorithm. The queues which are not
configured as group-based WRR queues are allocated to the SP queue group.
Configuration Procedure Group-based WRR queue configuration task list
Follow these steps to configure group-based WRR queues:
n
■ POS interfaces do not support WRR.
■ In group-based WRR queue configuration, the outgoing ports of 3C17526,
3C17532, and 3C17538 modules support four queues, that is, the queue-id
argument is in the range of 0 to 3; this argument is in the range of 0 to 7 for
the other modules.
Configuration Examples Network requirements
■ Configure the queues on a port as WRR queues.
■ Allocate queue 1, queue 3, and queue 4 to WRR group 1, with the weight 1, 5,
and 10.
■ Allocate queue 5 and queue 6 to WRR group 2, with the weight 20 and 10.
Configuration procedure
# Enter system view.
<Sysname> system-view
# Configure WRR queues on Ethernet 1/1/1.
[Sysname]interface Ethernet 1/1/1
[Sysname-Ethernet1/1/1] qos wrr
[Sysname-Ethernet1/1/1] qos wrr 1 group 1 weight 1
[Sysname-Ethernet1/1/1] qos wrr 3 group 1 weight 5
[Sysname-Ethernet1/1/1] qos wrr 4 group 1 weight 10
[Sysname-Ethernet1/1/1] qos wrr 5 group 2 weight 20
[Sysname-Ethernet1/1/1] qos wrr 6 group 2 weight 10
To do... Use the command... Remarks
Enter system view system-view -
Enter
Ethernet
interface
view or
port group
view
Enter
Ethernet
interface
view
interface interface-type
interface-number
Use either the command
Configured in Ethernet interface
view, the setting is effective on
the current interface only;
configured in port group view,
the setting is effective on all the
ports in the port group.
Enter port
group view
port-group { manual
port-group-name | aggregation
agg-id }
Enable WRR queuing qos wrr Required
Configure group-based
WRR queues
qos wrr queue-id group { { 1 | 2
} weight schedule-value | sp }
Required
Display WRR queuing
configuration
display qos wrr interface [
interface-type interface-number
]
Optional
Available in any view