Summary of the invention
The present invention provides a kind of processing method and equipment that division detects that piles up; After the IRF division, need expend time in and set up the BFD message and mutual IRF priority just can be closed the business interface of low priority in order to solve prior art, thereby cause the defective of address conflict and flow packet loss.
For achieving the above object, one aspect of the present invention provides a kind of processing method that division detects of piling up, each member device of pile system respectively with pile system in other each member devices all set up the BFD session, said method may further comprise the steps at least:
Arbitrary member device of said pile system and other member devices carry the BFD message of the priority parameters of current separately device role information and current affiliated pile system alternately;
Said member device confirms that this equipment and the current device role information of said other member devices are main equipment, judge that then pile system divides;
Said member device compares the priority parameters of pile system under this equipment current priority parameters with the current affiliated pile system of said other member devices;
When the priority parameters of pile system is better than the priority parameters of pile system under said other member devices current under said member device is confirmed this equipment current, then keep the pile system operate as normal under this equipment; Perhaps; When the priority parameters of pile system is better than the priority parameters of pile system under this equipment current under said member device is confirmed said other member devices current, the service port of other member devices of the pile system under the service port of then closing this equipment and this equipment.
Preferably, said each member device at pile system respectively with pile system in other each member devices all set up the BFD session, comprising:
Preset respectively source address information and destination address information of sending the BFD message to other member devices is used for each member device and sets up the BFD session with other each member devices respectively in each member device of pile system.
Preferably, after the BFD message of the current device role information of said other member devices of carrying that arbitrary other member devices of member device reception of said pile system send and the priority parameters of current affiliated pile system, also comprise:
Said member device confirms that the current device role information of this equipment is main equipment, and the current device role information of said other member devices is slave unit, then abandons handling.
Preferably, after the BFD message of the current device role information of said other member devices of carrying that arbitrary other member devices of member device reception of said pile system send and the priority parameters of current affiliated pile system, also comprise:
Said member device confirms that the current device role information of this equipment is slave unit, and the current device role information of said other member devices is main equipment, then abandons handling;
Said member device confirms that device role information and the current device role information of said other member devices that this equipment is current are slave unit, then abandon handling.
Preferably, said each member device at pile system respectively with pile system in other each member devices all set up the BFD session after, also comprise:
When said member device judges that the logical links of the MAD VLAN of this equipment breaks down, the BFD session that said this equipment of member device deletion is set up through the logical links of said MAD VLAN;
When said member device is judged the fault recovery of logical links of MAD VLAN of this equipment, the logical links of said member device through said MAD VLAN respectively with pile system in other each member devices rebulid the BFD session.
On the other hand, the present invention also provides a kind of network equipment, can be used as member device and other member devices connect to form pile system, and the said network equipment comprises:
Set up module, be used for respectively with pile system in other each member devices all set up the BFD session;
Communication module is used for setting up the BFD session that module is set up through said, with other each member devices carry alternately current separately device role information and current under the BFD message of priority parameters of pile system;
The state recognition module is used to discern the current device role information of the said network equipment, and the received entrained current device role information of said other member devices of said BFD message of said communication module;
Comparison module; Be used for when said state recognition module confirms that the said network equipment and the current device role information of said other member devices are main equipment; Confirm that pile system divides, and the priority parameters of priority parameters and the current affiliated pile system of the said network equipment of pile system compares under entrained said other member devices of the said BFD message that said communication module is received current;
Processing module; When the priority parameters that is used for pile system under said comparison module is confirmed the said network equipment current is better than the priority parameters of pile system under said other member devices current, keep the pile system operate as normal under the said network equipment; Perhaps; When the priority parameters of pile system is better than the priority parameters of pile system under the said network equipment current under said comparison module is confirmed said other member devices current, close the service port of other member devices of service port and the pile system under the said network equipment of the said network equipment.
Preferably, the said module of setting up is used for:
The source address information and the destination address information of sending the BFD message according to other member devices in pile system preset in the said network equipment, respectively with pile system in other each member devices all set up the BFD session.
Preferably, said comparison module also is used for:
Confirm that in said state recognition module the current device role information of the said network equipment is main equipment, and the current device role information of said other member devices is abandoned handling when being slave unit;
Confirm that in said state recognition module the current device role information of the said network equipment is slave unit, and the current device role information of said other member devices is abandoned handling when being main equipment;
When said state recognition module confirms that device role information that the said network equipment is current and the current device role information of said other member devices are main equipment, abandon handling.
Preferably, the said module of setting up also is used for:
When the logical links of the MAD of said network equipment VLAN breaks down, the BFD session that deletion is set up through the logical links of said MAD VLAN;
When the fault recovery of the logical links of the MAD of said network equipment VLAN, the logical links through said MAD VLAN respectively with pile system in other each member devices rebulid the BFD session.
Compared with prior art, the present invention has the following advantages:
By using technical scheme of the present invention; Between each member device of pile system all by the BFD session of setting up in advance carry device role information and current under the transmission of BFD message of priority parameters of pile system; Each member device is by the device role information of comparison self and other member devices; Detect whether the pile system division takes place; And after division; Directly confirm according to the priority parameters of pile system under current whether self continues operate as normal; Thereby; Can be after piling up division; Select to continue the pile system of normal operation fast; The time that process consumed such as avoided after pile system division, could creating that the address information that the technical scheme of BFD session brings is obtained, conversation establishing and precedence information are mutual; Improved the efficient of handled process; Reduce the probability that piles up conflict and flow packet loss, improved the reliability of system.
Embodiment
As stated in the Background Art; For existing division detection and the processing procedure of piling up; MADBFD mechanism need be learnt from each other after piling up division after the ARP information of opposite end; Just can carry out the foundation of BFD session; Then; Carry out the corresponding priority level information interaction by the BFD session; And according to the definite pile system that divides the continued operate as normal of corresponding priority level information; Therefore; Corresponding words set up process and information interactive process need take the corresponding processing time; During this period; Can there be at least two pile systems that configuration is identical in the network; Under the situation that pile system is had relatively high expectations for the time degrees of tolerance, just can cause piling up the packet loss of striding the member device flow between conflict and division back two pile systems.
In order to solve such problem; The present invention proposes a kind of processing method that division detects of piling up; Between each member device of pile system, accomplish the foundation of BFD session; And carry out corresponding information interaction; Thereby; The pile system that fast selections need be closed from divide the pile system that after division in time responds piling up division, avoids occurring piling up conflicting and corresponding packet loss of striding the member device traffic transport.
As shown in Figure 5, be a kind of schematic flow sheet that piles up the processing method of division detection that the present invention proposes, this method specifically may further comprise the steps:
Step S501, each member device of pile system respectively with pile system in other each member devices all set up the BFD session.
In concrete application scenarios, the foundation of the BFD session in this step can send to other member devices that the mode of source address information and the destination address information of BFD message accomplishes through preset respectively in each member device of pile system.
The effect of such processing procedure is the directly address information at the two ends of the mutual BFD message of static configuration needs in each member device; And the address information at two ends is different; Thereby; The foundation of BFD session can directly be accomplished according to this information; And no longer need carry out obtaining to client information; Simultaneously; Because the BFD session in this step is before piling up division, to accomplish; So directly the mode of static configuration address information has also been avoided each member device address information unanimity before piling up division and the problem that causes the BFD session to set up.
Certainly; For the pile system that comprises a plurality of member devices; The address information that each member device sends the BFD message to other each member devices need be set; Thereby; Guarantee to carry out the foundation of BFD session according to corresponding address information between two member devices arbitrarily, and realize follow-up processing.
It is to be noted; In concrete application scenarios; Because considering existing BFD mechanism is between the MAD of two pile systems VLAN interface, carry out the BFD message mutual, therefore, address information set in this step can be carried out following setting equally:
Said source address information is specially the MAD VLAN interface of current member device;
Said destination address information is specially the MAD VLAN interface of said other member devices.
Through above-mentioned setting, between two member devices that carry out the BFD message interaction according to technical scheme proposed by the invention, be to carry out the BFD message transmissions equally through the MAD VLAN interface.
Need further be pointed out that; The mode of preset address information is that the present invention is in order to set up a kind of concrete mode that the BFD session is adopted before piling up division; Other modes that before piling up division, can set up the BFD session can be applied in the technical scheme of the present invention equally, and such variation does not influence protection scope of the present invention.
Arbitrary member device of step S502, said pile system and other member devices carry the BFD message of the priority parameters of current separately device role information and current affiliated pile system alternately.
On the one hand, the BFD message of the priority parameters of the current device role information of said other member devices of carrying of other member devices transmissions of member device reception and current affiliated pile system.
Wherein, the BFD message of being mentioned here be said other member devices through and current member device between the BFD session of being set up send.
Certainly, such BFD message is based on the needs that pile up the division detection in this member device and sends.
On the other hand, detect in order in other member devices, to carry out the same division of piling up, this member device need send corresponding BFD message to other member devices equally, and is specific as follows:
Said member device is through corresponding BFD session, and each member device of other in said pile system sends the BFD message of the priority parameters of carrying current device role information of said member device and current affiliated pile system.
Concrete; If the preset source address information that is adopted among the corresponding step S501 and the mode of destination address information are set up the BFD session; Then herein in the reason process; This member device will send the BFD message of the priority parameters of carrying current device role information of said member device and current affiliated pile system according to preset source address information and destination address information to said other member devices transmissions BFD message to said other member devices.
It is to be noted; The priority parameters of above-mentioned current affiliated pile system is used for after piling up division; Which decision divided the pile system that and worked on by, and the particular content of the priority parameters of current affiliated pile system and corresponding processing procedure are referring to follow-up explanation.
Step S503, current device role information and the current device role information of said other member devices of said member device this equipment of identification.
When said member device confirmed that device role information that this equipment is current and the current device role information of said other member devices are main equipment, said member device was confirmed said pile system division, and execution in step S504.
When said member device confirms that device role information and the current device role information of said other member devices that this equipment is current are not when being main equipment; Then said member device is confirmed the not division of current pile system, continues to return step S503 and carries out relevant detection.
Concrete, possibly occur above-mentioned be not that the situation that is main equipment comprises following several:
(1) the current device role information of said member device is main equipment, and the current device role information of said other member devices is slave unit.
At this moment, said member device is a main equipment, and said other member devices are slave unit, possibly be main equipment and the slave units that belongs in the current pile system, therefore, are not sure of this pile system and divide.
(2) current device role information and the current device role information of said other member devices of said member device is slave unit.
At this moment, said member device and said other member devices are slave unit, possibly be two slave units that belong in the current pile system, therefore, are not sure of this pile system and divide.
(3) said member device confirms that the current device role information of this equipment is slave unit, and the current device role information of said other member devices is main equipment.
At this moment, said member device is a slave unit, and said other member devices are main equipment, possibly be main equipment and the slave units that belongs in the current pile system, therefore, are not sure of this pile system and divide.
Step S504, said member device compare the priority parameters of pile system under said other member devices current priority parameters with the current affiliated pile system of this equipment.
When the priority parameters of pile system is better than the priority parameters of pile system under said other member devices current under said member device is confirmed this equipment current, execution in step S505;
When the priority parameters of pile system is better than the priority parameters of pile system under this equipment current under said member device is confirmed said other member devices current, execution in step S506.
In concrete processing scene, the type of the priority parameters of the current affiliated pile system that the said BFD that is compared in this step is entrained comprises one or more of following institute column information at least:
(1) send the member device of said BFD message current under pile system pile up precedence information.
The precedence information that piles up like this is pre-configured each member device of giving, and can when pile up division, select to have the higher affiliated pile system of main equipment that piles up precedence information and continue operate as normal.
IRF priority of the prior art has promptly played such effect.
(2) the current performance information of member device of the said BFD message of transmission.
In concrete processing scene, the performance information of indication can comprise here:
Send the current integrated circuit board quantity that is in normal condition of member device of said BFD message; And/or the current port number that is in normal condition of the member device that sends said BFD message; And/or the current logic interfacing quantity of the member device that sends said BFD message, and/or the current data flows of traffic size of member device of sending said BFD message waits other parameter informations relevant with converting flow.
Through such parameter information; Can confirm the flow transfer capability that corresponding member device is current; Thereby; Can select to have more excellent flow transfer capability and (more be in the integrated circuit board quantity of normal condition; Or more be in the port number of normal condition, or more logic interfacing quantity, or bigger data flows of traffic etc.) pile system continue operate as normal; Thereby, guarantee that as far as possible the flow of current system is transmitted disposal ability.
(3) the device numbering information of the member device of the said BFD message of transmission.
Such device numbering information is the information of distinguishing each other between each member device, according to concrete rule, can select to number the pairing pile system of minimum main member device and continue operate as normal.
It is to be noted; Above-mentioned each item information content can select one or more types to be carried in the BFD message according to actual needs; After piling up division, continue the selection of the pile system of operate as normal according to such information; If selected information has only a type; So; Each member device is just selected according to the comparative result of the information of the type accordingly; Otherwise; If selected information comprises a plurality of types; So; Need set in advance the comparative sequence of the information of these a plurality of types, under the corresponding to situation of content of preferential information relatively, continue the information type of next tagmeme is compared.
Concrete; In this step; When the priority parameters of pile system under a plurality of types of having carried said other member devices in the said BFD message that said member device receives current; Said member device is according to the comparison priority orders of the priority parameters of all types of current affiliated pile systems; According to inequality between this equipment and said other member devices, have the comparative result of height ratio than the priority parameters of pile system under priority orders current, confirm whether the priority parameters of pile system under this equipment current is better than the priority parameters of pile system under said other member devices current.
Step S505, said member device are kept the pile system operate as normal under this equipment.
Step S506, said member device are closed the service port of other member devices of the pile system under service port and this equipment of this equipment.
Compared with prior art, the present invention has the following advantages:
By using technical scheme of the present invention; Between each member device of pile system all by the BFD session of setting up in advance carry device role information and current under the transmission of BFD message of priority parameters of pile system; Each member device is by the device role information of comparison self and other member devices; Detect whether the pile system division takes place; And after division; Directly confirm according to the priority parameters of pile system under current whether self continues operate as normal; Thereby; Can be after piling up division; Select to continue the pile system of normal operation fast; The time that process consumed such as avoided after pile system division, could creating that the address information that the technical scheme of BFD session brings is obtained, conversation establishing and precedence information are mutual; Improved the efficient of handled process; Reduce the probability that piles up conflict and flow packet loss, improved the reliability of system.
In order further to set forth technological thought of the present invention, combine concrete application scenarios at present, technical scheme of the present invention is described.
For convenience; In the embodiment of the invention specifically with a kind of concrete example of IRF equipment as pile system; Technical scheme to proposed by the invention describes, and in practical application, the variation of concrete pile system type can't influence protection scope of the present invention.
Concrete; The method that the embodiment of the invention provides a kind of carrying out in the IRF system specifically to handle after state-detection and the IRF division; Through before the IRF division, setting up the BFD session of carrying detection information; Can be according to relevant detection information fast detecting IRF topology unusual; And response in time; Handle accordingly, avoid taking place the packet loss of flow between address conflict and member device.
Concrete, as shown in Figure 6, the schematic flow sheet for the processing method of piling up the division detection under a kind of concrete application scenarios that the embodiment of the invention proposed specifically may further comprise the steps:
Step S601, the source address and the destination address of BFD session are set through static mode in each member device of IRF system.
The purpose of this step is to carry out the address information preparation between each member device of IRF system, setting up the BFD session.
Though the equipment in the IRF system is separate equipment; But be member device for the IRF system; Communication belongs to the communication of internal system between the port on these member devices; When setting up BFD and connect through route next jump in the conventional method; Can can't learn mutual ARP information because the ARP information of terminal device is identical, and and then cause session to set up, therefore; In order between each member device of IRF system, to set up the BFD session, just need carry out special processing.
The processing of this step promptly is in order to realize such special processing, specifically comprises the processing of following two aspects:
(1) three layer interfaces of MAD BFD measuring ability have been enabled in the member device for the IRF system, through the source address and the destination address of static mode configuration BFD session.
(2) specifying the outgoing interface of destination address according to the mode of static state is the MAD VLAN interface.
Step S602, in the IRF system, enable MAD BFD measuring ability after, through setting up the BFD session between the MAD VLAN interface each other, and send each other and carry the BFD message of corresponding state information between each member device.
Processing through step S601; Can not need study ARP of elder generation and routing iinformation just can directly send the BFD message between the member device at BFD session two ends shakes hands alternately; Because the source address (source IP) of BFD session and destination address (purpose IP) are static appointments; Therefore; The IP address that can adopt privately owned reservation can not exert an influence to the outside route of IRF system as source/destination address yet.
After shaking hands alternately through BFD between this member device and other member devices, the BFD session has just normally been set up.
Afterwards; Can send detection messages (BFD message) each other between each member device; And owing to the BFD reply of the technical scheme that the embodiment of the invention proposed just can be set up before the IRF division; No longer can confirm by whether setting up the BFD session whether IRF divides as prior art; Therefore; Need expand the form of original BFD message in the technical scheme that the embodiment of the invention proposed; Be used to carry session terminal device status information separately; So that divide detection accordingly, and the selection that continues the IRF system of operate as normal in a plurality of IRF system after division.
Concrete, entrained information comprises in the BFD message after the expansion: IRF member device number (being aforesaid device numbering information), IRF priority, IRF member device activestandby state (being aforesaid device role information), member device characterisitic parameter.
Concrete, the format sample of a kind of BFD message that the embodiment of the invention proposed is following:
Wherein, the Diag field identification the nearest Status Change reason of BFD session, defined at present the incident of 0~8 type.The embodiment of the invention is expanded this field in the BFD message, is used to carry the current IRF member device of this member device number, IRF priority, IRF member device activestandby state, member device characterisitic parameter (comprising integrated circuit board quantity, port number of Normal etc.).
Corresponding expansion scheme is following:
Concrete, need expand Auth the type field wherein.
The Auth the type field of definition comprises following several value at present:
0-Reserved (reservation)
1-Simple Password (general password)
2-Keyed MD5 (MD5 key)
3-Meticulous Keyed MD5 (refinement MD5 key)
4-Keyed SHA1 (SHA1 key)
5-Meticulous Keyed SHA1 (refinement SHA1 key)
6-255-Reserved for future use (the following application reserved)
In the technical scheme that the embodiment of the invention proposed, concrete selecting one in the value of being reserved and expand for following the application to above-mentioned, can be that 6 Auth Type carries out as giving a definition to value:
Auth Type 6-IRF State 1, Auth Len 4, Auth Data (IRF member device number, member device priority, member device activestandby state, characterisitic parameter).
Certainly, can be in concrete application so that other values are expanded, value content of being expanded and corresponding extended format can't influence protection scope of the present invention.
After the expansion of BFD message; The IRF equipment at BFD session two ends sends the BFD message that carries this member device state information and arrives other member devices in each clock cycle; Receive the BFD message that sends over from other member devices simultaneously, the message of resolving other member devices transmissions obtains corresponding state information.
Explanation for ease; Can carry the situation that comprises the current IRF member device of the member device that sends to the BFD message number, IRF priority, IRF member device activestandby state, member device characterisitic parameter (comprising the integrated circuit board quantity, port number of Normal etc.) with the BFD message in the subsequent step of the embodiment of the invention is that example describes; In practical application; Can also carry other information, such variation does not influence protection scope of the present invention.
Step S603, each member device carry out the IRF topology detection according to the entrained IRF member device activestandby state of BFD message that receives.
After in the IRF system, enabling MAD BFD detection, all created BFD session separately between each member device of IRF system, the windrow overlapping state of going forward side by side detects.
Behind the BFD conversation establishing in the IRF system between each member device; All there is detection messages in the current main member device of IRF system with being equipped with on the member device; Between the active and standby member device; And respectively be equipped with when receiving the other side's BFD message mutually between the member device; From the extended field of BFD message, parse member device number, IRF member device priority and the device role information of BFD session opposite end; Obtain the current activestandby state of this member device, compare with the activestandby state of other member devices.
If this member device is main state, and other member devices represent then that for being equipped with state IRF possibly not divide.
If this member device is for being equipped with state; And other member devices are for being equipped with state; Represent that then this member device and other member devices all belong to the member device that is equipped with in the IRF system, and the IRF system does not divide (this situation is applicable to that two in the IRF system are equipped with mutual IRF state-detection between the frame).
If this member device is to be equipped with state, and other member devices are main state, and represent that then the IRF system does not divide.
If above three kinds of situation represent that then current I RF topology is normal, directly proceed current detection.
But if this member device is main state, other member devices also are main state, and illustrate that then original IRF system splits into two the pairing IRF of independently main member device systems, gets into and pile up division troubleshooting, execution in step S604 this moment.
Step S604, this member device compare the IRF priority of this member device and other member devices.
If this member device priority is high, then execution in step S607;
If this member device priority is low, execution in step S608 then;
If identical, execution in step S605 then.
Step S605, this member device compare the characterisitic parameter of this member device and other member devices.
Integrated circuit board quantity and member port quantity with operate as normal are foundation (only being the example as this document, can also be other content relevant with converting flow), and the characterisitic parameter of the member device that quantification is many is excellent.
If the characterisitic parameter of this member device is more excellent, then execution in step S607;
If the characterisitic parameter of other member devices is more excellent, then execution in step S606;
If identical, execution in step S605 then.
Step S606, this member device be the member device number of this member device and other member devices relatively.
Because the member device of the intrasystem member device of IRF number differs from one another, therefore, total energy is confirmed a bigger member device number at last, and identical situation can not occur.
If the member device of this member device is number big, execution in step S607 then;
If the member device of this member device is number little, execution in step S608 then.
Step S607, this member device are kept the pile system operate as normal under this equipment.
Step S608, this member device are closed the service port of other equipment of the pile system under service port and this equipment of this equipment.
It is to be noted; Above-mentioned step S604 to the described comparative sequence of the processing procedure of step S606 be the given a kind of example of present embodiment; In practical application, can change above-mentioned comparative sequence as required; The parameter information that perhaps adds other compares, and such variation does not influence protection scope of the present invention.
Need further be pointed out that; Situation except above-mentioned IRF division; If detect the current main member device abnormal state of IRF system; Then only can judge that which member device is used as main member device between other member devices according to IRF priority, and not need according to each member device before activestandby state or other information among the IRF judge.
On the other hand, when in the IRF system, carrying out the IRF state-detection, if the logical links fault of MAD VLAN, then corresponding member device only need be deleted current BFD session and get final product, and treats to rebulid the BFD session after logical links recovers.
Compared with prior art, the present invention has the following advantages:
By using technical scheme of the present invention; Between each member device of pile system all by the BFD session of setting up in advance carry device role information and current under the transmission of BFD message of priority parameters of pile system; Each member device is by the device role information of comparison self and other member devices; Detect whether the pile system division takes place; And after division; Directly confirm according to the priority parameters of pile system under current whether self continues operate as normal; Thereby; Can be after piling up division; Select to continue the pile system of normal operation fast; The time that process consumed such as avoided after pile system division, could creating that the address information that the technical scheme of BFD session brings is obtained, conversation establishing and precedence information are mutual; Improved the efficient of handled process; Reduce the probability that piles up conflict and flow packet loss, improved the reliability of system.
In order to realize technical scheme of the present invention, based on aforesaid explanation, the invention allows for a kind of network equipment, can be used as member device and other member devices connect to form pile system, its structural representation comprises with lower module as shown in Figure 7 at least:
Set up module 71, be used for respectively with pile system in other each member devices all set up the BFD session;
Communication module 72 is used for setting up the BFD session that module 71 is set up through said, with other each member devices carry alternately current separately device role information and current under the BFD message of priority parameters of pile system;
State recognition module 73 is used to discern the current device role information of the said network equipment, and the received entrained current device role information of said other member devices of said BFD message of said communication module 72;
Comparison module 74; Be used for when said state recognition module 73 confirms that the said network equipment and the current device role information of said other member devices are main equipment; Confirm that pile system divides, and the priority parameters of priority parameters and the current affiliated pile system of the said network equipment of pile system compares under entrained said other member devices of the said BFD message that said communication module 72 is received current;
Processing module 75; When the priority parameters that is used for pile system under said comparison module 74 is confirmed the said network equipments current is better than the priority parameters of pile system under said other member devices current, keep the pile system operate as normal under the said network equipment; Perhaps; When the priority parameters of pile system is better than the priority parameters of pile system under the said network equipment current under said comparison module 74 is confirmed said other member devices current, close the service port of other member devices of service port and the pile system under the said network equipment of the said network equipment.
Concrete, the said module 71 of setting up is used for:
The source address information and the destination address information of sending the BFD message according to other member devices in pile system preset in the said network equipment, respectively with pile system in other each member devices all set up the BFD session.
Further, said comparison module 74 also is used for:
Confirm that in said state recognition module 73 the current device role information of the said network equipment are main equipment, and the current device role information of said other member devices is abandoned handling when being slave unit;
Confirm that in said state recognition module 73 the current device role information of the said network equipment are slave unit, and the current device role information of said other member devices is abandoned handling when being main equipment;
When said state recognition module 73 confirms that device role information that the said network equipments are current and the current device role information of said other member devices are main equipment, abandon handling.
On the other hand, the said module 71 of setting up also is used for:
When the logical links of the MAD of said network equipment VLAN breaks down, the BFD session that deletion is set up through the logical links of said MAD VLAN;
When the fault recovery of the logical links of the MAD of said network equipment VLAN, the logical links through said MAD VLAN respectively with pile system in other each member devices rebulid the BFD session.
Compared with prior art, the present invention has the following advantages:
By using technical scheme of the present invention; Between each member device of pile system all by the BFD session of setting up in advance carry device role information and current under the transmission of BFD message of priority parameters of pile system; Each member device is by the device role information of comparison self and other member devices; Detect whether the pile system division takes place; And after division; Directly confirm according to the priority parameters of pile system under current whether self continues operate as normal; Thereby; Can be after piling up division; Select to continue the pile system of normal operation fast; The time that process consumed such as avoided after pile system division, could creating that the address information that the technical scheme of BFD session brings is obtained, conversation establishing and precedence information are mutual; Improved the efficient of handled process; Reduce the probability that piles up conflict and flow packet loss, improved the reliability of system.
Through the description of above execution mode, those skilled in the art can be well understood to the present invention and can realize through hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding; Technical scheme of the present invention can be come out with the embodied of software product; It (can be CD-ROM that this software product can be stored in a non-volatile memory medium; USB flash disk; Portable hard drive etc.) in; Comprise some instructions with so that computer equipment (can be personal computer, server, perhaps OAM MASTER equipment etc.) each implements the described method of scene to carry out the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is a preferred sketch map of implementing scene, module in the accompanying drawing or flow process might not be that embodiment of the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device of implementing in the scene can be distributed in the device of implementing scene according to implementing scene description, also can carry out respective change and be arranged in the one or more devices that are different from this enforcement scene.The module of above-mentioned enforcement scene can be merged into a module, also can further split into a plurality of submodules.
The invention described above sequence number is not represented the quality of implementing scene just to description.
More than disclosed only be several practical implementation scene of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.