CN103905326B - The message transmission control method and the network equipment of Ethernet link clustering - Google Patents

The message transmission control method and the network equipment of Ethernet link clustering Download PDF

Info

Publication number
CN103905326B
CN103905326B CN201210585654.6A CN201210585654A CN103905326B CN 103905326 B CN103905326 B CN 103905326B CN 201210585654 A CN201210585654 A CN 201210585654A CN 103905326 B CN103905326 B CN 103905326B
Authority
CN
China
Prior art keywords
port
state
aggregation group
mapping table
link
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210585654.6A
Other languages
Chinese (zh)
Other versions
CN103905326A (en
Inventor
饶波
王培英
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN201210585654.6A priority Critical patent/CN103905326B/en
Publication of CN103905326A publication Critical patent/CN103905326A/en
Application granted granted Critical
Publication of CN103905326B publication Critical patent/CN103905326B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The present invention relates to the network communications technology.The present invention solves the problems, such as to cause message dropping during existing link aggregation group member port state change, there is provided the message transmission control method and the network equipment of a kind of Ethernet link clustering, its technical scheme can be summarized as:Aggregation group is created, and adds port, it is unselected state to set aggregation group member port, all member ports are added to aggregation group table, these ports set successively, port operation key is set first, and when in the port being normal connection status, reference port is selected, it is selected state to set it;Judge again other member ports information aggregate and reference port information aggregate it is whether consistent, it is selected state then to set the port in this way, otherwise it is unselected state to set the port, all of the port for selected state is added to polymerization mapping table, the network traffics of aggregation group are by the balanced forwarding of all of the port.The beneficial effects of the invention are as follows:Message dropping will not be caused, suitable for Ethernet link clustering.

Description

The message transmission control method and the network equipment of Ethernet link clustering
Technical field
The present invention relates to the network communications technology, Ethernet link clustering technology more particularly in network service.
Background technology
With flourishing for network technology, ethernet technology has become people as wherein important technological means The information-based main bearing protocol of production, life, office etc..To meet people to link bandwidth, backup, load balancing etc. The new demand of aspect, the link aggregation technology of Ethernet are arisen at the historic moment.Ethernet link clustering refers to multiple physics Ethernets Port binding is that the link with four ethernet ports gathers to a logic port, i.e. an aggregation group, Fig. 1 together, is formed Charge-coupled schematic diagram, to needing the message for being sent to correspondent network communication equipment can be different by local terminal Ethernet link clustering group Ethernet port transmission, the mean allocation bandwidth on each ethernet port, so as to linearly increasing bandwidth.Ethernet link gathers Ethernet port in charge-coupled is referred to as aggregation group member port.Aggregation group member port state has two kinds:Choose(Selected) State and unselected(Unselected)State, the port in selected state can participate in forwarding user traffic, be in The port of unselected state can not forward user traffic.
According to the difference of aggregation scheme, ethernet link link aggregation can be divided into both of which:Manual aggregation scheme and Dynamic aggregation pattern.Manual aggregation scheme:Also known as static convergence pattern, not interaction protocol message maintain the convergent manner of link State;Judge whether the port for adding convergence group can carry user traffic with reference to local device information.Dynamic aggregation pattern: Also known as protocol convergence pattern, convergence pattern need interaction protocol message to maintain the convergence state of link, by this client information and right Whether the port that the information at end judges to add convergence group jointly can carry user traffic.
For two kinds of different polymerization methodses, how to realize that the message forwarding control of Ethernet link clustering is carried out dynamically When detecting and realize, and therefore recovering after the polymerization group membership physical link change for Ethernet link clustering, how to ensure It is urgent problem to be solved that message, which successfully forwards,.
The content of the invention
The purpose of the present invention can cause lacking for message dropping when being and overcoming current link aggregation group member port state to change Point, there is provided the message transmission control method and the network equipment of a kind of Ethernet link clustering.
The present invention solves above-mentioned technical problem, and the technical scheme of use is the message forwarding method of Ethernet link clustering, Comprise the following steps:
A, an aggregation group is created, at least a port will be added in the aggregation group, and the polymerization composition is set The state of member port is unselected state, and all aggregation group member ports are added into aggregation group table,
B, following operation is performed to the port in aggregation group table successively:The operation key key of port is set first, and sentenced When the Link State of the disconnected port is normal connection status, aggregation group reference port is selected according to imposing a condition, reference is set The state of port is selected state;Determine whether the information aggregate of other member ports and reference port in the aggregation group Whether information aggregate is consistent, and in this way, then the state for setting the member port is selected state, otherwise sets the shape of the member port State is unselected state;
C, aggregation group middle port state is added to polymerization mapping table, the polymerization for all member ports of selected state The network traffics of group are by the balanced forwarding of all of the port in polymerization mapping table.
Preferable scheme is that methods described further comprises:
D, after the Link State of a certain aggregation group member port is off-state, judge the member port whether have into For the condition of aggregation group reference port, if not, the state for setting the aggregation group member port is unselected state, and by this into Member port removes polymerization mapping table;In this way, then reference port is selected from other member ports of aggregation group again, ginseng is set The state for examining port is selected state;Determine whether the information aggregate of other member ports in the aggregation group with reselecting Reference port information aggregate it is whether consistent, it is selected state or unselected to redefine all member ports in aggregation group State, and polymerization mapping table is added or removed according to its state;
E, after the Link State for the aggregation group member port that step D links disconnect reverts to normal connection status, sentence Whether the member port break with the condition as aggregation group reference port:If not, determine whether the letter of the member port Whether breath set is consistent with the information aggregate of reference port, and in this way, the state for setting the aggregation group member port is selected state, And the aggregation group member port is added to polymerization mapping table, otherwise terminate this flow;In this way, then it is poly- to select the member port Charge-coupled reference port, the state for setting the aggregation group member port are selected state, and the aggregation group member port are added to It polymerize mapping table, and determines whether that the information aggregate of the other member ports of aggregation group is combined with the information of aggregation group reference port Whether consistent, it is selected state or unselected state to redefine other member ports in aggregation group, and is added according to its state Enter or remove polymerization mapping table.
Specifically, the unselected state refers to the state that can not carry out message forwarding, the selected state is can be just Often carry out the state of message forwarding.
Specifically, in the step B, the Operational key of port is set to refer to single dual-mode that port is set, speed and poly- Charge-coupled identifier.
Specifically, in the step B, the basis, which imposes a condition, to be selected aggregation group reference port and refers to, judges member The link priority of port, it is aggregation group reference port to select the high member port of link priority;
The link priority includes system identifier and port identifiers, and the system identifier includes system priority With system MAC Address, the port identifiers include port priority and port numbers.
Specifically, for manual aggregation scheme, the selection of reference port is by the port in the link priority of member port Identifier determines that the high member port of aggregation group middle port priority is elected as aggregation group reference port;It is if each in aggregation group The port priority of member port is identical, then the small member port of port numbers is elected as aggregation group reference port;
For dynamic aggregation pattern, the selection of reference port by the system identifier in the link priority of member port and Port identifiers together decide on;By the system identifier of local device compared with the system identifier of opposite equip., when this When the system identifier of end equipment is high, the selection of locally aggregated group of reference port is by the port in the link priority of member port Identifier determines;When the system identifier of local device is low, locally aggregated group of reference port is according to locally aggregated group membership end The port identifiers for the opposite equip. that mouth is connected are selected.
Specifically, the information aggregate of reference port include port operation key, equipment where port system identifier and The port operation key of opposite equip. port and the system identifier of opposite equip. of port connection.
It is a further object to provide a kind of network equipment, including:
Aggregation group setup module, for creating aggregation group, at least a port it will be added in the aggregation group, and set The state of the aggregation group member port is unselected state, notifies aggregation group table management module;
Aggregation group table management module, it is poly- for the state of port to be added to for the aggregation group member port of unselected state Charge-coupled table;
Port detecting module, whether the physical link for detecting the port in the aggregation group table is normal connection shape State, in this way, determine whether the port meets the condition of message forwarding, in this way, then the state for setting the port is choosing Middle state, notice polymerization mapping table management module are added operation;And the physics chain of the port in aggregation group table is detected Notice polymerization mapping table management module carries out deletion action after road disconnects;
It polymerize mapping table management module, for the aggregation group member port information of selected state to be saved in into polymerization mapping Table, and the aggregation group member port that physical link disconnects is deleted from polymerization mapping table;
Packet forwarding module, for network traffics to be assigned into the balanced forwarding of all member ports in polymerization mapping table.
A kind of preferable scheme is that the port detecting module is additionally operable to as follows to the port execution in aggregation group table successively Operation:The operation key key of port is set first, and when the Link State for judging the port is normal connection status, according to Impose a condition and select aggregation group reference port, the state for setting reference port is selected state;Determine whether the polymerization Whether the information aggregate of other member ports and the information aggregate of reference port are consistent in group, in this way, then set the member port State be selected state, notice polymerization mapping table management module be added operation;Otherwise the state of the member port is set For unselected state.
A kind of preferable scheme is that the port detecting module is additionally operable to, when the chain for detecting a certain aggregation group member port Line state is after off-state, judges whether the member port has the condition as aggregation group reference port, if not, setting The state of the aggregation group member port is unselected state, and notifies that polymerizeing mapping table management module gathers member port removal Close mapping table;In this way, then reference port is selected from other member ports of aggregation group again, the state of reference port is set For selected state;Determine whether the information aggregate of other member ports in the aggregation group and the reference port that reselects Whether information aggregate is consistent, and it is selected state or unselected state to redefine all member ports in aggregation group, and according to Its state notifying polymerization mapping table management module adds or removed polymerization mapping table;
And/or the port detecting module is additionally operable to, when the Link State for the aggregation group member port that detection link disconnects After reverting to normal connection status, judge whether the member port has the condition as aggregation group reference port:If not, enter One step judges whether the information aggregate of the member port is consistent with the information aggregate of reference port, in this way, sets the polymerization to form The state of member port is selected state, and notifies that polymerize mapping table management module is added to polymerization mapping table by the member port; In this way, then the member port is selected as aggregation group reference port, the state for setting the aggregation group member port is selected state, and Notice polymerization mapping table management module the aggregation group member port is added to polymerization mapping table, and determine whether aggregation group its The information aggregate of its member port combined with the information of aggregation group reference port it is whether consistent, redefine in aggregation group it is other into Member port is selected state or unselected state, and polymerize mapping table management module by the member port according to its state notifying Add or remove polymerization mapping table.
The invention has the advantages that in the present invention program, by being added to aggregation group table in port, even if by port Message forwarding state be arranged to can forwarding state, it also avoid message loop problem, and due to set polymerize mapping table when, end Mouthful message forwarding state had been set to can forwarding state, therefore will not also cause the situation of message dropping.
Brief description of the drawings
Fig. 1 is the structural representation of Ethernet link clustering;
Fig. 2 is the message forwarding method flow chart of the Ethernet link clustering of the embodiment of the present invention;
Fig. 3 is the message forwarding method flow chart of the Ethernet link clustering of another embodiment of the present invention;
Fig. 4 is the network equipment infrastructure block diagram of the embodiment of the present invention.
Embodiment
With reference to embodiment and accompanying drawing, technical scheme is described in detail.
Referring to the message transmission control method for the Ethernet link clustering that Fig. 2 is the embodiment of the present invention, comprise the following steps:
Step 201:An aggregation group is created, at least a port will be added in the aggregation group, and is set described poly- The state of charge-coupled member port is unselected state, and all aggregation group member ports are added into aggregation group table.Set in this step The spanning-tree state for putting member port is consistent with the spanning-tree state of aggregation group.The aggregation group table is used to set aggregation group to be wrapped The member port contained.
Step 202:Following operation is performed to the port in aggregation group table successively:The operation key key of port is set first, And when the Link State for judging the port is normal connection status, aggregation group reference port is selected according to imposing a condition, if The state for putting reference port is selected state;Determine whether the information aggregate of other member ports and reference in the aggregation group Whether the information aggregate of port is consistent, and in this way, then the state for setting the member port is selected state, otherwise sets the member end The state of mouth is unselected state.Until after having performed the operation of this step to all of the port in aggregation group table, into step 203。
In this step, the Operational key for setting port includes the actual speed in port, single dual-mode and affiliated Polymerization group identifier.Whether wherein described port links state, the real physical links state comprising port are normal and real Border Link Aggregation Control Protocol Data Unit(LACPDU,Link Aggregation Control Protocol Data Unit)It is whether normal with interacting for opposite end.For manual aggregation scheme, port links do not polymerize control protocol by interactive link Data cell interacts with opposite end, therefore the Link State of port is real physical links state, for dynamic aggregation pattern, port Link needs to interact with opposite end by Link Aggregation Control Protocol Data Unit, therefore the Link State of port is by actual physics chain Line state and physical link polymerization control protocol data cell interaction scenario together decide on.For manual convergence pattern, end The physical link state of mouth is as described in Table 1;Described from table 1, for manual aggregation scheme, as long as the actual thing of port Reason Link State is connected state, and the Link State of port is normal connection status.
The port links state of 1 manual aggregation scheme of table
Port real physical links state The Link State of port
Connected state Normal connection status
Non-interconnected state Off-state
For dynamic aggregation pattern, the real physical links state of port is as described in Table 2.As shown in Table 2, for dynamic For state aggregation scheme, only the real physical links state of port is connected state, and the polymerization of port links physical link is controlled Protocol Data Unit interaction processed is normal, and the Link State of port is just normal connection status.
The port links state of the dynamic aggregation pattern of table 2
When the Link State for judging the port is normal connection status, aggregation group reference edge is selected according to imposing a condition Mouthful.The condition as aggregation group reference port is the link priority of port, and the link priority includes system banner Symbol and port identifiers.Specific system identifier includes system priority and system mac addresses, and port identifiers include port Priority and port numbers.
For manual aggregation scheme, the selection of reference port is determined by the port identifiers in link priority, is gathered The high member port of charge-coupled middle port priority is elected as the reference port of aggregation group.If the end of each member port in aggregation group Mouth priority is identical, then the small member port of port numbers is elected as the reference port of aggregation group.Certain those skilled in the art are easy to Expect, the big member port of port numbers can be elected as to the reference port of aggregation group completely, this place refers to cannot function as pair The limitation of the application protection domain.
For dynamic aggregation pattern, the selection of reference port is needed by the system identifier in link priority and end Mouth identifier together decides on.Aggregation group reference port right to choose is determined by the high equipment of system identifier, i.e., by local device System identifier is locally aggregated when the system identifier of local device is high compared with the system identifier of opposite equip. The selection of group reference port is determined by the port identifiers in the link priority of member port;When the system banner of local device When according with low, the port identifiers for the opposite equip. that locally aggregated group of reference port is connected according to locally aggregated group membership port enter Row selection.
After reference port is determined, selection logic is performed, the information aggregate of aggregation group member port needs and aggregation group The information aggregate of reference port compares, if information aggregate is identical, port status is arranged into selected state, if information aggregate is not It is identical, then port status is arranged to non-selected state.The information aggregate of the aggregation group member port includes:The operation of port Key, the system priority of equipment where port, system mac addresses, the Operational key for the opposite equip. port being connected with the port, The system priority of equipment, system mac addresses where Peer-Port.
Step 203, aggregation group middle port state is added to polymerization mapping table, institute for all member ports of selected state The network traffics of aggregation group are stated by the balanced forwarding of all of the port in polymerization mapping table.
Judge which port status is changed, i.e., port status is changed into selected state from unselected state;By this into Member port is added to polymerization mapping table.It is the port chosen that the polymerization mapping table, which is used to set aggregation group port status, is carried out Polymerization mapping.Judge the spanning-tree state of port, the spanning-tree state of the port is determined by the spanning-tree state of aggregation group, is gathered Charge-coupled spanning tree if can not forwarding state, then aggregation group mapping table without polymerization map;The spanning tree of the aggregation group State then polymerize mapping table and carries out polymerization mapping if forwarding state.It polymerize mapping table and performs polymerization mapping, HASH algorithms will be poly- On the member port that charge-coupled network service traffic equilibrium assignment is included to it.It is to forward in the spanning-tree state of aggregation group During state, E-Packeted according to the aggregation group table and polymerization mapping table.
It is the message forwarding method flow chart of the Ethernet link clustering of another embodiment of the present invention referring to Fig. 3, including step Suddenly:
Step 301, after the Link State of a certain aggregation group member port is off-state, whether the member port is judged With the condition as aggregation group reference port, if not, the state for setting the aggregation group member port is unselected state, and The member port is removed into polymerization mapping table;In this way, then reference port is selected from other member ports of aggregation group again, The state for setting reference port is selected state;Determine whether in the aggregation group information aggregate of other member ports with again Whether the information aggregate of the reference port newly selected consistent, redefine in aggregation group all member ports be selected state or Unselected state, and polymerization mapping table is added or removed according to its state.
The Link State of the port changes, and its reason is probably that the physical link of port is changed into disconnected from connected state Open state, or Link Aggregation Control Protocol Data Unit are changed into interacting disconnection from normal interaction, and above-mentioned steps 204 are detailed State, here is omitted.
Step 302, when the Link State for the aggregation group member port that step 301 link disconnects reverts to normal connection shape After state, judge whether the member port has the condition as aggregation group reference port:If not, determine whether the member end Whether the information aggregate of mouth is consistent with the information aggregate of reference port, and in this way, the state for setting the aggregation group member port is choosing Middle state, and the aggregation group member port is added to polymerization mapping table, otherwise terminate this flow;In this way, then the member is selected Port is aggregation group reference port, and the state for setting the aggregation group member port is selected state, and by polymerization group membership end Mouth is added to polymerization mapping table, and determines whether the information aggregate and aggregation group reference port of the other member ports of aggregation group Whether information combination is consistent, and it is selected state or unselected state to redefine other member ports in aggregation group, and according to Its state adds or removed polymerization mapping table.
Referring to the structured flowchart for the network equipment that Fig. 4 is the embodiment of the present invention, including:
Aggregation group setup module 401, for creating aggregation group, at least a port it will be added in the aggregation group, and The state for setting the aggregation group member port is unselected state, notifies aggregation group table management module.
Aggregation group table management module 402, for the state of port to be added for the aggregation group member port of unselected state To aggregation group table.
Port detecting module 403, whether the physical link for detecting the port in the aggregation group table is normally to connect State, in this way, determine whether the port meets the condition of message forwarding, in this way, then the state for setting the port is Selected state, notice polymerization mapping table management module are added operation;And the physics of the port in aggregation group table is detected Notice polymerization mapping table management module carries out deletion action after link disconnects.
It polymerize mapping table management module 404, is reflected for the aggregation group member port information of selected state to be saved in into polymerization Firing table, and the aggregation group member port that physical link disconnects is deleted from polymerization mapping table.
Packet forwarding module 405, for network traffics to be assigned into the balanced forwarding of all member ports in polymerization mapping table.
The port detecting module 403, it is additionally operable to successively perform the port in aggregation group table following operation:Set first The operation key key of port, and when the Link State for judging the port is normal connection status, selected according to imposing a condition Aggregation group reference port, the state for setting reference port are selected state;Determine whether other member ends in the aggregation group Whether the information aggregate of mouth and the information aggregate of reference port are consistent, and in this way, then the state for setting the member port is to choose shape State, notice polymerization mapping table management module are added operation;Otherwise the state for setting the member port is unselected state.
The port detecting module 403, it is additionally operable to when the Link State for detecting a certain aggregation group member port is disconnection shape After state, judge whether the member port has the condition as aggregation group reference port, if not, setting polymerization group membership end The state of mouth is unselected state, and notifies that polymerize mapping table management module removes polymerization mapping table by the member port;In this way, Reference port then is selected from other member ports of aggregation group again, the state for setting reference port is selected state;Enter One step judges the information aggregate of other member ports in the aggregation group and whether the information aggregate of reference port that reselects Unanimously, it is selected state or unselected state to redefine all member ports in aggregation group, and is gathered according to its state notifying Close mapping table management module and add or remove polymerization mapping table.
The port detecting module 403, it is additionally operable to when the Link State of the aggregation group member port of detection link disconnection is extensive It is after normal connection status again, judges whether the member port has the condition as aggregation group reference port:If not, enter one Step judges whether the information aggregate of the member port is consistent with the information aggregate of reference port, in this way, sets polymerization group membership The state of port is selected state, and notifies that polymerize mapping table management module is added to polymerization mapping table by the member port;Such as It is then to select the member port as aggregation group reference port, the state for setting the aggregation group member port is selected state, and is led to Know that the aggregation group member port is added to polymerization mapping table by polymerization mapping table management module, and determine whether that aggregation group is other Whether the information aggregate of member port is combined consistent with the information of aggregation group reference port, redefines other members in aggregation group Port is selected state or unselected state, and polymerize mapping table management module according to its state notifying and add the member port Enter or remove polymerization mapping table.
Presently preferred embodiments of the present invention is the foregoing is only, those skilled in the art is in the range of technical solution of the present invention The usual variations and alternatives carried out should all include within the scope of the present invention.

Claims (8)

1. the message transmission control method of Ethernet link clustering, it is characterised in that comprise the following steps:
A, an aggregation group is created, at least a port will be added in the aggregation group, and the polymerization group membership end is set The state of mouth is unselected state, and all aggregation group member ports are added into aggregation group table,
B, following operation is performed to the port in aggregation group table successively:The operation key key of port is set first, and is judging to be somebody's turn to do When the Link State of port is normal connection status, aggregation group reference port is selected according to imposing a condition, reference port is set State be selected state;Determine whether the information of the information aggregate of other member ports and reference port in the aggregation group Whether set is consistent, and in this way, then the state for setting the member port is selected state, and the state for otherwise setting the member port is Unselected state;
C, aggregation group middle port state is added to polymerization mapping table for all member ports of selected state, the aggregation group Network traffics are by the balanced forwarding of all of the port in polymerization mapping table;
Methods described further comprises:
D, after the Link State of a certain aggregation group member port is off-state, judging whether the member port has turns into poly- The condition of charge-coupled reference port, if not, the state for setting the aggregation group member port is unselected state, and by the member end Mouth removes polymerization mapping table;In this way, then reference port is selected from other member ports of aggregation group again, reference edge is set The state of mouth is selected state;Determine whether the information aggregate of other member ports and the ginseng reselected in the aggregation group Whether consistent examine the information aggregate of port, it is selected state or unselected shape to redefine all member ports in aggregation group State, and polymerization mapping table is added or removed according to its state;
E, after the Link State for the aggregation group member port that step D links disconnect reverts to normal connection status, judging should Whether member port has the condition as aggregation group reference port:If not, determine whether the information collection of the member port Whether conjunction is consistent with the information aggregate of reference port, and in this way, the state for setting the aggregation group member port is selected state, and will The aggregation group member port is added to polymerization mapping table, otherwise terminates this flow;In this way, then the member port is selected as aggregation group Reference port, the state for setting the aggregation group member port are selected state, and the aggregation group member port are added into polymerization Mapping table, and determine whether the information aggregate of the other member ports of aggregation group and the information of aggregation group reference port combined whether Unanimously, it is selected state or unselected state to redefine other member ports in aggregation group, and added according to its state or Person removes polymerization mapping table.
2. the message transmission control method of Ethernet link clustering as claimed in claim 1, it is characterised in that described unselected State refers to the state that can not carry out message forwarding, and the selected state is that can be normally carried out the state of message forwarding.
3. the message transmission control method of Ethernet link clustering as claimed in claim 1, it is characterised in that the step B In, set the Operational key of port to refer to single dual-mode that port is set, speed and polymerization group identifier.
4. the message transmission control method of Ethernet link clustering as claimed in claim 1, it is characterised in that the step B In, the basis, which imposes a condition, to be selected aggregation group reference port and refers to, judges the link priority of member port, selects link The high member port of priority is aggregation group reference port;
The link priority includes system identifier and port identifiers, and the system identifier includes system priority and is System MAC Address, the port identifiers include port priority and port numbers.
5. the message transmission control method of Ethernet link clustering as claimed in claim 4, it is characterised in that for poly- by hand Syntype, the selection of reference port are determined that aggregation group middle port is excellent by the port identifiers in the link priority of member port The high member port of first level is elected as aggregation group reference port;If the port priority of each member port is identical in aggregation group, Then the small member port of port numbers is elected as aggregation group reference port;
For dynamic aggregation pattern, the selection of reference port is by the system identifier in the link priority of member port and port Identifier together decides on;By the system identifier of local device compared with the system identifier of opposite equip., when local terminal is set When standby system identifier is high, the selection of locally aggregated group of reference port is by the port-mark in the link priority of member port Symbol determines;When the system identifier of local device is low, locally aggregated group of reference port is according to locally aggregated group membership port institute The port identifiers of the opposite equip. of connection are selected.
6. the message transmission control method of the Ethernet link clustering as described in claim any one of 3-5, it is characterised in that ginseng Examining the information aggregate of port includes port operation key, the system identifier of port place equipment and the port connection opposite end The port operation key of device port and the system identifier of opposite equip..
A kind of 7. network equipment, it is characterised in that including:
Aggregation group setup module, for creating aggregation group, at least a port it will be added in the aggregation group, and described in setting The state of aggregation group member port is unselected state, notifies aggregation group table management module;
Aggregation group table management module, for the state of port to be added into aggregation group for the aggregation group member port of unselected state Table;
Port detecting module, whether the physical link for detecting the port in the aggregation group table is normal connection status, such as It is to determine whether the port meets the condition of message forwarding, in this way, then the state for setting the port is to choose shape State, notice polymerization mapping table management module are added operation;And the physical link of the port in aggregation group table is detected breaks Notice polymerization mapping table management module carries out deletion action after opening;
The port detecting module is additionally operable to, and after the Link State for detecting a certain aggregation group member port is off-state, is sentenced Whether the member port break with the condition as aggregation group reference port, if not, setting the shape of the aggregation group member port State is unselected state, and notifies that polymerize mapping table management module removes polymerization mapping table by the member port;In this way, then again Reference port is selected from other member ports of aggregation group, the state for setting reference port is selected state;Further sentence Whether the information aggregate of reference port of the information aggregate of other member ports with reselecting is consistent in the aggregation group of breaking, weight It is new to determine that all member ports are selected state or unselected state in aggregation group, and mapping table is polymerize according to its state notifying Management module adds or removed polymerization mapping table;
And/or the port detecting module is additionally operable to, when the Link State for the aggregation group member port that detection link disconnects recovers After normal connection status, judge whether the member port has the condition as aggregation group reference port:If not, further Judge whether the information aggregate of the member port is consistent with the information aggregate of reference port, in this way, polymerization group membership end is set The state of mouth is selected state, and notifies that polymerize mapping table management module is added to polymerization mapping table by the member port;In this way, The member port is then selected as aggregation group reference port, the state for setting the aggregation group member port is selected state, and is notified Polymerization mapping table management module the aggregation group member port is added to polymerization mapping table, and determine whether aggregation group it is other into Whether the information aggregate of member port is combined consistent with the information of aggregation group reference port, redefines other member ends in aggregation group Mouth is selected state or unselected state, and polymerize mapping table management module according to its state notifying and add the member port Or remove polymerization mapping table;
It polymerize mapping table management module, for the aggregation group member port information of selected state to be saved in into polymerization mapping table, and The aggregation group member port that physical link disconnects is deleted from polymerization mapping table;
Packet forwarding module, for network traffics to be assigned into the balanced forwarding of all member ports in polymerization mapping table.
8. the network equipment as claimed in claim 7, it is characterised in that the port detecting module is additionally operable to successively to aggregation group Port in table performs following operation:The operation key key of port is set first, and in the Link State for judging the port for just During normal connection status, aggregation group reference port is selected according to imposing a condition, the state for setting reference port is selected state;Enter One step judges whether the information aggregate of other member ports and the information aggregate of reference port are consistent in the aggregation group, in this way, The state for then setting the member port is selected state, and notice polymerization mapping table management module is added operation;Otherwise set The state of the member port is unselected state.
CN201210585654.6A 2012-12-28 2012-12-28 The message transmission control method and the network equipment of Ethernet link clustering Active CN103905326B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210585654.6A CN103905326B (en) 2012-12-28 2012-12-28 The message transmission control method and the network equipment of Ethernet link clustering

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210585654.6A CN103905326B (en) 2012-12-28 2012-12-28 The message transmission control method and the network equipment of Ethernet link clustering

Publications (2)

Publication Number Publication Date
CN103905326A CN103905326A (en) 2014-07-02
CN103905326B true CN103905326B (en) 2017-11-24

Family

ID=50996481

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210585654.6A Active CN103905326B (en) 2012-12-28 2012-12-28 The message transmission control method and the network equipment of Ethernet link clustering

Country Status (1)

Country Link
CN (1) CN103905326B (en)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104320333B (en) * 2014-10-31 2018-04-10 新华三技术有限公司 A kind of method and apparatus for detecting asymmetric static polymerization
CN105721234B (en) * 2014-12-05 2019-04-05 杭州迪普科技股份有限公司 Port convergence method and device
CN105791257A (en) * 2014-12-26 2016-07-20 上海斐讯数据通信技术有限公司 Method for acquiring aggregation port authentication configuration through port
CN104821895B (en) * 2015-04-21 2017-12-15 新华三技术有限公司 A kind of power-economizing method and device
CN106470153B (en) * 2016-09-05 2019-12-06 杭州迪普科技股份有限公司 method and device for preventing temporary loop
CN107547283B (en) * 2017-09-21 2021-03-02 新华三技术有限公司 Management method and device of distributed aggregation group
CN107707299B (en) * 2017-10-31 2020-07-07 新华三技术有限公司 Detection method and device for FC aggregation link
WO2019084805A1 (en) * 2017-10-31 2019-05-09 华为技术有限公司 Method and apparatus for distributing message
CN108337163B (en) * 2018-02-07 2020-11-06 北京百度网讯科技有限公司 Method and apparatus for aggregating links
CN110278094B (en) * 2018-03-13 2022-09-27 中兴通讯股份有限公司 Link recovery method, device, system, storage medium and electronic device
CN110602022A (en) * 2018-06-12 2019-12-20 中兴通讯股份有限公司 Access authentication method of port, terminal and storage medium
CN108989085A (en) * 2018-06-14 2018-12-11 北京星网锐捷网络技术有限公司 Message forwarding configuration method and device based on distributed network
CN108600100B (en) * 2018-07-13 2021-09-07 新华三技术有限公司合肥分公司 Member port selection method and device
CN109302344B (en) * 2018-10-30 2021-06-29 新华三技术有限公司 Message forwarding method and device
US10812414B2 (en) * 2019-03-06 2020-10-20 Juniper Networks, Inc. Selection of member ports in a link aggregation group
CN110601947A (en) * 2019-09-09 2019-12-20 国网山东省电力公司金乡县供电公司 Communication method and system based on ring network and link aggregation
CN111049765B (en) * 2019-12-12 2022-03-11 北京东土军悦科技有限公司 Aggregation port switching method, device, chip, switch and storage medium
CN111682989B (en) * 2020-07-01 2022-06-28 迈普通信技术股份有限公司 Method, device and system for detecting port link state
CN113794634B (en) * 2021-08-02 2023-06-13 新华三信息安全技术有限公司 Load sharing method and equipment
CN115484233B (en) * 2022-09-23 2024-04-12 北京物芯科技有限责任公司 Method, device, equipment and medium for forwarding link aggregation message in digital communication chip

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7274694B1 (en) * 2003-01-09 2007-09-25 Cisco Technology, Inc. Defining link aggregation across a stack
CN100417133C (en) * 2005-01-17 2008-09-03 华为技术有限公司 Ethernet link converging method
US7756029B2 (en) * 2007-05-24 2010-07-13 Harris Stratex Networks Operating Corporation Dynamic load balancing for layer-2 link aggregation
CN101094157B (en) * 2007-08-20 2011-09-21 中兴通讯股份有限公司 Method for implementing network interconnection by using link aggregation
CN101540722A (en) * 2008-03-18 2009-09-23 华为技术有限公司 Method and device for configuring Ethernet trunk aggregation port
CN101252532B (en) * 2008-03-18 2010-08-25 华为技术有限公司 Equipment and method for collocating Ethernet link polymerization terminal port
CN101252459B (en) * 2008-03-24 2010-12-08 中兴通讯股份有限公司 Method for setting protocol state of chain circuit terminal port and supervising method thereof

Also Published As

Publication number Publication date
CN103905326A (en) 2014-07-02

Similar Documents

Publication Publication Date Title
CN103905326B (en) The message transmission control method and the network equipment of Ethernet link clustering
CN101056257B (en) Method and system for implementing the link aggregation and protection switching
US9655232B2 (en) Spanning tree protocol (STP) optimization techniques
CN101640644B (en) Method and equipment for flow equilibrium based on flexible link group
WO2015101153A1 (en) Sdn controller, data centre system and router connection method
CN101252494B (en) Equipment and method for sharing traffic load
CN101106512B (en) A processing method and device for QinQ termination configuration
US20110075554A1 (en) E-spring (g.8032) interworking to provide access protection
CN111638957B (en) Method for realizing cluster sharing type public cloud load balance
CN106453124A (en) Traffic scheduling method and device
CN102255757B (en) Link switching method and device
CN103607293B (en) A kind of flow rate protecting method and equipment
CN102148677A (en) Method for updating address resolution protocol table entries and core switch
CN102265555A (en) Conversion method between an main communicational equipment and a spare communicational equipment, the communicational equipments and a service request equipment
CN105227456B (en) A kind of aggregated link failures restore the method and device of transmission
WO2021093797A1 (en) Information reporting method and information processing method, and device
CN103179178A (en) Method and device for expanding member ports of aggregation groups among clusters
CN104518936B (en) Link dynamic aggregation method and apparatus
CN101854283A (en) Communication method and equipment of RPR (Resilient Packet Ring) looped network
CN102932769B (en) Policy control method, entity and system
CN105490937B (en) Ether virtual network gateway switching method and service provider's edge node devices
CN105745874B (en) Method and device for determining service function path
CN102265556B (en) Conversion method between an main communicational equipment and a spare communicational equipment, the communicational equipments and a service request equipment
CN106034038A (en) Method and device for preventing multi-conflict stacking
CN104040973B (en) Aggregation group link negotiation method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant