By default, an Eth-Trunk works in Layer 2 mode.
l
Create a Layer 3 Eth-Trunk.
1.
Run:
system-view
The system view is displayed.
2.
Run:
interface eth-trunk
trunk-id
A Layer 2 Eth-Trunk is created.
3.
Run:
undo portswitch
The Eth-Trunk is configured to work in Layer 3 mode.
4.
Run:
ip address
ip-address
{
mask
|
mask-length
} [
sub
]
An IP address is configured for the Layer 3 Eth-Trunk.
5.
(Optional) Run:
mtu
mtu
The maximum transmission unit (MTU) of the Eth-Trunk is set.
The default MTU of an interface is 1500 bytes.
NOTICE
l
The
mtu
command cannot be used on Layer 2 Eth-Trunks.
l
Directly connected interfaces must use the same MTU. If you change the MTU of
a local interface, you must use the
mtu
command to change the MTU of the remote
interface to be the same value; otherwise, services may be interrupted.
l
After changing the MTU on an interface, run the
shutdown
command and then
the
undo shutdown
command on the interface to make the setting take effect.
----End
2.6.2.2 Setting the LACP Mode
Context
Link aggregation can work in manual load balancing mode or LACP mode depending on whether
LACP is used.
In LACP mode, you must manually create an Eth-Trunk and add interfaces to the Eth-Trunk.
However, LACP determines active interfaces through negotiation.
Before changing the working mode of an Eth-Trunk, ensure that the Eth-Trunk contains no
member interface.
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.
48