< Home

qos wred

Function

The qos wred command applies a WRED drop profile to an interface.

The undo qos wred command deletes a WRED drop profile from an interface.

By default, no WRED drop profile is applied to an interface.

Only the S5720-EI, S6720-EI, and S6720S-EI support this command.

Format

qos wred drop-profile-name

undo qos wred

Parameters

Parameter

Description

Value

drop-profile-name

Specifies the name of a WRED drop profile.

The value must be the name of an existing WRED drop profile.

Views

GE interface view, XGE interface view, 40GE interface view, port group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After a WRED drop profile is applied to an interface, congestion avoidance is implemented on the interface.

Prerequisites

Before applying a WRED drop profile, run the drop-profile command to create a WRED drop profile.

Precautions

A WRED drop profile can be applied to an interface or a queue.

If you apply WRED drop profiles to an interface and to a queue on the interface, the system first matches the packets with the profiles applied to the queue and interface in sequence. The system performs congestion avoidance for the packets that match the WRED drop profiles.

To configure the same WRED drop profile on multiple interfaces, perform the configuration on a port group to reduce the workload.

Example

# Create a WRED drop profile named wred1 and apply it to the GE0/0/1.

<HUAWEI> system view
[HUAWEI] drop-profile wred1
[HUAWEI-drop-wred1] color green low-limit 80 high-limit 100 discard-percentage 10
[HUAWEI-drop-wred1] color yellow low-limit 60 high-limit 80 discard-percentage 20
[HUAWEI-drop-wred1] color red low-limit 40 high-limit 60 discard-percentage 40
[HUAWEI-drop-wred1] quit
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] qos wred wred1
[HUAWEI-GigabitEthernet0/0/1] quit
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >