You are on page 1of 7

12/3/2019 Example for Configuring Link Aggregation in LACP Mode - CloudEngine 8800, 7800, 6800, and 5800 V200R003C00

d 5800 V200R003C00 Configuration Guide - Ethernet Switching - Huawei

 MENU  

Support Documentation  Switches   Data Center Switch   CloudEngine 5800   Configuration & Commissioning   Configuration

Translation
Configuration Guide - Ethernet Switching Favorite

CloudEngine 8800, 7800, 6800, and 5800 V200R003C00 Download

About This Document


Updated: 2018-11-07
Search in this manual
Ethernet Switching
Rate and give feedback : This Document
MAC Address Table Applies to these
Configuration
Products
Link Aggregation
Example for Configuring Link Aggregation in LACP Mode CloudEngine 5800
Configuration

Overview of Link Networking Requirements CloudEngine 8800


Aggregation
To improve bandwidth and connection reliability, configure a link aggregation group CloudEngine 6800
Understanding Link (LAG) on two directly connected Switches, as shown in Figure 3-20. The requirements
Aggregation are as follows: CloudEngine 7800

Application Scenarios Two active links implement load balancing.


for Link Aggregation One link functions as the backup link. When a fault occurs on an active link, the Related Documents
backup link replaces the faulty link to maintain reliable data transmission.
Summary of Link CloudEngine 8800, 7800, 6
Aggregation 800, and 5800 V200R003C
Configuration Tasks 00 Configuration Guide - Ba
Previous sic Configuration Next

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

Figure 3-20  Link aggregation in LACP mode CloudEngine 8800, 7800, 6


Licensing Requirements
 MENU
and Limitations for
 
800, and 5800 V200R003C
00 Configuration Guide - D
Ethernet Link
CN and Server Management
Aggregation

CloudEngine 8800, 7800, 6


Default Settings for Link
Translation
800, and 5800 V200R003C
Aggregation
00 Configuration Guide - IP
Favorite
Unicast Routing
Configuring Link
Aggregation in Manual Configuration Roadmap
Download
Load Balancing Mode
The configuration roadmap is as follows:
Share
Configuring Link 1. Create an Eth-Trunk and configure the Eth-Trunk to work in LACP mode to
Aggregation in LACP
implement link aggregation.
Mode
2. Add member interfaces to the Eth-Trunk.
Configuring Preferential 3. Set the LACP system priority and determine the Actor so that the Partner selects
Forwarding of Local active interfaces based on the Actor interface priority.
Traffic in a Stack
4. Set the upper threshold for the number of active interfaces to improve reliability.
Configuring Inter-device 5. Set LACP interface priorities and determine active interfaces so that interfaces with
Link Aggregation higher priorities are selected as active interfaces.
(Standalone Device)

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

Manual Load [*SwitchA-Eth-Trunk1] commit


Balancing Mode
 MENU [~SwitchA-Eth-Trunk1] quit  
(CE Switches
Excluding 2. Add member interfaces to Eth-Trunk 1 on SwitchA. The configuration of SwitchB is
CE6870EI and similar to the configuration of SwitchA, and is not mentioned here.
CE6875EI)
[~SwitchA] interface 10ge 1/0/1 Translation
Example for [~SwitchA-10GE1/0/1] eth-trunk 1
Configuring Link [*SwitchA-10GE1/0/1] quit Favorite
Aggregation in [*SwitchA] interface 10ge 1/0/2
LACP Mode [*SwitchA-10GE1/0/2] eth-trunk 1 Download
[*SwitchA-10GE1/0/2] quit
Example for [*SwitchA] interface 10ge 1/0/3
Configuring an [*SwitchA-10GE1/0/3] eth-trunk 1
Eth-Trunk to Work [*SwitchA-10GE1/0/3] quit
in Dynamic LACP
[*SwitchA] commit
Mode
3. Set the system priority on SwitchA to 100 so that SwitchA becomes the Actor.
Example for
Configuring an [~SwitchA] lacp priority 100
Inter-Chassis Eth- [*SwitchA] commit
Trunk to
Preferentially 4. On SwitchA, set the upper threshold for the number of active interfaces to 2.
Forward Traffic
Through Local [~SwitchA] interface eth-trunk 1
Member Interfaces [~SwitchA-Eth-Trunk1] lacp max active-linknumber 2
[*SwitchA-Eth-Trunk1] commit
Example for [~SwitchA-Eth-Trunk1] quit
Configuring Inter-
device Link 5. Set the LACP interface priority and determine active links on SwitchA.
Aggregation in
LACP Mode [~SwitchA] interface 10ge 1/0/1
(Standalone [~SwitchA-10GE1/0/1] lacp priority 100
Device) [*SwitchA-10GE1/0/1] quit
[*SwitchA] interface 10ge 1/0/2
[*SwitchA-10GE1/0/2] lacp priority 100
Previous Next

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

[~SwitchB] display eth-trunk 1


Eth-Trunk1's state information is:
Local:
LAG ID: 1 Working Mode: Static
Preempt Delay: Disabled
Previous Hash Arithmetic: profile default Next

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

System Priority: 32768 System ID: 0025-9e95-7c11


 MENU Least Active-linknumber: 1 Max Active-linknumber: 16  
Operating Status: up Number Of Up Ports In Trunk: 2
Timeout Period: Slow
----------------------------------------------------------------
ActorPortName Status PortType PortPri PortNo PortKey
10GE1/0/1 Selected 10GE 32768 4 20289 Translation
10GE1/0/2 Selected 10GE 32768 5 20289
10GE1/0/3 Unselect 10GE 32768 6 20289 Favorite

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

Configuration file of SwitchA

#
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

Configuration file of SwitchB

#
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

About Huawei Find a Partner Become a Partner Community Corporate


About Huawei Enterprise Get Pricing Get Permissions Resource Center ConsumersTranslation
Branch Office Partner Training Video Library Carriers
News Room Partner Zone Publications Favorite
Huawei Marine
Huawei Events Case Studies
Download

APP

    

Contact us | Privacy | Terms of use | RSS Subscribe | Sitemap

Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.

Previous Next

https://support.huawei.com/enterprise/en/doc/EDOC1100004351/56fa680f/example-for-configuring-link-aggregation-in-lacp-mode 7/7

You might also like