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

Page 554

Advertising
background image

CanogaOS Command Reference

31-15

queue <0-7> random-detect

no queue <0-7> random-detect

<0-7>: queue id

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

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

Advertising