24 queue random-detect min-threshold – CANOGA PERKINS 9175 Command Reference User Manual
Page 556
CanogaOS Command Reference
31-17
This example shows how to configure queue 1 random detect mode max-threshold to 90 (drop
precedence 0), 92 (drop precedence 1) and 94 (drop precedence 2).
Switch(config-if)#queue 1 random-detect max-threshold 90 92 94
This example shows how to remove this setting.
Switch(config-if)#no queue 1 random-detect max-threshold
Related Commands
queue random-detect drop-probability
queue random-detect min-threshold
queue random-detect
31.24 queue random-detect min-threshold
Use this command to configure random detect mode min-threshold.
To remove this setting, use the no form of this command.
Command Syntax
queue <0-7> random-detect min-threshold <0-127>
no queue <0-7> random-detect min-threshold
<0-7>: queue id
<0-127>: min-threshold
Command Mode
Interface configuration
Usage
When the queue length is less than min-threshold, the packets will not be dropped.
When the queue length is between min-threshold and max-threshold, the packets will be dropped
randomly according to the drop-probability. The rate is
(drop-probability)/256.
When the queue length is more than max-threshold, all the packets will be dropped.
The packet with different color will use different random-detect parameters according to drop
precedence.(Green: drop precedence 2, Yellow: drop precedence 1, Red: drop precedence 0)
Examples
This example shows how to configure queue 1 random detect mode min-threshold to 16 (drop
precedence 0), 20 (drop precedence 1) and 24 (drop precedence 2).
Switch(config-if)#queue 1 random-detect min-threshold 16 20 24
This example shows how to remove this setting.
Switch(config-if)#no queue 1 random-detect min-threshold
Related Commands
queue random-detect drop-probability
queue random-detect max-threshold
queue random-detect