CN103905326A - Ethernet link aggregation packet forwarding control method and network equipment - Google Patents

Ethernet link aggregation packet forwarding control method and network equipment Download PDF

Info

Publication number
CN103905326A
CN103905326A CN201210585654.6A CN201210585654A CN103905326A CN 103905326 A CN103905326 A CN 103905326A CN 201210585654 A CN201210585654 A CN 201210585654A CN 103905326 A CN103905326 A CN 103905326A
Authority
CN
China
Prior art keywords
port
aggregation group
state
mapping table
member port
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.)
Granted
Application number
CN201210585654.6A
Other languages
Chinese (zh)
Other versions
CN103905326B (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

Images

Landscapes

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

Abstract

The invention relates to network communication technology, provides a solution to the problem of packet loss when the state of the existing link aggregation group member port changes, and provides an Ethernet link aggregation packet forwarding control method and network equipment. The technical scheme is that the method comprises the following steps: an aggregation group is created, ports are added to the aggregation group, the aggregation group member ports are set to an unselected state, and all the member ports are added to an aggregation group table; the ports are sequentially set: first, operation keys of the ports are set, a reference port is selected when the ports are in a normal connection state, and the reference port is set to a selected state, and then, whether the information sets of the other member ports are consistent with the information set of the reference port is judged, a port is set to a selected state if the information set of the port is consistent with the information set of the reference port, or the port is set to an unselected state; and all the ports in a selected state are added to an aggregation mapping table, and network traffic of the aggregation group is forwarded by all the ports in a balanced mode. The beneficial effects are as follows: packet loss is not caused, and the method and the network equipment are applicable to Ethernet link aggregation.

Description

Message repeating control method and the network equipment of Ethernet link clustering
Technical field
The present invention relates to the network communications technology, particularly Ethernet link clustering technology in network service.
Background technology
Flourish along with network technology, ethernet technology, as wherein important technological means, becomes the informationalized main bearing protocols in aspect such as people's production, life, office day by day.For meeting the new demand of people to aspects such as link bandwidth, backup, load balancing, the link aggregation technology of Ethernet is arisen at the historic moment.Ethernet link clustering refers to multiple physics ethernet ports is bound together, form a logic port, an i.e. aggregation group, Fig. 1 is the link aggregation group schematic diagram with four ethernet ports, can pass through the different ethernet port transmission of local terminal Ethernet link clustering group to the message that need to send to opposite end network communication equipment, mean allocation bandwidth on each ethernet port, thereby the linear bandwidth that increases.Ethernet port in Ethernet link clustering group is called aggregation group member port.Aggregation group member port state has two kinds: choose (Selected) state and do not choose (Unselected) state, the port in selected state can participate in forwarding user traffic, can not forward user traffic in the port of selected state not.
According to the difference of aggregation scheme, ethernet link link aggregation can be divided into two kinds of patterns: manual aggregation scheme and dynamic aggregation pattern.Manual aggregation scheme: claim that again static state converges pattern, interaction protocol message does not maintain the state that converges of link; Judge to add the port that converges group whether can carry user traffic with reference to local device information.Dynamic aggregation pattern: claim again protocol convergence pattern, the pattern of converging needs interaction protocol message to maintain the state that converges of link, adds the port that converges group whether can carry user traffic by the common judgement of information of this client information and opposite end.
For two kinds of different polymerization methodses, how to realize the message repeating control of Ethernet link clustering and carry out the dynamic realization that detects, and while recovering after therefore changing for aggregation group member's physical link of Ethernet link clustering, how to guarantee that it is problem demanding prompt solution that message successfully forwards.
Summary of the invention
Object of the present invention is to overcome the shortcoming that can cause message dropping when current link aggregation group member port state changes, and a kind of message repeating control method and network equipment of Ethernet link clustering is provided.
The present invention solves the problems of the technologies described above, and the technical scheme of employing is that the message forwarding method of Ethernet link clustering, comprises the following steps:
A, creates an aggregation group, at least one port is joined in described aggregation group, and the state that described aggregation group member port is set is selected state not, all aggregation group member ports are joined to aggregation group table,
B, successively port in aggregation group table is carried out to following operation: the operation key key that first port is set, and in the time that the Link State that judges this port is normal connection status, select aggregation group reference port according to imposing a condition, the state that reference port is set is selected state; Further judge that in described aggregation group, whether the information aggregate of other member port and the information aggregate of reference port be consistent, in this way, the state that this member port is set is selected state, otherwise the state that this member port is set is selected state not;
C, all member ports that are selected state by aggregation group middle port state join polymerization mapping table, and the network traffics of described aggregation group are aggregated the balanced forwarding of all of the port in mapping table.
Preferred scheme is that described method further comprises:
D, after the Link State of a certain aggregation group member port is off-state, judge whether this member port has the condition that becomes aggregation group reference port, as no, the state that this aggregation group member port is set is selected state not, and this member port is shifted out to polymerization mapping table; In this way, again from other member port of aggregation group, select reference port, the state that reference port is set is selected state; Further judge that whether the information aggregate of other member port in described aggregation group and the information aggregate of the reference port reselecting be consistent, redefine in aggregation group all member ports and be selected state or selected state not, and add or shift out polymerization mapping table according to its state;
E, the Link State of aggregation group member port disconnecting when step D link revert to after normal connection status, judge whether this member port has the condition that becomes aggregation group reference port: as no, whether the information aggregate that further judges this member port is consistent with the information aggregate of reference port, in this way, the state that this aggregation group member port is set is selected state, and this aggregation group member port is joined to polymerization mapping table, otherwise process ends; In this way, selecting this member port is aggregation group reference port, the state that this aggregation group member port is set is selected state, and this aggregation group member port is joined to polymerization mapping table, and further judge whether the information aggregate of other member port of aggregation group and the information of aggregation group reference port is in conjunction with consistent, redefine in aggregation group other member port and be selected state or selected state not, and add or shift out polymerization mapping table according to its state.
Concrete, described not selected state refers to the state that can not carry out message repeating, described selected state is the state that can normally carry out message repeating.
Concrete, in described step B, the Operational key that port is set refers to single dual-mode that port is set, speed and aggregation group identifier.
Concrete, in described step B, described basis imposes a condition and selects aggregation group reference port and refer to, judge the link priority of member port, the high member port of selection link priority is aggregation group reference port;
Described link priority comprises system identifier and port identifiers, and described system identifier comprises system priority and system MAC Address, and described port identifiers comprises port priority and port numbers.
Concrete, for manual aggregation scheme, the selection of reference port determines by the port identifiers in the link priority of member port, and the member port that aggregation group middle port priority is high is elected as aggregation group reference port; If the port priority of each member port is identical in aggregation group, the member port that port numbers is little is elected as aggregation group reference port;
For dynamic aggregation pattern, the selection of reference port is determined jointly by the system identifier in the link priority of member port and port identifiers; The system identifier of the system identifier of local device and opposite equip. is compared, and in the time that the system identifier of local device is high, the selection of local aggregation group reference port is determined by the port identifiers in the link priority of member port; In the time that the system identifier of local device is low, the port identifiers of the opposite equip. that local aggregation group reference port connects according to local aggregation group member port is selected.
Specifically, the information aggregate of reference port comprises system identifier and the port operation key of the opposite equip. port that this port connects and the system identifier of opposite equip. of port operation key, port place equipment.
Another object of the present invention is to provide a kind of network equipment, comprising:
Aggregation group arranges module, for creating aggregation group, at least one port is joined in described aggregation group, and the state that described aggregation group member port is set is selected state not notice aggregation group table administration module;
Aggregation group table administration module, for being that the aggregation group member port of not selected state joins aggregation group table by the state of port;
Port detecting module, whether the physical link for detection of the port in described aggregation group table is normal connection status, in this way, further judge whether described port meets the condition of message repeating, in this way, the state that this port is set is selected state, and notice polymerization mapping table administration module adds operation; And notice polymerization mapping table administration module carries out deletion action after the physical link that the port in aggregation group table detected disconnects;
Polymerization mapping table administration module, for the aggregation group member port information of selected state is saved in to polymerization mapping table, and the aggregation group member port that physical link is disconnected is deleted from polymerization mapping table;
Packet forwarding module, for network traffics are assigned to, all member ports of polymerization mapping table are balanced to be forwarded.
A kind of preferred scheme is, described port detecting module is also for carrying out following operation to the port of aggregation group table successively: the operation key key that first port is set, and in the time that the Link State that judges this port is normal connection status, select aggregation group reference port according to imposing a condition, the state that reference port is set is selected state; Further judge that in described aggregation group, whether the information aggregate of other member port and the information aggregate of reference port be consistent, in this way, the state that this member port is set is selected state, notifies polymerization mapping table administration module to add operation; Otherwise the state that this member port is set is selected state not.
A kind of preferred scheme is, described port detecting module also for, after the Link State of a certain aggregation group member port of detection is off-state, judge whether this member port has the condition that becomes aggregation group reference port, as no, the state that this aggregation group member port is set is selected state not, and notifies polymerization mapping table administration module that this member port is shifted out to polymerization mapping table; In this way, again from other member port of aggregation group, select reference port, the state that reference port is set is selected state; Further judge that whether the information aggregate of other member port in described aggregation group and the information aggregate of the reference port reselecting be consistent, redefine in aggregation group all member ports and be selected state or selected state not, and add or shift out polymerization mapping table according to its state notifying polymerization mapping table administration module;
And/or described port detecting module also for, when the Link State of the aggregation group member port that detects link disconnection reverts to after normal connection status, judge whether this member port has the condition that becomes aggregation group reference port: as no, whether the information aggregate that further judges this member port is consistent with the information aggregate of reference port, in this way, the state that this aggregation group member port is set is selected state, and notifies polymerization mapping table administration module that this member port is joined to polymerization mapping table; In this way, selecting this member port is aggregation group reference port, the state that this aggregation group member port is set is selected state, and notify polymerization mapping table administration module that this aggregation group member port is joined to polymerization mapping table, and further judge whether the information aggregate of other member port of aggregation group and the information of aggregation group reference port is in conjunction with consistent, redefine in aggregation group other member port and be selected state or selected state not, and this member port is added or shift out polymerization mapping table according to its state notifying polymerization mapping table administration module.
The invention has the beneficial effects as follows, in the present invention program, by join aggregation group table at port, can forwarding state even if port message repeating state is set to, also avoided message loop problem, and due in the time that polymerization mapping table is set, port message repeating state has arranged for can forwarding state, therefore also can not cause the situation of message dropping.
Accompanying drawing explanation
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 structured flowchart of the embodiment of the present invention.
Embodiment
Below in conjunction with embodiment and accompanying drawing, describe technical scheme of the present invention in detail.
The message repeating control method of the Ethernet link clustering that is the embodiment of the present invention referring to Fig. 2, comprises the steps:
Step 201: create an aggregation group, at least one port is joined in described aggregation group, and the state that described aggregation group member port is set is selected state not, all aggregation group member ports are joined to aggregation group table.The spanning-tree state of member port is set in this step and the spanning-tree state of aggregation group is consistent.Described aggregation group table is for arranging the member port that aggregation group comprises.
Step 202: successively the port in aggregation group table is carried out to following operation: the operation key key that first port is set, and in the time that the Link State that judges this port is normal connection status, select aggregation group reference port according to imposing a condition, the state that reference port is set is selected state; Further judge that in described aggregation group, whether the information aggregate of other member port and the information aggregate of reference port be consistent, in this way, the state that this member port is set is selected state, otherwise the state that this member port is set is selected state not.Until all of the port in aggregation group table is executed after the operation of this step, enter step 203.
In this step, the described Operational key that port is set, the speed that comprises port reality, single dual-mode and affiliated aggregation group identifier.Wherein said port Link State, whether normal and physical link polymerize control protocol with elegance data cell (LACPDU, Link Aggregation Control Protocol Data Unit) and opposite end whether normal alternately of the real physical links state that comprises port.For manual aggregation scheme, port link is not mutual by interactive link polymerize control protocol with elegance data cell and opposite end, therefore the Link State of port is real physical links state, for dynamic aggregation pattern, port link need to be mutual by Link Aggregation Control Protocol Data Unit and opposite end, and therefore the Link State of port is determined jointly by real physical links state and the mutual situation of physical link polymerize control protocol with elegance data cell.For converging by hand pattern, the physical link state of port is as described in Table 1; Described from table 1, for manual aggregation scheme, as long as the real physical links state of port is connected state, the Link State of port is normal connection status.
The port Link State of the manual aggregation scheme of table 1
Port real physical links state The Link State of port
Connected state Normal connection status
Non-connected 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 aggregation pattern, the real physical links state of a ports having is connected state, and port link physical link polymerize control protocol with elegance data cell is normal alternately, and the Link State of port is just normal connection status.
The port Link State of table 2 dynamic aggregation pattern
In the time that the Link State that judges this port is normal connection status, select aggregation group reference port according to imposing a condition.The link priority that the described condition that becomes aggregation group reference port is port, described link priority comprises system identifier and port identifiers.Concrete system identifier comprises system priority and system mac address, and port identifiers comprises port priority and port numbers.
For manual aggregation scheme, the selection of reference port determines by the port identifiers in link priority, and the member port that aggregation group middle port priority is high is elected as the reference port of aggregation group.If the port priority of each member port is identical in aggregation group, the member port that port numbers is little is elected as the reference port of aggregation group.Certainly those skilled in the art are easy to expect, member port large port numbers can be elected as to the reference port of aggregation group completely, and this place refers to the restriction that can not serve as the application's protection range.
For dynamic aggregation pattern, the selection of reference port need to be determined jointly by the system identifier in link priority and port identifiers.Aggregation group reference port right to choose is determined by the high equipment of system identifier, compare by the system identifier of local device and the system identifier of opposite equip., in the time that the system identifier of local device is high, the selection of local aggregation group reference port is determined by the port identifiers in the link priority of member port; In the time that the system identifier of local device is low, the port identifiers of the opposite equip. that local aggregation group reference port connects according to local aggregation group member port is selected.
Determining after reference port, carry out and select logic, the information aggregate of aggregation group member port need to the information aggregate comparison of aggregation group reference port, if information aggregate is identical, port status is set to selected state, if information aggregate is not identical, port status is set to non-selected state.The information aggregate of described aggregation group member port comprises: the Operational key of port, the system priority of port place equipment, system mac address, the Operational key of the opposite equip. port being connected with this port, the system priority of Peer-Port place equipment, system mac address.
Step 203, all member ports that are selected state by aggregation group middle port state join polymerization mapping table, and the network traffics of described aggregation group are aggregated the balanced forwarding of all of the port in mapping table.
Judge that variation has occurred which port status, port status becomes selected state from selected state not; This member port is joined to polymerization mapping table.Described polymerization mapping table is the port of choosing for aggregation group port status is set, and carries out polymerization mapping.Judge the spanning-tree state of port, the spanning-tree state of described port determines by the spanning-tree state of aggregation group, if the spanning tree of aggregation group can not forwarding state, aggregation group mapping table does not carry out polymerization mapping; If the spanning-tree state forwarding state of described aggregation group, polymerization mapping table carries out polymerization mapping.Polymerization mapping table is carried out polymerization mapping, and HASH algorithm is assigned to the network service traffic equilibrium of aggregation group on its member port comprising.Be can forwarding state time at the spanning-tree state of aggregation group, E-Packet according to described aggregation group table and polymerization mapping table.
Be the message forwarding method flow chart of the Ethernet link clustering of another embodiment of the present invention referring to Fig. 3, comprise step:
Step 301, after the Link State of a certain aggregation group member port is off-state, judge whether this member port has the condition that becomes aggregation group reference port, as no, the state that this aggregation group member port is set is selected state not, and this member port is shifted out to polymerization mapping table; In this way, again from other member port of aggregation group, select reference port, the state that reference port is set is selected state; Further judge that whether the information aggregate of other member port in described aggregation group and the information aggregate of the reference port reselecting be consistent, redefine in aggregation group all member ports and be selected state or selected state not, and add or shift out polymerization mapping table according to its state.
The Link State of described port changes, its reason may be that the physical link of port becomes off-state from connected state, or Link Aggregation Control Protocol Data Unit is from normally becoming alternately mutual disconnection, and above-mentioned steps 204 has described in detail, repeats no more herein.
Step 302, the Link State of aggregation group member port disconnecting when step 301 link reverts to after normal connection status, judge whether this member port has the condition that becomes aggregation group reference port: as no, whether the information aggregate that further judges this member port is consistent with the information aggregate of reference port, in this way, the state that this aggregation group member port is set is selected state, and this aggregation group member port is joined to polymerization mapping table, otherwise process ends; In this way, selecting this member port is aggregation group reference port, the state that this aggregation group member port is set is selected state, and this aggregation group member port is joined to polymerization mapping table, and further judge whether the information aggregate of other member port of aggregation group and the information of aggregation group reference port is in conjunction with consistent, redefine in aggregation group other member port and be selected state or selected state not, and add or shift out polymerization mapping table according to its state.
The structured flowchart of the network equipment that is the embodiment of the present invention referring to Fig. 4, comprising:
Aggregation group arranges module 401, for creating aggregation group, at least one port is joined in described aggregation group, and the state that described aggregation group member port is set is selected state not notice aggregation group table administration module.
Aggregation group table administration module 402, for being that the aggregation group member port of not selected state joins aggregation group table by the state of port.
Port detecting module 403, whether the physical link for detection of the port in described aggregation group table is normal connection status, in this way, further judge whether described port meets the condition of message repeating, in this way, the state that this port is set is selected state, and notice polymerization mapping table administration module adds operation; And notice polymerization mapping table administration module carries out deletion action after the physical link that the port in aggregation group table detected disconnects.
Polymerization mapping table administration module 404, for the aggregation group member port information of selected state is saved in to polymerization mapping table, and the aggregation group member port that physical link is disconnected is deleted from polymerization mapping table.
Packet forwarding module 405, for network traffics are assigned to, all member ports of polymerization mapping table are balanced to be forwarded.
Described port detecting module 403, also for successively the port of aggregation group table being carried out to following operation: the operation key key that first port is set, and in the time that the Link State that judges this port is normal connection status, select aggregation group reference port according to imposing a condition, the state that reference port is set is selected state; Further judge that in described aggregation group, whether the information aggregate of other member port and the information aggregate of reference port be consistent, in this way, the state that this member port is set is selected state, notifies polymerization mapping table administration module to add operation; Otherwise the state that this member port is set is selected state not.
Described port detecting module 403, also for after being off-state when the Link State of a certain aggregation group member port of detection, judge whether this member port has the condition that becomes aggregation group reference port, as no, the state that this aggregation group member port is set is selected state not, and notifies polymerization mapping table administration module that this member port is shifted out to polymerization mapping table; In this way, again from other member port of aggregation group, select reference port, the state that reference port is set is selected state; Further judge that whether the information aggregate of other member port in described aggregation group and the information aggregate of the reference port reselecting be consistent, redefine in aggregation group all member ports and be selected state or selected state not, and add or shift out polymerization mapping table according to its state notifying polymerization mapping table administration module.
Described port detecting module 403, also revert to after normal connection status for the Link State when the aggregation group member port that detects link disconnection, judge whether this member port has the condition that becomes aggregation group reference port: as no, whether the information aggregate that further judges this member port is consistent with the information aggregate of reference port, in this way, the state that this aggregation group member port is set is selected state, and notifies polymerization mapping table administration module that this member port is joined to polymerization mapping table; In this way, selecting this member port is aggregation group reference port, the state that this aggregation group member port is set is selected state, and notify polymerization mapping table administration module that this aggregation group member port is joined to polymerization mapping table, and further judge whether the information aggregate of other member port of aggregation group and the information of aggregation group reference port is in conjunction with consistent, redefine in aggregation group other member port and be selected state or selected state not, and this member port is added or shift out polymerization mapping table according to its state notifying polymerization mapping table administration module.
The foregoing is only preferred embodiment of the present invention, the common variation that those skilled in the art carries out within the scope of technical solution of the present invention and replacement all should be included in protection scope of the present invention.

Claims (10)

1. the message repeating control method of Ethernet link clustering, is characterized in that, comprises the following steps:
A, creates an aggregation group, at least one port is joined in described aggregation group, and the state that described aggregation group member port is set is selected state not, all aggregation group member ports are joined to aggregation group table,
B, successively port in aggregation group table is carried out to following operation: the operation key key that first port is set, and in the time that the Link State that judges this port is normal connection status, select aggregation group reference port according to imposing a condition, the state that reference port is set is selected state; Further judge that in described aggregation group, whether the information aggregate of other member port and the information aggregate of reference port be consistent, in this way, the state that this member port is set is selected state, otherwise the state that this member port is set is selected state not;
C, all member ports that are selected state by aggregation group middle port state join polymerization mapping table, and the network traffics of described aggregation group are aggregated the balanced forwarding of all of the port in mapping table.
2. the message repeating control method of Ethernet link clustering as claimed in claim 1, is characterized in that, described method further comprises:
D, after the Link State of a certain aggregation group member port is off-state, judge whether this member port has the condition that becomes aggregation group reference port, as no, the state that this aggregation group member port is set is selected state not, and this member port is shifted out to polymerization mapping table; In this way, again from other member port of aggregation group, select reference port, the state that reference port is set is selected state; Further judge that whether the information aggregate of other member port in described aggregation group and the information aggregate of the reference port reselecting be consistent, redefine in aggregation group all member ports and be selected state or selected state not, and add or shift out polymerization mapping table according to its state;
E, the Link State of aggregation group member port disconnecting when step D link revert to after normal connection status, judge whether this member port has the condition that becomes aggregation group reference port: as no, whether the information aggregate that further judges this member port is consistent with the information aggregate of reference port, in this way, the state that this aggregation group member port is set is selected state, and this aggregation group member port is joined to polymerization mapping table, otherwise process ends; In this way, selecting this member port is aggregation group reference port, the state that this aggregation group member port is set is selected state, and this aggregation group member port is joined to polymerization mapping table, and further judge whether the information aggregate of other member port of aggregation group and the information of aggregation group reference port is in conjunction with consistent, redefine in aggregation group other member port and be selected state or selected state not, and add or shift out polymerization mapping table according to its state.
3. the message repeating control method of Ethernet link clustering as claimed in claim 1 or 2, is characterized in that, described not selected state refers to the state that can not carry out message repeating, and described selected state is the state that can normally carry out message repeating.
4. the message repeating control method of Ethernet link clustering as claimed in claim 1, is characterized in that, in described step B, the Operational key that port is set refers to single dual-mode that port is set, speed and aggregation group identifier.
5. the message control method of Ethernet link clustering as claimed in claim 1, it is characterized in that, in described step B, described basis imposes a condition and selects aggregation group reference port and refer to, judge the link priority of member port, selecting the high member port of link priority is aggregation group reference port;
Described link priority comprises system identifier and port identifiers, and described system identifier comprises system priority and system MAC Address, and described port identifiers comprises port priority and port numbers.
6. the message control method of Ethernet link clustering as claimed in claim 5, it is characterized in that, for manual aggregation scheme, the selection of reference port determines by the port identifiers in the link priority of member port, and the member port that aggregation group middle port priority is high is elected as aggregation group reference port; If the port priority of each member port is identical in aggregation group, the member port that port numbers is little is elected as aggregation group reference port;
For dynamic aggregation pattern, the selection of reference port is determined jointly by the system identifier in the link priority of member port and port identifiers; The system identifier of the system identifier of local device and opposite equip. is compared, and in the time that the system identifier of local device is high, the selection of local aggregation group reference port is determined by the port identifiers in the link priority of member port; In the time that the system identifier of local device is low, the port identifiers of the opposite equip. that local aggregation group reference port connects according to local aggregation group member port is selected.
7. the message control method of the Ethernet link clustering as described in claim 4-6 any one, it is characterized in that, the information aggregate of reference port comprises system identifier and the port operation key of the opposite equip. port that this port connects and the system identifier of opposite equip. of port operation key, port place equipment.
8. a network equipment, is characterized in that, comprising:
Aggregation group arranges module, for creating aggregation group, at least one port is joined in described aggregation group, and the state that described aggregation group member port is set is selected state not notice aggregation group table administration module;
Aggregation group table administration module, for being that the aggregation group member port of not selected state joins aggregation group table by the state of port;
Port detecting module, whether the physical link for detection of the port in described aggregation group table is normal connection status, in this way, further judge whether described port meets the condition of message repeating, in this way, the state that this port is set is selected state, and notice polymerization mapping table administration module adds operation; And notice polymerization mapping table administration module carries out deletion action after the physical link that the port in aggregation group table detected disconnects;
Polymerization mapping table administration module, for the aggregation group member port information of selected state is saved in to polymerization mapping table, and the aggregation group member port that physical link is disconnected is deleted from polymerization mapping table;
Packet forwarding module, for network traffics are assigned to, all member ports of polymerization mapping table are balanced to be forwarded.
9. the network equipment as claimed in claim 8, it is characterized in that, described port detecting module is also for carrying out following operation to the port of aggregation group table successively: the operation key key that first port is set, and in the time that the Link State that judges this port is normal connection status, select aggregation group reference port according to imposing a condition, the state that reference port is set is selected state; Further judge that in described aggregation group, whether the information aggregate of other member port and the information aggregate of reference port be consistent, in this way, the state that this member port is set is selected state, notifies polymerization mapping table administration module to add operation; Otherwise the state that this member port is set is selected state not.
10. the network equipment as claimed in claim 8 or 9, it is characterized in that, described port detecting module also for, after the Link State of a certain aggregation group member port of detection is off-state, judge whether this member port has the condition that becomes aggregation group reference port, as no, the state that this aggregation group member port is set is selected state not, and notifies polymerization mapping table administration module that this member port is shifted out to polymerization mapping table; In this way, again from other member port of aggregation group, select reference port, the state that reference port is set is selected state; Further judge that whether the information aggregate of other member port in described aggregation group and the information aggregate of the reference port reselecting be consistent, redefine in aggregation group all member ports and be selected state or selected state not, and add or shift out polymerization mapping table according to its state notifying polymerization mapping table administration module;
And/or described port detecting module also for, when the Link State of the aggregation group member port that detects link disconnection reverts to after normal connection status, judge whether this member port has the condition that becomes aggregation group reference port: as no, whether the information aggregate that further judges this member port is consistent with the information aggregate of reference port, in this way, the state that this aggregation group member port is set is selected state, and notifies polymerization mapping table administration module that this member port is joined to polymerization mapping table; In this way, selecting this member port is aggregation group reference port, the state that this aggregation group member port is set is selected state, and notify polymerization mapping table administration module that this aggregation group member port is joined to polymerization mapping table, and further judge whether the information aggregate of other member port of aggregation group and the information of aggregation group reference port is in conjunction with consistent, redefine in aggregation group other member port and be selected state or selected state not, and this member port is added or shift out polymerization mapping table according to its state notifying polymerization mapping table administration module.
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 true CN103905326A (en) 2014-07-02
CN103905326B 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)

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104320333A (en) * 2014-10-31 2015-01-28 杭州华三通信技术有限公司 Method and equipment for detecting asymmetric static aggregation
CN104821895A (en) * 2015-04-21 2015-08-05 杭州华三通信技术有限公司 Energy-saving method and device
CN105721234A (en) * 2014-12-05 2016-06-29 杭州迪普科技有限公司 Port aggregation method and apparatus
CN105791257A (en) * 2014-12-26 2016-07-20 上海斐讯数据通信技术有限公司 Method for acquiring aggregation port authentication configuration through port
CN106470153A (en) * 2016-09-05 2017-03-01 杭州迪普科技股份有限公司 A kind of method and apparatus of prevention temporary loop
CN107547283A (en) * 2017-09-21 2018-01-05 新华三技术有限公司 The management method and device of distributed aggregation group
CN107707299A (en) * 2017-10-31 2018-02-16 新华三技术有限公司 A kind of detection method and device of FC aggregated links
CN108337163A (en) * 2018-02-07 2018-07-27 北京百度网讯科技有限公司 Method and apparatus for link aggregation
CN108600100A (en) * 2018-07-13 2018-09-28 新华三技术有限公司合肥分公司 Member port choosing method and device
CN108989085A (en) * 2018-06-14 2018-12-11 北京星网锐捷网络技术有限公司 Message forwarding configuration method and device based on distributed network
CN109302344A (en) * 2018-10-30 2019-02-01 新华三技术有限公司 A kind of message forwarding method and device
WO2019084805A1 (en) * 2017-10-31 2019-05-09 华为技术有限公司 Method and apparatus for distributing message
CN110278094A (en) * 2018-03-13 2019-09-24 中兴通讯股份有限公司 Link restoring method and device, system, storage medium, electronic device
WO2019238006A1 (en) * 2018-06-12 2019-12-19 中兴通讯股份有限公司 Access authentication method for port, terminal, and storage medium
CN110601947A (en) * 2019-09-09 2019-12-20 国网山东省电力公司金乡县供电公司 Communication method and system based on ring network and link aggregation
CN111049765A (en) * 2019-12-12 2020-04-21 北京东土军悦科技有限公司 Aggregation port switching method, device, chip, switch and storage medium
CN111682989A (en) * 2020-07-01 2020-09-18 迈普通信技术股份有限公司 Method, device and system for detecting port link state
CN113794634A (en) * 2021-08-02 2021-12-14 新华三信息安全技术有限公司 Load sharing method and equipment
CN114884869A (en) * 2019-03-06 2022-08-09 瞻博网络公司 Method and system for selecting member port in link aggregation group
CN115484233A (en) * 2022-09-23 2022-12-16 北京物芯科技有限责任公司 Method, device, equipment and medium for forwarding link aggregation message in digital communication chip
US11997025B2 (en) 2022-06-20 2024-05-28 Juniper Networks, Inc. Selection of member ports in a link aggregation group

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1809021A (en) * 2005-01-17 2006-07-26 华为技术有限公司 Ethernet link converging method
US7274694B1 (en) * 2003-01-09 2007-09-25 Cisco Technology, Inc. Defining link aggregation across a stack
CN101094157A (en) * 2007-08-20 2007-12-26 中兴通讯股份有限公司 Method for implementing network interconnection by using link aggregation
CN101252532A (en) * 2008-03-18 2008-08-27 华为技术有限公司 Equipment and method for collocating Ethernet link polymerization terminal port
CN101252459A (en) * 2008-03-24 2008-08-27 中兴通讯股份有限公司 Method for setting protocol state of chain circuit terminal port and supervising method thereof
CN101540722A (en) * 2008-03-18 2009-09-23 华为技术有限公司 Method and device for configuring Ethernet trunk aggregation port
CN101682442A (en) * 2007-05-24 2010-03-24 哈里斯施特拉特克斯网络运行公司 The dynamic load leveling that is used for the layer 2 link polymerization

Patent Citations (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
CN1809021A (en) * 2005-01-17 2006-07-26 华为技术有限公司 Ethernet link converging method
CN101682442A (en) * 2007-05-24 2010-03-24 哈里斯施特拉特克斯网络运行公司 The dynamic load leveling that is used for the layer 2 link polymerization
CN101094157A (en) * 2007-08-20 2007-12-26 中兴通讯股份有限公司 Method for implementing network interconnection by using link aggregation
CN101252532A (en) * 2008-03-18 2008-08-27 华为技术有限公司 Equipment and method for collocating Ethernet link polymerization terminal port
CN101540722A (en) * 2008-03-18 2009-09-23 华为技术有限公司 Method and device for configuring Ethernet trunk aggregation port
CN101252459A (en) * 2008-03-24 2008-08-27 中兴通讯股份有限公司 Method for setting protocol state of chain circuit terminal port and supervising method thereof

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
LAN MAN STANDARDS COMMITTEE: "Amendment to Carrier Sense Multiple Access with Collision Detection (CSMA/CD) Access Method and", 《IEEE》 *
郑涛: "以太网链路聚合的研究与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
陆敏飞: "链路聚合技术在分布式以太网交换机上的研究与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (33)

* 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
CN104320333A (en) * 2014-10-31 2015-01-28 杭州华三通信技术有限公司 Method and equipment for detecting asymmetric static aggregation
CN105721234A (en) * 2014-12-05 2016-06-29 杭州迪普科技有限公司 Port aggregation method and apparatus
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
CN104821895A (en) * 2015-04-21 2015-08-05 杭州华三通信技术有限公司 Energy-saving method and device
CN104821895B (en) * 2015-04-21 2017-12-15 新华三技术有限公司 A kind of power-economizing method and device
CN106470153A (en) * 2016-09-05 2017-03-01 杭州迪普科技股份有限公司 A kind of method and apparatus of prevention temporary loop
CN107547283B (en) * 2017-09-21 2021-03-02 新华三技术有限公司 Management method and device of distributed aggregation group
CN107547283A (en) * 2017-09-21 2018-01-05 新华三技术有限公司 The management method and device of distributed aggregation group
CN107707299A (en) * 2017-10-31 2018-02-16 新华三技术有限公司 A kind of detection method and device of FC aggregated links
WO2019084805A1 (en) * 2017-10-31 2019-05-09 华为技术有限公司 Method and apparatus for distributing message
CN107707299B (en) * 2017-10-31 2020-07-07 新华三技术有限公司 Detection method and device for FC aggregation link
CN108337163A (en) * 2018-02-07 2018-07-27 北京百度网讯科技有限公司 Method and apparatus for link aggregation
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
CN110278094A (en) * 2018-03-13 2019-09-24 中兴通讯股份有限公司 Link restoring method and device, system, storage medium, electronic device
WO2019238006A1 (en) * 2018-06-12 2019-12-19 中兴通讯股份有限公司 Access authentication method for port, terminal, and storage medium
CN108989085A (en) * 2018-06-14 2018-12-11 北京星网锐捷网络技术有限公司 Message forwarding configuration method and device based on distributed network
CN108600100A (en) * 2018-07-13 2018-09-28 新华三技术有限公司合肥分公司 Member port choosing method and device
CN109302344B (en) * 2018-10-30 2021-06-29 新华三技术有限公司 Message forwarding method and device
CN109302344A (en) * 2018-10-30 2019-02-01 新华三技术有限公司 A kind of message forwarding method and device
CN114884869A (en) * 2019-03-06 2022-08-09 瞻博网络公司 Method and system for selecting member port in 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
CN111049765A (en) * 2019-12-12 2020-04-21 北京东土军悦科技有限公司 Aggregation port switching method, device, chip, switch and storage medium
CN111682989A (en) * 2020-07-01 2020-09-18 迈普通信技术股份有限公司 Method, device and system for detecting port link state
CN111682989B (en) * 2020-07-01 2022-06-28 迈普通信技术股份有限公司 Method, device and system for detecting port link state
CN113794634A (en) * 2021-08-02 2021-12-14 新华三信息安全技术有限公司 Load sharing method and equipment
CN113794634B (en) * 2021-08-02 2023-06-13 新华三信息安全技术有限公司 Load sharing method and equipment
US11997025B2 (en) 2022-06-20 2024-05-28 Juniper Networks, Inc. Selection of member ports in a link aggregation group
CN115484233A (en) * 2022-09-23 2022-12-16 北京物芯科技有限责任公司 Method, device, equipment and medium for forwarding link aggregation message in digital communication chip
CN115484233B (en) * 2022-09-23 2024-04-12 北京物芯科技有限责任公司 Method, device, equipment and medium for forwarding link aggregation message in digital communication chip

Also Published As

Publication number Publication date
CN103905326B (en) 2017-11-24

Similar Documents

Publication Publication Date Title
CN103905326A (en) Ethernet link aggregation packet forwarding control method and network equipment
CN101640644B (en) Method and equipment for flow equilibrium based on flexible link group
US9143439B2 (en) System and method for cluster link aggregation control in a network environment
CN101056257B (en) Method and system for implementing the link aggregation and protection switching
CN102315975B (en) Fault processing method based on intelligent resilient framework (IRF) system and equipment thereof
CN102006184B (en) Management method, device and network device of stack link
CN103095568B (en) Rack switching equipment realizes stacking system and method
US20110075554A1 (en) E-spring (g.8032) interworking to provide access protection
CN101984606A (en) Device-level redundancy protection method and system based on LACP
CN102045332B (en) Method for processing control message in intelligent resilient framework and line card boards
EP2701342A1 (en) Method and system for implementing elastic network interface and interconnection
CN104753828A (en) SDN controller, data central system and route connection method
CN102255757B (en) Link switching method and device
CN101442484A (en) Method, system and equipment for detecting stacking multi-Active
CN101335710A (en) Activating a tunnel upon receiving a control packet
CN103780480A (en) Message forwarding method and message forwarding equipment
CN103338161A (en) Method and equipment for realizing cross-equipment aggregation
CN103501250A (en) Data flow processing method and device in distribution type link aggregation network
CN103607293B (en) A kind of flow rate protecting method and equipment
WO2014204850A1 (en) Virtual chassis topology management
CN105656645A (en) Decision making method and device for fault processing of stacking system
CN102006189A (en) Primary access server determination method and device for dual-machine redundancy backup
CN101841432A (en) Port backup method, device and system for service access router
CN103227725A (en) Method and device for dual-server backup of firewall
CN101534253A (en) Message forwarding method and device

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