The qos queue low-limit high-limit command sets the upper and lower limits for buffering packets in a queue.
The undo qos queue low-limit high-limit command restores the default values of the upper and lower limits for buffering packets in a queue.
By default, the upper and lower limits for buffering packets in a queue are 78 and 68 buffer units, respectively. Each buffer unit is 360 bytes.
Only the S5735-L, S5735S-L, S5735S-L-M, S5735-S, S5735-S-I, and S5735S-S support this command.
qos queue queue-index low-limit low-limit-pages high-limit high-limit-pages
undo qos queue queue-index [ low-limit low-limit-pages high-limit high-limit-pages ]
Parameter |
Description |
Value |
---|---|---|
queue queue-index |
Specifies the index of a queue. |
The value is an integer in the range from 0 to 7. |
low-limit low-limit-pages |
Specifies the lower limit for buffering packets in a queue. |
The value is an integer in the range from 1 to 5000. Each buffer unit is 360 bytes. |
high-limit high-limit-pages |
Specifies the upper limit for buffering packets in a queue. |
The value is an integer in the range from the value of low-limit low-limit-pages to 5000. Each buffer unit is 360 bytes. |
Usage Scenario
When congestion occurs, a switch uses the tail drop method. When the queue length reaches the upper limit, excess packets (buffered at the queue tail) are discarded until congestion is removed. You can run the qos queue low-limit high-limit command to set the upper limit and lower limit for buffering packets in a specified queue on an interface so that the queue has sufficient buffer, preventing packet loss.
Prerequisites
A tail drop profile has been created using the qos tail-drop-profile (system view) command. Only one tail drop profile can be created on the S5735-L, S5735S-L, S5735S-L-M, S5735-S, S5735-S-I, and S5735S-S.