Got it

Link Aggregation in LACP Mode

Latest reply: Sep 23, 2021 01:18:14 587 47 28 0 0

Link Aggregation


Link Aggregation in Manual Load Balancing Mode


Link aggregation can work in manual load balancing mode and LACP mode.


In manual load balancing mode, you need to manually create an Eth-Trunk interface and add member interfaces to the Eth-Trunk interface, without the assistance of the LACP protocol. In this mode, all the member interfaces of an LAG share the traffic evenly. If an active link fails, the other active links share the traffic evenly. If a high link bandwidth between two directly connected devices is required but the peer device does not support the LACP protocol, you can use the manual load balancing mode.


Link Aggregation in LACP Mode


Background


Eth-Trunk in manual load balancing mode, as a link aggregation technology, can increase the bandwidth. However, this mode can only detect link disconnections, but cannot detect other faults such as link layer faults and incorrect link connections.


The Link Aggregation Control Protocol (LACP) is used, which can improve fault tolerance of the Eth-Trunk and ensure high reliability of the member links.


LACP uses a standard negotiation mechanism for switching devices, ensuring that switching devices automatically create and enable aggregated links based on their configurations. After aggregated links are created, LACP maintains link status. If an aggregated link's status changes, LACP automatically adjusts or disables the link.


For example, in Figure 1 an Eth-Trunk link should be established between DeviceA and DeviceB by bundling four interfaces on DeviceA into an Eth-Trunk interface and connecting it to the corresponding interfaces on Device B. However, one of the interfaces is incorrectly connected to the interface on DeviceC. As a result, the Eth-Trunk interface cannot detect the fault in time and continues sending data to DeviceC.If LACP is enabled on DeviceA and DeviceB, the Eth-Trunk correctly selects active links to forward data after negotiation. Data sent by DeviceA can reach DeviceB.


01

Figure 1 Incorrect Eth-Trunk connection


Concepts


  • LACP system priority


LACP system priorities are set on devices at both ends of a trunk link. In LACP mode, active member interfaces selected by both devices must be consistent; otherwise, the LAG cannot be established. To keep active member interfaces consistent at both ends, set a higher priority for one end. In this manner, the other end selects active member interfaces based on the selection of the peer. The smaller the LACP system priority value, the higher the LACP system priority.


  • LACP interface priority


The LACP interface priority is set for a member interface to determine whether it can be selected as an active member interface. The smaller the LACP interface priority value, the higher the LACP interface priority.


  • M:N backup


In LACP mode, LACP is used to negotiate parameters to determine active member links in an LAG. This mode is also called the M:N mode, where M refers to the number of active links and N refers to the number of backup links. This mode guarantees high reliability and allows load balancing to be carried out across M active links.


As shown in Figure 2, M+N links with the same attributes (in the same LAG) are set up between two devices. When data is transmitted over the aggregated link, load balancing is performed on the M active links; no data is transmitted over the N backup links. Therefore, the actual bandwidth of the aggregated link is the sum of the M links'bandwidth, and the maximum bandwidth of the aggregated link is the sum of the M+N links'bandwidth.


If one of the M links fails, LACP selects a link from the N backup links to replace the faulty link. In such a situation, the actual bandwidth of the aggregated link is still the sum of M links'bandwidth; the maximum bandwidth of the aggregated link, however, becomes the sum of the M+N-1 links'bandwidth.


02

Figure 2 M:N backup network diagram


M:N backup is mainly applied in situations where the bandwidth of M links must be assured, and a fault tolerance mechanism in place. If an active link fails, the system selects the backup link with the highest priority and this backup link becomes the active link.


If no available backup link is found, and the number of active links is smaller than the lower threshold for the number of active interfaces, the system shuts down the LAG.



- END -


Vlada85
MVE Author Created Sep 13, 2021 19:41:01

Well done! Thank you for sharing!
View more
  • x
  • convention:

Serges_armel
Serges_armel Created Sep 13, 2021 21:26:30 (1) (0)
Good post  
Chanbora
Chanbora Created Sep 17, 2021 11:34:44 (0) (0)
 
chantha
chantha Created Sep 17, 2021 11:50:17 (0) (0)
 
andersoncf1
andersoncf1 Created Sep 17, 2021 16:29:39 (0) (0)
you’re welcome  
Diego.Silva
MVE Author Created Sep 13, 2021 19:43:46

Good post! Very good!

Congratulations!
View more
  • x
  • convention:

simchamnan
simchamnan Created Sep 14, 2021 03:53:01 (1) (0)
 
chantha
chantha Created Sep 17, 2021 11:50:24 (0) (0)
 
andersoncf1
andersoncf1 Created Sep 17, 2021 16:29:56 (0) (0)
you’re welcome  
Detailed explanation.
View more
  • x
  • convention:

chantha
chantha Created Sep 14, 2021 03:42:10 (1) (0)
 
andersoncf1
andersoncf1 Created Sep 20, 2021 16:01:56 (0) (0)
Thanks master  
thank you
View more
  • x
  • convention:

AliBinHussain
AliBinHussain Created Sep 17, 2021 19:52:37 (0) (0)
 
AliBinHussain
AliBinHussain Created Sep 17, 2021 19:52:44 (0) (0)
 
Excellent, thank you for sharing!
View more
  • x
  • convention:

Chanbora
Chanbora Created Sep 17, 2021 11:34:36 (0) (0)
 
andersoncf1
andersoncf1 Created Sep 20, 2021 16:02:16 (0) (0)
you’re welcome  
Good
View more
  • x
  • convention:

Sokrin
Sokrin Created Sep 17, 2021 11:37:14 (0) (0)
 
Good
View more
  • x
  • convention:

Sokrin
Sokrin Created Sep 17, 2021 11:37:05 (0) (0)
 
Link Aggregation in LACP Mode-4136179-1
View more
  • x
  • convention:

well
View more
  • x
  • convention:

AliBinHussain
AliBinHussain Created Sep 14, 2021 17:04:03 (0) (0)
 
123
Back to list

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.