WRED/ECN Configuration Example
Configure Global Profile for WRED
1. Enable WRED globally.
2. Enable a transmit queue.
3. Configure WRED thresholds (minimum, maximum, and drop rate) for TCP traffic.
4. Configure WRED thresholds (minimum, maximum, and drop rate) for non‐TCP
5. Select the port.
6. Enable WRED for the port.
Configure Port-level Profile for WRED
1. Enable WRED globally.
2. Select the port.
250
G8264 Application Guide for ENOS 8.4
Follow these steps to enable WRED/ECN and configure a global and/or port‐level
profile. If you configure global and port‐level profile, WRED/ECN uses the
port‐level profile to make transmit/drop decisions when experiencing traffic
congestion.
RS G8264(config)# qos randomdetect enable
RS G8264(config)# qos randomdetect transmitqueue 0 enable
RS G8264(config)# qos randomdetect transmitqueue 0 tcp minthreshold 1
maxthreshold 2 droprate 3
Note: Percentages are of Average Queue available in hardware and not
percentages of traffic.
traffic.
RS G8264(config)# qos randomdetect transmitqueue 0 nontcp
minthreshold 4 maxthreshold 5 droprate 6
RS G8264(config)# interface port 1
RS G8264(configif)# randomdetect enable
RS G8264(configif)# exit
RS G8264(config)# qos randomdetect enable
RS G8264(config)# interface port 1