R3303-HP HSR6800 Routers ACL and QoS Command Reference
119
Parameters
queue-id: Specifies a queue by its ID in the range of 0 to n-1 (n is the maximum number of queues on an
interface and varies by device).
sp: Specifies strict priority (SP) queuing.
Usage guidelines
This command is available only on a WRR-enabled interface. Queues in the SP group are scheduled with
SP. The SP group has strict higher scheduling priority than the WRR groups.
Settings in Ethernet interface view take effect on the current interface only. Settings in port group view
take effect on all the ports in the port group.
Examples
# Enable WRR queuing on GigabitEthernet 1/0/1, and assign queue 0 to the SP group.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] qos wrr
[Sysname-GigabitEthernet1/0/1] qos wrr 0 group sp
Related commands
• display qos wrr interface
• qos wrr
qos wrr weight
Use qos wrr weight to assign a queue to a WRR group, with a certain scheduling weight, on an interface
that performs packet-based WRR queuing.
Use undo qos wrr weight to restore the default WRR queuing settings of a queue on an interface.
Syntax
qos wrr queue-id group 1 weight schedule-value
undo qos wrr queue-id group 1 weight
Views
Interface view, port group view
Default command level
2: System level
Parameters
queue-id: Queue ID in the range of 0 to 7.
1: Specifies WRR group 1.
weight schedule-value: Specifies a scheduling weight for the specified queue in packet-based WRR
queuing. The value range for the schedule-value argument is 1 to 8. Table 37 sh
ows the default weight
values for queues.