
C613-50186-01 Rev B
Command Reference for AR2050V
1780
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
T
RAFFIC
C
ONTROL
C
OMMANDS
RED
-
CURVE
red-curve
Overview
Use this command to allow configuration of a RED (Random Early Discard) curve
template.
Use the
no
variant of this command to set the RED curve back to the default.
Syntax
red-curve <
red-curve-name
> [limit <
4-127
>] [avpkt <
64-1518
>]
[min <
3-126
>] [max <
4-127
>] [probabilty <
1-100
>]
[ecn [ecn-drop]]
no red-curve [<
red-curve-name
>]
Default
The default RED curve is
red-curve default limit 127 avpkt 576B min 10 max 32
prob 2
.
Mode
Traffic-control
Usage
The RED curve template can later be applied to a traffic control class, sub-class, or
sub-sub-class.
Example
To configure a RED curve with ECN dropping and the default curve shape, use the
commands:
awplus#
configure terminal
awplus(config)#
traffic-control
awplus(config-tc)#
red-curve red-ecn ecn
Parameter
Description
<red-curve-name>
The RED curve name.
limit <
4-127
>
The hard queue length limit (in packets) for the RED curve. Once the queue
length reaches the limit, all packets are dropped.
avpkt
<64-1518>
The average packet size to use for queue size calculations in bytes.
min
<3-126>
The minimum queue length for random early discard (in packets). Between
<min> and <max> the drop probability will increase linearly.
max
<4-127>
The maximum queue length where packets are probabilistically dropped. At
<max> the drop probability equals <probability>. Beyond <max> the drop or
marking probability is 100%.
probability
<1-100>
The probability of a packet being dropped when queue-length reaches <max>.
The drop probability increases linearly from 0 to <probability> in between
<min> and <max>.
ecn
Use explicit congestion notification marking instead of dropping the packet.
ecn-drop
When average queue size exceeds <max> drop packets instead of marking.