1-10
Configuration procedure
The following only lists the configuration on Switch A; you must perform the similar configuration on
Switch B to implement link aggregation.
1) Adopting manual aggregation mode
# Create manual aggregation group 1.
<Sysname> system-view
[Sysname] link-aggregation group 1 mode manual
# Add Ethernet 1/0/1 through Ethernet 1/0/3 to aggregation group 1.
[Sysname] interface Ethernet1/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
2) Adopting static LACP aggregation mode
# Create static aggregation group 1.
<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