The display port-wred configuration command displays the configurations of WRED objects for port queues.
Usage Scenario
After the WRED objects are configured on port queues, the display port-wred configuration command can be used to check whether the configurations of WRED objects for the port queues are correct.
Prerequisites
The port-wred command has been run to create a WRED object.
Precautions
If the port-wred command has not been run to configure a WRED object, the display port-wred configuration command output will show that the number of WRED objects is 0.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display port-wred configuration verbose
Port wred name : pw
---------------------------------------------------
Color Low-limit High-limit Discard-percent
---------------------------------------------------
green 100 100 100
yellow 100 100 100
red 100 100 100
Queue Depth(kbytes) : 8000
Reference relationships : NULL
Total number :1
<HUAWEI> display port-wred configuration
[port-wred brief information]
total number :1
port-wred-name is-used
pw no
Item | Description |
---|---|
Color | Color of a packet, which can be green, yellow, or red. |
Low-limit | Lower drop threshold (in percentage) If the length of a queue exceeds the lower drop threshold, the system starts to drop packets based on the configured drop probability. |
High-limit | Upper drop threshold (in percentage) If the length of a queue exceeds the upper drop threshold, the system starts to drop all received packets. |
Discard-percent | Drop probability If the length of a queue is between the lower and upper drop thresholds, the system drops packets based on the drop probability. |
Queue Depth | Queue depth(Unit: kbytes). |
Reference relationships | Port queues to which a WRED object is applied. |
total number | Total number of WRED objects created for port queues. |
port-wred-name | Name of a WRED object created for a port queue. |
is-used | Whether the WRED object of a port queue is in use. |