OcNOS-RON : Quality of Service Guide : Quality of Service Command Reference : Quality of Service Commands : random-detect
random-detect
Use this command to configure weighted random early detection (WRED).
Use the no command to remove a WRED configuration.
Note: Explicit Congestion Notification (ECN) ECN-WRED is independent of WRED and max queue size parameters. With ECN, queue size can be reached until default max queue size is exceeded.
Command Syntax
random-detect green (min-threshold|)<1-524288> (max-threshold|)<1-524288> (drop-probability <1-100>|) yellow (min-threshold|)<1-524288> (max-threshold|)<1-524288> (drop-probability <1-100>|) red (min-threshold|)<1-524288> (max-threshold|)<1-524288>) (drop-probability <1-100>|) (packets | bytes | kbytes)(ecn|)
random-detect (min-threshold|)<1-524288> (max-threshold|)<1-524288> (packets | bytes | kbytes) (drop-probability <1-100>|) (ecn|)
random-detect weight <0-15>
no random-detect
no random-detect weight
Parameters
min-threshold
 
Specify the minimum threshold. In the range of <1-524288>
max-threshold
 
Specify the maximum threshold. In the range of <1-524288>
drop-probability
 
Specify the probability of dropping. In the range <1-100>
Packets, bytes, kbytes
 
Specify the thresholds in Packets, Bytes, or Kilobytes.
ecn
Explicit Congestion Notification
weight
Specify the weight level
 
Default
No default value is specified
Command Mode
Policy-class map mode
Applicability
This command was introduced before OcNOS version 1.3.
Drop-probability and weight were introduced on OcNOS version DC 2.0.
This command applies only to the Trident II, Trident II+, Trident III, Tomahawk, and Helix platforms.
Examples
(config)# policy-map type queuing default xyz
(config-pmap-que)#class type queuing default q1
(config-pmap-c-que)#random-detect min-threshold 200 max-threshold 512 kbytes drop-probability 50 ecn
(config-pmap-c-que)#random-detect weight 10
(config-pmap-c-que)#no random-detect
 
Last modified date: 07/14/2023