CN109756399A - A kind of BFD session maintaining method and distributed apparatus - Google Patents

A kind of BFD session maintaining method and distributed apparatus Download PDF

Info

Publication number
CN109756399A
CN109756399A CN201910120196.0A CN201910120196A CN109756399A CN 109756399 A CN109756399 A CN 109756399A CN 201910120196 A CN201910120196 A CN 201910120196A CN 109756399 A CN109756399 A CN 109756399A
Authority
CN
China
Prior art keywords
board
backup plate
enclosure
bfd
opposite equip
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.)
Pending
Application number
CN201910120196.0A
Other languages
Chinese (zh)
Inventor
杨逸
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
New 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201910120196.0A priority Critical patent/CN109756399A/en
Publication of CN109756399A publication Critical patent/CN109756399A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the present invention provides a kind of BFD session maintaining method and distributed apparatus.In the embodiment of the present invention, distributed apparatus includes at least two target conversion boards, and each target conversion board includes the member port for belonging to same aggregation port, and distributed apparatus is connect by the aggregation port with opposite equip..If current goal conversion board is enclosure board, BFD detection messages are sent to backup plate and opposite equip. respectively;If current goal conversion board is backup plate, and does not receive the BFD detection messages of enclosure board transmission within a preset period of time, BFD detection messages are sent to opposite equip..The embodiment of the present invention utilizes the state of backup plate monitoring and maintenance plate, and when confirming enclosure board failure, enclosure board is replaced to send BFD detection messages to opposite equip. from backup plate, to avoid opposite equip. because not receiving BFD detection messages for a long time, it is believed that aggregated link failures.The embodiment of the present invention can effectively avoid BFD session concussion when aggregated links detection.

Description

A kind of BFD session maintaining method and distributed apparatus
Technical field
The present invention relates to network communication technology field more particularly to a kind of BFD session maintaining methods and distributed apparatus.
Background technique
BFD (Bidirectional Forwarding Detection, two-way converting detection) provides a kind of general mark The unrelated quick fault testing mechanism unrelated with agreement of the medium of standardization.BFD can be upper-layer protocol such as OSPF (Open Shortest Path First, ospf), BGP (Border Gateway Protocol, borde gateway Agreement) etc. quickly detection two network equipments between two-way converting path failure.BFD is capable of providing the other failure inspection of Millisecond It surveys, so that the upper-layer protocol to link therewith realizes quick switch function.
Two network equipments are by establishing BFD session, and periodicity sending BFD detection messages, to detect LA Management Room Two-way converting path whether failure.If the interior network equipment does not receive the BFD inspection of peer network device transmission when detecting Observe and predict text, then it is assumed that the two-way converting path failure of two LA Management Rooms.
When based on the aggregated links of BFD detection distributed apparatus, since the member port of aggregated links is located at different turn It sends out on plate, therefore, distributed apparatus can receive BFD detection messages by conversion board where different members mouth.But polymeric chain The BFD detection messages needs on road are uniformly processed, and therefore, are usually tieed up for selection one from the conversion board of each member port place by master control borad Backplate, received BFD detection messages are passed through enclosure board by conversion board where other member ports, are uniformly processed by enclosure board.
If enclosure board failure is pulled out, master control borad can perceive the failure and reselect enclosure board.In new enclosure board Before selected, distributed apparatus no longer sends BFD detection messages to opposite equip..Until after new enclosure board is selected, it is just extensive It is multiple to send BFD detection messages to opposite equip..
The handoff procedure time of enclosure board is longer (generally 100ms), and high-precision BFD detection time it is shorter (for example, 30ms), therefore, will lead to opposite equip. when detecting in do not receive BFD detection messages, it is thus regarded that aggregated links therefore Barrier.Until opposite equip. just thinks that aggregated links restores normal after receiving the BFD detection messages that new enclosure board is sent.But In fact, aggregated links is to have lost the bandwidth of a member port (other member ports are normal), aggregated links work is had no effect on Make.That is, there are unnecessary BFD session concussions for existing aggregated links detection.
Summary of the invention
The present invention proposes a kind of BFD session maintenance to solve the problems, such as the BFD session concussion when detection of existing aggregated links Method and distributed apparatus are shaken with BFD session when detecting to avoid aggregated links.
For achieving the above object, the present invention provides the following technical scheme that
In a first aspect, the present invention provides a kind of BFD session maintaining method, it is applied to distributed apparatus, the distribution is set Standby includes at least two target conversion boards, and each target conversion board includes the member port for belonging to same aggregation port, and the distribution is set It is standby to be connect by the aggregation port with opposite equip., which comprises
If current goal conversion board is enclosure board, BFD detection messages are sent to backup plate and the opposite equip. respectively;
If the current goal conversion board is backup plate, and does not receive the BFD of enclosure board transmission within a preset period of time Detection messages, Xiang Suoshu opposite equip. send BFD detection messages.
Optionally, the method also includes:
If the current goal conversion board is backup plate, statistics continues the BFD detection messages for not receiving enclosure board transmission Timing time;
If receiving the BFD detection messages of enclosure board transmission before the timing time reaches the preset time period, Remove the timing time.
Optionally, the distributed apparatus further includes master control borad, if the current goal conversion board is backup plate, to institute State opposite equip. send BFD detection messages after, further includes:
The enclosure board failure is noticed to the master control borad, so that the master control borad redefines enclosure board and backup plate.
Optionally, the distributed apparatus further includes master control borad, the method also includes:
The master control borad sends message of negotiation request to the opposite equip., and the message of negotiation request is used for local device Negotiate BFD session parameter with opposite equip.;
If receiving the negotiation response message that the opposite equip. is responded based on the message of negotiation request, the master control borad Determine that receiving the target conversion board for negotiating response message is enclosure board;
The master control borad determines backup plate from the target conversion board in addition to the enclosure board;
The master control borad to each target conversion board issue the BFD session parameter, the enclosure board mark and The mark of the backup plate;
Each target conversion board determines itself for enclosure board based on the mark of the enclosure board, the mark of the backup plate Or when backup plate, based on the BFD session between BFD session parameter maintenance and the opposite equip..
Optionally, the method also includes:
If receiving the enclosure board failure of backup plate notice, the master control borad is from the mesh in addition to the enclosure board of failure It marks in conversion board, redefines enclosure board and backup plate.
Second aspect, the present invention provide a kind of distributed apparatus, and the distributed apparatus is forwarded including at least two targets Plate, in at least two targets conversion board, including enclosure board and backup plate, each target conversion board is including belonging to same aggregation port Member port, the distributed apparatus connect by the aggregation port with opposite equip.;
The enclosure board, for sending BFD detection messages to the backup plate and the opposite equip. respectively;
The backup plate, if the BFD detection messages sent for not receiving the enclosure board within a preset period of time, to The opposite equip. sends BFD detection messages.
Optionally, the backup plate continues not receive based on the BFD detection messages that the enclosure board is sent by counting When the time;If receiving the BFD detection report that the enclosure board is sent before the timing time reaches the preset time period Text removes the timing time.
Optionally, the distributed apparatus further includes master control borad;
The backup plate is also used to after sending BFD detection messages to the opposite equip., the notice of Xiang Suoshu master control borad The enclosure board failure, so that the master control borad redefines enclosure board and backup plate.
Optionally, the master control borad, for sending message of negotiation request, the message of negotiation request to the opposite equip. Negotiate BFD session parameter for local device and opposite equip.;If receiving the opposite equip. is based on negotiation request report The negotiation response message that text is responded determines that receiving the target conversion board for negotiating response message is enclosure board;From except described In target conversion board except enclosure board, backup plate is determined;The BFD session parameter, the dimension are issued to each target conversion board The mark of the mark of backplate and the backup plate;So that mark of each target conversion board based on the enclosure board, the backup When the mark of plate determines itself for enclosure board or backup plate, based on the BFD session parameter safeguard between the opposite equip. BFD session.
Optionally, the master control borad is also used to when receiving the enclosure board failure of the backup plate notice, from except failure Enclosure board except target conversion board in, redefine enclosure board and backup plate.
The embodiment of the present invention utilizes the state of backup plate monitoring and maintenance plate it can be seen from above description, and ties up in confirmation When backplate failure, from backup plate replace enclosure board to opposite equip. send BFD detection messages, thus avoid opposite equip. because it is long when Between do not receive BFD detection messages, it is believed that aggregated link failures.The embodiment of the present invention can effectively avoid when aggregated links detects BFD session concussion.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of BFD session maintaining method flow chart shown in the embodiment of the present invention;
Fig. 2 is the implementation process that master control borad shown in the embodiment of the present invention determines enclosure board and backup plate for the first time;
Fig. 3 is a kind of networking schematic diagram shown in the embodiment of the present invention;
Fig. 4 is a kind of hardware structural diagram of distributed apparatus shown in the embodiment of the present invention.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended The example of device and method being described in detail in claims, some aspects of the invention are consistent.
It is only to be not intended to limit the invention merely for for the purpose of describing particular embodiments in terminology used in the present invention. It is also intended in the present invention and the "an" of singular used in the attached claims, " described " and "the" including majority Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the present invention A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from In the case where the scope of the invention, negotiation information can also be referred to as the second information, and similarly, the second information, which can also be referred to as, assists Quotient's information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination ".
The embodiment of the present invention provides a kind of BFD session maintaining method, and in this method, distributed apparatus utilizes the monitoring of backup plate The state of enclosure board, and when confirming enclosure board failure, replace enclosure board to send BFD detection report to opposite equip. from backup plate Text, to avoid opposite equip. because not receiving BFD detection messages for a long time, it is believed that aggregated link failures.
It is with reference to the accompanying drawing and specific real in order to keep the purposes, technical schemes and advantages of the embodiment of the present invention clearer It applies example and detailed description is executed to the embodiment of the present invention:
It is the flow chart of BFD session maintaining method provided in an embodiment of the present invention referring to Fig. 1.The process is applied to distribution Formula equipment.Distributed apparatus generally includes master control borad, conversion board and the web plate for connecting master control borad and conversion board.Web plate is responsible for each Information forwarding between conversion board, and the information for being handed down to each conversion board to master control borad are forwarded.
In the embodiment of the present invention, distributed apparatus is connect by aggregation port with opposite equip..Each member port of the aggregation port Place conversion board is known as target conversion board.In the embodiment of the present invention, distributed apparatus includes at least two target conversion boards.
As shown in Figure 1, the process can comprise the following steps that
Step 101, if current goal conversion board is enclosure board, BFD detection report is sent to backup plate and opposite equip. respectively Text.
In the embodiment of the present invention, master control borad need from target conversion board determine for safeguard BFD session enclosure board and Backup plate, and the mark of the mark of enclosure board and backup plate is advertised to each target conversion board.
Master control borad determines the process of enclosure board He backup plate, is described below, and wouldn't repeat here.
When enclosure board is normal, enclosure board is by itself member port, with the sending cycle negotiated in advance to opposite equip. Send BFD detection messages.If opposite equip. when detecting between (the usually multiple of sending cycle, for example, sending cycle is 10ms, detection time receive BFD detection messages for 10ms × 3=30ms) is interior, then it is assumed that connect the polymeric chain of distributed apparatus Road is normal.
Here, it should be noted that sending cycle and detection time are set before BFD detection with opposite end by master control borad It is standby to negotiate, and the BFD session parameter of negotiation is advertised to each target conversion board.
In the embodiment of the present invention, enclosure board is while sending BFD detection messages to opposite equip., to backup plate transparent transmission BFD detection messages.I.e. enclosure board also can send BFD detection messages to backup plate with the sending cycle negotiated in advance.Here, due to Enclosure board and backup plate are all target conversion boards, can be attached by web plate therebetween, then passing through into enclosure board When member's mouth sends BFD detection messages to opposite equip., it is also desirable to send the BFD detection messages to backup plate via web plate.
Step 102, if current goal conversion board is backup plate, and enclosure board transmission is not received within a preset period of time BFD detection messages send BFD detection messages to opposite equip..
As previously mentioned, sending BFD detection messages to backup plate with sending cycle when enclosure board is normal.If backup plate is pre- If being not received by BFD detection messages in the period, illustrate enclosure board failure, then back up plate instead of enclosure board with sending cycle to Opposite equip. sends BFD detection messages, so that opposite equip. be avoided not receive BFD detection messages within when detecting due to recognize For aggregated link failures.
Here, it should be noted that the preset time period for backing up plate is less than opposite equip. for whether detecting aggregated links The detection time of failure.
For example, if the BFD session parameter that master control borad and opposite equip. are negotiated are as follows: sending cycle 10ms, detection times Number is 3, then opposite equip. determines that detection time is 10ms × 3=30ms based on the BFD session parameter.Meanwhile backup plate according to BFD session parameter (including sending cycle and detection multiple) of master control borad notice determine preset time period be sending cycle × (detection multiple-N), wherein 1≤N < detects multiple.For example, N=1, then preset time period is 10ms × (3-1)=20ms.
Backup plate statistics does not receive the number of the sending cycle (10ms) of BFD detection messages.If the sending cycle of statistics Number be 2, at this point, backup plate does not receive when a length of 10ms × 2=20ms of BFD detection messages, reach preset time period (20ms) then backs up plate by the member port of itself and sends BFD detection messages to opposite equip., so that opposite equip. is reaching inspection The BFD detection messages that distributed apparatus transmission is received before surveying time (30ms), avoid being mistakenly considered aggregated link failures.
So far, process shown in Fig. 1 is completed.
As can be seen from the flow chart shown in fig. 1, in embodiments of the present invention, distributed apparatus utilizes backup plate monitoring and maintenance The state of plate, and when confirming enclosure board failure, replace enclosure board to send BFD detection messages to opposite equip. from backup plate, from And avoid opposite equip. because not receiving BFD detection messages for a long time, it is believed that aggregated link failures.
It should be added that statistics continues not receive enclosure board hair if current goal conversion board is backup plate The timing time for the BFD detection messages sent.As an implementation, which can receiving continuously based on statistics The number of the sending cycle of BFD detection messages determines.That is, the product of the number of the sending cycle of statistics and sending cycle is made Continue the timing time for not receiving BFD detection messages for backup plate.If before timing time reaches preset time period, backup Plate receives the BFD detection messages of enclosure board transmission, illustrates that enclosure board is normal, then backs up plate and remove timing time, reclocking.
Optionally, as one embodiment, after step 102, i.e., after backup plate detects enclosure board failure, backup plate Enclosure board failure is noticed to master control borad, so that master control borad redefines enclosure board and backup plate.
Master control borad redefines the process of enclosure board He backup plate, is described below, and wouldn't repeat here.
The process of enclosure board and backup plate is described to be determined from target conversion board for the first time to master control borad below.Referring to figure 2, determine the implementation process of enclosure board and backup plate for the first time for the master control borad shown in the embodiment of the present invention.
As shown in Fig. 2, the process can comprise the following steps that
Step 201, master control borad sends message of negotiation request to opposite equip..
Before BFD session establishment, master control borad sends message of negotiation request to opposite equip..The message of negotiation request is used for Negotiate the BFD session parameter between distributed apparatus and opposite equip..
Step 202, if receiving the negotiation response message that opposite equip. is responded based on message of negotiation request, master control borad is determined The target conversion board for receiving negotiation response message is enclosure board.
After opposite equip. receives message of negotiation request, the aggregated links by connecting distributed apparatus, which is responded, negotiates response Message.
The a certain member port in aggregation port that the negotiation response message passes through distributed apparatus is received, and by this at Target conversion board where member's mouth passes through master control borad.The target conversion board for receiving the negotiation response message is determined as by master control borad Enclosure board.
Step 203, master control borad determines backup plate from the target conversion board in addition to enclosure board.
After determining enclosure board by step 202, master control borad can select either objective to turn from remaining target conversion board It sends out plate and is used as backup plate.
Step 204, master control borad issues BFD session parameter, the mark of enclosure board and backup plate to each target conversion board Mark.
After completing BFD session negotiation by step 201~step 203 and determining enclosure board and backup plate, master control borad It will be under the mark of the BFD session parameter (for example, sending cycle, detection multiple etc.) of negotiation, the mark of enclosure board and backup plate Issue each target conversion board.
Step 205, each target conversion board determines itself for enclosure board or standby based on the mark of enclosure board, the mark of backup plate When part plate, based on the BFD session between the maintenance of BFD session parameter and opposite equip..
Each target conversion board can mark, the mark of backup plate according to the enclosure board got, determine whether itself is dimension Backplate or backup plate.
When determining itself is enclosure board or backup plate, based on the maintenance of BFD session parameter and the opposite equip. got BFD session, i.e. execution abovementioned steps 101 and step 102.
So far, process shown in Fig. 2 is completed.
It can be seen that the embodiment of the present invention using session negotiation process by process shown in Fig. 2, determine initial enclosure board With backup plate, after so that distributed apparatus and opposite equip. is established BFD session, tieed up based on the originally determined enclosure board and backup plate Protect BFD session.
The process for redefining enclosure board and backup plate to master control borad below is described.
As previously mentioned, enclosure board may break down in BFD session maintenance process.Backup plate passes through step 102 perception dimension Master control borad is advertised to after backplate failure.
After master control borad receives notice, from the target conversion board in addition to the enclosure board of failure, enclosure board is redefined With backup plate.As an implementation, former backup plate can be determined as new enclosure board, according still further to default selection strategy from remaining New backup plate is selected in remaining target conversion board.For example, selection mark is minimum from remaining target conversion board according to mark size Target conversion board be new backup plate.
The enclosure board and backup plate redefined continues to execute abovementioned steps 101 and step 102, with maintenance and opposite equip. Between BFD session.
Method provided in an embodiment of the present invention is described below by specific embodiment:
It is a kind of networking schematic diagram shown in the embodiment of the present invention referring to Fig. 3.The networking includes equipment 310 and equipment 320.Wherein, equipment 310 is distributed apparatus, including master control borad 311,312~conversion board of conversion board 315.Equipment 310 passes through poly- It heals up and is connect with equipment 320, the member port of the aggregation port is located at 312~conversion board of conversion board 315.The present embodiment is with equipment For 310, BFD session maintaining method is discussed in detail.Equipment 320 can be point as the opposite equip. connecting with equipment 310 Cloth equipment is also possible to centralized device, and this is not limited by the present invention.
Firstly, master control borad 311 needs to send the message of negotiation request for negotiating BFD session parameter to equipment 320.Specifically For master control borad 311 determines that forwarding the outgoing interface of the message of negotiation request is aggregation port based on routing forwarding.Preset algorithm is used again Operation is carried out to the message characteristic of message of negotiation request, determination is specifically E-Packeted by which of aggregation port member port.Than Such as, it after carrying out operation to message characteristic according to hash algorithm, determines and request report is negotiated by the member port forwarding on conversion board 314 Text, then message of negotiation request is passed through conversion board 314 by master control borad 311.Message of negotiation request is sent to by conversion board 314 and is set Standby 320.
After equipment 320 receives message of negotiation request, is sent to equipment 310 and negotiate response message.The negotiation response message By equipment 320 based on a certain member port forwarding in itself preset algorithm selection equipment 320.That is, which equipment 310 passes through Conversion board where one member port receives negotiation response message and is determined by equipment 320.In the embodiment of the present invention, if equipment 310 Negotiation response message is received by conversion board 312, then the negotiation response message is passed through master control borad 311 by conversion board 312.
Master control borad 311 is determined as enclosure board for the conversion board 312 for negotiating response message is received.And from remaining conversion board A backup plate is selected in (313~conversion board of conversion board 315), for example, selecting in 313~conversion board of conversion board 315 plate number most Small conversion board 313 is backup plate.
Master control borad 311 determines the session parameter for safeguarding BFD session by the session negotiation between equipment 320, Including sending cycle, detection multiple etc..In this specific embodiment, the sending cycle that both devices are negotiated is 10ms, detects multiple It is 3.
Master control borad 311 by the session parameter of negotiation, the plate number (312) of enclosure board, backup plate plate number (313) be handed down to turn Send out 312~conversion board of plate 315.
The plate number of plate number (312) and backup plate of the enclosure board that conversion board 314, conversion board 315 are noticed according to master control borad 311 (313), determine itself for common plate (not being that enclosure board is also not backup plate).The operation that common plate executes is described below, Here it wouldn't repeat.
The plate number (312) for the enclosure board that conversion board 312 is noticed according to master control borad 311 and the plate number (313) of backup plate determine It itself is enclosure board, therefore, the sending cycle (10ms) noticed with master control borad 311 sends BFD detection messages to equipment 320, and Duplication BFD detection messages pass through backup plate (conversion board 313).Equipment 320 when detecting between (sending cycle × detection multiple= The BFD detection messages of the transmission of equipment 310 are received in 30ms), then it is assumed that aggregated links is normal.
The plate number (312) for the enclosure board that conversion board 313 is noticed according to master control borad 311 and the plate number (313) of backup plate determine It itself is backup plate.And according to the sending cycle of the notice of master control borad 311 and detection multiple, the detection less than equipment 320 is determined The preset time period of time.For example, the preset time period is 10 × (3-1)=20ms.
The statistics of conversion board 313 continues not receive the number of the sending cycle of the BFD detection messages of 312 transparent transmission of conversion board. If continuing the BFD detection messages that 2 sending cycles (2 × 10ms=20ms) do not receive 312 transparent transmission of conversion board, that is, reach default Period, then it is assumed that 312 failure of conversion board.Conversion board 313 sends BFD detection messages to equipment 320 with sending cycle (10ms). So that equipment 320 can when detecting between BFD detection messages of the transmission of equipment 310 are received in (30ms), to confirm polymeric chain Road is normal.Unnecessary BFD session is avoided to shake.
Meanwhile conversion board 313 notices 312 failure of conversion board to master control borad 311.Master control borad 311 reselect enclosure board and Backup plate.For example, conversion board 313 to be determined as to new enclosure board;Option board number is small from the conversion board 314 and conversion board 315 Conversion board 314 repeats above-mentioned BFD session maintenance process as new backup plate.
Furthermore, it is necessary to supplementary explanation, the letter that master control borad 311 is issued to each conversion board (forwarding 312~conversion board 315) It further include the session entry of BFD session in breath.Each conversion board locally saves session entry.When equipment 320 is sent to equipment 310 When BFD detection messages, which may be received by any conversion board of equipment 310.Receive BFD inspection The session entry that the conversion board of text is locally saved by hit is observed and predicted, BFD detection messages are passed through into enclosure board.That is, It, can be to enclosure board transparent transmission, by tieing up if the backup plate and common plate in equipment 310 receive the BFD detection messages of the transmission of equipment 320 The BFD detection messages of the transmission of equipment 320 are uniformly processed in backplate.If enclosure board when detecting between do not have in (10ms × 3=30ms) The BFD detection messages for receiving the transmission of equipment 320, then it is believed that aggregated link failures.
So far, the description to this specific embodiment is completed.
Method provided in an embodiment of the present invention is described above, below to distribution provided in an embodiment of the present invention Equipment is described:
It referring to fig. 4, is the hardware structural diagram of distributed apparatus provided in an embodiment of the present invention.The distributed apparatus packet At least two target conversion boards are included, each target conversion board includes the member port for belonging to same aggregation port, and the distributed apparatus is logical The aggregation port is crossed to connect with opposite equip., wherein in at least two targets conversion board, including enclosure board 41, backup plate 42 and other target conversion boards (not shown);
The enclosure board 41, for sending BFD detection messages to the backup plate 42 and the opposite equip. respectively;
The backup plate 42, if the BFD detection report sent for not receiving the enclosure board 41 within a preset period of time Text, Xiang Suoshu opposite equip. send BFD detection messages.
As one embodiment, the backup plate 42, for counting the BFD for continuing not receive the enclosure board 41 and sending The timing time of detection messages;If receiving the enclosure board 41 before the timing time reaches the preset time period to send out The BFD detection messages sent, remove the timing time.
As one embodiment, the distributed apparatus further includes master control borad 43;
The backup plate 42 is also used to after sending BFD detection messages to the opposite equip., Xiang Suoshu master control borad 43 The enclosure board failure is noticed, so that the master control borad 43 redefines enclosure board and backup plate.
As one embodiment, the distributed apparatus further includes master control borad 43;
The master control borad 43, for sending message of negotiation request to the opposite equip., the message of negotiation request is used for Local device and opposite equip. negotiate BFD session parameter;If receiving the opposite equip. to return based on the message of negotiation request The negotiation response message answered determines that receiving the target conversion board for negotiating response message is enclosure board 41;From except the dimension In target conversion board except backplate 41, backup plate 42 is determined;The BFD session parameter, described is issued to each target conversion board The mark of the mark of enclosure board 41 and the backup plate 42;So that mark of each target conversion board based on the enclosure board 41, When the mark of the backup plate 42 determines itself for enclosure board or backup plate, based on the BFD session parameter safeguard with it is described right BFD session between end equipment.
As one embodiment, the master control borad 43 is also used in the enclosure board 41 for receiving the notice of backup plate 42 When failure, from the target conversion board in addition to the enclosure board of failure, enclosure board and backup plate are redefined.
So far, the description of equipment shown in Fig. 4 is completed.
In embodiments of the present invention, distributed apparatus utilizes the state of backup plate monitoring and maintenance plate, and in confirmation enclosure board When failure, enclosure board is replaced to send BFD detection messages to opposite equip. from backup plate, to avoid opposite equip. because connecing for a long time It can not receive BFD detection messages, it is believed that aggregated link failures.
The foregoing is merely the preferred embodiments of the embodiment of the present invention, are not intended to limit the invention, all in this hair Within the spirit and principle of bright embodiment, any modification, equivalent substitution, improvement and etc. done should be included in protection of the present invention Within the scope of.

Claims (10)

1. a kind of BFD session maintaining method, which is characterized in that be applied to distributed apparatus, the distributed apparatus includes at least Two target conversion boards, each target conversion board include the member port for belonging to same aggregation port, and the distributed apparatus passes through described Aggregation port is connect with opposite equip., which comprises
If current goal conversion board is enclosure board, BFD detection messages are sent to backup plate and the opposite equip. respectively;
If the current goal conversion board is backup plate, and does not receive the BFD detection of enclosure board transmission within a preset period of time Message, Xiang Suoshu opposite equip. send BFD detection messages.
2. the method as described in claim 1, which is characterized in that the method also includes:
If the current goal conversion board is backup plate, statistics continues the meter for not receiving the BFD detection messages of enclosure board transmission When the time;
If receiving the BFD detection messages of enclosure board transmission before the timing time reaches the preset time period, remove The timing time.
3. the method as described in claim 1, which is characterized in that the distributed apparatus further includes master control borad, if described current Target conversion board is backup plate, after sending BFD detection messages to the opposite equip., further includes:
The enclosure board failure is noticed to the master control borad, so that the master control borad redefines enclosure board and backup plate.
4. the method as described in claim 1, which is characterized in that the distributed apparatus further includes master control borad, and the method is also Include:
The master control borad to the opposite equip. send message of negotiation request, the message of negotiation request for local device with it is right End equipment negotiates BFD session parameter;
If receiving the negotiation response message that the opposite equip. is responded based on the message of negotiation request, the master control borad is determined Receiving the target conversion board for negotiating response message is enclosure board;
The master control borad determines backup plate from the target conversion board in addition to the enclosure board;
The master control borad issues the BFD session parameter, the mark of the enclosure board and described to each target conversion board The mark of backup plate;
Each target conversion board determines itself for enclosure board or standby based on the mark of the enclosure board, the mark of the backup plate When part plate, based on the BFD session between BFD session parameter maintenance and the opposite equip..
5. method as claimed in claim 4, which is characterized in that the method also includes:
If receiving the enclosure board failure of the backup plate notice, the master control borad turns from the target in addition to the enclosure board of failure It sends out in plate, redefines enclosure board and backup plate.
6. a kind of distributed apparatus, which is characterized in that the distributed apparatus include at least two target conversion boards, it is described at least In two target conversion boards, including enclosure board and backup plate, each target conversion board includes the member port for belonging to same aggregation port, institute Distributed apparatus is stated to connect by the aggregation port with opposite equip.;
The enclosure board, for sending BFD detection messages to the backup plate and the opposite equip. respectively;
The backup plate, if the BFD detection messages sent for not receiving the enclosure board within a preset period of time, Xiang Suoshu Opposite equip. sends BFD detection messages.
7. equipment as claimed in claim 6, it is characterised in that:
The backup plate continues not receive the timing times of the BFD detection messages that the enclosure board is sent for counting;If The timing time, which reaches, receives the BFD detection messages that the enclosure board is sent before the preset time period, described in removing Timing time.
8. equipment as claimed in claim 6, which is characterized in that the distributed apparatus further includes master control borad;
The backup plate is also used to after sending BFD detection messages to the opposite equip., described in the notice of Xiang Suoshu master control borad Enclosure board failure, so that the master control borad redefines enclosure board and backup plate.
9. equipment as claimed in claim 6, which is characterized in that the distributed apparatus further includes master control borad;
The master control borad, for sending message of negotiation request to the opposite equip., the message of negotiation request is set for local terminal It is standby to negotiate BFD session parameter with opposite equip.;If receiving the association that the opposite equip. is responded based on the message of negotiation request Quotient's response message determines that receiving the target conversion board for negotiating response message is enclosure board;From in addition to the enclosure board Target conversion board in, determine backup plate;The mark of the BFD session parameter, the enclosure board is issued to each target conversion board And the mark of the backup plate;So that mark, the mark of the backup plate of each target conversion board based on the enclosure board are true When itself is enclosure board or backup plate calmly, based on the BFD session between BFD session parameter maintenance and the opposite equip..
10. equipment as claimed in claim 9, it is characterised in that:
The master control borad is also used to when receiving the enclosure board failure of backup plate notice, from the enclosure board except failure it In outer target conversion board, enclosure board and backup plate are redefined.
CN201910120196.0A 2019-02-18 2019-02-18 A kind of BFD session maintaining method and distributed apparatus Pending CN109756399A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910120196.0A CN109756399A (en) 2019-02-18 2019-02-18 A kind of BFD session maintaining method and distributed apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910120196.0A CN109756399A (en) 2019-02-18 2019-02-18 A kind of BFD session maintaining method and distributed apparatus

Publications (1)

Publication Number Publication Date
CN109756399A true CN109756399A (en) 2019-05-14

Family

ID=66407573

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910120196.0A Pending CN109756399A (en) 2019-02-18 2019-02-18 A kind of BFD session maintaining method and distributed apparatus

Country Status (1)

Country Link
CN (1) CN109756399A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111654407A (en) * 2020-04-14 2020-09-11 新华三信息安全技术有限公司 Stacking system and bidirectional forwarding detection method thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1874315A (en) * 2006-06-21 2006-12-06 杭州华为三康技术有限公司 Method for recovering fault of multicast, and router of multicast
CN101150458A (en) * 2007-11-10 2008-03-26 华为技术有限公司 Method and device for single board detection
CN102025616A (en) * 2010-11-25 2011-04-20 中兴通讯股份有限公司 Method, device and switch for realizing BFD (Bidirectional Forwarding Detection)
CN104301140A (en) * 2014-10-08 2015-01-21 广州华多网络科技有限公司 Service request responding method, device and system
CN107566137A (en) * 2016-06-30 2018-01-09 华为技术有限公司 A kind of method and relevant apparatus of network detection
CN108600407A (en) * 2018-03-28 2018-09-28 新华三技术有限公司 A kind of IP address distribution method, device, equipment and machine readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1874315A (en) * 2006-06-21 2006-12-06 杭州华为三康技术有限公司 Method for recovering fault of multicast, and router of multicast
CN101150458A (en) * 2007-11-10 2008-03-26 华为技术有限公司 Method and device for single board detection
CN102025616A (en) * 2010-11-25 2011-04-20 中兴通讯股份有限公司 Method, device and switch for realizing BFD (Bidirectional Forwarding Detection)
CN104301140A (en) * 2014-10-08 2015-01-21 广州华多网络科技有限公司 Service request responding method, device and system
CN107566137A (en) * 2016-06-30 2018-01-09 华为技术有限公司 A kind of method and relevant apparatus of network detection
CN108600407A (en) * 2018-03-28 2018-09-28 新华三技术有限公司 A kind of IP address distribution method, device, equipment and machine readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111654407A (en) * 2020-04-14 2020-09-11 新华三信息安全技术有限公司 Stacking system and bidirectional forwarding detection method thereof
CN111654407B (en) * 2020-04-14 2022-05-27 新华三信息安全技术有限公司 Stacking system and bidirectional forwarding detection method thereof

Similar Documents

Publication Publication Date Title
JP4840236B2 (en) Network system and node device
CN108965123B (en) Link switching method and network communication system
CN101132320B (en) Method for detecting interface trouble and network node equipment
CN100389571C (en) Method for detecting chain circuit fault between end-to-end notes in mixed network
US8593945B2 (en) Connectivity fault management traffic indication extension
AU2006349311B2 (en) Resiliency schemes in communications networks
CN104980372A (en) Relay System And Switching Device
EP1734691A1 (en) Scalable selective alarm suppression for data communication network
CN104283711B (en) Fault detection method, node and system based on two-way converting detection BFD
CN106603261B (en) Hot backup method, first main device, standby device and communication system
CN101697626A (en) Communication fault detection method and system based on two-way forwarding detection protocol
CN105099905A (en) Relay System and Switching Device
CN105227456B (en) A kind of aggregated link failures restore the method and device of transmission
CN106487696B (en) Link failure detection method and device
CN104104596B (en) A kind of IRF divides treating method and apparatus
CN102546304B (en) BFD detection method, equipment and system
CN105049349A (en) Relay System and Switching Device
CN109756399A (en) A kind of BFD session maintaining method and distributed apparatus
CN107948000B (en) Method, device and system for switching main channel and standby channel
CN104253747A (en) Transmission method and transmission device for performing 1: 1 protection on message in link aggregation group
CN111953555A (en) Link detection method, CPE (customer premises equipment) and storage medium
CN108270593A (en) A kind of two-node cluster hot backup method and system
CN101183921B (en) Method and apparatus for guaranteeing continuousness of service stream
CN1855838B (en) Interface inverting method
CN112714060B (en) Link detection method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190514

RJ01 Rejection of invention patent application after publication