Foundry NetIron M2404C and M2404F Metro Access Switches
Configuring QoS (Rev. 03)
Overview
© 2008 Foundry Networks, Inc.
Page 52 of 62
| 7| 64( 50%)|128(100%)| 5| 96( 75%)|128(100%)| 5| 2|
+==+=========+=========+======+=========+=========+======+======+
3. Display the WRED configuration on interface 1/1/5
device-name
#
show qos tx random-detect 1/1/5
interface 1/1/5
---------------
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|
+==+=====+=====+======+======+======+======+=====+=====+=====+======+
Setting WRED Parameters
The following example enables WRED on the interface and specifies parameters for the different
queues:
1. Set WRED profile 2:
device-name
#
configure terminal
device-name
(config)#
qos tx queue-set 2 random-detect priority 0 50 10 75
10 exponential-weighting-constant 5
2. Set WRED profile 2 on interface 1/1/3:
device-name
(config)#
interface 1/1/3
device-name
(config-if 1/1/3)#
qos tx random-detect queue-set 2
device-name
(config-if 1/1/3)#
end
3. Display the WRED profile 2 settings:
device-name
#
show qos tx random-detect queue-set 2
queue-set 2
-----------
+==+=========+=========+======+=========+=========+======+======+
|Pr|Green |Green |Green |Yellow |Yellow |Yellow|Weight|
| |Min |Max |Prob |Min |Max |Prob | |
+--+---------+---------+------+---------+---------+------+------+
| 0| 64( 50%)|128(100%)| 10| 96( 75%)|128(100%)| 10| 5|
| 1| 48( 38%)|128(100%)| 5| 32( 25%)|128(100%)| 5| 2|
| 2| 48( 38%)|128(100%)| 5| 32( 25%)|128(100%)| 5| 2|
| 3| 48( 38%)|128(100%)| 5| 32( 25%)|128(100%)| 5| 2|
| 4| 48( 38%)|128(100%)| 5| 32( 25%)|128(100%)| 5| 2|
| 5| 48( 38%)|128(100%)| 5| 32( 25%)|128(100%)| 5| 2|
| 6| 48( 38%)|128(100%)| 5| 32( 25%)|128(100%)| 5| 2|
| 7| 48( 38%)|128(100%)| 5| 32( 25%)|128(100%)| 5| 2|
+==+=========+=========+======+=========+=========+======+======+
4. Display the WRED configuration on interface 1/1/3