White Papers

Table Of Contents
â—Ź When WRED is configured on a global service-pool (regardless of whether ECN is configured on the global service-pool),
and one or more queues have WRED enabled and ECN disabled, WRED is effective for the minimum threshold between the
queue threshold and the service-pool threshold.
â—Ź When WRED is configured on the global service-pool (regardless of whether ECN is configured on the global service-pool),
and one or more queues are enabled with both WRED and ECN, ECN marking takes effect. The packets are ECN marked to
the shared-buffer limits as determined by the shared-ratio for the global service-pool.
WRED/ECN configurations for backplane port queues are applied to all backplane ports and cannot be specified separately on
each backplane port. This behavior occurs to prevent system-level complexities in enabling this support for backplane ports.
Also, WRED/ECN is not supported for multicast packets.
The following table describes the WRED and ECN operations performed on a queue and service pool for various WRED with
ECN scenarios. (N/A indicates that a configuration is not applicable. )
Table 79. Scenarios for WRED and ECN Configuration
Queue Configuration Service-Pool Configuration WRED Threshold
Relationship
Q threshold = Q-
T
Service-pool
threshold = SP-T
Expected
Functionality
WRED ECN WRED ECN
Disabled Disabled N/A N/A N/A WRED/ECN not
applicable
Enabled Disabled Disabled N/A N/A Queue-based
WRED;
No ECN marking
Enabled N/A Q-T < SP-T
SP-T < Q-T Service-pool-based
WRED;
No ECN marking
Enabled Enabled Disabled N/A N/A Queue-based ECN
marking above
queue threshold.
ECN marking up to
shared buffer limits
of the service-pool
and then packets
are tail dropped.
Enabled N/A Q-T < SP-T
SP-T < Q-T Same as above but
ECN marking starts
above SP-T.
Configuring WRED and ECN Attributes
The functionality to configure a weight factor for the WRED and ECN functionality for backplane ports is supported on the
platform.
WRED drops packets when the average queue length exceeds the configured threshold value to signify congestion. Explicit
Congestion Notification (ECN) is a capability that enhances WRED by marking the packets instead of causing WRED to drop
them when the threshold value is exceeded. If you configure ECN for WRED, devices employ this functionality of ECN to mark
the packets and reduce the rate of sending packets in a congested, heavily-loaded network.
To configure the weight factor for WRED and ECN capabilities, global buffer pools for multiple queues, and associating a service
class with ECN marking, perform the following:
Quality of Service (QoS)
669