CN101340456B - A converging method of distributed aggregated link failure and a stacking apparatus - Google Patents

A converging method of distributed aggregated link failure and a stacking apparatus Download PDF

Info

Publication number
CN101340456B
CN101340456B CN2008101185226A CN200810118522A CN101340456B CN 101340456 B CN101340456 B CN 101340456B CN 2008101185226 A CN2008101185226 A CN 2008101185226A CN 200810118522 A CN200810118522 A CN 200810118522A CN 101340456 B CN101340456 B CN 101340456B
Authority
CN
China
Prior art keywords
dla
port
stack equipment
hardware
deletion
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.)
Expired - Fee Related
Application number
CN2008101185226A
Other languages
Chinese (zh)
Other versions
CN101340456A (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 CN2008101185226A priority Critical patent/CN101340456B/en
Publication of CN101340456A publication Critical patent/CN101340456A/en
Application granted granted Critical
Publication of CN101340456B publication Critical patent/CN101340456B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a distributed link aggregation DLA fault convergence method and a stack device. The method comprises the steps as follows: an upper layer software DLA table and a drive DLA table of the stack device are global DLA tables; a drive software of the stack device judges whether the stack device has a port belonging to a designated DLA port group or not, if yes, the port which belongs to the designated DLA port group of the stack device is released in a hardware DLA table, otherwise, the global DLA tables are released in the hardware DLA table; when the drive software detects that the port of the stack device has a fault, whether the stack device has other ports belonging to the designated DLA port group except the fault port or not is judged, if yes, the fault port is deleted from the hardware DLA table, otherwise, the ports belonging to the DLA port group of other stack devices except the stack device are refreshed into the hardware DLA table. The technical proposal of the invention can effectively shorten the convergence time of the DLA fault.

Description

A kind of converging method of distributed aggregated link failure and a kind of stack equipment
Technical field
The present invention relates to distributed aggregated link (DLA, Distributed Link Aggregation) technical field, refer to a kind of converging method of distributed aggregated link failure and a kind of stack equipment especially.
Background technology
The technology of piling up is meant that the network equipment of several platform independent forms an integral body through certain topology, manages through an IP address, thus two layers of forwarding and three layers of forwarding of realization striding equipment.The distributed aggregated link DLA that the network equipment piles up under the condition is technological as the means that improve network redundancy property and reliability, has obtained increasing application.
Fig. 1 is a networking sketch map of existing distributed link aggregation technology.As shown in Figure 1; Stack equipment 1 constitutes one with stack equipment 2 and piles up; This pile up and autonomous device 1 and autonomous device 2 between form two DLA port set, be respectively DLA port set 1 and DLA port set 2, wherein; DLA port set 1 comprises port a1, a2, a3 and a4, and DLA port set 2 comprises port b1, b2, b3 and b4.From finding out at Fig. 1; Each port distribution that belongs to same DLA port set is on different physical equipment (stack equipment 1 and stack equipment 2); The ability striding equipment; But seem to remain a logic port from the outside, can realize load balancing and link backup function between each port in the same DLA port set.
In Fig. 1; The upper layer software (applications) of each stack equipment (being platform software) all remains with a overall DLA table of preserving all of the port information that belongs to the DLA port set; Be called upper layer software (applications) DLA table; Drive software also remains with a identical overall DLA table, be called to drive the DLA table, and drive software should overall situation DLA table in information be written in the hardware DLA table of bottom.At the actual flow state according to each port in the hardware DLA table when transmitting that carries out, select corresponding ports to transmit at stack equipment.For example, as flow when autonomous device 2 gets into, on autonomous device 2 according to certain Hash (Hash) algorithm; From the pairing link of each port of DLA port set 2, select a link to carry out flow and transmit, hypothesis is selected the pairing link of port b1 here, and then flow reaches on the stack equipment 1; Then on stack equipment 1 also according to certain hash algorithm; From the pairing link of each port of DLA port set 1, select a link to carry out flow and transmit, hypothesis has been selected the pairing link of port a4 here, and then flow arrives autonomous device 1; Transmit by autonomous device again, finally arrive the destination.
If the port a4 in above-mentioned flow repeating process breaks down (breaking or a4 is configured to unavailable artificially such as the pairing link of a4), then existing DLA failure convergence process is following:
1) drive software of stack equipment 2 detects fault (down) incident of port a4, reports the upper layer software (applications) of stack equipment 2;
2) after the upper layer software (applications) of stack equipment 2 is received the down incident; Deletion port a4 from the upper layer software (applications) DLA table of self; And issue the instruction of deletion port a4 to the drive software of stack equipment 2; The drive software of stack equipment 2 is received and is instructed the back from the driving DLA table of self, to delete port a4, and from hardware DLA table, deletes port a4;
3) upper layer software (applications) of stack equipment 2 is simultaneously through the communication mechanism between the stack equipment, inform stack equipment 1 need be from the DLA table of this machine the port a4 on the deletion stack equipment 2; After treating the synchronously good in the same way upper layer software (applications) DLA table of stack equipment 1, driving DLA table and hardware DLA table, the content of each DLA table on stack equipment 1 and the stack equipment 2 is all consistent, can proceed to circulate;
4) flow that gets into stack equipment 1 through autonomous device 2 and the pairing link of port b1 is when DLA port set 1 forwards; Select a port in a1, a2 and the a3 port that stack equipment 1 is left from DLA port set 1; For example select a2; Then flow is forwarded to autonomous device 1 from the pairing link of a2, transmits by autonomous device again, finally arrive the destination.
It more than is the existing processing scheme from the link occurs fault to the failure convergence.
Can find out from said process; In existing distributed aggregated link failure convergence process, after the drive software of a stack equipment is detecting fault, to report the upper layer software (applications) of this machine, in the time of then by each DLA list item of synchronous this machine of sending instructions under the upper layer software (applications) to other stack equipments notices; To inform that the DLA table needs synchronously; Circulation is sent out and could be continued after treating all good synchronously DLA list item separately of all stack equipments, so the failure convergence required time is longer, causes flowing long-time interruption.
Summary of the invention
The invention provides a kind of distributed aggregated link DLA failure convergence method, this method can effectively shorten the convergence time of DLA fault.
The present invention also provides a kind of stack equipment, and this equipment can effectively shorten the convergence time of DLA fault.
For achieving the above object, technical scheme of the present invention specifically is achieved in that
The invention discloses a kind of distributed aggregated link DLA failure convergence method; Constitute the upper layer software (applications) DLA table of each stack equipment that piles up and drive DLA and show to be overall DLA table, preserve the port of specifying the DLA port set that belongs on all stack equipments in the overall DLA table; When the drive software of each stack equipment stack equipment under self has at least one port to belong to said appointment DLA port set; The port that all of stack equipment under self are belonged to said appointment DLA port set is published in the hardware DLA table of stack equipment under self; Otherwise; When stack equipment does not belong to the port of said appointment DLA port set under self, overall DLA table is published in the hardware DLA table of stack equipment under self; Said failure convergence method comprises:
When the port that detects belonging to of first stack equipment of said appointment DLA port set when the drive software that constitutes said first stack equipment that piles up breaks down; Judge whether first stack equipment belongs to the port of said appointment DLA port set in addition except said non-working port; If; The then said non-working port of deletion from the hardware DLA table of first stack equipment, and first stack equipment continues message is transmitted according to the said hardware DLA table of having deleted non-working port; If not; Then from the hardware DLA table of first stack equipment, delete said non-working port; And will be updated in the hardware DLA table of first stack equipment except the port of belonging to of the every other stack equipment first stack equipment of said appointment DLA port set, so that first stack equipment continues message is transmitted through upgrading the hardware DLA table that obtains according to said.
The present invention should disclose a kind of stack equipment; Other stack equipment of this stack equipment and at least one constitutes one and piles up; This equipment comprises: upper layer software (applications) DLA table memory module, driving DLA table memory module, hardware DLA show memory module, upper layer software (applications) module and drive software module, wherein
Said upper layer software (applications) DLA table memory module is used to store the upper layer software (applications) DLA table that the upper layer software (applications) module writes;
Said driving DLA table memory module is used for the driving DLA table that the storing driver software module writes;
Wherein, said upper layer software (applications) DLA table and driving DLA table are overall DLA table, preserve the port that belongs to appointment DLA port set that constitutes on said all stack equipments that pile up in the overall DLA table;
Said hardware DLA table memory module is used to preserve the hardware DLA table of drive software module issue;
Said drive software module; Be used for when said stack equipment has at least one port to belong to said appointment DLA port set; The port that belongs to said appointment DLA port set by all of said stack equipment constitutes hardware DLA table and is published in the hardware DLA table memory module; Otherwise, when said stack equipment does not belong to the port of said appointment DLA port set, overall DLA table is published in the hardware DLA table memory module as hardware DLA table; Be used for when the port that detects belonging to of said stack equipment of said appointment DLA port set breaks down; Judge whether said stack equipment belongs to the port of said appointment DLA port set in addition except said non-working port; If; Then the said non-working port of deletion from hardware DLA table is transmitted message so that said stack equipment is shown continuation according to the hardware DLA that deletes non-working port; If not; Then from hardware DLA table, delete said non-working port; And will be updated in the hardware DLA table except the port of belonging to of the every other stack equipment the said stack equipment of said appointment DLA port set, so that said stack equipment continues message is transmitted through upgrading the hardware DLA table that obtains according to said.
Visible by technique scheme; When drive software stack equipment under self of each stack equipment that this formation of the present invention is piled up has at least one port to belong to said appointment DLA port set; The port that all of stack equipment under self are belonged to said appointment DLA port set is published in the hardware DLA table of stack equipment under self; Otherwise; When stack equipment does not belong to the port of said appointment DLA port set under self, overall DLA table is published in the hardware DLA table of stack equipment under self; And when the drive software of stack equipment detects the port that belongs to said appointment DLA port set and breaks down; Judge whether this stacking device belongs to the port of said appointment DLA port set in addition except said non-working port; Be then from the hardware DLA table of this stack equipment, to delete said non-working port; Otherwise the said non-working port of deletion from the hardware DLA table of this stack equipment; And with belonging to of every other stack equipment said DLA port set port be published to the technical scheme in the hardware DLA table of this stack equipment, make the DLA port of only preserving this machine in the hardware DLA table of each stack equipment, when the DLA of this machine port breaks down; Send out as long as refreshing just can proceed to circulate after the hardware DLA of this machine shows, therefore shortened the convergence time of DLA fault greatly.
Description of drawings
Fig. 1 is a networking sketch map of existing distributed link aggregation technology;
Fig. 2 is the flow chart of a kind of distributed aggregated link DLA of embodiment of the invention failure convergence method;
Fig. 3 is the structured flowchart of a kind of stack equipment of the embodiment of the invention.
Embodiment
Core concept of the present invention is: adopts local first principle construction hardware DLA table, and instruct the forwarding of flowing, and no longer mandatory requirement hardware DLA table is consistent with upper layer software (applications) DLA table according to hardware DLA table, and specifically as shown in Figure 2.
Fig. 2 is the flow chart of a kind of distributed aggregated link DLA of embodiment of the invention failure convergence method.As shown in Figure 2, this method may further comprise the steps:
Step 201 constitutes the upper layer software (applications) DLA table of each stack equipment that piles up and drives DLA and shows to be overall DLA table, preserves the port of specifying the DLA port set that belongs on all stack equipments in the overall DLA table.
Step 202; When the drive software of each stack equipment stack equipment under self has at least one port to belong to said appointment DLA port set; The port that all of stack equipment under self are belonged to said appointment DLA port set is published in the hardware DLA table of stack equipment under self; Otherwise, when stack equipment does not belong to the port of said appointment DLA port set under self, overall DLA table is published in the hardware DLA table of stack equipment under self.
Step 203; When the port that detects belonging to of first stack equipment of said appointment DLA port set when the drive software that constitutes said first stack equipment that piles up breaks down; Judge whether first stack equipment belongs to the port of said appointment DLA port set in addition except said non-working port; If the then said non-working port of deletion from the hardware DLA table of first stack equipment, and first stack equipment continues message is transmitted according to the said hardware DLA table of having deleted non-working port; If not; Then from the hardware DLA table of first stack equipment, delete said non-working port; And will except belonging to of the every other stack equipment first stack equipment said DLA port set port be updated in the hardware DLA table of first stack equipment so that first stack equipment continues message is transmitted through upgrading the hardware DLA table that obtains according to said.
For making the object of the invention, technical scheme and advantage clearer, below still with shown in Figure 1 pile up and this pile up and autonomous device 1 between the DLA port set 1 that forms be example, to further explain of the present invention.
Referring to Fig. 1; According to scheme of the present invention; When the upper layer software (applications) of stack equipment 1 and drive software make up about the upper layer software (applications) DLA table of DLA port set 1 and driving DLA table; What see is all of the port that belongs to DLA port set 1 of all stack equipment (comprising stack equipment 1 and stack equipment 2 among Fig. 1) and each stack equipment, i.e. the upper layer software (applications) DLA of stack equipment 1 table and drive the DLA table and be the overall DLA table that comprises port a1, a2, a3 and a4.But the drive software of stack equipment 1 need judge whether stack equipment 1 has the port that belongs to DLA port set 1 to the hardware DLA of stack equipment 1 table issue DLA port the time, and carries out following different operating according to different judged results:
If a) stack equipment 1 has the port that belongs to DLA port set 1,, and shield the port of other stack equipments (being stack equipment 2 in the present embodiment) then only to the port that belongs to DLA port set 1 of the hardware DLA of stack equipment 1 table issue stack equipment 1 itself.At this moment, the upper layer software (applications) DLA of stack equipment 1 table and driving DLA table are global table, and hardware DLA table is the part table that includes only local information.Can realize that so just local first transmits, promptly get into the message of stack equipment 1, only can send, not transmit and can not be cross on other stack equipments from the port that certain of stack equipment 1 belongs to DLA port set 1.
B) if stacking device 1 does not belong to the port of DLA port set 1, then do not shield, all of the port information that will belong to DLA port set 1 is published in the hardware DLA table of stack equipment 1.At this moment, the upper layer software (applications) DLA of stack equipment 1 table, driving DLA table and hardware DLA table are global table.
Obviously carry out above-mentioned step a) for the stack equipment in the present embodiment 1, port a1 and a2 are issued in the hardware DLA table of stack equipment 1.
Equally; Also carry out operation same as described above on the stack equipment 2; The upper layer software (applications) DLA table of final stack equipment 2 and driving DLA table are the overall DLA table that comprises port a1, a2, a3 and a4, and the drive software of stack equipment 2 is issued to port a3 and a4 in the hardware DLA table of stack equipment 2.
When port a4 broke down, in a single day the drive software of stack equipment 2 detected this down incident, and at first the upper layer software (applications) to stack equipment 2 reports the a4 fault; The upper layer software (applications) of stack equipment 2 is deletion port a4 from the upper strata DLA table of self earlier, issues the instruction of deletion non-working port a4 then to the drive software of stack equipment 2; The drive software of stack equipment 2 receives the instruction back judges whether stack equipment 2 also has other the port that belongs to DLA port set 1 except non-working port a4, and carries out following different operating according to different judged results:
A), then from the hardware DLA table of stack equipment 2, delete port a4 if stack equipment 2 also has other the port that belongs to DLA port set 1 except non-working port a4.At this moment, for stack equipment 2, fault restrains, and can begin to continue to E-Packet.
B) if stack equipment 2 does not have other the port that belongs to DLA port set 1 except non-working port a4; Deletion port a4 from the hardware DLA of stack equipment 2 table then, and will except belonging to of the every other stack equipment stack equipment 2 said DLA port set 1 the port hardware DLA that is published to stack equipment 2 show.At this moment, for stack equipment 2, fault restrains, and can begin to continue to E-Packet.
Obviously carry out above-mentioned steps A for the stack equipment in the present embodiment 2), with port a4 deletion from the hardware DLA table of stack equipment 2.
In addition, the upper layer software (applications) of stack equipment 2 issues at the drive software to stack equipment 2 in the instruction of deletion non-working port a4, sends the notice of deletion non-working port a4 to stack equipment 1 through the communication mechanism between the stack equipment.Stack equipment 1 is after the notice that receives deletion non-working port a4, and the upper layer software (applications) of stack equipment 1 is deletion port a4 from the upper layer software (applications) DLA table of self, issues the instruction of deletion non-working port a4 to the drive software of stack equipment 1; The drive software of stack equipment 1 is deletion non-working port a4 from the driving DLA table of self; Judge the port that belongs to DLA port set 1 of whether only having preserved stack equipment 1 in the hardware DLA table of stack equipment 1 then; Be then; The hardware DLA table of stack equipment 1 is not handled, otherwise, deletion non-working port a4 from the hardware DLA table of stack equipment 1.Obviously, in the present embodiment, the drive software of stack equipment 1 need not carry out any processing to the hardware DLA table of stack equipment 1.
In embodiments of the present invention, the drive software of stack equipment can also carry out troubleshooting earlier, and then report upper layer software (applications) after detecting DLA port failure incident, is that example describes with DLA port set among Fig. 11 still here:
When port a4 breaks down; In a single day the drive software of stack equipment 2 detects this down incident; Judge at first whether stack equipment 2 also has other the port that belongs to DLA port set 1 except non-working port a4, and carry out following different operating according to different judged results:
A), then from the hardware DLA table of stack equipment 2, delete port a4 if stack equipment 2 also has other the port that belongs to DLA port set 1 except non-working port a4.At this moment, can begin to continue to E-Packet.
B) if stack equipment 2 does not have other the port that belongs to DLA port set 1 except non-working port a4; Deletion port a4 from the hardware DLA of stack equipment 2 table then, and will except belonging to of the every other stack equipment stack equipment 2 said DLA port set 1 the port hardware DLA that is published to stack equipment 2 show.At this moment, can begin to continue to E-Packet.
The drive software of stack equipment 2 is at execution of step A) or B) after, report the a4 fault to the upper layer software (applications) of stack equipment 2; The upper layer software (applications) of stack equipment 2 is deletion port a4 from the upper strata DLA table of self earlier, sends the notice of deletion non-working port a4 then to stack equipment 1 through the communication mechanism between the stack equipment.Stack equipment 1 is after the notice that receives deletion non-working port a4, and the upper layer software (applications) of stack equipment 1 is deletion port a4 from the upper layer software (applications) DLA table of self, issues the instruction of deletion non-working port a4 to the drive software of stack equipment 1; The drive software of stack equipment 1 is deletion non-working port a4 from the driving DLA table of self; Judge the port that belongs to DLA port set 1 of whether only having preserved stack equipment 1 in the hardware DLA table of stack equipment 1 then; Be then; The hardware DLA table of stack equipment 1 is not handled, otherwise, deletion non-working port a4 from the hardware DLA table of stack equipment 1.
Can find out by the foregoing description; This stack equipment of the present invention adopts the principle construction hardware DLA table of local first, and according to the scheme that hardware DLA table instructs circulation to send out, makes each stack equipment only see local port; Under the condition that a plurality of local ports participation polymerizations are arranged; If one of them port breaks down, then just handle and to make failure convergence, fast convergence rate in this locality.In scheme of the present invention, hardware DLA table is the part table that only comprises local information, need not the global table strict synchronism with upper layer software (applications), has significantly reduced the needs of communication between devices, the failure convergence that therefore reduces time-delay.In addition, drive software is handled the scheme that reports upper layer software (applications) more earlier when detecting fault, has shortened the settling time in a circulation path further, has accelerated the speed of failure convergence.
Next provide the networking structure of a kind of stack equipment of the present invention based on the foregoing description.
Fig. 3 is the structured flowchart of a kind of stack equipment of the embodiment of the invention.Other stack equipment of this stack equipment as shown in Figure 3 and at least one constitutes one and piles up; And this equipment comprises: upper layer software (applications) DLA table memory module 301, driving DLA table memory module 302, hardware DLA show memory module 303, upper layer software (applications) module 304 and drive software module 305, wherein:
Upper layer software (applications) DLA shows memory module 301, is used to store the upper layer software (applications) DLA table that the upper layer software (applications) module writes;
Drive DLA table memory module 302, be used for the driving DLA table that the storing driver software module writes;
Wherein, said upper layer software (applications) DLA table and driving DLA table are overall DLA table, preserve the port that belongs to appointment DLA port set that constitutes on said all stack equipments that pile up in the overall DLA table;
Hardware DLA shows memory module 303, is used to preserve the hardware DLA table of drive software module issue;
Drive software module 305; Be used for when said stack equipment has at least one port to belong to said appointment DLA port set; The port that belongs to said appointment DLA port set by all of said stack equipment constitutes hardware DLA table and is published in the hardware DLA table memory module; Otherwise, when said stack equipment does not belong to the port of said appointment DLA port set, overall DLA table is published in the hardware DLA table memory module as hardware DLA table; Be used for when the port that detects belonging to of said stack equipment of said appointment DLA port set breaks down; Judge whether said stack equipment belongs to the port of said appointment DLA port set in addition except said non-working port; If; Then the said non-working port of deletion from hardware DLA table is transmitted message so that said stack equipment is shown continuation according to the hardware DLA that deletes non-working port; If not; Then from hardware DLA table, delete said non-working port; And will except belonging to of the every other stack equipment the said stack equipment said DLA port set port be updated in the hardware DLA table so that said stack equipment continues message is transmitted through upgrading the hardware DLA table that obtains according to said.
In Fig. 3; Drive software module 305; Said judge whether stack equipment belongs to the port of said appointment DLA port set in addition before, be further used for notifying said non-working port, and after returning the instruction of the said non-working port of deletion in said upper layer software (applications) module 304 to upper strata software module 304; The said non-working port of deletion from drive the DLA table is carried out then and is saidly judged whether stack equipment belongs to the step of the port of said appointment DLA port set in addition.Upper layer software (applications) module 304; Be further used for after receiving the non-working port notice of drive software module 305; The said non-working port of deletion from upper layer software (applications) DLA table; Return the instruction of the said non-working port of deletion then to drive software module 305, send the notice of the said non-working port of deletion simultaneously to the every other stack equipment except that said stack equipment.
Perhaps, in Fig. 3, drive software module 305, said judge whether stack equipment belongs to the port of said appointment DLA port set in addition before, be further used for the said non-working port of deletion from drive the DLA table; After hardware DLA table executed described deletion non-working port or deletion non-working port and the port of other stack equipments is updated to the operation of hardware DLA table, be further used for notifying said non-working port to upper strata software module 304.Upper layer software (applications) module 304; Be further used for after receiving the non-working port notice of drive software module 305; The said non-working port of deletion from upper layer software (applications) DLA table, the notice of sending the said non-working port of deletion then to the every other stack equipment except that said stack equipment.
In Fig. 3; Upper layer software (applications) module 304; Receive the notice of the deletion specified fault port that other stack equipments send at said stack equipment after, the said specified fault port of deletion from upper layer software (applications) DLA table issues the instruction of deleting said specified fault port to drive software module 305; Drive software module 305; After the instruction of receiving the said specified fault port of deletion that upper layer software (applications) module 304 issues, the said specified fault port of deletion from drive the DLA table is judged the port of whether only having preserved belonging to of said stack equipment of said appointment DLA port set in the hardware DLA table; Be then; Hardware DLA table is not handled, otherwise, the said specified fault port of deletion from hardware DLA table.
In sum; When drive software stack equipment under self of each stack equipment that this formation of the present invention is piled up has at least one port to belong to said appointment DLA port set; The port that all of stack equipment under self are belonged to said appointment DLA port set is published in the hardware DLA table of stack equipment under self; Otherwise, when stack equipment does not belong to the port of said appointment DLA port set under self, overall DLA table is published in the hardware DLA table of stack equipment under self; And when the drive software of stack equipment detects the port that belongs to said appointment DLA port set and breaks down; Judge whether this stacking device belongs to the port of said appointment DLA port set in addition except said non-working port; Be then from the hardware DLA table of this stack equipment, to delete said non-working port; Otherwise the said non-working port of deletion from the hardware DLA table of this stack equipment; And with belonging to of every other stack equipment said DLA port set port be published to the technical scheme in the hardware DLA table of this stack equipment, make the DLA port of only preserving this machine in the hardware DLA table of each stack equipment, when the DLA of this machine port breaks down; Send out as long as refreshing just can proceed to circulate after the hardware DLA of this machine shows, therefore shortened the convergence time of DLA fault greatly.
The above is merely preferred embodiment of the present invention, is not to be used to limit protection scope of the present invention, all any modifications of within spirit of the present invention and principle, being made, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. distributed aggregated link DLA failure convergence method; It is characterized in that; Constitute the upper layer software (applications) DLA table of each stack equipment that piles up and drive DLA and show to be overall DLA table, preserve the port of specifying the DLA port set that belongs on all stack equipments in the overall DLA table; When the drive software of each stack equipment stack equipment under self has at least one port to belong to said appointment DLA port set; The port that all of stack equipment under self are belonged to said appointment DLA port set is published in the hardware DLA table of stack equipment under self; Otherwise; When stack equipment does not belong to the port of said appointment DLA port set under self, overall DLA table is published in the hardware DLA table of stack equipment under self; Said failure convergence method comprises:
When the port that detects belonging to of first stack equipment of said appointment DLA port set when the drive software that constitutes said first stack equipment that piles up breaks down; Judge whether first stack equipment belongs to the port of said appointment DLA port set in addition except said non-working port; If; The then said non-working port of deletion from the hardware DLA table of first stack equipment, and first stack equipment continues message is transmitted according to the said hardware DLA table of having deleted non-working port; If not; Then from the hardware DLA table of first stack equipment, delete said non-working port; And will be updated in the hardware DLA table of first stack equipment except the port of belonging to of the every other stack equipment first stack equipment of said appointment DLA port set, so that first stack equipment continues message is transmitted through upgrading the hardware DLA table that obtains according to said.
2. the method for claim 1 is characterized in that, this method judged at the drive software of said first stack equipment whether first stack equipment belongs to the port of specifying the DLA port set in addition and further comprise before:
The drive software of first stack equipment is notified said non-working port to the upper layer software (applications) of first stack equipment;
The upper layer software (applications) of first stack equipment is the said non-working port of deletion from the upper layer software (applications) DLA table of self; Issue the instruction of the said non-working port of deletion then to the drive software of first stack equipment, send the notice of the said non-working port of deletion simultaneously to the every other stack equipment except that first stack equipment;
The drive software of first stack equipment after the instruction of receiving said deletion non-working port from the driving DLA table of self the said non-working port of deletion, carry out then and saidly judge whether first stack equipment belongs to the step of the port of said appointment DLA port set in addition.
3. the method for claim 1; It is characterized in that this method judged at the drive software of said first stack equipment whether first stack equipment belongs to the port of specifying the DLA port set in addition and further comprise before: the drive software of said first stack equipment is the said non-working port of deletion from the driving DLA table of self;
Further comprise after in steps said: the drive software of first stack equipment is notified said non-working port to the upper layer software (applications) of first stack equipment; The upper layer software (applications) of first stack equipment is the said non-working port of deletion from the upper layer software (applications) DLA table of self, sends the notice of the said non-working port of deletion then to the every other stack equipment except that first stack equipment.
4. like claim 2 or 3 described methods; It is characterized in that; This method further comprises: second stack equipment in other stack equipments except first stack equipment is after the notice that receives said deletion non-working port; The upper layer software (applications) of this second stack equipment is the said non-working port of deletion from the upper layer software (applications) DLA table of self, issues the instruction of the said non-working port of deletion to the drive software of second stack equipment; The drive software of second stack equipment is the said non-working port of deletion from the driving DLA table of self; Judge the port of whether only having preserved belonging to of second stack equipment of said appointment DLA port set in the hardware DLA table of second stack equipment; Be then; The hardware DLA table of second stack equipment is not handled, otherwise, the said non-working port of deletion from the hardware DLA table of second stack equipment.
5. stack equipment; Other stack equipment of this stack equipment and at least one constitutes one and piles up, and it is characterized in that this equipment comprises: upper layer software (applications) DLA table memory module, drive DLA table memory module, hardware DLA shows memory module, upper layer software (applications) module and drive software module; Wherein
Said upper layer software (applications) DLA table memory module is used to store the upper layer software (applications) DLA table that the upper layer software (applications) module writes;
Said driving DLA table memory module is used for the driving DLA table that the storing driver software module writes;
Wherein, said upper layer software (applications) DLA table and driving DLA table are overall DLA table, preserve the port that belongs to appointment DLA port set that constitutes on said all stack equipments that pile up in the overall DLA table;
Said hardware DLA table memory module is used to preserve the hardware DLA table of drive software module issue;
Said drive software module; Be used for when said stack equipment has at least one port to belong to said appointment DLA port set; The port that belongs to said appointment DLA port set by all of said stack equipment constitutes hardware DLA table and is published in the hardware DLA table memory module; Otherwise, when said stack equipment does not belong to the port of said appointment DLA port set, overall DLA table is published in the hardware DLA table memory module as hardware DLA table; Be used for when the port that detects belonging to of said stack equipment of said appointment DLA port set breaks down; Judge whether said stack equipment belongs to the port of said appointment DLA port set in addition except said non-working port; If; Then the said non-working port of deletion from hardware DLA table is transmitted message so that said stack equipment is shown continuation according to the hardware DLA that deletes non-working port; If not; Then from hardware DLA table, delete said non-working port; And will be updated in the hardware DLA table except the port of belonging to of the every other stack equipment the said stack equipment of said appointment DLA port set, so that said stack equipment continues message is transmitted through upgrading the hardware DLA table that obtains according to said.
6. stack equipment as claimed in claim 5 is characterized in that,
Said drive software module; Said judge whether stack equipment belongs to the port of said appointment DLA port set in addition before; Be further used for notifying said non-working port to the upper strata software module; And after returning the instruction of the said non-working port of deletion in said upper layer software (applications) module, the said non-working port of deletion from drive the DLA table is carried out then and is saidly judged whether stacking device belongs to the step of the port of said appointment DLA port set in addition;
Said upper layer software (applications) module; Be further used for after receiving the non-working port notice of drive software module; The said non-working port of deletion from upper layer software (applications) DLA table; Return the instruction of the said non-working port of deletion then to the drive software module, send the notice of the said non-working port of deletion simultaneously to the every other stack equipment except that said stack equipment.
7. stack equipment as claimed in claim 5 is characterized in that,
Said drive software module, said judge whether stack equipment belongs to the port of said appointment DLA port set in addition before, be further used for the said non-working port of deletion from drive the DLA table; After hardware DLA table executed described deletion non-working port or deletion non-working port and the port of other stack equipments is updated to the operation of hardware DLA table, be further used for notifying said non-working port to the upper strata software module;
Said upper layer software (applications) module; Be further used for after receiving the non-working port notice of drive software module; The said non-working port of deletion from upper layer software (applications) DLA table, the notice of sending the said non-working port of deletion then to the every other stack equipment except that said stack equipment.
8. like claim 6 or 7 described stack equipments, it is characterized in that,
Said upper layer software (applications) module; Receive the notice of the deletion specified fault port that other stack equipments send at said stack equipment after; The said specified fault port of deletion from upper layer software (applications) DLA table issues the instruction of deleting said specified fault port to the drive software module;
Said drive software module; After the instruction of receiving the said specified fault port of deletion that the upper layer software (applications) module issues, the said specified fault port of deletion from drive the DLA table is judged the port of whether only having preserved belonging to of said stack equipment of said appointment DLA port set in the hardware DLA table; Be then; Hardware DLA table is not handled, otherwise, the said specified fault port of deletion from hardware DLA table.
CN2008101185226A 2008-08-15 2008-08-15 A converging method of distributed aggregated link failure and a stacking apparatus Expired - Fee Related CN101340456B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101185226A CN101340456B (en) 2008-08-15 2008-08-15 A converging method of distributed aggregated link failure and a stacking apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101185226A CN101340456B (en) 2008-08-15 2008-08-15 A converging method of distributed aggregated link failure and a stacking apparatus

Publications (2)

Publication Number Publication Date
CN101340456A CN101340456A (en) 2009-01-07
CN101340456B true CN101340456B (en) 2012-04-18

Family

ID=40214408

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101185226A Expired - Fee Related CN101340456B (en) 2008-08-15 2008-08-15 A converging method of distributed aggregated link failure and a stacking apparatus

Country Status (1)

Country Link
CN (1) CN101340456B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101510837B (en) * 2009-04-01 2012-10-10 福建星网锐捷网络有限公司 Ethernet bridge equipment, method and equipment for migrating polymerization mouth address
CN102843285A (en) * 2011-06-24 2012-12-26 中兴通讯股份有限公司 Distributed link aggregation method and node for realizing same
CN102347905B (en) * 2011-10-31 2015-02-18 杭州华三通信技术有限公司 Network equipment and forwarded information updating method
CN103581058B (en) * 2012-07-31 2017-02-15 杭州华三通信技术有限公司 Message forwarding method and device in data central network
CN103095568B (en) * 2013-01-30 2016-06-01 迈普通信技术股份有限公司 Rack switching equipment realizes stacking system and method
CN103532851B (en) * 2013-09-30 2016-10-05 杭州华三通信技术有限公司 Data flow processing method in distributed aggregated link network and device
CN103501250B (en) * 2013-09-30 2016-10-05 杭州华三通信技术有限公司 Data flow processing method in distributed aggregated link network and device
CN104158683A (en) * 2014-08-13 2014-11-19 杭州华三通信技术有限公司 Cross-device aggregation group rapid convergence method, and cross-device aggregation group rapid convergence device
CN104219107B (en) * 2014-08-26 2018-08-14 华为技术有限公司 A kind of detection method of communication failure, apparatus and system
CN105743801A (en) * 2014-12-08 2016-07-06 中兴通讯股份有限公司 Method and device of flow forwarding of stack system
CN107426099B (en) * 2017-08-30 2020-02-07 阳光凯讯(北京)科技有限公司 Message order-preserving method and system during multi-chassis link aggregation flow redistribution
CN108306773B (en) * 2018-03-07 2021-08-31 深圳市风云实业有限公司 Network convergence method, device and computer storage medium
CN109039887B (en) * 2018-09-10 2021-06-29 迈普通信技术股份有限公司 Stacking system fault processing method and equipment
CN111131024A (en) * 2019-12-09 2020-05-08 盛科网络(苏州)有限公司 Processing method and device of aggregated link

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1728688A (en) * 2004-07-29 2006-02-01 卓联半导体股份有限公司 Remote control of a switching node in a stack of switching nodes
CN1809022A (en) * 2005-01-17 2006-07-26 华为技术有限公司 Ethernet device stacking method and its system
CN101018180A (en) * 2007-03-12 2007-08-15 中兴通讯股份有限公司 A method for implementing the forward table in the stack system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1728688A (en) * 2004-07-29 2006-02-01 卓联半导体股份有限公司 Remote control of a switching node in a stack of switching nodes
CN1809022A (en) * 2005-01-17 2006-07-26 华为技术有限公司 Ethernet device stacking method and its system
CN101018180A (en) * 2007-03-12 2007-08-15 中兴通讯股份有限公司 A method for implementing the forward table in the stack system

Also Published As

Publication number Publication date
CN101340456A (en) 2009-01-07

Similar Documents

Publication Publication Date Title
CN101340456B (en) A converging method of distributed aggregated link failure and a stacking apparatus
CN101610182B (en) Multi-primary apparatus conflict detection method in stack and stack member apparatus
CN104980372B (en) Relay system and exchange apparatus
CN102347905B (en) Network equipment and forwarded information updating method
CN102571426B (en) Double-homing protection method and device
CN102857419B (en) Method and device for processing fault of link aggregation port
GB2483563A (en) Dual homing connection of access network to transport network
CN100525312C (en) A method and device for MAC frame forwarding
CN101227399B (en) Message transmission method, system and forwarding node
CN107547243A (en) A kind of message forwarding method and device
CN105743801A (en) Method and device of flow forwarding of stack system
CN102148677A (en) Method for updating address resolution protocol table entries and core switch
CN105099905B (en) Relay system and exchange apparatus
CN101800774A (en) Environmental-friendly accessing method and environmental-friendly accessing network
CN103581025A (en) Method and system for processing routing information and equipment
US8681604B2 (en) Address refresh method and system
CN105634952A (en) Fast notification method and apparatus for LSP message
CN101442465A (en) Address update method for Ethernet looped network failure switching
CN103166800A (en) Message transmission method for dual-network redundant message bus in cross failure
CN103973561A (en) Network maintenance method for space-sky information network
CN102238069A (en) Data processing method and device for link switching process
US20200403907A1 (en) Faulty multi-layer link restoration method and controller
CN102571311A (en) Master-slave switching communication system and master-slave switching communication method
CN106464511A (en) Service protecting method and device
CN102710482B (en) Method and device for looped network protection

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: 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.

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

Granted publication date: 20120418

Termination date: 20200815

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