CN101552725B - Recovery processing method, system and apparatus of aggregation sublink - Google Patents

Recovery processing method, system and apparatus of aggregation sublink Download PDF

Info

Publication number
CN101552725B
CN101552725B CN2009100839665A CN200910083966A CN101552725B CN 101552725 B CN101552725 B CN 101552725B CN 2009100839665 A CN2009100839665 A CN 2009100839665A CN 200910083966 A CN200910083966 A CN 200910083966A CN 101552725 B CN101552725 B CN 101552725B
Authority
CN
China
Prior art keywords
port
equipment
state
sublink
transmit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2009100839665A
Other languages
Chinese (zh)
Other versions
CN101552725A (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 H3C Technologies 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 H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN2009100839665A priority Critical patent/CN101552725B/en
Publication of CN101552725A publication Critical patent/CN101552725A/en
Application granted granted Critical
Publication of CN101552725B publication Critical patent/CN101552725B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention discloses recovery processing method, system and apparatus of aggregation sublink, which includes defining two statuses of discard and forwarding in sending direction and receiving direction separately for every terminal port in up state; when the first apparatus detects the first terminal port of aggregation sublink on the apparatus changing into up state, setting the state of the first terminal port in sending direction and receiving direction as discard, adding the first terminal port into aggregation group without sharing flow, and sending terminal port state query message to the second apparatus; the second apparatus receiving the terminal port state query message, if the state of the second terminal port in receive direction of the aggregation sublink on the second apparatus is forwarding, then returning a response message to the first apparatus; the first receiving the response message and setting the state of the first terminal port in sending direction asforwarding and allowing the first terminal port to share flow of the aggregation group. The invention can eliminating the package losing phenomenon in aggregation sublink recovery procedure.

Description

The polymerization sublink is recovered processing method, system and equipment
Technical field
The present invention relates to the link aggregation technical field, be specifically related to the polymerization sublink and recover processing method, system and equipment.
Background technology
In Ethernet exchange field, the link aggregation technology has a very wide range of applications.Link aggregation refers to many physical links is bound into a logical links (being also referred to as aggregation group) to create the more interface of high bandwidth.The data traffic that is forwarded to aggregation group can go up load balancing at each member's physical link (being also referred to as sublink), can obtain being equivalent to the effective bandwidth of each sublink bandwidth sum like this.
Except high bandwidth can be provided, the link aggregation technology also has an important function, just provides the high reliability of network.Play a part mutual backup between each sublink in the aggregation group, certain sublink breaks down after (down), and load balancing is to other sublink again for flow, and the flow of whole aggregation group is transmitted and can't be interrupted; After this sublink is recovered normally (up) again, can participate in the load balancing of aggregation group flow again.
Fig. 1-1-Fig. 1-4 has provided the processing scheme of the polymerization sublink recovery process of prior art one.
As Figure 1-1, four port P1~P4 of device A form aggregation group, and four port P5~P8 of equipment B form aggregation group.When initial, the link between P1 and the P5 is in fault (down) state, and other three links are in normally (up) state and are forwarding (forwarding) state.Like this, aggregation group reality only comprises three ports of P2~P4 on the exchange chip of device A, and aggregation group reality only comprises three ports of P6~P8 on the exchange chip of equipment B.Upstream data fails to be convened for lack of a quorum load balancing to three ports of P6~P8; Similarly, downlink data fails to be convened for lack of a quorum load balancing to three ports of P2~P4.
Sometime, connect the link-recovery between P1 and the P5, promptly be in the up state, then P1 on device A, B and P5 can add aggregation group separately, and flow is carried out load balancing.
Here be that example is come the processing procedure of a port from down to up of devices illustrated to aggregation group with the device A, specifically comprise the steps 01~03:
01: shown in Fig. 1-2, when port P1 became up by down, the state of P1 was earlier for abandoning (discarding).This be because: for preventing the generation of double-layer loop, when port became up by down, initial condition was necessary for discarding.
02: as Figure 1-3, device A finds that the state of P1 is up, then P1 is added the aggregation group on the exchange chip, actual four ports of P1~P4 that comprise of the aggregation group on the exchange chip like this, and downlink traffic carries out load balancing by four ports of P1~P4.But,, can be abandoned by exchange chip so be forwarded to the flow of this port because P1 state at this moment is discarding.
03: after P1 added aggregation group, device A was arranged to forwarding with the state of P1, and P1 begins normal converting flow.
Through after the above-mentioned steps 01~03, device A is finished the recovery processing procedure of port P1.Equipment B is identical with device A to the recovery processing procedure of port P5.When device A and B finish when recovering to handle, link P1-P5 enters into normal data forward state.The system mode of this moment is shown in Fig. 1-4.
From said process as can be seen, in the polymerization sublink recovery process, the uplink and downlink flow certainly exists the packet loss problem, and main cause has two:
The first, step 02 is finished and step 03 also imperfect tense can packet loss.Because P1 added aggregation group and flow was carried out load balancing this moment, and the state of P1 still is discarding at this moment, can be abandoned by chip so be forwarded to the flow of P1, as Figure 1-3.
The second, device A and B always have successively in time to the processing of link-recovery, handle when an end and finish, but when the other end is not also finished dealing with, just may be dropped after the flow that sends from an equipment arrives another equipment.The system mode of this moment is shown in Fig. 1-5: P1 can be abandoned by P5 to the downlink traffic that P5 sends.
Application number provides another kind of polymerization sublink to recover processing scheme for 200810211996.5 patent application, and is specific as follows:
Have aggregated links between device A and the equipment B, wherein the port of a polymerization sublink on device A is a, and the port on equipment B is b, this polymerization sublink down, and sometime, port a becomes up, then:
When device A found that the state of port a is up, then device A sent a port status renewal message by port a to the port b of equipment B.And this moment, the port b of equipment B may be in the up state and known by equipment B, also may be in other state, then:
One, if port b has been in the up state and has been known by equipment B, then port b can receive the port status renewal message that device A is sent, thereby confirms that port a has been in the up state, and then equipment B is replied response message by port b to port a.After port a receives described response message, confirm that port b also is in the up state.
Through said process, port a, b can confirm that the other side's port all is in the up state, then device A, B report the port status change information to console module simultaneously, and console module carries out computing according to this port status change information, and upgrading port a, b is the Selected state.
Two, if port b is not in the state of described " be in the up state and known by equipment B ", then equipment B can't receive that the port status that equipment a sends upgrades message, therefore can not send response message to device A yet, at this moment, port a enters wait state, and the port status that waiting facilities B initiatively sends upgrades message.
After this, when the port b of equipment B enters the up state and has been known by equipment B, equipment B is initiatively passed through port b and is upgraded message to port a transmit port state, because port a this moment has been in the up state and has been known by device A, then port a can receive that the port status that port b sends upgrades message, and replys response message to port b.
Through said process, port a, b can confirm that the other side's port all is in the up state, then device A, B report the port status change information to console module simultaneously, and console module carries out computing according to this port status change information, and upgrading port a, b is the Selected state.
The shortcoming of above-mentioned application is: since the state of a ports having for " Selected " after, the flow that is forwarded on this port just can not lost, and console module is when being provided with the Selected state of port a, b, be provided with and have priority on the time, so just may produce the packet loss phenomenon.For example: if port a is set to the Selected state earlier, and be set to the Selected state behind the port b, then the flow that is forwarded on the port b of port a just might be lost.
Summary of the invention
The invention provides the polymerization sublink and recover processing method, system and equipment, to eliminate the packet loss phenomenon in the polymerization sublink recovery process.
Technical scheme of the present invention is achieved in that
A kind of polymerization sublink is recovered processing method, and for each is in the port of normal condition, define two states respectively on sending direction and receive direction: abandon and transmit, this method comprises:
First port of polymerization sublink becomes normal condition on first this equipment of device discovery, then the sending direction of first port and the state of receive direction all are set to: abandon, first port is added aggregation group but do not allow first port to share the flow of aggregation group, and to the second equipment transmit port status poll message;
The second equipment receiving port status poll message if find that originally the state of the receive direction of second port of the above polymerization sublink of second equipment is to transmit, then returns response message to first equipment;
First equipment receives described response message, and the state of the sending direction of first port is set to: transmit, begin to allow first port to share the flow of aggregation group.
Further comprise after the described second equipment receiving port status poll message:
The state of the receive direction of second port of second the above polymerization sublink of this equipment of device discovery is for abandoning, then wait for to the state of the receive direction of second port when transmitting, return response message to first equipment.
Described method further comprises: default first-class is treated duration,
Described first equipment further comprises after the second equipment transmit port status poll message: first equipment is not received the response message that second equipment is sent default the wait in the duration, then repeats to the second equipment transmit port status poll message.
Described first equipment repeats further to comprise after the second equipment transmit port status poll message:
First device discovery is not received the response message that second equipment is sent after repeating preset times transmit port status poll message yet, and then the state of the sending direction of first port is set to automatically: transmit.
A kind of polymerization sublink is recovered treatment system, and this system comprises:
First equipment, first port of polymerization sublink becomes normal condition on this equipment of discovery, then the sending direction of first port and the state of receive direction all are set to: abandon, first port is added aggregation group but do not allow first port to share the flow of aggregation group, and to the second equipment transmit port status poll message; Receive the response message that second equipment is sent, the state of the sending direction of first port is set to: transmit, begin to allow first port to share the flow of aggregation group;
Second equipment receives the port status query message that first equipment is sent from second port of polymerization sublink, if the state of receive direction of finding second port then returns response message to first equipment for transmitting.
A kind of polymerization sublink is recovered treatment facility, and this equipment comprises:
First module, first port of polymerization sublink becomes normal condition on this equipment of discovery, then the sending direction of first port and the state of receive direction all are set to: abandon, first port is added aggregation group but do not allow first port to share the flow of aggregation group, and to opposite equip. transmit port status poll message;
Second module, from the response message that first port reception opposite equip. of polymerization sublink is sent, the state of the sending direction of first port is set to: transmit, begin to allow first port to share the flow of aggregation group.
Described first module is further used for, and in opposite equip. transmit port status poll message, sends the startup indication to time block;
And described equipment further comprises:
Time block, reception picks up counting after starting indication; After timing length arrives, send regularly arrival indication to second module;
And described second module is further used for, if when receiving regularly arrival indication, first port from the polymerization sublink does not receive the response message that opposite equip. is sent, and then repeats to opposite equip. transmit port status poll message.
Described equipment further comprises:
Three module receives the port status query message that opposite equip. is sent from first port, if find the state of the first port receive direction is: transmit, then return response message to opposite equip..
Described three module comprises:
The 3rd submodule receives the port status query message that opposite equip. is sent from first port, is forwarding if find the state of the receive direction of first port, then sends the response indication to the 4th submodule; If the state of receive direction of finding first port for abandoning, then wait for to the state of the receive direction of first port when transmitting, send response to the 4th submodule and indicate;
The 4th submodule when receiving the response indication that the 3rd submodule sends, returns response message to opposite equip..
Described equipment further comprises:
Counting module repeats the number of times of transmit port status poll message and counts to second module, when count value arrives preset times, send forwarding state to second module indication is set automatically;
And described second module is further used for, and when receiving that forwarding state that counting module is sent is provided with indication automatically, the state of the sending direction of first port of polymerization sublink is set to: transmit.
Compared with prior art, the present invention is in the port of up state for each, defines two states respectively on sending direction and receive direction: abandon and transmit; When first port of polymerization sublink on first this equipment of device discovery becomes the up state, the sending direction of first port and the state of receive direction all are set to: abandon, first port is added aggregation group but do not allow first port to share the flow of aggregation group, and to the second equipment transmit port status poll message; The second equipment receiving port status poll message if find that originally the state of the receive direction of second port of the above polymerization sublink of second equipment is to transmit, then returns response message to first equipment; First equipment receives described response message, and the state of the sending direction of first port is set to: transmit, begin to allow first port to share the flow of aggregation group.The present invention can eliminate the packet loss phenomenon in the polymerization sublink recovery process.
Description of drawings
Fig. 1-1 is the schematic diagram one of the polymerization sublink recovery process of prior art one;
Fig. 1-2 is the schematic diagram two of the polymerization sublink recovery process of prior art one;
Fig. 1-3 is the schematic diagram three of the polymerization sublink recovery process of prior art one;
Fig. 1-4 is the schematic diagram four of the polymerization sublink recovery process of prior art one;
Fig. 1-5 is the schematic diagram five of the polymerization sublink recovery process of prior art one;
Fig. 2 recovers process chart for the polymerization sublink that the embodiment of the invention provides;
Fig. 3-1 is the schematic diagram one of the polymerization sublink recovery process of the application embodiment of the invention;
Fig. 3-2 is the schematic diagram two of the polymerization sublink recovery process of the application embodiment of the invention;
Fig. 3-3 is the schematic diagram three of the polymerization sublink recovery process of the application embodiment of the invention;
Fig. 3-4 is the schematic diagram four of the polymerization sublink recovery process of the application embodiment of the invention;
Fig. 3-5 is the schematic diagram five of the polymerization sublink recovery process of the application embodiment of the invention;
Fig. 4 recovers the treatment system composition diagram for the polymerization sublink that the embodiment of the invention provides.
Embodiment
The present invention is further described in more detail below in conjunction with drawings and the specific embodiments.
Fig. 2 recovers process chart for the polymerization sublink that the embodiment of the invention provides, as shown in Figure 2, in the present embodiment, has aggregated links between set device A and the B, wherein the port of a polymerization sublink on device A, B is respectively port a, b, and its concrete steps are as follows:
Step 201: be in the port of up state for each, be defined as follows state respectively at sending direction and receive direction:
Sending direction: send (Tx discarding) state that abandons, send (Tx forwarding) state of forwarding;
Receive direction: receive (Rx discarding) state that abandons, receive (Rx forwarding) state of forwarding.
Wherein, Tx discarding represents that the sending direction of port is in the discarding state, though that is: port is in the up state, this moment, this port also was not allowed to outside converting flow;
Tx forwarding represents that the sending direction of port is in the forwarding state, that is: port is in the up state, and is allowed to outside converting flow;
Rx discarding represents that the receive direction of port is in the discarding state, though that is: port is in the up state, is not allowed to receive flow, and the flow that promptly is transmitted to this port this moment can be dropped;
Rx forwarding represents that the receive direction of port is in the forwarding state, that is: port is in the up state, and is allowed to receive flow, and the flow that promptly is transmitted to this port can not be dropped.
Be in the port of up state for each, at sending direction and respectively corresponding state of receive direction of this port.For sending direction, this state is Tx discarding or Tx forwarding; For receive direction, this state is Rx discarding or Rx forwarding.
Step 202: preestablish the flow that the polymerization sublink port that is in Tx discarding state is not shared aggregation group.
Step 203: device A finds that the state of a port a of polymerization sublink becomes up by down, and then the state of the sending direction of the port a state that is set to Tx discarding, receive direction is set to Rx discarding, and port a is added aggregation group.
As long as the port up of the polymerization sublink of this equipment of device discovery, the state that the state of the sending direction of this port will be set to Tx discarding, receive direction earlier is set to Rxdiscarding earlier.
In this step, though port a has added aggregation group, because the state of its sending direction is Tx discarding, therefore, port a does not share the flow of aggregation group.
Step 204: device A finds that port a has been ready to converting flow, the state of the sending direction of port a need have been become Tx forwarding, then to the port b of equipment B transmit port status poll message.
Step 205: the port b of equipment B receives the port status query message, judges whether the state of the receive direction of port b is Rx forwarding, if, execution in step 207; Otherwise, execution in step 206.
For a polymerization sublink port, behind this port up, if this port place this port of device discovery has performed the preparation that receives flow, then equipment can become Rx forwarding by Rx discarding with the state of the receive direction of this port.
Step 206: equipment B continues wait, when the receive direction of port b is in Rx forwarding state, and execution in step 207.
Step 207: equipment B is returned response message by port b to port a, and device A is received response message, and the state of the sending direction of port a is changed to Tx forwarding, and beginning is to port b converting flow.
When the state of port became Tx forwarding, this port began to share the flow of aggregation group.
In the reality, in order not allow the device A response message of waiting facilities B indefinitely, can do following processing: default first-class is treated duration, if wait for that default device A is not received the response message that equipment B is sent in the duration, then device A repeats to equipment B transmit port status poll message, if repeat not receive the response message that equipment B is sent yet behind the preset times transmit port status poll message, then device A changes to Tx forwarding with the state of port a automatically.
Need to prove, when device A is passed through port a to the port b of equipment B transmit port status poll message, the port b of equipment B may also not be in the up state yet, at this moment, this message can not arrive equipment B, and then device A is found not receive the response message that equipment B is sent default the wait in the duration, can repeat to equipment B transmit port status poll message, if pre-determined number is not received the response message that device A is sent continuously, then device A changes to Tx forwarding with the state of port a automatically.
By said process as can be seen: for the port at polymerization sublink two ends, when the state of polymerization sublink port was Tx discarding, this port was not shared the flow of aggregation group; After having only the receive direction of having confirmed Peer-Port to be in Rx forwarding state, the state of the sending direction of local terminal port just can be set to Tx forwarding, that is: only after having confirmed that Peer-Port has performed the preparation that receives flow, the local terminal port just begins to share the flow of aggregation group, like this, the other side's port has begun the phenomenon of transmitted traffic with regard to having avoided side's polymerization sublink port also not perform the preparation that receives flow, has eliminated the generation of packet loss phenomenon fully.
When equipment B found that the state of the port b of polymerization sublink becomes up by down, the processing procedure immediate reasoning when its processing procedure can find that the state of the port a of polymerization sublink becomes up by down by the said equipment A obtained, and does not repeat them here.
Fig. 3-1-Fig. 3-5 is the schematic diagram of the polymerization sublink recovery processing procedure of the application embodiment of the invention, and is specific as follows:
Fig. 3-1 is identical with Fig. 1-1.
When the link-recovery between P1 and the P5, be example with the device A, processing procedure is as follows:
01: shown in Fig. 3-2, device A finds that the state of P1 becomes up by down, and then the initial condition of P1 is set to: Tx discarding, Rx discarding.
02: shown in Fig. 3-3, device A finds that P1 is a polymerization sublink port, P1 is added aggregation group on the exchange chip, actual four ports of P1~P4 that comprise of aggregation group on the exchange chip like this, because the state of P1 sending direction is Tx discarding, therefore P1 does not share the flow of aggregation group, but is shared by P2~P4.
03: to P5 transmit port status poll message, P5 sends response message adding after aggregation group and equipment B be arranged to Rx forwarding with the state of P5 receive direction to P1 to device A by P1.
04: as shown in Figure 3-4, device A is arranged to Tx forwarding with the state of P1 sending direction after receiving response message from P5 from P1, and the flow of aggregation group just can normally have been shared P1.
After 01~04, device A to the flow load sharing of equipment B direction to four ports of P1~P4.
Equipment B is similar to the processing of P1 to processing and the device A of P5, shown in Fig. 3-5, after the state of the sending direction of the P5 on the equipment B is Tx forwarding, equipment B to the flow load sharing of device A direction to four ports of P5~P8.
Fig. 4 recovers the treatment system composition diagram for the polymerization sublink that the embodiment of the invention provides, as shown in Figure 4, it mainly comprises: first equipment and second equipment, and has aggregated links between first, second equipment, wherein the port of a polymerization sublink on first, second equipment is respectively first, second port, wherein:
First equipment: find that first port of polymerization sublink becomes the up state on this equipment, then the sending direction of first port and the state of receive direction all are set to: abandon, first port is added aggregation group but do not allow first port to share the flow of aggregation group, and to the second equipment transmit port status poll message; Receive the response message that second equipment is sent, the state of the sending direction of first port is set to: transmit, begin to allow first port to share the flow of aggregation group.
Second equipment: receiving the port status query message that first equipment is sent from second port of polymerization sublink, is to transmit if find the state of the receive direction of second port, then returns response message to first equipment.
In the practical application, second equipment can comprise:
First module: receive the port status query message that first equipment is sent from second port of polymerization sublink, be forwarding, then send the response indication to second module if find the state of the receive direction of second port; If the state of receive direction of finding second port for abandoning, then wait for to the state of the receive direction of second port when transmitting, send response to second module and indicate.
Second module: when receiving the response indication that first module sends, return response message to first equipment.
In the practical application, first equipment can comprise:
First module: find that first port of polymerization sublink becomes the up state on this equipment, then the sending direction of first port and the state of receive direction all are set to: abandon, first port is added aggregation group but do not allow first port to share the flow of aggregation group, and, send the startup indication to time block to the second equipment transmit port status poll message.
Time block: after receiving the startup indication, pick up counting; After timing length arrives, send regularly arrival indication to second module.
Second module: receive the response message that second equipment is sent from first port of polymerization sublink, then the state of the sending direction of first port is set to: transmit, begin to allow first port to share the flow of aggregation group; If when receiving regularly arrival indication, do not receive the response message that second equipment is sent yet, then repeat to the second equipment transmit port status poll message.
In the practical application, first equipment also can comprise: counting module, and second module is repeated the number of times of transmit port status poll message and count, when count value arrives preset times, send forwarding state to second module indication is set automatically.
Simultaneously, described second module also is used for, and when receiving that the forwarding state that counting module is sent is provided with indication automatically, the state of the sending direction of first port of polymerization sublink is set to: transmit.
The polymerization sublink that below providing the embodiment of the invention provides is recovered the composition of treatment facility, and it mainly comprises: first module and second module, wherein:
First module: find that first port of polymerization sublink becomes the up state on this equipment, then the sending direction of first port and the state of receive direction all are set to: abandon, first port is added aggregation group but do not allow first port to share the flow of aggregation group, and to opposite equip. transmit port status poll message.
Second module: receive the response message that opposite equip. is sent from first port of polymerization sublink, the state of the sending direction of first port is set to: transmit, begin to allow first port to share the flow of aggregation group.
In the practical application, first module also can be used for, and in opposite equip. transmit port status poll message, sends the startup indication to time block;
Simultaneously, described equipment also comprises: time block, and reception picks up counting after starting indication; After timing length arrives, send regularly arrival indication to second module;
Simultaneously, second module also is used for, if when receiving regularly arrival indication, first port from the polymerization sublink does not receive the response message that opposite equip. is sent, and then repeats to opposite equip. transmit port status poll message.
In the practical application, described equipment also can comprise: counting module, and second module is repeated the number of times of transmit port status poll message and count, when count value arrives preset times, send forwarding state to second module indication is set automatically.
Simultaneously, described second module also is used for, and when receiving that forwarding state that counting module is sent is provided with indication automatically, the state of the sending direction of first port of polymerization sublink is set to: transmit.
In the practical application, described equipment also can comprise:
Three module receives the port status query message that opposite equip. is sent from first port, if find the state of the first port receive direction is: transmit, then return response message to opposite equip..
In the practical application, three module can comprise:
The 3rd submodule: receive the port status query message that opposite equip. is sent from first port, be forwarding, then send the response indication to the 4th submodule if find the state of the receive direction of first port; If the state of receive direction of finding first port for abandoning, then wait for to the state of the receive direction of first port when transmitting, send response to the 4th submodule and indicate.
The 4th submodule: when receiving the response indication that the 3rd submodule sends, return response message to opposite equip..
The above only is process of the present invention and method embodiment, in order to restriction the present invention, all any modifications of being made within the spirit and principles in the present invention, is not equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a polymerization sublink is recovered processing method, it is characterized in that for each is in the port of normal condition, define two states respectively on sending direction and receive direction: abandon and transmit, this method comprises:
First port of polymerization sublink becomes normal condition on first this equipment of device discovery, then the sending direction of first port and the state of receive direction all are set to: abandon, first port is added aggregation group but do not allow first port to share the flow of aggregation group, and to the second equipment transmit port status poll message;
The second equipment receiving port status poll message if find that originally the state of the receive direction of second port of the above polymerization sublink of second equipment is to transmit, then returns response message to first equipment;
First equipment receives described response message, and the state of the sending direction of first port is set to: transmit, begin to allow first port to share the flow of aggregation group.
2. require 1 described method as claim, it is characterized in that, further comprise after the described second equipment receiving port status poll message:
The state of the receive direction of second port of second the above polymerization sublink of this equipment of device discovery is for abandoning, then wait for to the state of the receive direction of second port when transmitting, return response message to first equipment.
3. method as claimed in claim 1 or 2 is characterized in that, described method further comprises: default first-class is treated duration,
Described first equipment further comprises after the second equipment transmit port status poll message: first equipment is not received the response message that second equipment is sent default the wait in the duration, then repeats to the second equipment transmit port status poll message.
4. method as claimed in claim 3 is characterized in that, described first equipment repeats further to comprise after the second equipment transmit port status poll message:
First device discovery is not received the response message that second equipment is sent after repeating preset times transmit port status poll message yet, and then the state of the sending direction of first port is set to automatically: transmit.
5. a polymerization sublink is recovered treatment system, it is characterized in that this system comprises:
First equipment, first port of polymerization sublink becomes normal condition on this equipment of discovery, then the sending direction of first port and the state of receive direction all are set to: abandon, first port is added aggregation group but do not allow first port to share the flow of aggregation group, and to the second equipment transmit port status poll message; Receive the response message that second equipment is sent, the state of the sending direction of first port is set to: transmit, begin to allow first port to share the flow of aggregation group;
Second equipment receives the port status query message that first equipment is sent from second port of polymerization sublink, if the state of receive direction of finding second port then returns response message to first equipment for transmitting.
6. a polymerization sublink is recovered treatment facility, it is characterized in that this equipment comprises:
First module, first port of polymerization sublink becomes normal condition on this equipment of discovery, then the sending direction of first port and the state of receive direction all are set to: abandon, first port is added aggregation group but do not allow first port to share the flow of aggregation group, and to opposite equip. transmit port status poll message;
Second module, receive the response message that opposite equip. is sent from first port of polymerization sublink, the state of the sending direction of first port is set to: transmit, begin to allow first port to share the flow of aggregation group, described response message is: after opposite equip. received the port status query message that described first module sends from second port of polymerization sublink, the state of receive direction of finding second port of the above polymerization sublink of this opposite equip. returned to described second module when transmitting.
7. equipment as claimed in claim 6 is characterized in that, described first module is further used for, and in opposite equip. transmit port status poll message, sends the startup indication to time block;
And described equipment further comprises:
Time block, reception picks up counting after starting indication; After timing length arrives, send regularly arrival indication to second module;
And described second module is further used for, if when receiving regularly arrival indication, first port from the polymerization sublink does not receive the response message that opposite equip. is sent, and then repeats to opposite equip. transmit port status poll message.
8. as claim 6 or 7 described equipment, it is characterized in that described equipment further comprises:
Three module receives the port status query message that opposite equip. is sent from first port, if find the state of the first port receive direction is: transmit, then return response message to opposite equip..
9. equipment as claimed in claim 8 is characterized in that, described three module comprises:
The 3rd submodule receives the port status query message that opposite equip. is sent from first port, is forwarding if find the state of the receive direction of first port, then sends the response indication to the 4th submodule; If the state of receive direction of finding first port for abandoning, then wait for to the state of the receive direction of first port when transmitting, send response to the 4th submodule and indicate;
The 4th submodule when receiving the response indication that the 3rd submodule sends, returns response message to opposite equip..
10. equipment as claimed in claim 7 is characterized in that, described equipment further comprises:
Counting module repeats the number of times of transmit port status poll message and counts to second module, when count value arrives preset times, send forwarding state to second module indication is set automatically;
And described second module is further used for, and when receiving that forwarding state that counting module is sent is provided with indication automatically, the state of the sending direction of first port of polymerization sublink is set to: transmit.
CN2009100839665A 2009-05-13 2009-05-13 Recovery processing method, system and apparatus of aggregation sublink Active CN101552725B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100839665A CN101552725B (en) 2009-05-13 2009-05-13 Recovery processing method, system and apparatus of aggregation sublink

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100839665A CN101552725B (en) 2009-05-13 2009-05-13 Recovery processing method, system and apparatus of aggregation sublink

Publications (2)

Publication Number Publication Date
CN101552725A CN101552725A (en) 2009-10-07
CN101552725B true CN101552725B (en) 2011-12-21

Family

ID=41156727

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100839665A Active CN101552725B (en) 2009-05-13 2009-05-13 Recovery processing method, system and apparatus of aggregation sublink

Country Status (1)

Country Link
CN (1) CN101552725B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103560898B (en) * 2013-07-30 2016-12-28 北京华为数字技术有限公司 A kind of port status method to set up, the system of selection of port priority and device
CN103780472B (en) * 2014-01-06 2017-08-22 新华三技术有限公司 A kind of aggregation port group chooses mouthful management method and equipment
CN111585883B (en) * 2019-02-18 2023-03-24 中兴通讯股份有限公司 Link aggregation port switching method, network equipment and computer storage medium
CN111614555B (en) * 2020-04-20 2022-05-03 北京百卓网络技术有限公司 Method, device and equipment for establishing service channel
CN112751757A (en) * 2020-12-29 2021-05-04 盛科网络(苏州)有限公司 Stacking system, switching device, chip and link failure recovery method
CN115567463A (en) * 2021-06-30 2023-01-03 中兴通讯股份有限公司 Port state adjusting method and device and computer readable storage medium
CN115996191A (en) * 2022-11-21 2023-04-21 迈普通信技术股份有限公司 Port state control method, device, network communication equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6553029B1 (en) * 1999-07-09 2003-04-22 Pmc-Sierra, Inc. Link aggregation in ethernet frame switches
CN101018228A (en) * 2006-12-22 2007-08-15 华为技术有限公司 A port convergence method and device
CN101060460A (en) * 2006-06-09 2007-10-24 华为技术有限公司 A method and communication equipment for protecting the Ethernet link collective logic port message against loss

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6553029B1 (en) * 1999-07-09 2003-04-22 Pmc-Sierra, Inc. Link aggregation in ethernet frame switches
CN101060460A (en) * 2006-06-09 2007-10-24 华为技术有限公司 A method and communication equipment for protecting the Ethernet link collective logic port message against loss
CN101018228A (en) * 2006-12-22 2007-08-15 华为技术有限公司 A port convergence method and device

Also Published As

Publication number Publication date
CN101552725A (en) 2009-10-07

Similar Documents

Publication Publication Date Title
CN101552725B (en) Recovery processing method, system and apparatus of aggregation sublink
US7978690B2 (en) Method to operate a crossbar switch
Finn Resynch procedures and a fail-safe network protocol
US8233483B2 (en) Communication apparatus, communication system, absent packet detecting method and absent packet detecting program
EP0123507B1 (en) Data communication system and apparatus
US8385374B1 (en) Multilane communication device
US20030206527A1 (en) Transmitting data between multiple computer processors
EP1265403A2 (en) Loop network and method for operating the same
JPS63107254A (en) Satellite packet communication method
EP2460319A1 (en) Methods and systems for fail-safe communication
CN101542981A (en) Communication system having a master/slave structure
CN101588298A (en) Method for switching flow in stacking system and stacking system
US7900115B2 (en) Replacement messages for identifying and preventing errors during the transmission of realtime-critical data
US20140211630A1 (en) Managing packet flow in a switch faric
CN103152260A (en) Message forwarding system, method and device
CN104484295A (en) Receiver sliding window-based data transmission method in parallel computer system
KR20080005055A (en) Packet transfering nodes
CN101611615A (en) Filtering of redundant frames in the network node
CN101686169B (en) Scheme for avoiding deadlock in multi-ring interconnect, with additional application to congestion control
CN103036728A (en) Multi- redundancy ethernet data transmission system and transmission method
CN101420351B (en) Apparatus and method for implementing service protection on elastic packet ring
KR101726375B1 (en) Apparatus for duplexing data
CN100372334C (en) Device and method for realizing Infini Band data transmission in optical network
JP5761193B2 (en) Communication apparatus, communication system, packet retransmission control method, and packet retransmission control program
KR101442567B1 (en) Seamless network communication method using frame based routing on the ring topology

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
CP03 Change of name, title or address

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

Patentee after: Xinhua three Technology 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: Huasan Communication Technology Co., Ltd.