display port-wred configuration

Function

The display port-wred configuration command displays the configurations of WRED objects for port queues.

Format

display port-wred configuration [ verbose [ port-wred-name ] ]

Parameters

Parameter Description Value
verbose

Displays details of a user-defined service profile.

-

port-wred-name

Specifies the name of a WRED object for a port queue.

The value is a string of 1 to 31 characters.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
qos write

Usage Guidelines

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.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display details of the WRED objects for all port queues.
<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
# Display the summary of the WRED objects for all the port queues.
<HUAWEI> display port-wred configuration
[port-wred brief information]
total number :1

 port-wred-name                     is-used
 pw                                 no
Table 1 Description of the display port-wred configuration command output
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.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >