wfq queue
Syntax
wfq queue <QUEUE-NUMBER> weight <WEIGHT>
no wfq queue <QUEUE-NUMBER>
Description
Assigns the weighted fair queuing (WFQ) algorithm and its weight to a queue. Weighted fair queuing allocates available bandwidth among all queues that are not empty, in relation to their queue weights. WFQ is applied in bytes, not packets. It is work conserving, which means that only non-empty queues are counted on each scheduling cycle. The percentage of bandwidth allotted to a non-empty queue is calculated by dividing its weight by the sum of the weights for all non-empty queues. This means that the percentage of bandwidth allotted to a queue can fluctuate, depending on the number of non-empty queues present in each cycle.
Theno
form of this command removes the weighted fair queuing algorithm from a queue.
Command context
config-schedule
Parameters
<QUEUE-NUMBER>
Specifies the queue number. Range: 0 to 7.
weight <WEIGHT>
Specifies the scheduling weight. Range: 1 to 253.
Authority
Administrators or local user group members with execution rights for this command.
Examples
Assigning WFQ with a weight of 17 to queue 2 in the schedule profile myschedule:
switch(config)# qos schedule-profile myschedule switch(config-schedule)# wfq queue 2 weight 17
Deleting WFQ for queue 2 from the schedule profile myschedule:
switch(config)# qos schedule-profile myschedule switch(config-schedule)# no wfq queue 2