Foundry NetIron M2404C and M2404F Metro Access Switches
Configuring QoS (Rev. 03)
Overview
© 2008 Foundry Networks, Inc.
Page 42 of 62
device-name
(config)#
qos tx queue-set 1 random-detect priority
3 50 10 60
10
device-name
(config)#
interface 1/1/1
device-name
(config-if 1/1/1)#
qos tx random-detect queue-set 1
Displaying the WRED Configuration
The
show
qos tx random-detect
command, in Privileged (Enable) mode, displays the Weighted
Random Early Detection (WRED) profile and interface configuration.
When the command is used without parameters it will display all the profiles.
Command Syntax
device-name
#
show
qos tx random-detect
[
UU/SS/PP | queue-set
[<
profile
>]]
Argument Description
UU/SS/PP
(Optional). Displays the profile specified interface unit/slot/port.
queue-set
(Optional). Displays the information for all profiles.
<profile>
(Optional). Displays the information for the specified profile. The profile
number is in the range <1-3>.
Example 1
device-name
#
show qos tx random-detect queue-set
+==+=========+=========+======+=========+=========+======+======+
|Pr|Green |Green |Green |Yellow |Yellow |Yellow|Weight|
| |Min |Max |Prob |Min |Max |Prob | |
+--+---------+---------+------+---------+---------+------+------+
| 0| 96( 75%)|128(100%)| 5| 64( 50%)|128(100%)| 5| 2|
| 1| 96( 75%)|128(100%)| 5| 64( 50%)|128(100%)| 5| 2|
| 2| 96( 75%)|128(100%)| 5| 64( 50%)|128(100%)| 5| 2|
| 3| 96( 75%)|128(100%)| 5| 64( 50%)|128(100%)| 5| 2|
| 4| 96( 75%)|128(100%)| 5| 64( 50%)|128(100%)| 5| 2|
| 5| 96( 75%)|128(100%)| 5| 64( 50%)|128(100%)| 5| 2|
| 6| 96( 75%)|128(100%)| 5| 64( 50%)|128(100%)| 5| 2|
| 7| 96( 75%)|128(100%)| 5| 64( 50%)|128(100%)| 5| 2|
Example 2
device-name
#
show qos tx random-detect 1/1/1
interface 1/1/1
---------------
queue-set 1
-----------
+==+=========+=========+======+=========+=========+======+======+
|Pr|Green |Green |Green |Yellow |Yellow |Yellow|Weight|
| |Min |Max |Prob |Min |Max |Prob | |
+--+---------+---------+------+---------+---------+------+------+
| 0| 64( 50%)|128(100%)| 5| 96( 75%)|128(100%)| 5| 2|
| 1| 64( 50%)|128(100%)| 5| 96( 75%)|128(100%)| 5| 2|
| 2| 96( 75%)|128(100%)| 5| 64( 50%)|128(100%)| 5| 2|
| 3| 96( 75%)|128(100%)| 5| 64( 50%)|128(100%)| 5| 2|
| 4| 96( 75%)|128(100%)| 5| 64( 50%)|128(100%)| 5| 2|
| 5| 96( 75%)|128(100%)| 5| 64( 50%)|128(100%)| 5| 2|
| 6| 64( 50%)|128(100%)| 5| 96( 75%)|128(100%)| 5| 2|
| 7| 64( 50%)|128(100%)| 5| 96( 75%)|128(100%)| 5| 2|