20 queue class, 21 queue random-detect – CANOGA PERKINS CanogaOS Command Reference User Manual
Page 639
CanogaOS Command Line Reference
Revision 1.02
Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches
Page 639 of 855
32.20 queue class
Use this command to map the queue to specified class.
To return to default setting, use the no form of this command.
Command Syntax
queue <0-7> class <0-3>
no queue <0-7> class
<0-7>: queue id
<0-3>: class id
Command Mode
Interface configuration
Usage
None
Examples
This example shows how to map the queue 1 to class 0.
Switch(config-if)# queue 1 class 0
This example shows how to return to default setting.
Switch(config-if)# no queue 1 class
Related Commands
None
32.21 queue random-detect
Use this command to enable random detect mode.
To disable it, use the no form of this command.
Command Syntax
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