< Home

lacp system-priority

Function

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.

Format

lacp system-priority priority

undo lacp system-priority

Parameters

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.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

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.

When running the lacp priority-command-mode command, note the following points:
  • If you specify default in the command, the LACP system priority and LACP interface priority configurations still use the same command (lacp priority priority).
  • If you specify system-priority in the command, run the lacp system-priority priority command to configure the LACP system priority and run the lacp priority priority command to configure the 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.

Example

# Set the LACP system priority to 10.

<HUAWEI> system-view
[HUAWEI] lacp priority-command-mode system-priority
[HUAWEI] lacp system-priority 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >