22 queue random-detect drop-probability – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 640

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 640 of 855

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 enable random detect mode.
Switch(config-if)#queue 1 random-detect
This example shows how to disable random detect mode.
Switch(config-if)#no queue 1 random-detect

Related Commands

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

32.22 queue random-detect drop-probability

Use this command to configure random detect mode drop probability.
To remove this setting, use the no form of this command.

Command Syntax

queue <0-7> random-detect drop-probability <0-255> <0-255> <0-255>
no queue <0-7> random-detect drop-probability
<0-7>: queue id
<0-255>: Random-detect drop precedence 0 drop probability range
<0-255>: Random-detect drop precedence 1 drop probability range
<0-255>: Random-detect drop precedence 2 drop probability 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

Advertising