The qos queue command configures a queue scheduling weight for an AS.
The undo qos queue command restores the default queue scheduling weight of an AS.
By default, the queue scheduling weight is 1.
This command can only be executed on a parent switch.
Parameter |
Description |
Value |
---|---|---|
queue-index |
Specifies the index of a queue. |
The value is an integer that ranges from 0 to 7. |
drr |
Specifies the WDRR scheduling weight. |
- |
wrr |
Specifies the WRR scheduling weight. |
- |
weight weight |
Specifies the scheduling weight. |
The value is an integer that ranges from 0 to 127. |
Usage Scenario
If congestion occurs during queue scheduling, to ensure that each queue can be scheduled, configure a scheduling weight for each queue so that the device schedules each queue based on the configured scheduling weights.
In an SVF system, to change the queue scheduling weight of an AS port, run the qos queue command in the network QoS profile view and then bind the profile to the AS port.
Prerequisites
The queue scheduling mode of an AS port has been set to WRR or WDRR using the qos { pq | wrr | drr } command.