qos wfq group sp
Use qos wfq group sp to assign a queue to the SP group.
Use undo qos wfq group sp to restore the default.
Syntax
qos wfq queue-id group sp
undo qos wfq queue-id
Default
When WFQ queuing is used on an interface, all queues are in WFQ group 1.
Views
Layer 2 Ethernet interface view
Predefined user roles
network-admin
Parameters
queue-id: Specifies a queue by its ID. The value is an integer in the range of 0 to 7 or a keyword listed in Table 33.
sp: Assigns a queue to the SP group, which uses the SP queue scheduling algorithm.
Usage guidelines
You must use the qos wfq command to enable WFQ before you configure this command.
With this SP+WFQ queuing method, the system schedules traffic as follows:
The system schedules the traffic conforming to the minimum guaranteed bandwidth in each WFQ group and schedules the traffic of the two WFQ groups in the ratio of 1:1 in a round robin manner.
The system uses SP to schedule queues in the SP group.
If there is remaining bandwidth, the system schedules the traffic of queues in each WFQ group based on their weights.
Examples
# Enable weight-based WFQ 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 wfq weight [Sysname-GigabitEthernet1/0/1] qos wfq 0 group sp
Related commands
display qos queue wfq interface
qos bandwidth queue
qos wfq