qos red-profile

Configures a weighted random early detection (WRED) profile which includes the setting of the thresholds and drop probability by percentage. The command also enables or disable Explicit Congestion Notification (ECN) feature.

Syntax

qos red-profile profile-ID min-threshold min-percentage max-threshold max-percentage drop-probability percentage ecn { on | off }
no qos red-profile profile-ID

Parameters

profile-ID
Specifies the profile identifier. Enter an integer from 0 to 383.
min-threshold min-percentage
Specifies the minimum average queue size in percentage for randomly dropping packets. Enter an integer from 0 through 100.
max-threshold max-percentage
Specifies the maximum average queue size in percentage which all packets are accepted by the device. Enter an integer from 0 through 100.
drop-probability percentage
Specifies the drop probability in percentage when the queue size is at the maximum. Enter an integer from 0 through 100.
ecn on off
Enables or disables Explicit Congestion Notification (ECN) feature.

Modes

Global configuration mode

Usage Guidelines

You can configure a maximum on 256 profiles.

After configuring the profile, apply it to an interface with the qos random-detect traffic-class command.

Use the no form of this command to delete the profile.

Use the ecn {on | off} command to enable or disable Explicit Congestion Notification (ECN) for this device. ECN allows the routers and switches to signal the traffic end-points of the congestion without dropping any frames, and thus the end-points can adjust their transmission rates without the added latency and jitter that would have been introduced by dropped frames.

When a device detects a congestion, it is imperative that the device indicates to the other end-points about the congestion as soon as it is detected. Since a congestion in one direction need not imply a congestion in its opposite direction, this device has to indicate to the other end-point so that it, the other end-point, can take appropriate action.

ECN requires that Random Early Detection (RED) profiles are created using the red-profile command and applied to the interface. ECN is only available for Unicast frames.

Examples

The following example is a WRED configuration.

device# configure terminal
device(config)# qos red-profile 1 min-threshold 30 max-threshold 60 drop-probability 44 ecn on