![background image](http://html1.mh-extra.com/html/foundry-networks/netiron-m2404c/netiron-m2404c_user-manual_2324273650.webp)
Foundry NetIron M2404C and M2404F Metro Access Switches
Configuring QoS (Rev. 03)
Overview
© 2008 Foundry Networks, Inc.
Page 41 of 62
device-name
(config)#
no qos tx queue-set
<
set-id
>
random-detect
[
priority
<
priority
>]
Argument Description
queue-set
<profile>
The queue set random-detect definition in the range <1-3>. The queue set
will be attached to an interface. The profile index is shared between the Tail-
drop and the WRED algorithms.
priority
<priority>
The queue for which parameters are to be configured, in the range <0-7>.
green-
threshold-min
The minimal average queue size threshold for packets that were marked
green. The range is <1-100> percent.
green-max-prob
The green traffic mark probability exponential factor. The range is <1- 15>.
yellow-
threshold-min
The minimal average queue size threshold for packets that were marked
yellow. The range is <1-100> percent
yellow-max-
prob
The yellow traffic mark probability exponential factor. The range is <1- 15>.
exponential-
weighting-
constant
<
exponent
>
(Optional). Sets the WRED exponential weight factor for the average queue
size calculation. The range is <1-15>.
Example
The following example shows how to set WRED thresholds for priority 3:
device-name
(config)#
qos tx queue-set 1 random-detect priority
3 50 10 60
10 exponential-weighting-constant 1
Assigning the WRED Profile to an Interface
The
qos tx random-detect
command, in Interface Configuration mode, attaches the profile of the
Weighted Random Early Detection (WRED) congestion avoidance mechanism to the configured
interface. The
no
form of the command removes the WRED profile from the configured interface.
The default profiles are available in
Table 8.
Command Syntax
device-name
(config-if
UU/SS/PP
)#
qos tx random-detect queue-set
<
profile
>
device-name
(config-if
UU/SS/PP
)#
no qos tx random-detect
Argument Description
queue-set
<profile>
The queue set WRED definition in the range <1-3>. Use one of the default
profiles (
Table 8
) or a pre-defined one.
Example
The following example shows how to set WRED thresholds for priority 3 and apply it on interface
1/1/1: