<Sysname> system-view
[Sysname] link-aggregation group 1 mode static
# Add Ethernet 1/0/1 through Ethernet 1/0/3 to aggregation group 1.
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] port link-aggregation group 1
[Sysname-Ethernet1/0/1] quit
[Sysname] interface Ethernet 1/0/2
[Sysname-Ethernet1/0/2] port link-aggregation group 1
[Sysname-Ethernet1/0/2] quit
[Sysname] interface Ethernet1/0/3
[Sysname-Ethernet1/0/3] port link-aggregation group 1
3) Adopting
dynamic
LACP aggregation mode
# Enable LACP on Ethernet 1/0/1 through Ethernet 1/0/3.
<Sysname> system-view
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] lacp enable
[Sysname-Ethernet1/0/1] quit
[Sysname] interface Ethernet 1/0/2
[Sysname-Ethernet1/0/2] lacp enable
[Sysname-Ethernet1/0/2] quit
[Sysname] interface Ethernet1/0/3
[Sysname-Ethernet1/0/3] lacp enable
The three LACP-enabled ports can be aggregated into one dynamic aggregation group to implement
load sharing only when they have the same basic configuration (such as rate, duplex mode, and so on).
13-11