101
Parameters
name table-name: Specifies a WRED table by its name, a case-sensitive string of 1 to 32 characters.
If you do not specify a WRED table, this command displays the configuration of all WRED tables.
slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member
device, this command displays the WRED table configuration for the master device.
Examples
# Display the configuration of WRED table 1.
<Sysname> display qos wred table name 1
Table name: 1
Table type: Queue based WRED
QID gmin gmax gprob ymin ymax yprob rmin rmax rprob exponent ECN
----------------------------------------------------------------------------
0 100 1000 10 100 1000 10 100 1000 10 9 N
1 100 1000 10 100 1000 10 100 1000 10 9 N
2 100 1000 10 100 1000 10 100 1000 10 9 N
3 100 1000 10 100 1000 10 100 1000 10 9 N
4 100 1000 10 100 1000 10 100 1000 10 9 N
5 100 1000 10 100 1000 10 100 1000 10 9 N
6 100 1000 10 100 1000 10 100 1000 10 9 N
7 100 1000 10 100 1000 10 100 1000 10 9 N
Table 40 Command output
Field Description
Table name Name of a WRED table.
Table type Type of a WRED table.
QID Queue ID.
gmin Lower limit for green packets.
gmax Upper limit for green packets.
gprob Drop probability for green packets.
ymin Lower limit for yellow packets.
ymax Upper limit for yellow packets.
yprob Drop probability for yellow packets.
rmin Lower limit for red packets.
rmax Upper limit for red packets.
rprob Drop probability for red packets.
exponent Exponent for average queue length calculation.
ECN
Indicates whether ECN is enabled for the queue:
• Y—Enabled.
• N—Disabled.
qos wred apply
Use qos wred apply to apply a WRED table to an interface.