Link aggregation control protocol (LACP) link switching and data transmission method and apparatus thereof

A technology of link switching and link aggregation, which is applied in the field of communication, can solve problems such as link disconnection and "dropout", and achieve the effect of smooth transition

Active Publication Date: 2012-02-29
HUAWEI TECH CO LTD
View PDF4 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of this, the purpose of the invention of the embodiment of the present invention is to provide a LACP link switching method and device to solve

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Link aggregation control protocol (LACP) link switching and data transmission method and apparatus thereof
  • Link aggregation control protocol (LACP) link switching and data transmission method and apparatus thereof
  • Link aggregation control protocol (LACP) link switching and data transmission method and apparatus thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] After the LACP link aggregation group is established in the foregoing manner, whether the LACP link can perform normal communication depends on the current state of the LACP link aggregation group. There are two states of an LACP link aggregation group: UP state and Down state. When the number of active interfaces (marked as Selected state and inactive interfaces marked as Unselected state) at one end of the LACP link aggregation group is greater than or equal to the preset minimum number of active links, the LACP link aggregation group is in the UP state and the LACP link is connected. Normal communication can be carried out; when the number of active interfaces (marked as Selected state) at one end of the LACP link aggregation group is less than the preset minimum number of active links, the LACP link aggregation group is in the Down state, the LACP link is broken, and the communication is interrupted. Only when the LACP link aggregation group is in the UP state again...

Embodiment 2

[0068] In the embodiment of the present invention, the previous state (active state) of the interface from the active state to the inactive state in the LACP link aggregation group is kept until a new interface appears. push" work. However, in an actual running process, there may be various reasons for LACP preemption failure or too long preemption delay, or even no preemption work. In the case of the former, for example: the backup interface of the LACP link aggregation group fails or cannot be used or there are no more backup interfaces, then the backup link recommended according to the priority will not be able to return the LACP link aggregation group from the Down state to the Up state; For example, if the LACP preemption function is not set to "Enable", without the LACP preemption function, the LACP link will not be able to select a new interface to replace it. After these situations occur, the LACP link cannot wait forever, so that the state of the LACP link aggregatio...

Embodiment 3

[0074] The above-mentioned two embodiments are mainly aimed at the situation that a new inactive interface is detected to cause a state change of the LACP link aggregation group, and there is no mention of the situation that a new inactive interface appears but does not cause a state change of the LACP link aggregation group . In fact, when it is detected that an interface in the LACP link aggregation group changes from active to inactive, as long as the number of active interfaces in the LACP link aggregation group is greater than or equal to the preset minimum number of active links, the LACP link aggregation The state of the group will not change, but because the number of active interfaces in the LACP link aggregation group decreases, the number of active links in the LACP link aggregation group will decrease accordingly, and the bandwidth for data transmission will also become smaller. The number of active links in the LACP link aggregation group will increase accordingly...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

Embodiments of the invention provide a link aggregation control protocol (LACP) link switching method and an apparatus thereof. The method comprises the following steps: monitoring state changes of interfaces in an LACP link gathering group; when the interfaces which are in a active state are monitored to change the states, determining whether a number of the interfaces which are in a movable state in the gathering group is less than a preset minimum active link number; if the number of the interfaces is less than the preset minimum active link number, maintaining the states of the N interfaces in the interfaces which change the states to be the active state so that the number of the interfaces which are in the active state in the gathering group is larger than or equal to the preset minimum active link number, wherein the N is a natural number and the N is less than or equal to the number of the interfaces which change the states in the interfaces which are in the active state in thegathering group; when the interfaces which are in an inactive state in the gathering group are monitored to change the states, adjusting the states of the M interfaces in the N interfaces which keep in the active state into the inactive state, wherein the M is the natural number and the M is less than or equal to the N.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a link aggregation control protocol LACP link switching and data transmission method and device. Background technique [0002] LACP (Link Aggregation Control Protocol, Link Aggregation Control Protocol) is a protocol used to implement dynamic link aggregation and de-aggregation. The role of aggregation is to increase transmission bandwidth and enhance system reliability. Under the control of the LACP protocol, multiple links (member links) are aggregated into a logical link with higher bandwidth. This logical link is called an aggregation group, and the link containing the aggregation group is an LACP link. The number of member links aggregated in an aggregation group is usually determined according to the bandwidth requirements of services. [0003] Generally speaking, the number of active interfaces at a single end of the member links of the aggregation group should at ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L12/24H04L1/22H04L12/56H04L45/243H04L47/41
CPCH04L45/245H04L41/0654Y02D30/50H04L41/0661H04L43/0811
Inventor 张晓益王铖丁成龙孙琦赵凤华
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products