CN1725761A - Method of implementing link aggregation of network equipment - Google Patents

Method of implementing link aggregation of network equipment Download PDF

Info

Publication number
CN1725761A
CN1725761A CNA2005100767090A CN200510076709A CN1725761A CN 1725761 A CN1725761 A CN 1725761A CN A2005100767090 A CNA2005100767090 A CN A2005100767090A CN 200510076709 A CN200510076709 A CN 200510076709A CN 1725761 A CN1725761 A CN 1725761A
Authority
CN
China
Prior art keywords
physical port
link
network layer
polymerization terminal
physical
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
CNA2005100767090A
Other languages
Chinese (zh)
Other versions
CN100479465C (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou Huawei 3Com 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 Hangzhou Huawei 3Com Technology Co Ltd filed Critical Hangzhou Huawei 3Com Technology Co Ltd
Priority to CNB2005100767090A priority Critical patent/CN100479465C/en
Publication of CN1725761A publication Critical patent/CN1725761A/en
Application granted granted Critical
Publication of CN100479465C publication Critical patent/CN100479465C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A method for aggregating links in network device includes confirming n numbers of physical ports ( PP ) of link aggregation port ( AP ) set for carrying out the same configuration of network layer to generate n numbers of equivalent routes ( ER ) for specific route using link AP as outlet , setting outlet interface information to be n numbers of PP , distributing message to be retransmitted by network layer to n numbers of ER by network device uniformly for revising ER corresponding to interrupted PP to be normal operation PP when connection between partial PP in said port set and opposite end is interrupted . The method for aggregating links in link layer and between network switches is also disclosed.

Description

The network equipment is realized the method for link aggregation
Technical field
The present invention relates to have the network equipment of network layer and/or link layer forwarding capability, relate in particular to the implementation method of link aggregation in the above-mentioned network equipment.
Background technology
Along with the development of Internet technology and popularizing of network application, more and more in the data of transmission over networks, also more and more higher to the requirement of transmission time and reliability.A method that reduces the transmission time is the bandwidth that increases transmission link, and bandwidth is increased to 100M, 1000M, 10G (gigabit) or the like by 10M (million) in recent years, but the increase of bandwidth can not improve the reliability of link.
Use if can be used as a link to multilink, not only can increase the network bandwidth, and can play the effect of link backup.For this reason, IEEE (Institute of Electrical and ElectronicsEngineers, Institute of Electrical and Electric Engineers) has formulated the 802.3ad standard specially, in order to the realization of standard link aggregation (Aggregated Link).
So-called link aggregation is many physical links to be bundled form a link in logic, realizes loading on sharing on each member's physical link, and higher reliability also is provided simultaneously.Figure 1 shows that the schematic diagram of link aggregation.The physical port 110 of the network equipment 100, physical port 120 and physical port 130 are connected with physical port 210, physical port 220 and the physical port 230 of the network equipment 200 respectively, form 3 physical links.On the network equipment 100, physical port 110,120 and 130 is set to the link polymerization terminal port group, simultaneously on the network equipment 200 physical port 210,220 and 230 also is set to the link polymerization terminal port group, then above-mentioned 3 physical links are combined into a logical links.
The appearance of link aggregation makes network organizing more flexible, the fail safe that has improved network when increasing the network bandwidth.Certain bar physical link in the link polymerization terminal port group goes wrong, and data traffic can automatically switch to other physical links, realizes the defencive function of logical links.
In the prior art, link aggregation is realized by hardware chip usually, this implementation need write the code of realizing the polymerization algorithm internal memory of chip, take a large amount of chip memory headrooms, these memory headrooms are fixedly occupied by these codes, in operation, can not discharge, therefore increase the cost of the network equipment.Consider that from the cost performance angle network equipment supplier tends to provide a limited number of link polymerization terminal port group numbers, the user can't be provided with the link polymerization terminal port group arbitrarily according to actual networking demand.
Summary of the invention
The technical problem to be solved in the present invention is the too high problem of implementation cost of link aggregation in the prior art.
The network equipment of the present invention realizes that in network layer the method for link aggregation may further comprise the steps:
A) determine n the physical port that the link polymerization terminal port group comprises, n carries out identical configuration with a said n physical port in network layer more than or equal to 2;
B) be to generate n bar equal-cost route with certain route that described link polymerization terminal port group is outlet, the outgoing interface information of described n bar equal-cost route is set to n physical port of described link polymerization terminal port group respectively;
C) network equipment will need the message of network layer forwarding to be evenly distributed on the described n equal-cost route, be the message outgoing interface with a said n physical port correspondingly;
D) in being connected of the part physical port of link polymerization terminal port group and opposite end, have no progeny, the outgoing interface information that connects the pairing equal-cost route of physical port that interrupts is revised as the physical port of operate as normal in the link polymerization terminal port group.
Preferably, described method also comprises: each physical port of link polymerization terminal port group is set to not transmit multicast and the broadcasting packet that other physical ports receive.
Preferably, also comprise after the described step d):
E) after the link polymerization terminal port group connects certain physical port recovery operate as normal of interrupting, search the equal-cost route that has identical outgoing interface information in the described n bar equal-cost route, the outgoing interface information of an equal-cost route wherein is revised as the physical port of described recovery operate as normal.
Preferably, the modification of the outgoing interface information of the pairing equal-cost route of physical port that in the described step d) connection is interrupted meets the following conditions: the difference of the pairing equal-cost route number of the physical port of any two operate as normal is smaller or equal to 1.
Preferably, comprise following at least one between described step a) and the step b):
Is the indirect route of outlet by dynamic routing protocol study with described network layer address;
Be configured to described network layer address and be the outlet static routing;
By the ARP message that the link polymerization terminal port group is received, learn direct route.
Preferably, also comprise after the described step a):
A1) to learn from the message of receiving with it be the medium access control system MAC Address of outlet to the link polymerization terminal port group;
A2) the outgoing interface information setting of the MAC Address that will learn is the physical port of link polymerization terminal port group operate as normal;
A3) have no progeny in being connected of the part physical port of link polymerization terminal port group and opposite end, deletion is the MAC Address of outgoing interface to connect the physical port that interrupts, and changes step a1);
A4) after the link polymerization terminal port group connected the physical port recovery operate as normal of interrupting, deletion was all MAC Address of outlet with the link polymerization terminal port group, changes step a1).
Preferably, described method also comprises: each physical port that the link polymerization terminal port group is set is not transmitted multicast and the broadcasting packet that other physical ports receive.
Preferably, described step a2) be specially:
Set hash algorithm, make the physical port of its cryptographic Hash and operate as normal have one-to-one relationship;
Calculate the cryptographic Hash of described MAC Address with described hash algorithm;
The outgoing interface of described MAC Address is set to calculate the cryptographic Hash corresponding physical port of gained.
The present invention also provides a kind of method at link layer realization link aggregation, may further comprise the steps:
A. determine the physical port that the link polymerization terminal port group comprises;
B. each physical port of link polymerization terminal port group is set to not transmit multicast and the broadcasting packet that other physical ports receive;
C. to learn from the message of receiving with it be the medium access control system MAC Address of outlet to the link polymerization terminal port group;
D. the outgoing interface information setting of the MAC Address that will learn is the physical port of link polymerization terminal port group operate as normal;
E. have no progeny in being connected of the part physical port of link polymerization terminal port group and opposite end, deletion is the MAC Address of outgoing interface to connect the physical port that interrupts, commentaries on classics step C.
Preferably, also comprise after the described step e: after connecting the physical port recovery operate as normal of interrupting when the link polymerization terminal port group, deletion is all MAC Address of outlet with the link polymerization terminal port group, changes step C;
Described step D is specially:
Set hash algorithm, make the physical port of its cryptographic Hash and operate as normal have one-to-one relationship;
Calculate the cryptographic Hash of described MAC Address with described hash algorithm;
The outgoing interface of described MAC Address is set to calculate the cryptographic Hash corresponding physical port of gained.
The present invention also provides a kind of method that realizes link aggregation between the network layer switch, may further comprise the steps:
(1) on first switch, chooses the physical port of predetermined quantity, and these physical ports are carried out phase order network layer together dispose;
(2) the corresponding physical port of choosing described predetermined quantity on second switch, and these physical ports are carried out identical network layer dispose; The physical port of first and second switches chosen is linked to each other one by one;
(3) outgoing interface that first switch need be forwarded to the network layer message of second switch in routing table carries out uniform distribution by the physical port of choosing;
(4) if a certain physical port in the physical port that discovery first switch is chosen can't normally send message, then this physical port in the routing table is revised as the physical port of other operate as normal in the physical port of choosing.
Preferably, first switch or second switch are learnt MAC Address from the message that the physical port chosen receives, and with its outgoing interface uniform distribution on the physical port of choosing.
Preferably, in step (4), first switch also is the MAC Address deletion of this physical port with outgoing interface
Preferably, in step (3), first and second switches are the direct route of study from the ARP message that the physical port of choosing receives, and with the uniform distribution on the physical port of choosing of its outgoing interface;
First or second switch carries out message and transmits before earlier judge whether message has network layer header, if carry out network layer and transmit; If not, carrying out link layer transmits.
The present invention is set to the outgoing interface of equal-cost route by the physical port of forming the link polymerization terminal port group, has realized the link aggregation of network layer with software; Is the MAC Address of outlet by dynamic assignment on the physical port of forming the link polymerization terminal port group with the link polymerization terminal port group, has realized the link aggregation of link layer with software; Reduced the realization cost of link aggregation, made the user link aggregation arbitrarily to be set simultaneously according to the networking demand.
Description of drawings
Figure 1 shows that the schematic diagram of link aggregation;
Figure 2 shows that the flow chart of network layer link aggregation implementation method of the present invention;
Figure 3 shows that the flow chart of link layer link polymerization implementation method of the present invention;
Figure 4 shows that the message process chart of the network equipment of using network layer of the present invention and link layer link polymerization.
Embodiment
In the 802.3ad standard, link aggregation should have following function:
Load balancing: should share equably on the multilink of forming link aggregation by the data message of link aggregation.
Redundancy backup: after certain bar link occurs fault in the link aggregation, data message can be transmitted from other links fast.
On some network equipments, the physical port of forming the link polymerization terminal port group can carry out the network layer route to the data message, and then its link aggregation can be operated in network layer, also can be operated in network layer and link layer; And the physical port of forming the link polymerization terminal port group on other network equipments may only have the link layer forwarding capability, and its link aggregation then can only be operated in link layer.In the present invention, provide the method that realizes the link aggregation of network layer and link layer with software, both can use respectively, also can be used in combination.
Figure 2 shows that the present invention realizes the flow chart of the method for link aggregation in network layer.
At step S210, determine n the physical port that the link polymerization terminal port group comprises, n carries out identical configuration with a said n physical port in network layer more than or equal to 2.All physical ports of forming the link polymerization terminal port group should have routing function.
It seems that from link polymerization terminal port group outside this n physical port formed a logic port, have identical network layer address and the configuration of other network layers.
At step S220, each physical port of link polymerization terminal port group is set to not transmit multicast and the broadcasting packet that other physical ports receive.If the multicast and the broadcasting packet that enter from certain physical port of link polymerization terminal port group forward from other physical ports, then can form the winding of message, influence the performance of network.
This step can be provided by the realization that is provided with that provides on the prior network device, method to set up and the concrete hardware that adopts and this hardware that order is set is relevant, repeat no more herein.
At step S230, the network layer address of learning with the link polymerization terminal port group by dynamic routing protocol is the indirect route of outlet.Disposed dynamic routing protocol the network equipment can with other network layer device exchanging routing informations, be the indirect route information of outlet comprising network layer address with the link polymerization terminal port group.
At step S240,, learn direct route by ARP (Address ResolutionProtocol, the address resolution protocol) message that the link polymerization terminal port group is received.The ARP message is at subnet or VLAN (Virtual Local Area Network, VLAN) transmission in, be used for the network layer address of network node is resolved to MAC (Media Access Control, medium access control system) address, the network equipment can be learnt the destination address which network layer address is direct route by the ARP message that the link polymerization terminal port group is received.
At step S250, the network layer address that is configured to the link polymerization terminal port group is the outlet static routing.
Step S230 to S250 is the method that obtains routing iinformation in the prior art, can adopt wherein a kind ofly according to the function of the actual networking and the network equipment, also can adopt wherein several simultaneously.The method that does not need in the present invention these to be obtained routing iinformation is changed, and can directly use.
At step S260, for the network layer address with the link polymerization terminal port group is the route generation n bar equal-cost route of outlet, the outgoing interface information of this n bar equal-cost route is set to n physical port of link polymerization terminal port group respectively.
If the path to certain destination address in the network equipment has many, and these paths have identical priority, and then these paths have formed equal-cost route.
In the routing table of the network equipment, each bar list item all comprises outgoing interface information, promptly can be forwarded to the physical port on this equipment of destination address.Among the present invention, the outgoing interface of equal-cost route is configured to form each physical port of link polymerization terminal port group respectively, the load balancing function that can utilize equal-cost route to have like this realizes the load balancing of link aggregation.
At step S270, the message that the network equipment will need network layer to transmit is evenly distributed on the described n equal-cost route, is the message outgoing interface with a said n physical port correspondingly.
Equal-cost route can make data message roughly transmit according to the mulitpath of equal-cost route equably to transmitting the effect that data message has load balancing by it.
The network layer network equipment commonly used all has the equal-cost route function, and its realization is repeated no more.
At step S280, in being connected of the part physical port of link polymerization terminal port group and opposite end, have no progeny, the outgoing interface information that connects the pairing equal-cost route of physical port that interrupts is revised as the physical port of operate as normal in the link polymerization terminal port group.
When physical port interrupted with being connected of opposite end, the network equipment can detect the state variation of this physical port.Therefore, can learn according to this state change information to connect the physical port that interrupts, in routing table, find the equal-cost route that connects the physical port correspondence of interrupting, its outgoing interface information is revised as the physical port of other operate as normal in the link polymerization terminal port group.
When the connection of a plurality of physical ports is interrupted, preferably the flow of these physical ports can be dispersed on the port of different operate as normal.When the outgoing interface information of the pairing equal-cost route of physical port that revise to connect interrupts, if the difference that can satisfy the pairing equal-cost route number of the physical port of any two operate as normal smaller or equal to 1, state that then can the continuous loading basis equalization.
At step S290, connect certain physical port recovery operate as normal of interruption when the link polymerization terminal port group after, search the equal-cost route that has identical outgoing interface information in the described n bar equal-cost route, the outgoing interface information of an equal-cost route wherein is revised as the physical port of described recovery operate as normal.
Equally, when the connection of certain physical port recovers, can learn the physical port that recovers connection by the detected state change information of the network equipment.One of them of equal-cost route with identical outgoing interface information made amendment, can realize load balancing better.
As seen, the present invention is merged equal-cost route in the realization of link aggregation, makes the network layer message carry out load balancing by route., a route of link bearer, many routes of multilink carrying, these routes are all pointed to consolidated network layer destination address, and priority is all identical, thereby can reach the effect of link aggregation, have realized load balancing and redundancy backup function in network layer.Simultaneously, the present invention can also prevent the message winding.
Figure 3 shows that the present invention realizes the flow chart of the method for link aggregation at link layer.
At step S310, determine the physical port that the link polymerization terminal port group comprises, the number of the physical port that the link polymerization terminal port group comprises is more than or equal to 2.
At step S320, each physical port of link polymerization terminal port group is set to not transmit multicast and the broadcasting packet that other physical ports receive.
As previously mentioned, this step can prevent to form the broadcasting packet winding of link layer, avoids influencing the performance of network.Equally, this step also can be provided by the realization that is provided with that provides on the prior network device.
At step S330, it is the medium access control system MAC Address of outlet that the link polymerization terminal port group is learnt from the message of receiving with it.
Source MAC in the message that the port of the network equipment (comprising logic port and physical port) is received is the MAC Address with the direct-connected network node of this port.The study MAC Address is nearly all function with network equipment indispensability of link layer forwarding capability from the message of receiving, repeats no more herein.
At step S340, set hash algorithm, make the physical port of its cryptographic Hash and operate as normal have one-to-one relationship.
It is the output of regular length that hash algorithm is used for the incoming message of random length or data map, and this output is called cryptographic Hash.Cryptographic Hash is representation with numerical value, and data are unique and very compact.Even the content of incoming message or data is only changed a letter or number, all will produce different cryptographic Hash.
Hash algorithm has multiple way of realization in the prior art.As long as the cryptographic Hash scope that certain hash algorithm produces can change according to setting, this algorithm just can be used in the present invention.
At step S350, calculate the cryptographic Hash of the MAC Address of learning with hash algorithm.
At step S360, the outgoing interface of this MAC Address is set to calculate the cryptographic Hash corresponding physical port of gained.
Cite a plain example, can adopt following hash algorithm: with 6 byte additions of MAC Address, with gained with the number get surplus with the physical port quantity of operate as normal, when the physical port quantity of operate as normal is 4, possible remainder is 0,1,2 and 3, make its physical ports corresponding respectively and 4 operate as normal, can be provided with according to the outgoing interface of cryptographic Hash like this MAC Address.
In the present invention, also can adopt additive method that the outgoing interface of MAC Address is set, alternative steps S340 to S360 is as long as the MAC Address that can will learn comparatively equably is distributed on the physical port of operate as normal, to realize the load balancing of link aggregation.
At step S370, in being connected of the part physical port of link polymerization terminal port group and opposite end, to have no progeny, deletion is the MAC Address of outgoing interface to connect the physical port that interrupts, and changes step S330.
When the connection that physical port is arranged in the link polymerization terminal port group was interrupted, the flow on this physical port preferably was dispersed on the physical port of other operate as normal.Therefore, deletion is the MAC Address of outgoing interface to connect the physical port that interrupts, and restarts the study of these MAC Address and the assigning process on physical port, can realize load balancing preferably.
At step S380, after the physical port recovery operate as normal that the connection of link polymerization terminal port group is interrupted, deletion is all MAC Address of outlet with the link polymerization terminal port group, changes step S330.
When the physical port that interruption is arranged in the link polymerization terminal port group recovered to connect, in order to realize load balancing, can only delete with the link polymerization terminal port group was all MAC Address of outlet, restarts the study and the assigning process of these MAC Address.
The present invention has also realized load balancing and redundancy backup function at link layer, also can prevent the message winding simultaneously.
Separately after network layer or link layer are implemented the present invention, can not change by the transmit and receive data method of bag of link polymerization terminal port group.When being used in combination two kinds of methods of the present invention, to TCP/IP (the Transfer Control Protocol/Intemet Protocol that transmits through link aggregation, transmission control protocol/Internet protocol) message recommends to adopt handling process shown in Figure 4, this moment is necessary execution in step S240 in network layer realizes, making the link polymerization terminal port group can be the TCP/IP message that is positioned at the node of same subnet or VLAN by direct routing forwarding purpose IP address.
See also Fig. 4,, judge whether this message has network layer header at step S410, if having, execution in step S420; If no, execution in step S450.
At step S420, judge the purpose IP address that this message is arranged in routing table, if having, execution in step S440 carries out network layer according to equal-cost route to this message and transmits, the message processing finishes; If no, execution in step S430 carries out network layer according to default route to this message and transmits, and the message processing finishes.
At step S450, judge whether the target MAC (Media Access Control) address of this message is multicast or broadcast address, if, execution in step S480; If not, execution in step S460.
At step S460, in mac address table, if execution in step S470 transmits this message according to mac address table, the message processing finishes the target MAC (Media Access Control) address of judging this message; If not, execution in step S480.
At step S480, the physical port of an optional link aggregation group is transmitted this message, and the message processing finishes.
See also Fig. 1, suppose that the network equipment 100 and the network equipment 200 all are the switches with network layer forwarding capability, between network layer switch 100 and 200, can realize link aggregation by following method:
On network layer switch 100, choose the physical port of predetermined quantity, and these physical ports are carried out identical network layer configuration;
The corresponding physical port of choosing equal number on network layer switch 200, and these physical ports are carried out identical network layer dispose;
The physical port of choosing on network layer switch 100 and the network layer switch 200 is linked to each other one by one;
On network layer switch 100, the outgoing interface of in the routing table next being jumped to the route of network layer switch 200 is carried out uniform distribution on the physical port of choosing; Equally, on network layer switch 200, the outgoing interface of in the routing table next being jumped to the route of network layer switch 100 is also carried out uniform distribution on the physical port of choosing;
If some in the physical port that network layer switch 100 is found to choose can't send and/or receive message, then this physical port in its routing table is revised as the physical port of other operate as normal in the physical port of choosing; Simultaneously, the physical port on this machine that network layer switch 200 also can be found to be connected with this physical port is transmitted the network layer message and is broken down, and also will revise its routing table in the same way;
When network layer switch 100 finds that the physical port that breaks down recovers operate as normal, revise in its routing table next and jump the route that the value for outgoing interface in the route of network layer switch 200 repeats, its outgoing interface is revised as the physical port of resuming work; Simultaneously, network layer switch 200 can find that also the physical port that is connected with this physical port recovers normal to the network layer message forwarding, and then it also revises its routing table with the same manner.
After having realized the network layer link aggregation, can also realize the link aggregation of link layer simultaneously:
The network layer switch 100 and the network switch 200 are learnt MAC Address respectively from the message that its physical port of choosing receives, and the outgoing interface of MAC Address of study is evenly distributed on its physical port of choosing;
If some in the physical port that network layer switch 100 or network layer switch 200 found to choose can't send and/or receive message, then delete the list item that comprises this physical port in the mac address forwarding table.
If on network layer switch 100 and network layer switch 200, use flow process shown in Figure 4, then should make network layer switch 100 and the network layer switch 200 direct route of study from the ARP message that the physical port of choosing receives, and with the uniform distribution on the physical port of choosing of its outgoing interface.Like this, network layer switch 100 and network layer switch 200 can be carrying out judging whether message has network layer header earlier before message is transmitted, if carry out network layer and transmit; If not, carrying out link layer transmits.
The present invention is highly suitable for following situation:
In tree network, be in the network equipment of convergence-level or core layer, carry out network layer with undernet equipment and/or link layer interconnected;
The network equipment that in loop network, is in the network equipment of convergence-level or core layer and same level carry out network layer and/or link layer interconnected.
The above embodiments of the present invention does not constitute the qualification to protection range of the present invention.Any any modification of being done within the spirit and principles in the present invention, be equal to and replace and improvement etc., all should be included within the claim protection range of the present invention.

Claims (14)

1. the network equipment is realized it is characterized in that the method for link aggregation in network layer, may further comprise the steps:
A) determine n the physical port that the link polymerization terminal port group comprises, n carries out identical configuration with a said n physical port in network layer more than or equal to 2;
B) be to generate n bar equal-cost route with certain route that described link polymerization terminal port group is outlet, the outgoing interface information of described n bar equal-cost route is set to n physical port of described link polymerization terminal port group respectively;
C) network equipment will need the message of network layer forwarding to be evenly distributed on the described n equal-cost route, be the message outgoing interface with a said n physical port correspondingly;
D) in being connected of the part physical port of link polymerization terminal port group and opposite end, have no progeny, the outgoing interface information that connects the pairing equal-cost route of physical port that interrupts is revised as the physical port of operate as normal in the link polymerization terminal port group.
2. according to the described method at network layer realization link aggregation of claim 1, it is characterized in that described method also comprises: each physical port of link polymerization terminal port group is set to not transmit multicast and the broadcasting packet that other physical ports receive.
3. according to the described method of claim 2, it is characterized in that, also comprise after the described step d) at network layer realization link aggregation:
E) after the link polymerization terminal port group connects certain physical port recovery operate as normal of interrupting, search the equal-cost route that has identical outgoing interface information in the described n bar equal-cost route, the outgoing interface information of an equal-cost route wherein is revised as the physical port of described recovery operate as normal.
4. according to the described method that realizes link aggregation in network layer of claim 3, it is characterized in that the modification of the outgoing interface information of the pairing equal-cost route of physical port that in the described step d) connection is interrupted meets the following conditions: the difference of the pairing equal-cost route number of the physical port of any two operate as normal is smaller or equal to 1.
5. according to the described method of claim 4, it is characterized in that, comprise following at least one between described step a) and the step b) at network layer realization link aggregation:
Is the indirect route of outlet by dynamic routing protocol study with described network layer address;
Be configured to described network layer address and be the outlet static routing;
By the ARP message that the link polymerization terminal port group is received, learn direct route.
6. according to any described method of claim 1 to 5, it is characterized in that, also comprise after the described step a) at network layer realization link aggregation:
A1) to learn from the message of receiving with it be the medium access control system MAC Address of outlet to the link polymerization terminal port group;
A2) the outgoing interface information setting of the MAC Address that will learn is the physical port of link polymerization terminal port group operate as normal;
A3) have no progeny in being connected of the part physical port of link polymerization terminal port group and opposite end, deletion is the MAC Address of outgoing interface to connect the physical port that interrupts, and changes step a1);
A4) after the link polymerization terminal port group connected the physical port recovery operate as normal of interrupting, deletion was all MAC Address of outlet with the link polymerization terminal port group, changes step a1).
7. according to the described method at network layer realization link aggregation of claim 6, it is characterized in that described method also comprises: each physical port that the link polymerization terminal port group is set is not transmitted multicast and the broadcasting packet that other physical ports receive.
8. according to the described method of claim 7, it is characterized in that described step a2 at network layer realization link aggregation) be specially:
Set hash algorithm, make the physical port of its cryptographic Hash and operate as normal have one-to-one relationship;
Calculate the cryptographic Hash of described MAC Address with described hash algorithm;
The outgoing interface of described MAC Address is set to calculate the cryptographic Hash corresponding physical port of gained.
9. the network equipment is realized it is characterized in that the method for link aggregation at link layer, may further comprise the steps:
A. determine the physical port that the link polymerization terminal port group comprises;
B. each physical port of link polymerization terminal port group is set to not transmit multicast and the broadcasting packet that other physical ports receive;
C. to learn from the message of receiving with it be the medium access control system MAC Address of outlet to the link polymerization terminal port group;
D. the outgoing interface information setting of the MAC Address that will learn is the physical port of link polymerization terminal port group operate as normal;
E. have no progeny in being connected of the part physical port of link polymerization terminal port group and opposite end, deletion is the MAC Address of outgoing interface to connect the physical port that interrupts, commentaries on classics step C.
10. according to the described method that realizes link aggregation in network layer of claim 9, it is characterized in that, also comprise after the described step e: after connecting the physical port recovery operate as normal of interrupting when the link polymerization terminal port group, deletion is all MAC Address of outlet with the link polymerization terminal port group, changes step C;
Described step D is specially:
Set hash algorithm, make the physical port of its cryptographic Hash and operate as normal have one-to-one relationship;
Calculate the cryptographic Hash of described MAC Address with described hash algorithm;
The outgoing interface of described MAC Address is set to calculate the cryptographic Hash corresponding physical port of gained.
11. a method that realizes link aggregation between the network layer switch is characterized in that, may further comprise the steps:
(1) on first switch, chooses the physical port of predetermined quantity, and these physical ports are carried out identical network layer dispose;
(2) the corresponding physical port of choosing described predetermined quantity on second switch, and these physical ports are carried out identical network layer dispose; The physical port of first and second switches chosen is linked to each other one by one;
(3) outgoing interface that first switch need be forwarded to the network layer message of second switch in routing table carries out uniform distribution by the physical port of choosing;
(4) if a certain physical port in the physical port that discovery first switch is chosen can't normally send message, then this physical port in the routing table is revised as the physical port of other operate as normal in the physical port of choosing.
12. according to the described method that between the network layer switch, realizes link aggregation of claim 11, it is characterized in that, first switch or second switch are learnt MAC Address from the message that the physical port chosen receives, and with its outgoing interface uniform distribution on the physical port of choosing.
13., it is characterized in that in step (4), first switch also is the MAC Address deletion of this physical port with outgoing interface according to the described method that between the network layer switch, realizes link aggregation of claim 12.
14. according to the described method that between the network layer switch, realizes link aggregation of claim 11, it is characterized in that, in step (3), first and second switches are the direct route of study from the ARP message that the physical port of choosing receives, and with the uniform distribution on the physical port of choosing of its outgoing interface;
First or second switch carries out message and transmits before earlier judge whether message has network layer header, if carry out network layer and transmit; If not, carrying out link layer transmits.
CNB2005100767090A 2005-06-10 2005-06-10 Method of implementing link aggregation of network equipment Expired - Fee Related CN100479465C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100767090A CN100479465C (en) 2005-06-10 2005-06-10 Method of implementing link aggregation of network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100767090A CN100479465C (en) 2005-06-10 2005-06-10 Method of implementing link aggregation of network equipment

Publications (2)

Publication Number Publication Date
CN1725761A true CN1725761A (en) 2006-01-25
CN100479465C CN100479465C (en) 2009-04-15

Family

ID=35925000

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100767090A Expired - Fee Related CN100479465C (en) 2005-06-10 2005-06-10 Method of implementing link aggregation of network equipment

Country Status (1)

Country Link
CN (1) CN100479465C (en)

Cited By (35)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008009160A1 (en) * 2006-06-30 2008-01-24 Zte Corporation An access configuration method for the link aggregation and a link aggregation system
WO2008077313A1 (en) * 2006-12-22 2008-07-03 Huawei Technologies Co., Ltd. A method and a device for aggregating ports
WO2008089667A1 (en) * 2007-01-22 2008-07-31 Huawei Technologies Co., Ltd. Method and apparatus for reducing service loss in a link aggregation group
CN101252521A (en) * 2008-03-19 2008-08-27 中兴通讯股份有限公司 Method for forwarding message and distributed three layer network eqiupment
US7715407B2 (en) 2006-02-17 2010-05-11 Alaxala Networks Corporation Network apparatus and method for forwarding packet
CN101827038A (en) * 2010-05-24 2010-09-08 杭州华三通信技术有限公司 Distributed equipment and method for forwarding message in distributed equipment
CN101877677A (en) * 2010-06-25 2010-11-03 中兴通讯股份有限公司 Tunnel switching method and system for multi-protocol label switching services
CN101286899B (en) * 2007-04-12 2011-06-08 株式会社日立制作所 Network system and node apparatus
CN102158398A (en) * 2011-02-25 2011-08-17 杭州华三通信技术有限公司 Method and device for forwarding messages
CN101136899B (en) * 2006-08-31 2011-09-07 杭州华三通信技术有限公司 Ethernet physical layer transmission protecting method, and device and equipment for implementing the same
CN101170723B (en) * 2006-10-26 2012-01-04 北京三星通信技术研究有限公司 Method for managing mobile information of mobile phone between communication systems
WO2012051888A1 (en) * 2010-10-20 2012-04-26 中兴通讯股份有限公司 Method and system for realizing cross-node aggregated links in a packet switching network
CN102457540A (en) * 2010-10-25 2012-05-16 成都谛听科技有限公司 Low-cost network-attached storage (NAS) integration equipment bandwidth multiplication method
CN101510837B (en) * 2009-04-01 2012-10-10 福建星网锐捷网络有限公司 Ethernet bridge equipment, method and equipment for migrating polymerization mouth address
CN101626342B (en) * 2008-07-07 2013-06-26 华为技术有限公司 Method, device and system for realizing link aggregation
CN103236975A (en) * 2013-05-09 2013-08-07 杭州华三通信技术有限公司 Message forwarding method and message forwarding device
CN103370910A (en) * 2010-11-19 2013-10-23 极进网络公司 Methods, systems, and computer readable media for next hop scaling with link aggregation
CN103401707A (en) * 2013-07-26 2013-11-20 杭州华三通信技术有限公司 Link aggregation method and access equipment
CN103501250A (en) * 2013-09-30 2014-01-08 杭州华三通信技术有限公司 Data flow processing method and device in distribution type link aggregation network
WO2014059873A1 (en) * 2012-10-19 2014-04-24 中兴通讯股份有限公司 Method and device for flow path negotiation in link aggregation group
CN103986658A (en) * 2014-05-14 2014-08-13 北京锐安科技有限公司 Message output method and device
CN104144129A (en) * 2014-06-27 2014-11-12 杭州华三通信技术有限公司 Method and device for transmitting Fast-Hello messages
CN104486124A (en) * 2014-12-19 2015-04-01 盛科网络(苏州)有限公司 Device and method for realizing MLAG (multi-system link aggregation) by logical ports
CN104980372A (en) * 2014-04-08 2015-10-14 日立金属株式会社 Relay System And Switching Device
WO2016033785A1 (en) * 2014-09-04 2016-03-10 华为技术有限公司 Method for synchronizing forwarding tables, network device, and system
CN105515998A (en) * 2015-11-26 2016-04-20 北京邮电大学 Method for communicating third-level domain and second-level domain in software-defined packet transport network (SPTN) domain and system
CN106559246A (en) * 2015-09-30 2017-04-05 杭州华三通信技术有限公司 The implementation method and server of cluster
CN107534576A (en) * 2015-06-27 2018-01-02 华为技术有限公司 A kind of link restoring method and the network equipment
CN108667645A (en) * 2017-04-01 2018-10-16 华为技术有限公司 A kind of method, apparatus, forwarding unit and the system of configuration interface
CN109450819A (en) * 2018-10-25 2019-03-08 锐捷网络股份有限公司 A kind of retransmission method and system of broadcasting packet
CN112087376A (en) * 2019-06-14 2020-12-15 中兴通讯股份有限公司 Load sharing method and device
CN113300870A (en) * 2020-08-10 2021-08-24 阿里巴巴集团控股有限公司 Access layer switch, upper layer switch and data center network system
CN113364678A (en) * 2021-06-18 2021-09-07 北京奇艺世纪科技有限公司 Data transmission system, method, device, electronic equipment and computer readable medium
CN113572695A (en) * 2020-04-28 2021-10-29 中国移动通信集团浙江有限公司 Link aggregation method and device, computing equipment and computer storage medium
WO2024099093A1 (en) * 2022-11-09 2024-05-16 维沃移动通信有限公司 Data transmission method and apparatus, terminal, network side device, and system

Cited By (56)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7715407B2 (en) 2006-02-17 2010-05-11 Alaxala Networks Corporation Network apparatus and method for forwarding packet
US8081637B2 (en) 2006-02-17 2011-12-20 Alaxala Networks Corporation Network apparatus and method for forwarding packet
WO2008009160A1 (en) * 2006-06-30 2008-01-24 Zte Corporation An access configuration method for the link aggregation and a link aggregation system
CN101136899B (en) * 2006-08-31 2011-09-07 杭州华三通信技术有限公司 Ethernet physical layer transmission protecting method, and device and equipment for implementing the same
CN101170723B (en) * 2006-10-26 2012-01-04 北京三星通信技术研究有限公司 Method for managing mobile information of mobile phone between communication systems
WO2008077313A1 (en) * 2006-12-22 2008-07-03 Huawei Technologies Co., Ltd. A method and a device for aggregating ports
WO2008089667A1 (en) * 2007-01-22 2008-07-31 Huawei Technologies Co., Ltd. Method and apparatus for reducing service loss in a link aggregation group
US8107506B2 (en) 2007-01-22 2012-01-31 Huawei Technologies Co., Ltd. Method and apparatus for reducing service impairment in link aggregation group
CN101286899B (en) * 2007-04-12 2011-06-08 株式会社日立制作所 Network system and node apparatus
CN101252521A (en) * 2008-03-19 2008-08-27 中兴通讯股份有限公司 Method for forwarding message and distributed three layer network eqiupment
CN101626342B (en) * 2008-07-07 2013-06-26 华为技术有限公司 Method, device and system for realizing link aggregation
CN101510837B (en) * 2009-04-01 2012-10-10 福建星网锐捷网络有限公司 Ethernet bridge equipment, method and equipment for migrating polymerization mouth address
CN101827038A (en) * 2010-05-24 2010-09-08 杭州华三通信技术有限公司 Distributed equipment and method for forwarding message in distributed equipment
WO2011160517A1 (en) * 2010-06-25 2011-12-29 中兴通讯股份有限公司 Tunnel switching method and system for multi-protocol label switching services
CN101877677A (en) * 2010-06-25 2010-11-03 中兴通讯股份有限公司 Tunnel switching method and system for multi-protocol label switching services
CN101877677B (en) * 2010-06-25 2014-08-13 中兴通讯股份有限公司 Tunnel switching method and system for multi-protocol label switching services
RU2528149C1 (en) * 2010-06-25 2014-09-10 ЗетТиИ Корпорейшн Tunnel switching method and system for multi-protocol label switching services
WO2012051888A1 (en) * 2010-10-20 2012-04-26 中兴通讯股份有限公司 Method and system for realizing cross-node aggregated links in a packet switching network
CN102457540A (en) * 2010-10-25 2012-05-16 成都谛听科技有限公司 Low-cost network-attached storage (NAS) integration equipment bandwidth multiplication method
CN103370910B (en) * 2010-11-19 2016-05-18 极进网络公司 Utilize link aggregation to carry out method, system and the computer-readable medium of down hop convergent-divergent
CN103370910A (en) * 2010-11-19 2013-10-23 极进网络公司 Methods, systems, and computer readable media for next hop scaling with link aggregation
CN102158398A (en) * 2011-02-25 2011-08-17 杭州华三通信技术有限公司 Method and device for forwarding messages
US9736060B2 (en) 2012-10-19 2017-08-15 Zte Corporation Method and device for negotiating traffic path in link aggregation group
WO2014059873A1 (en) * 2012-10-19 2014-04-24 中兴通讯股份有限公司 Method and device for flow path negotiation in link aggregation group
CN103236975A (en) * 2013-05-09 2013-08-07 杭州华三通信技术有限公司 Message forwarding method and message forwarding device
CN103236975B (en) * 2013-05-09 2017-02-08 杭州华三通信技术有限公司 Message forwarding method and message forwarding device
CN103401707A (en) * 2013-07-26 2013-11-20 杭州华三通信技术有限公司 Link aggregation method and access equipment
CN103401707B (en) * 2013-07-26 2016-09-28 杭州华三通信技术有限公司 link aggregation method and access device
CN103501250A (en) * 2013-09-30 2014-01-08 杭州华三通信技术有限公司 Data flow processing method and device in distribution type link aggregation network
CN104980372A (en) * 2014-04-08 2015-10-14 日立金属株式会社 Relay System And Switching Device
CN104980372B (en) * 2014-04-08 2019-08-27 日立金属株式会社 Relay system and exchange apparatus
CN103986658B (en) * 2014-05-14 2017-06-06 北京锐安科技有限公司 A kind of message output intent and device
CN103986658A (en) * 2014-05-14 2014-08-13 北京锐安科技有限公司 Message output method and device
CN104144129B (en) * 2014-06-27 2017-11-28 新华三技术有限公司 A kind of transmission method and equipment of Fast hello packet
CN104144129A (en) * 2014-06-27 2014-11-12 杭州华三通信技术有限公司 Method and device for transmitting Fast-Hello messages
WO2016033785A1 (en) * 2014-09-04 2016-03-10 华为技术有限公司 Method for synchronizing forwarding tables, network device, and system
US10079781B2 (en) 2014-09-04 2018-09-18 Huawei Technologies Co., Ltd. Forwarding table synchronization method, network device, and system
CN104486124A (en) * 2014-12-19 2015-04-01 盛科网络(苏州)有限公司 Device and method for realizing MLAG (multi-system link aggregation) by logical ports
CN107534576A (en) * 2015-06-27 2018-01-02 华为技术有限公司 A kind of link restoring method and the network equipment
CN107534576B (en) * 2015-06-27 2020-03-31 华为技术有限公司 Link recovery method and network equipment
CN106559246A (en) * 2015-09-30 2017-04-05 杭州华三通信技术有限公司 The implementation method and server of cluster
CN105515998A (en) * 2015-11-26 2016-04-20 北京邮电大学 Method for communicating third-level domain and second-level domain in software-defined packet transport network (SPTN) domain and system
CN105515998B (en) * 2015-11-26 2019-05-17 北京邮电大学 A kind of method and system in the domain SPTN three layers of domain and two layers of domain intercommunication
CN108667645A (en) * 2017-04-01 2018-10-16 华为技术有限公司 A kind of method, apparatus, forwarding unit and the system of configuration interface
CN108667645B (en) * 2017-04-01 2020-07-28 华为技术有限公司 Method, device, forwarding equipment and system for configuring interface
CN109450819B (en) * 2018-10-25 2021-08-17 锐捷网络股份有限公司 Method and system for forwarding broadcast message
CN109450819A (en) * 2018-10-25 2019-03-08 锐捷网络股份有限公司 A kind of retransmission method and system of broadcasting packet
CN112087376A (en) * 2019-06-14 2020-12-15 中兴通讯股份有限公司 Load sharing method and device
CN112087376B (en) * 2019-06-14 2023-03-14 中兴通讯股份有限公司 Load sharing method and device
CN113572695A (en) * 2020-04-28 2021-10-29 中国移动通信集团浙江有限公司 Link aggregation method and device, computing equipment and computer storage medium
CN113572695B (en) * 2020-04-28 2023-11-14 中国移动通信集团浙江有限公司 Link aggregation method, device, computing equipment and computer storage medium
CN113300870A (en) * 2020-08-10 2021-08-24 阿里巴巴集团控股有限公司 Access layer switch, upper layer switch and data center network system
CN113300870B (en) * 2020-08-10 2024-09-10 阿里巴巴集团控股有限公司 Access layer switch, upper layer switch and data center network system
CN113364678A (en) * 2021-06-18 2021-09-07 北京奇艺世纪科技有限公司 Data transmission system, method, device, electronic equipment and computer readable medium
CN113364678B (en) * 2021-06-18 2023-01-10 北京奇艺世纪科技有限公司 Data transmission system, method, device, electronic equipment and computer readable medium
WO2024099093A1 (en) * 2022-11-09 2024-05-16 维沃移动通信有限公司 Data transmission method and apparatus, terminal, network side device, and system

Also Published As

Publication number Publication date
CN100479465C (en) 2009-04-15

Similar Documents

Publication Publication Date Title
CN1725761A (en) Method of implementing link aggregation of network equipment
CN1292572C (en) Network system and method for discovering path MTU in data communication network
KR101989333B1 (en) Data forwarding method, device and system in software-defined networking
CN1921457A (en) Network equipment and message transferring method based on multiple-core processor
CN102571587B (en) Method and equipment for forwarding messages
CN100338915C (en) Message mirroring method and network equipment with message mirroring function
CN1914867A (en) Interface bundles in virtual network devices
CN101035019A (en) Fast convergence method and device of the end-to-end service
CN1697354A (en) Method for reliable transmitting data through multicast and unicast protocol, and host of receiving data
CN1976313A (en) High performance router routing protocol distribution parallel realizing method
CN1618025A (en) Method and system for providing failure protection in a ring network that utilizes label switching
CN101056257A (en) Method and system for implementing the link aggregation and protection switching
CN101051995A (en) Protection switching method based on no connection network
CN1431805A (en) Data pack exchanging system, method, route appts. data pack structure and generation method
CN1744563A (en) Method for realizing strate gic route in Ethernet switch
CN1943173A (en) Intelligent adjunct network device
JP7403635B2 (en) METHODS, APPARATUS AND SYSTEM FOR FORWARDING PACKETS IN SR NETWORK
CN102368727A (en) Crossed IP network TRILL network communication method, system thereof and devices
CN101047598A (en) Rpr ring network, communication device and method.
CN1905488A (en) Method and system for access user by virtual router redundance protocol
CN111147372B (en) Downlink message sending and forwarding method and device
US7782790B1 (en) Extensions to the path verification protocol to support link bundling constructs
CN101060494A (en) A route selection method, system and router
CN1777150A (en) Method for realizing user-isolated virtual LAN and its network device
CN104301229A (en) Data packet forwarding method and device and routing table generating 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
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: NEW H3C TECHNOLOGIES Co.,Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: HANGZHOU H3C TECHNOLOGIES Co.,Ltd.

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090415

CF01 Termination of patent right due to non-payment of annual fee