< Home

lacp priority

Function

The lacp priority command sets the LACP priority of the system or an interface.

The undo lacp priority command restores the default.

Format

lacp priority lacp-priority

undo lacp priority

Parameters

Parameter Description Value

lacp-priority

Specifies the LACP priority. A smaller value indicates a higher priority.

The value ranges from 0 to 65535. The default value is 32768.

Views

System view, Ethernet interface view, or Layer-2 Ethernet interface view

Default Level

2: Configuration level

Usage Guidelines

  • LACP system priority

    LACP system priorities are set for devices at both ends of a trunk link. In static LACP mode, active member interfaces selected by both devices must be consistent; otherwise, the LAG cannot be established. To keep active member interfaces consistent at both ends, set a higher priority for one end (the actor). In this manner, the other end (the partner) selects active member interfaces based on the selection of the peer.

    The smaller the LACP system priority value, the higher the LACP system priority. The end of a smaller priority value functions as the actor. If the two ends have the same priority, the end with a smaller MAC address as the actor.

  • LACP interface priority

    The LACP interface priority is set for a member interface to determine whether it can be selected as an active member interface. The smaller the LACP interface priority value, the higher the LACP interface priority.

Example

# Set the LACP priority of the system to 10000.

<sysname> system-view
[sysname] lacp priority 10000

# Set the LACP priority of GigabitEthernet 0/0/1 to 10000.

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