Foundry NetIron M2404C and M2404F Metro Access Switches
Configuring QoS (Rev. 03)
Overview
© 2008 Foundry Networks, Inc.
Page 51 of 62
14 | none | none | none
15 | none | none | none
16 | none | none | none
17 | none | none | none
18 | none | none | none
19 | none | none | none
20 | none | none | none
21 | none | none | none
22 | 22 | 2 | yellow
...
Traffic Shaping Configuration
The following example assigns a transmission rate of 2M.
1. Set Traffic shaping on port 1/1/1 to 2M:
device-name
#
configure terminal
device-name
(config)#
interface 1/1/1
device-name
(config-if 1/1/1)#
qos tx shaper rate 2m burst 64k
Actual rate is set to 2048kbps due to granularity limitation
device-name
(config-if 1/1/1)#
end
2. Display the Traffic shaping configuration:
device-name
#
show qos tx shaper
Interface 1/1/1
==================
qos shaper rate 2048K burst 64K
WRED Configuration Examples
WRED Configuration
The following example enables WRED with default parameter values.
1. Set WRED profile 1 on interface 1/1/5:
device-name
#
configure terminal
device-name
(config)#
interface 1/1/5
device-name
(config-if 1/1/5)#
qos tx random-detect queue-set 1
device-name
(config-if 1/1/5)#
end
2. Display the WRED profile 1 settings:
device-name
#
show qos tx random-detect queue-set 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|