< Home

lacp priority-command-mode

Function

The lacp priority-command-mode command sets a Link Aggregation Control Protocol (LACP) system priority configuration mode.

The undo lacp priority-command-mode command restores the default LACP system priority configuration mode.

By default, the LACP system priority configuration mode is default.

Format

lacp priority-command-mode { default | system-priority }

undo lacp priority-command-mode

Parameters

Parameter Description Value
default

Sets the LACP system priority configuration mode to default.

In default mode, the LACP system priority is configured using the lacp priority command in the system view.

-
system-priority

Sets the LACP system priority configuration mode to system-priority.

In system-priority mode, the LACP system priority is configured using the lacp system-priority command in the system view.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

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.

Precautions

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.

Example

# Set the LACP system priority configuration mode to system-priority.

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