81
A queue-based WRED table can be applied to multiple interfaces. For a queue-based WRED table
already applied to an interface, you can modify the values of the queue-based WRED table, but you
cannot remove the queue-based WRED table.
Configuration procedure
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a WRED table
and enter its view.
qos wred queue table
table-name
By default, no WRED table exists.
3.
Configure the other
WRED parameters.
queue
queue-value
[
drop-level
drop-level
]
low-limit
low-limit
[
discard-probability
discard-prob
]
Optional.
4.
Enter interface view or
port group view.
•
Enter
interface
view
:
interface
interface-type
interface-number
•
Enter port group view:
port-group manual
port-group-name
Settings in interface view take effect on the
current interface. Settings in port group view
take effect on all ports in the port group.
5.
Apply the WRED table
to the interface or port
group.
qos wred apply
table-name
A queue-based WRED table is available on
only Layer 2 ports.
6.
Display the
configuration of a
WRED table or all
WRED tables.
display qos wred table
[
table-name
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view.
Configuration example
Apply a queue-based WRED table to Layer 2 port GigabitEthernet 1/0/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 gigabitethernet 1/0/1
# Apply the queue-based WRED table to GigabitEthernet 1/0/1.
[Sysname-GigabitEthernet1/0/1] qos wred apply queue-table1
Displaying and maintaining WRED