The system view is displayed.
Step 2
Run:
interface eth-trunk
trunk-id
The Eth-Trunk interface view is displayed.
Step 3
Run:
least active-linknumber
link-number
The lower threshold for the number of active interfaces is set.
By default, the lower threshold for the number of active interfaces is 1.
The lower threshold for the number of active interfaces on the local industrial switch router can
be different from that on the remote industrial switch router. If the two values are different, the
larger one is used.
----End
2.6.1.5 (Optional) Configuring a Load Balancing Mode
Context
Perform the following steps on the device to configure a load balancing mode for an Eth-Trunk.
Procedure
l
Configure a Layer 2 Eth-Trunk.
1.
Run:
system-view
The system view is displayed.
2.
Run:
load-balance
{
dst-ip
|
dst-mac
|
src-ip
|
src-mac
|
src-dst-ip
|
src-dst-
mac
}
A load balancing mode is configured for the Eth-Trunk.
By default, the load balancing mode of a Layer 2 Eth-Trunk is
src-dst-mac
.
Eth-Trunk member interfaces use flow-based load balancing. The local and remote
ends can use different load balancing modes, without affecting each other.
NOTE
All Layer 2 Eth-Trunks in the system must use the same load balancing mode. If the load
balancing mode of one Eth-Trunk is changed, all the other Eth-Trunks use the new load
balancing mode.
l
Configure a Layer 3 Eth-Trunk.
1.
Run:
system-view
The system view is displayed.
2.
Run:
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.
46