Context
LACP system priority differentiates priorities of devices at both ends. In LACP mode, active
interfaces selected by devices at both ends must be consistent; otherwise, the LAG cannot be
set up. To keep active interfaces consistent at both ends, you can set the priority of one device
to be higher than that of the other device so that the other device can select active interfaces
according to those selected by the device with a higher priority.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
lacp priority-command-mode
{
default
|
system-priority
}
The configuration mode of the LACP system priority is set.
By default, the configuration mode of the LACP system priority is
default
.
If the
lacp priority
command used to set the LACP interface priority is executed in the system
view, the Eth-Trunk in LACP mode may alternate between Up and Down. To prevent this
situation, run the
lacp priority-command-mode
command in the system view to set the
configuration mode of the LACP system priority to
system-priority
. This mode can be used to
differentiate the LACP system priority and LACP interface priority.
Step 3
Use either of the following methods to set the LACP system priority based on the configuration
mode.
l
default
mode
Run the
lacp priority
priority
command to set the LACP system priority.
l
system-priority
mode
Run the
lacp system-priority
priority
command to set the LACP system priority.
A smaller LACP priority value indicates a higher priority. By default, the LACP system priority
is 32768.
The end with a smaller priority value functions as the Actor. If the two ends have the same
priority, the end with a smaller MAC address functions as the Actor.
----End
2.6.2.7 (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.
Huawei AR530&AR550 Series Industrial Switch Routers
Configuration Guide - Ethernet Switching
2 Link Aggregation Configuration
Issue 01 (2014-11-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
53