24 queue random-detect min-threshold – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 642

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 642 of 855

queue random-detect drop-probability
queue random-detect min-threshold
queue random-detect

32.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

Advertising