flow-wred

Function

The flow-wred command creates a flow-WRED object.

The undo flow-wred command deletes a flow queue WRED object.

By default, no flow-WRED object is created.

Format

flow-wred wred-name

undo flow-wred wred-name

Parameters

Parameter Description Value
wred-name

Specifies the name of a flow-WRED object.

The value is a string of 1 to 31 characters.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
qos write

Usage Guidelines

Usage Scenario

The flow-WRED object can be used to configure color-based drop policy and queue length.

With the flow-WRED object, you can set the lower and upper thresholds and drop probability for a queue. When the percentage of the actual queue length is smaller than the lower threshold, no packet is dropped. When the percentage of the actual queue length ranges from the lower threshold to the upper one, WRED randomly drops packets (the longer the queue, the higher the droop probability). When the percentage of the actual queue length is greater than the upper threshold, all packets are dropped.

After a flow-WRED object is applied to a flow queue, different drop policies can be applied to packets of different colors in the flow queue.

Configuration Impact

If no flow-WRED object is configured for a user, the system tail drops packets by default.

If the specified wred-name does not exist, the system creates a new flow queue WRED object.

If the wred-name exists, the system enters the flow queue WRED view and then you can modify the parameters of it.

Precautions

A maximum of 6144 flow-WRED objects can be created in the system.

Flow-WRED objects that are applied to a flow queue profile cannot be deleted.

Example

# Create a flow queue WRED object named test.
<HUAWEI> system-view
[*HUAWEI] flow-wred test
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >