< Home

drop-profile

Function

The drop-profile command creates a WRED drop profile and displays the WRED drop profile view, or displays the existing WRED drop profile view.

The undo drop-profile command deletes a WRED drop profile.

By default, the system provides a WRED drop profile named default.

Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this command.

Format

drop-profile drop-profile-name

undo drop-profile drop-profile-name

Parameters

Parameter

Description

Value

drop-profile-name

Specifies the name of a WRED drop profile.

The value is a string of 1 to 31 case-sensitive characters without spaces. When double quotation marks are used around the string, spaces are allowed in the string.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

A WRED drop profile defines WRED parameters for packets of different priorities. After the WRED drop profile is applied to an interface or queues on an interface, congestion avoidance is implemented. The drop-profile command creates a WRED drop profile or displays the WRED drop profile view.

Precautions

The S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-HI, S6730-H, S6730S-H, S6730-S, and S6730S-S support a maximum of 16 WRED drop profiles, and other switches support a maximum of 64 WRED drop profiles, including the default drop profile. The default drop profile can be modified but cannot be deleted.

Follow-up Procedure

  1. Set parameters for the WRED drop profile.

    Run the color command in the WRED drop profile view to set WRED parameters for packets of different priorities.

  2. Apply the WRED drop profile to an interface or queues on an interface.

Example

# Create a WRED drop profile named drop1 and enter the WRED drop profile view.

<HUAWEI> system-view
[HUAWEI] drop-profile drop1
[HUAWEI-drop-drop1]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >