The lacp system-priority command configures a Link Aggregation Control Protocol (LACP) system priority.
The undo lacp system-priority command restores the default LACP system priority.
The default LACP system priority is 32768.
Parameter | Description | Value |
---|---|---|
priority | Specifies an LACP system priority. | The value is an integer ranging from 0 to 65535. A smaller value indicates a higher LACP priority. |
Usage Scenario
The system priority is set to differentiate the priority of the local device and the peer device. The system of a higher priority is selected as the Actor of the link aggregate group (LAG), and active interfaces are selected according to interfaces of the Actor.
If the devices on both ends of the Eth-Trunk are not configured with system priorities, the devices use the default priority 32768. In this case, the Actor is selected according to the system MAC. The system with a smaller MAC is selected as the Actor.
A change in the LACP system priority will cause LACP renegotiation. During the renegotiation process, Eth-Trunk interfaces in LACP mode will go Down until the renegotiation succeeds, which may interrupt services. 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.
Prerequisites
The lacp priority-command-mode system-priority command has been executed in the system view to set the configuration mode of the LACP system priority to system-priority.