CN102347867A - Processing method and equipment for stacking splitting detection - Google Patents

Processing method and equipment for stacking splitting detection Download PDF

Info

Publication number
CN102347867A
CN102347867A CN2011103587095A CN201110358709A CN102347867A CN 102347867 A CN102347867 A CN 102347867A CN 2011103587095 A CN2011103587095 A CN 2011103587095A CN 201110358709 A CN201110358709 A CN 201110358709A CN 102347867 A CN102347867 A CN 102347867A
Authority
CN
China
Prior art keywords
pile system
current
equipment
member devices
role information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011103587095A
Other languages
Chinese (zh)
Other versions
CN102347867B (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.)
Beijing 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 CN201110358709.5A priority Critical patent/CN102347867B/en
Publication of CN102347867A publication Critical patent/CN102347867A/en
Application granted granted Critical
Publication of CN102347867B publication Critical patent/CN102347867B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a processing method and equipment for stacking splitting detection. Through the application of the technical scheme of the invention, all member equipment of stacking systems send BFD (Binary File Descriptor) messages carrying equipment role information and the priority parameter of the own stacking system through previously established BFD dialogues, and all the member equipment compare the self equipment role information with the equipment role information of other member equipment, detect whether stacking systems split and directly determine whether the self continues to normally work according to the priority parameter of the current own stacking system after splitting, so that the member equipment can quickly select the stacking system continuing to normally run after stacking splitting. Time consumed by the technical scheme which can only create the BFD dialogues after the splitting of the stacking systems in the processes of acquiring address information, creating dialogues, exchanging priority information and the like is saved, the efficiency of corresponding processing processes is improved, the probability of stacking conflicts and flow packet losses is reduced, and the reliability of the system is improved.

Description

A kind of processing method and equipment that piles up the division detection
Technical field
The present invention relates to communication technical field, particularly a kind of processing method and equipment that piles up the division detection.
Background technology
Pile system is meant many stack member apparatus is stacked into a stack equipment.Wherein, IRF (Intelligent Resilient Framework; The intelligence resilient infrastructure) be a kind of existing technology of piling up; As shown in Figure 1; Be that multiple devices are linked together through the IRF link, carry out necessary configuration after, be virtualized into an equipment; Be commonly referred to as IRF equipment, use this Intel Virtualization Technology can realize the collaborative work of multiple devices, unified management and uninterrupted the maintenance.
In the application of reality, IRF equipment had both had the advantage of low cost of box-shaped device, had the autgmentability and the high reliability advantage of frame distributed apparatus again.
With two equipment is example, when two equipment works under the IRF pattern, link to each other through the IRF link, carry out necessary configuration, can be merged into an IRF equipment, this process is called IRF and merges, the schematic flow sheet of this process is as shown in Figure 2.
Otherwise, after an IRF forms, because the IRF link failure, causing that two adjacent member devices physically are not communicated with among the IRF, an IRF becomes two IRF, and this process is called IRF division (split), specifically as shown in Figure 3.
Two IRF after the division have three layers of configuration such as identical IP (Internet Protocol, network interconnection agreement) address, can cause address conflict, cause fault in network, to enlarge.In order to improve the availability of system, when IRF divides, there are a plurality of IRF in the network simultaneously, and handle accordingly and reduce the influence of IRF division as far as possible business with regard to needing a kind of mechanism, can detecting.MAD (Multi-Active Detection, multi-Active detects) comes to this a kind of detection and treatment mechanism.
After the IRF division, can detect through division testing mechanism IRF and to exist other to be in the IRF of Active state (expression IRF is in normal operating conditions) in the network.The conflict processing can allow Master (master) member number minimum IRF continuation operate as normal (keeping the Active state); Other IRF can be moved to Recovery state (expression IRF is in disabled status); And close among the Recovery state I RF other all physical ports (being generally business interface) except that reserved port on all member devices, can not transmit service message again to guarantee this IRF.
In the prior art, BFD (Bidirectional Forwarding Detection, two-way forwarding detects) scheme is exactly a kind of MAD mechanism that is used for detecting the IRF division.
The sketch map of BFD detection IRF splitting method as shown in Figure 4; Detect at IRF equipment disposition BFD; Between member device A and member device B, increase a BFD and detect link; When IRF equipment operate as normal; BFD detects link and can't set up session between the member device; After the IRF division; Device A and equipment B are exactly that two platform independent operate in the equipment under the IRF pattern; It all is main member device; The BFD link can be set up session; The BFD link establishment plays session and representes to detect conflict, i.e. IRF division.
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art:
There are some problems in existing MAD BFD mode mechanism; IRF link failure and cause piling up after the division; The member device of IRF is learnt ARP (the Address Resolution Protocol of MAD VLAN interface each other; Address resolution protocol) and create the BFD session; Announcement IRF priority separately, decision need be closed the new IRF of service port in each new IRF that IRF division back produces.
New IRF after IRF splits into division close service port during this period of time within, have plural independently IRF equipment on the network, during may cause the public network address conflict in the network, the flow of transmitting for striding equipment also the packet loss phenomenon can occur.
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.
Description of drawings
Fig. 1 is for existing the system configuration sketch map of IRF equipment in the prior art;
Fig. 2 is the sketch map that IRF equipment merges in the prior art;
Fig. 3 is the sketch map of IRF equipment division in the prior art;
Fig. 4 is the sketch map that BFD detects the IRF splitting method in the prior art
Fig. 5 is a kind of schematic flow sheet that piles up the processing method of division detection that the embodiment of the invention proposed;
Fig. 6 is the schematic flow sheet of the processing method of piling up the division detection under a kind of concrete application scenarios that the embodiment of the invention proposed;
Fig. 7 is the structural representation of a kind of network equipment that the embodiment of the invention proposed.
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:
Figure BSA00000611594600131
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:
Figure BSA00000611594600132
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.

Claims (9)

1. one kind is piled up the processing method that division detects, and it is characterized in that said method may further comprise the steps at least:
Each member device of pile system respectively with pile system in other each member devices all set up the BFD session;
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.
2. the method for claim 1 is characterized in that, 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.
3. the method for claim 1 is characterized in that, arbitrary member device of said pile system and other member devices carry alternately current separately device role information and current under after the BFD message of priority parameters of 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.
4. the method for claim 1 is characterized in that, arbitrary member device of said pile system and other member devices carry alternately current separately device role information and current under after the BFD message of priority parameters of 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.
5. the method for claim 1 is characterized in that, 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.
6. network equipment can be used as member device and other member devices connect to form pile system, it is characterized in that 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.
7. the network equipment as claimed in claim 6 is characterized in that, 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.
8. the network equipment as claimed in claim 6 is characterized in that, 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.
9. the network equipment as claimed in claim 6 is characterized in that, 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.
CN201110358709.5A 2011-11-14 2011-11-14 Processing method and equipment for stacking splitting detection Active CN102347867B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110358709.5A CN102347867B (en) 2011-11-14 2011-11-14 Processing method and equipment for stacking splitting detection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110358709.5A CN102347867B (en) 2011-11-14 2011-11-14 Processing method and equipment for stacking splitting detection

Publications (2)

Publication Number Publication Date
CN102347867A true CN102347867A (en) 2012-02-08
CN102347867B CN102347867B (en) 2014-06-25

Family

ID=45546175

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110358709.5A Active CN102347867B (en) 2011-11-14 2011-11-14 Processing method and equipment for stacking splitting detection

Country Status (1)

Country Link
CN (1) CN102347867B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724073A (en) * 2012-06-20 2012-10-10 华为技术有限公司 Method for network traffic recovery and routing device
CN102916857A (en) * 2012-11-09 2013-02-06 迈普通信技术股份有限公司 Stacking and splitting quick detection method and device
CN102970157A (en) * 2012-10-31 2013-03-13 杭州华三通信技术有限公司 Link failure processing method, intelligent resilient framework (IRF) member device and data communication device
CN103825766A (en) * 2014-02-28 2014-05-28 杭州华三通信技术有限公司 Device and method for detecting BFD links
CN104104596A (en) * 2014-07-28 2014-10-15 杭州华三通信技术有限公司 Intelligent resilient framework (IRF) split processing method and device
CN104639357A (en) * 2013-11-14 2015-05-20 华为技术有限公司 Method and device for enhancing reliability of out-of-band stacking systems
CN105245637A (en) * 2015-10-27 2016-01-13 迈普通信技术股份有限公司 Conflict processing method and equipment
WO2016146022A1 (en) * 2015-03-13 2016-09-22 Hangzhou H3C Technologies Co., Ltd. Preventing multiple conflicting stacks
CN106302205A (en) * 2015-05-26 2017-01-04 杭州华三通信技术有限公司 A kind of how main conflict processing method based on LLDP agreement and device
CN106487611A (en) * 2016-10-27 2017-03-08 杭州华三通信技术有限公司 A kind of method and device of detection SDN cluster division
CN106534399A (en) * 2016-11-22 2017-03-22 杭州迪普科技股份有限公司 Virtual switch matrix (VSM) splitting detection methods and apparatuses
CN106921527A (en) * 2017-04-27 2017-07-04 新华三技术有限公司 The processing method and processing device of stacking conflict
CN104993968B (en) * 2015-07-23 2018-04-10 上海斐讯数据通信技术有限公司 The control method and system of the network equipment in a kind of software defined network
CN111343040A (en) * 2020-01-17 2020-06-26 新华三信息安全技术有限公司 Port expander stacking and splitting detection method and device for expansion network bridge
CN115348156A (en) * 2022-07-01 2022-11-15 超聚变数字技术有限公司 Method, equipment and storage medium for processing double-master fault

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005114910A1 (en) * 2004-05-21 2005-12-01 Xyratex Technology Limited A method of processing data, a network analyser card, a host and an intrusion detection system
CN101309185A (en) * 2008-07-16 2008-11-19 杭州华三通信技术有限公司 Processing method of multi-host apparatus in stacking system and stacking member equipment
CN101695036A (en) * 2009-11-05 2010-04-14 杭州华三通信技术有限公司 Method and device for detecting IRF links

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005114910A1 (en) * 2004-05-21 2005-12-01 Xyratex Technology Limited A method of processing data, a network analyser card, a host and an intrusion detection system
CN101309185A (en) * 2008-07-16 2008-11-19 杭州华三通信技术有限公司 Processing method of multi-host apparatus in stacking system and stacking member equipment
CN101695036A (en) * 2009-11-05 2010-04-14 杭州华三通信技术有限公司 Method and device for detecting IRF links

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724073A (en) * 2012-06-20 2012-10-10 华为技术有限公司 Method for network traffic recovery and routing device
CN102970157A (en) * 2012-10-31 2013-03-13 杭州华三通信技术有限公司 Link failure processing method, intelligent resilient framework (IRF) member device and data communication device
CN102970157B (en) * 2012-10-31 2016-01-27 杭州华三通信技术有限公司 Link failure processing method, IRF member device and data communication equipment
CN102916857A (en) * 2012-11-09 2013-02-06 迈普通信技术股份有限公司 Stacking and splitting quick detection method and device
CN102916857B (en) * 2012-11-09 2015-04-15 迈普通信技术股份有限公司 Stacking and splitting quick detection method and device
CN104639357B (en) * 2013-11-14 2018-03-16 华为技术有限公司 Method for improving and device with outer pile system reliability
CN104639357A (en) * 2013-11-14 2015-05-20 华为技术有限公司 Method and device for enhancing reliability of out-of-band stacking systems
CN103825766A (en) * 2014-02-28 2014-05-28 杭州华三通信技术有限公司 Device and method for detecting BFD links
CN103825766B (en) * 2014-02-28 2017-04-12 杭州华三通信技术有限公司 Device and method for detecting BFD links
CN104104596A (en) * 2014-07-28 2014-10-15 杭州华三通信技术有限公司 Intelligent resilient framework (IRF) split processing method and device
CN104104596B (en) * 2014-07-28 2017-11-24 新华三技术有限公司 A kind of IRF divides treating method and apparatus
WO2016146022A1 (en) * 2015-03-13 2016-09-22 Hangzhou H3C Technologies Co., Ltd. Preventing multiple conflicting stacks
CN106302205A (en) * 2015-05-26 2017-01-04 杭州华三通信技术有限公司 A kind of how main conflict processing method based on LLDP agreement and device
CN104993968B (en) * 2015-07-23 2018-04-10 上海斐讯数据通信技术有限公司 The control method and system of the network equipment in a kind of software defined network
CN105245637B (en) * 2015-10-27 2019-06-25 迈普通信技术股份有限公司 A kind of conflict processing method and equipment
CN105245637A (en) * 2015-10-27 2016-01-13 迈普通信技术股份有限公司 Conflict processing method and equipment
CN106487611A (en) * 2016-10-27 2017-03-08 杭州华三通信技术有限公司 A kind of method and device of detection SDN cluster division
CN106534399A (en) * 2016-11-22 2017-03-22 杭州迪普科技股份有限公司 Virtual switch matrix (VSM) splitting detection methods and apparatuses
CN106534399B (en) * 2016-11-22 2019-08-06 杭州迪普科技股份有限公司 The detection method and device of VSM division
CN106921527A (en) * 2017-04-27 2017-07-04 新华三技术有限公司 The processing method and processing device of stacking conflict
CN106921527B (en) * 2017-04-27 2019-08-06 新华三技术有限公司 The processing method and processing device of stacking conflict
CN111343040A (en) * 2020-01-17 2020-06-26 新华三信息安全技术有限公司 Port expander stacking and splitting detection method and device for expansion network bridge
CN111343040B (en) * 2020-01-17 2022-12-16 新华三信息安全技术有限公司 Port expander stacking and splitting detection method and device for expansion network bridge
CN115348156A (en) * 2022-07-01 2022-11-15 超聚变数字技术有限公司 Method, equipment and storage medium for processing double-master fault

Also Published As

Publication number Publication date
CN102347867B (en) 2014-06-25

Similar Documents

Publication Publication Date Title
CN102347867A (en) Processing method and equipment for stacking splitting detection
CN102315975B (en) Fault processing method based on intelligent resilient framework (IRF) system and equipment thereof
CN101471885B (en) Virtual multicast routing for a cluster having state synchronization
CN102006184B (en) Management method, device and network device of stack link
EP1982447B1 (en) System and method for detecting and recovering from virtual switch link failures
CN101605102B (en) Load sharing method and apparatus in IRF stacking
CN103780480B (en) Message forwarding method and equipment
CN102255751A (en) Stacking conflict resolution method and equipment
CN101599909B (en) Method and device for forwarding flow rate
CN102075343B (en) An out-of-band management realization method, a system for the same and an out-of-band management switch
EP2627039B1 (en) Method and device for switching aggregation links
CN101674208B (en) LACP MAD detection method and device thereof
CN102364900B (en) Based on the data transmission method of FRR and equipment in a kind of IRF system
CN101697528B (en) Method and device for sharing loads between NAT gateway devices
CN101702657A (en) Hot backup method of NAT service and equipment
CN101827039B (en) Method and equipment for load sharing
CN103166811A (en) Multi-active detection (MAD) detection method and device
CA2557733A1 (en) Packet communication network and packet communication method
CN101610535A (en) Multilink direct continuous show scape guarantees the method, system and device of BFD conversation stability down
CN103067291A (en) Method and device of up-down link correlation
CN104038447A (en) Message transmission method and device
US20110216647A1 (en) Telephone system, gateway for telephone system, and redundancy switching method
CN101335716B (en) Method and apparatus for separation and recombination of stacked switch
CN102811338A (en) Control method and control device for multi-level postback video signal in video conference system
CN103220189A (en) Multi-active detection (MAD) backup method and equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

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

Patentee after: Xinhua three Technology Co., Ltd.

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

Patentee before: Huasan Communication Technology Co., Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20190708

Address after: Room 101, 1st floor, No. 1 Building, No. 8 Courtyard, Yongjiabei Road, Haidian District, Beijing 100094

Patentee after: Beijing Huasan Communication Technology Co., Ltd.

Address before: 310052 Changhe Road, Binjiang District, Hangzhou, Zhejiang Province, No. 466

Patentee before: Xinhua three Technology Co., Ltd.