< Home

Configuring a WRED Drop Profile

Context

A WRED drop profile defines the upper drop threshold, lower drop threshold, and drop probability for different colored packets. WRED randomly discards packets based on drop parameters to prevent global TCP synchronization, and defines different drop policies based on packet colors. WRED discards packets based on packet priorities. Packets with higher priorities have a low probability of being discarded. For more information about packet colors, see Configuring Priority Mapping.

Congestion avoidance applies only to unicast traffic.

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 congestion avoidance using a WRED profile.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run drop-profile drop-profile-name

    A WRED drop profile is created and the drop profile view is displayed.

    By default, the WRED drop profile default exists, which can be modified but not deleted.

  3. Run color { green | non-tcp | red | yellow } low-limit low-limit-percentage high-limit high-limit-percentage discard-percentage discard-percentage

    WRED parameters are set. low-limit specifies the lower threshold, high-limit specifies the upper threshold, and discard-percentage specifies the maximum drop probability.

    By default, low-limit, high-limit, and discard-percentage of a WRED drop profile are all set to 100.

  4. (Optional) Run queue-depth queue-depth-value

    The length of the port queue is set.

    Only the S5720-HI, S5731-S, S5731S-S, S5731-H, and S5731S-H supports this command.

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