< Home

Applying the WRED Drop Profile

Context

On the device, you can apply a WRED drop profile to an interface, the system, or a queue on an interface.

If a WRED drop profile is applied to the system and an interface simultaneously, the WRED drop profile applied to the interface takes effect. After a WRED drop profile is applied to the system, it takes effect on all the interfaces.

If you apply a WRED drop profile to an interface and a queue on an interface simultaneously, the system first matches the packets with the profile applied to the queue, and then the profile applied to the interface. Then the device performs congestion avoidance on the packets that match the WRED drop profile.

Procedure

  • Apply a WRED drop profile to the system.
    1. Run system-view

      The system view is displayed.

    2. Run qos queue queue-index wred drop-profile-name

      A WRED drop profile is applied to the system.

  • Apply a WRED drop profile to an interface.
    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The interface view is displayed.

    3. Run qos wred drop-profile-name

      A WRED drop profile is applied to the interface.

      The parameter drop-profile-name specifies the name of a WRED drop profile. The value must be the same as that configured in Configuring a WRED Drop Profile.

      Only the S5720-EI, S6720-EI, and S6720S-EI support applying WRED drop profiles to interfaces.

  • Apply a WRED drop profile to a queue on an interface.
    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The interface view is displayed.

    3. Run qos queue queue-index wred drop-profile-name

      A WRED drop profile is applied to a queue on the interface.

      The drop-profile-name parameter specifies the name of a WRED drop profile. The value must be the same as that configured in Configuring a WRED Drop Profile.

      A WRED drop profile cannot be applied to interfaces 1 to 12 on the S6720-50L-HI-48S, S5732-H48S6Q, S5732-H48UM2CC, and S6730-H48X6C.

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