23 queue random-detect max-threshold – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 641

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 641 of 855

This example shows how to configure queue 1 random detect mode drop probability to 128 (drop
precedence 0), 130 (drop precedence 1) and 132 (drop precedence 2).
Switch(config-if)#queue 1 random-detect drop-probability 128 130 132
This example shows how to remove this setting.
Switch(config-if)#no queue 1 random-detect drop-probability

Related Commands

queue random-detect max-threshold
queue random-detect min-threshold
queue random-detect

32.23 queue random-detect max-threshold

Use this command to configure random detect mode max-threshold.
To remove this setting, use the no form of this command.

Command Syntax

queue <0-7> random-detect max-threshold <1-128> <1-128> <1-128>
no queue <0-7> random-detect max-threshold
<0-7>: queue id
<1-128>: Random-detect drop precedence 0 max threshold range
<1-128>: Random-detect drop precedence 2 max threshold range
<1-128>: Random-detect drop precedence 3 max threshold range

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

Advertising