< Home

(Optional) Setting the LACP Interface Priority

Context

In LACP mode, LACP interface priorities are set to prioritize interfaces of the same device. Interfaces with higher priorities are selected as active interfaces.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The member interface view is displayed.

  3. Run lacp priority priority

    The LACP priority of the member interface is configured.

    By default, the LACP interface priority is 32768. In priority comparisons, numerically lower values have higher priority.

    By default, the system selects active interfaces based on interface priorities. This may lead to low-speed member interfaces with high priorities being selected as active interfaces, providing less bandwidth for services. To select high-speed member interfaces as active interfaces, run the lacp selected { priority | speed } command to configure the system to select active interfaces based on the interface rate.

    If the max active-linknumber link-number command is run in the Eth-Trunk interface view, you need to run the lacp preempt enable command to enable LACP preemption on the current Eth-Trunk interface. Otherwise, interfaces with high LACP interface priorities may fail to be selected as active interfaces.

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