queue ecn
Use queue ecn to enable ECN for a queue.
Use undo queue ecn to restore the default.
Syntax
queue queue-id ecn
undo queue queue-id ecn
Default
ECN is not enabled on any queue.
Views
WRED table view
Predefined user roles
network-admin
Parameters
queue-id: Specifies a queue by its ID in the range of 0 to 7.
Usage guidelines
When both the receiver and sender support ECN, the device can notify the peer end of the congestion status by identifying and setting the ECN flag. ECN avoids deteriorating congestion.
Examples
# In WRED table queue-table1, enable ECN for queue 1.
<Sysname> system-view [Sysname] qos wred queue table queue-table1 [Sysname-wred-table-queue-table1] queue 1 ecn
Related commands
display qos wred table
qos wred table