Professional Documents
Culture Documents
MENU
Support Documentation Switches Data Center Switch CloudEngine 5800 Configuration & Commissioning Configuration
Translation
Configuration Guide - Ethernet Switching Favorite
https://support.huawei.com/enterprise/en/doc/EDOC1100004351/56fa680f/example-for-configuring-link-aggregation-in-lacp-mode 1/7
12/3/2019 Example for Configuring Link Aggregation in LACP Mode - CloudEngine 8800, 7800, 6800, and 5800 V200R003C00 Configuration Guide - Ethernet Switching - Huawei
Creating an Eth-Trunk
Procedure
Layer 3 Sub-interface
1. Create Eth-Trunk 1 on SwitchA and configure Eth-Trunk 1 to work in LACP mode.
The configuration of SwitchB is similar to the configuration of SwitchA, and is not
Maintaining Link
mentioned here.
Aggregation
<HUAWEI> system-view
Configuration Examples
[~HUAWEI] sysname SwitchA
for Link Aggregation
[*HUAWEI] commit
Example for [~SwitchA] interface eth-trunk 1
Configuring Link [*SwitchA-Eth-Trunk1] mode lacp-static
Aggregation in
Previous Next
https://support.huawei.com/enterprise/en/doc/EDOC1100004351/56fa680f/example-for-configuring-link-aggregation-in-lacp-mode 2/7
12/3/2019 Example for Configuring Link Aggregation in LACP Mode - CloudEngine 8800, 7800, 6800, and 5800 V200R003C00 Configuration Guide - Ethernet Switching - Huawei
https://support.huawei.com/enterprise/en/doc/EDOC1100004351/56fa680f/example-for-configuring-link-aggregation-in-lacp-mode 3/7
12/3/2019 Example for Configuring Link Aggregation in LACP Mode - CloudEngine 8800, 7800, 6800, and 5800 V200R003C00 Configuration Guide - Ethernet Switching - Huawei
[*SwitchA-10GE1/0/2] quit
Troubleshooting Link
Aggregation MENU
[*SwitchA] commit
6. Verify the configuration.
References for Link
Aggregation # Check information about the Eth-Trunk of the Switches and check whether
negotiation is successful on the link.
Translation
M-LAG Configuration [~SwitchA] display eth-trunk 1
Eth-Trunk1's state information is: Favorite
VLAN Configuration Local:
Download
LAG ID: 1 Working Mode: Static
QinQ Configuration Preempt Delay: Disabled Hash Arithmetic: profile default
System Priority: 100 System ID: 0025-9e95-7c31
VLAN Mapping Configuration Least Active-linknumber: 1 Max Active-linknumber: 2
Operating Status: up Number Of Up Ports In Trunk: 2
GVRP Configuration Timeout Period: Slow
----------------------------------------------------------------
STP/RSTP Configuration ActorPortName Status PortType PortPri PortNo PortKey
10GE1/0/1 Selected 10GE 100 1 20289
MSTP Configuration 10GE1/0/2 Selected 10GE 100 2 20289
10GE1/0/3 Unselect 10GE 32768 3 20289
VBST Configuration
Partner:
ERPS (G.8032) Configuration ----------------------------------------------------------------
ActorPortName SysPri SystemID PortPri PortNo P
Loopback Detection 10GE1/0/1 32768 0025-9e95-7c11 32768 4 2
Configuration 10GE1/0/2 32768 0025-9e95-7c11 32768 5 2
10GE1/0/3 32768 0025-9e95-7c11 32768 6 2
Layer 2 Protocol Transparent
Transmission Configuration
https://support.huawei.com/enterprise/en/doc/EDOC1100004351/56fa680f/example-for-configuring-link-aggregation-in-lacp-mode 4/7
12/3/2019 Example for Configuring Link Aggregation in LACP Mode - CloudEngine 8800, 7800, 6800, and 5800 V200R003C00 Configuration Guide - Ethernet Switching - Huawei
Partner: Download
----------------------------------------------------------------
ActorPortName SysPri SystemID PortPri PortNo P
10GE1/0/1 100 0025-9e95-7c31 100 1 2
10GE1/0/2 100 0025-9e95-7c31 100 2 2
10GE1/0/3 100 0025-9e95-7c31 32768 3 2
The preceding information shows that the LACP system priority of SwitchA is 100,
which is higher than the LACP system priority of SwitchB. Member interfaces
10GE1/0/1 and 10GE1/0/2 become the active interfaces and are in Selected state.
Interface 10GE1/0/3 is in Unselect state. Two links are active and work in load
balancing mode, and one link is the backup link.
Configuration Files
#
sysname SwitchA
#
lacp priority 100
#
interface Eth-Trunk1
mode lacp-static
Previous
lacp max active-linknumber 2 Next
https://support.huawei.com/enterprise/en/doc/EDOC1100004351/56fa680f/example-for-configuring-link-aggregation-in-lacp-mode 5/7
12/3/2019 Example for Configuring Link Aggregation in LACP Mode - CloudEngine 8800, 7800, 6800, and 5800 V200R003C00 Configuration Guide - Ethernet Switching - Huawei
#
MENU interface 10GE1/0/1
eth-trunk 1
lacp priority 100
#
interface 10GE1/0/2
eth-trunk 1 Translation
lacp priority 100
# Favorite
interface 10GE1/0/3
eth-trunk 1 Download
#
return
#
sysname SwitchB
#
interface Eth-Trunk1
mode lacp-static
#
interface 10GE1/0/1
eth-trunk 1
#
interface 10GE1/0/2
eth-trunk 1
#
interface 10GE1/0/3
eth-trunk 1
#
return
Previous Next
https://support.huawei.com/enterprise/en/doc/EDOC1100004351/56fa680f/example-for-configuring-link-aggregation-in-lacp-mode 6/7
12/3/2019 Example for Configuring Link Aggregation in LACP Mode - CloudEngine 8800, 7800, 6800, and 5800 V200R003C00 Configuration Guide - Ethernet Switching - Huawei
MENU
About Huawei How to Buy Partner Resources Quick Links
APP
Previous Next
https://support.huawei.com/enterprise/en/doc/EDOC1100004351/56fa680f/example-for-configuring-link-aggregation-in-lacp-mode 7/7