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.

By default, the LACP system priority is 32768.

Format

lacp system-priority priority

undo lacp system-priority

Parameters

Parameter Description Value
system-priority priority

Specifies an LACP system priority.

The value is an integer ranging from 0 to 65535. The smaller the LACP priority value, the higher the priority.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
trunk write

Usage Guidelines

Usage Scenario

LACP system priorities are set to prioritize the device at either end of an Eth-Trunk link. The device with a higher system priority is selected as the Actor, and then active member interfaces are selected according to the configuration of the Eth-Trunk interface on the Actor.

If neither of the device at either end of an Eth-Trunk link is configured with a system priority, the devices use the default value 32768. In this case, the Actor is selected based on the system ID. That is, the device with the smaller system ID becomes the Actor.

You can run the lacp priority command in the system view to change the Actor of an Eth-Trunk link.

Prerequisites

The LACP system priority configuration mode has been set to system-priority using the lacp priority-command-mode system-priority command in the system view.

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 >