Global configuration mode
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.
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