Configuration Procedure
Follow these steps to configure WRED:
To do...
Enter system view
Create a WRED table
Configure the drop
parameters for each
queue in the WRED
table
Enter
Enter
interface
interface
view
view or
Enter port
port group
group
view
view
Apply the WRED table
Configuration Example
Network requirements
Apply a queue-based WRED table to port GigabitEthernet 2/0/1.
Configuration procedure
# 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 gigabitethernet 2/0/1
# Apply the queue-based WRED table to GigabitEthernet 2/0/1.
[Sysname-GigabitEthernet2/0/1] qos wred apply queue-table1
Displaying and Maintaining WRED
To do...
Display WRED configuration
information on the interface or
all interfaces
Display configuration
information about a WRED
table or all WRED tables
Use the command...
system-view
qos wred queue table table-name
queue queue-id [ drop-level
drop-level ] low-limit low-limit
[ discard-probability discard-prob ]
interface interface-type
interface-number
port-group manual port-group-name
qos wred apply table-name
Use the command...
display qos wred interface
[ interface-type
interface-number ]
display qos wred table
[ table-name ]
6-3
Remarks
—
—
Optional
By default, the low-limit
argument is 100 and the
discard-prob argument is 10.
Use either command
Settings in interface view take
effect on the current interface;
settings in port group view take
effect on all ports in the port
group.
Required
Remarks
Available in any view
Available in any view