Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
interface
interface-type
interface-number
The member interface view is displayed.
Step 3
Run:
lacp priority
priority
The LACP priority of the member interface is configured.
By default, the LACP interface priority is 32768. A smaller priority value indicates a higher
LACP priority.
NOTE
By default, the system selects active interfaces based on interface priorities. However, low-speed member
interfaces with high priorities may be selected as active interfaces. To select high-speed member interfaces
as active interfaces, run the
lacp selected
{
priority
|
speed
} command to configure the system to select
active interfaces based on the interface rate.
----End
2.6.2.8 (Optional) Configuring LACP Preemption
Context
The LACP preemption function ensures that the interface with the highest LACP priority always
functions as an active interface. For example, the interface with the highest priority becomes
inactive due to a failure. If LACP preemption is enabled, the interface becomes active again
after it recovers; if LACP preemption is disabled, the interface cannot become active interface
after it recovers.
The LACP preemption delay is the period during which an inactive interface switches to active.
The LACP preemption delay prevents instable data transmission on an Eth-Trunk link due to
frequent status changes of some links.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
interface eth-trunk
trunk-id
The Eth-Trunk interface view is displayed.
Step 3
Run:
lacp preempt enable
Huawei AR530&AR550 Series Industrial Switch Routers
Configuration Guide - Ethernet Switching
2 Link Aggregation Configuration
Issue 01 (2014-11-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
54