Configuration example

Apply a queue-based WRED table to Layer 2 port Ethernet 1/1:

# Enter system view.

<Sysname> system-view

# Configure a queue-based WRED table.

[Sysname] qos wred queue table queue-table1
[Sysname-wred-table-queue-table1] quit

# Enter interface view.

[Sysname] interface ethernet 1/1

# Apply the queue-based WRED table to Ethernet 1/1.

[Sysname-Ethernet1/1] qos wred apply queue-table1