CN102025616A - Method, device and switch for realizing BFD (Bidirectional Forwarding Detection) - Google Patents

Method, device and switch for realizing BFD (Bidirectional Forwarding Detection) Download PDF

Info

Publication number
CN102025616A
CN102025616A CN2010105602574A CN201010560257A CN102025616A CN 102025616 A CN102025616 A CN 102025616A CN 2010105602574 A CN2010105602574 A CN 2010105602574A CN 201010560257 A CN201010560257 A CN 201010560257A CN 102025616 A CN102025616 A CN 102025616A
Authority
CN
China
Prior art keywords
ply
bfd
yarn drill
message
session
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
CN2010105602574A
Other languages
Chinese (zh)
Other versions
CN102025616B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201010560257.4A priority Critical patent/CN102025616B/en
Publication of CN102025616A publication Critical patent/CN102025616A/en
Application granted granted Critical
Publication of CN102025616B publication Critical patent/CN102025616B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention relates to the field of data communication, in particular to a method, a device and a switch for realizing BFD (Bidirectional Forwarding Detection) on an LACP (Link Aggregation Control Protocol) link by utilizing software. The method of the invention comprises the following steps of: receiving a negotiation message for establishing a BFD dialogue by a main control board through the LACP link, successfully negotiating, confirming a line card for processing the BFD dialogue and broadcasting the confirmed line card to various line cards of the LACP link; and receiving the broadcasting by a line card and sending the BFD message corresponding to the BFD dialogue to terminal equipment or receiving the BFD message corresponding to the BFD dialogue from the terminal equipment by the line card when it is confirmed that the line card is the line card for processing the BFD dialogue.

Description

A kind of method, device and switch of realizing that two-way forwarding detects
Technical field
The present invention relates to data communication field, especially relate to a kind of method, device and switch of realizing that two-way forwarding detects.
Background technology
The effect of BFD (two-way forwarding detection) is between adjacent forwarding engine (comprising interface, data link and the expansion engine that some are possible), by setting up path (path), provides a kind of low load, the inefficacy method for detecting in short detecting cycle.The another one effect of BFD provides a kind of independently detecting mechanism that can move on any protocol level, any medium.
At present, the BFD of distributed system has two kinds of software realization mechanisms:
One, master control borad is handled the centralized approach of all BFD messages.Be that negotiation packet, detection messages and transmission message are all handled by master control borad.Advantage is: all messages are all handled by master control borad, support the BFD of any three layers of link, comprise the BFD based on LACP.Shortcoming is: 1, can not satisfy the switch performance requirement, ply-yarn drill receives that message send master control earlier, is detected and is given out a contract for a project by master control, is transmitted by ply-yarn drill again.BFD requires very high to the message real-time, though the exchange message adopts quick asynchronous message between master control borad and the ply-yarn drill, but still do not reach the performance requirement of 10ms.2, can not satisfy specification requirement.At present, a video card is supported 128 session (session), and 12 ply-yarn drills are supported 1536 session, are spaced apart 100ms the detection time of each session, then the message of detection of master control borad per second and transmission will reach 15360, substantially exceed the disposal ability of master control borad.3, master control borad will be handled a large amount of messages, can cause the master control borad cpu busy.Master control borad is handled message BFD message up sending master control borad limited in one's ability, a large amount of, can cause the cpu busy of master control borad, and each business module all can't normally use.
For addressing the above problem, the general BFD that adopts following manner to realize distributed system detects in the prior art.The specific implementation method is: master control borad is only handled negotiation packet, consults successfully back session and is come detection messages, sent message by ply-yarn drill.Such advantage is: negotiation packet and detection messages and transmission message separate processes, negotiation packet is less demanding to real-time, focus on by master control borad, detection messages and transmission message are handled by some ply-yarn drills, handle and needn't be transmitted to master control borad, real-time performance is greatly improved, and has reduced the requirement to master control borad CPU disposal ability.In the present distribution switch system, mostly adopt this processing mode.
But adopt the BFD of this mode to detect, do not support business demand based on LACP.The application of LACP at present is more and more, and therefore the demand that the BFD based on LACP is detected is also more and more higher.At present, have with plate and stride two kinds of situations of version based on the member port of LACP, which ply-yarn drill the session of BFD is based upon, from which member port sends, and as part member port down, and other member port up, BFD this how to handle all be the problem that need to solve.Therefore, existing master control borad is only handled the BFD detection method of negotiation packet, does not support the business demand based on LACP.
Summary of the invention
The invention provides a kind of method, device and switch of realizing that two-way forwarding detects, can utilize software on the interface of LACP link, to realize the BFD function.
A kind of method that realizes that two-way forwarding detects comprises:
After master control borad receives the negotiation packet of setting up the BFD session and consults successfully by the LACP link, determine the ply-yarn drill of this BFD session of processing, and with definite ply-yarn drill by broadcasting to each ply-yarn drill of LACP link;
After described ply-yarn drill received broadcasting, when determining it self is the ply-yarn drill of handling this BFD session, the BFD message that then sends this BFD session correspondence was to opposite equip. or receive the BFD message of this BFD session correspondence from opposite equip..
A kind of switch comprises:
Master control borad after being used for receiving the negotiation packet of setting up the BFD session and consulting successfully by the LACP link, is determined the ply-yarn drill of this BFD session of processing, and with definite ply-yarn drill by broadcasting to each ply-yarn drill of LACP link;
At least one ply-yarn drill is used to receive described broadcasting, and when determining it self is the ply-yarn drill of handling this BFD session, and the BFD message that then sends this BFD session correspondence is to opposite equip. or receive the BFD message of this BFD session correspondence from opposite equip..
A kind of device of realizing that two-way forwarding detects comprises:
Determination module after being used for receiving the negotiation packet of setting up the BFD session and consulting successfully by the LACP link, is determined the ply-yarn drill of this BFD session of processing, and with definite ply-yarn drill by broadcasting to each ply-yarn drill of LACP link;
Processing module, after being used for online clamping and receiving broadcasting, when determining it self is the ply-yarn drill of handling this BFD session, the BFD message that then sends this BFD session correspondence is to opposite equip. or receive the BFD message of this BFD session correspondence from opposite equip..
The method that the two-way forwarding of the realization that the embodiment of the invention provides detects, after master control borad receives the negotiation packet of BFD and consults successfully by the LACP link, can from the ply-yarn drill of this LACP link correspondence, determine the ply-yarn drill of a ply-yarn drill as treatments B FD session, and with the ply-yarn drill of treatments B FD session sign by broadcasting to each ply-yarn drill, the ply-yarn drill of this treatments B FD session sends the BFD message of BFD session correspondence or receives the BFD message that opposite equip. sends to opposite equip..Adopt this method, make and only need handle under the prerequisite of negotiation packet, also can utilize software on the LACP LI(link interface), to realize the BFD function at master control borad.
Description of drawings
The method flow diagram that the two-way forwarding of realization that Fig. 1 provides for the embodiment of the invention detects;
The flow chart of the ply-yarn drill at the renewal BFD session place that Fig. 2 provides for the embodiment of the invention;
Two inter-exchanges that Fig. 3 provides for the embodiment of the invention are realized the handling process schematic diagram that two-way forwarding detects;
The structure chart of message between the BFD plate that Fig. 4 provides for the embodiment of the invention;
The structure chart of the BFD session announcement message that Fig. 5 provides for the embodiment of the invention;
The structure chart of the switch that Fig. 6 provides for the embodiment of the invention;
The structure chart of the device that the two-way forwarding of realization that Fig. 7 provides for the embodiment of the invention detects.
Embodiment
Based on the existing distributed BFD method of utilizing software to realize, can not on the LACP interface, realize the BFD function, the embodiment of the invention provides a kind of method that realizes that two-way forwarding detects, can only handle under the prerequisite of negotiation packet at master control borad, under the LACP of LACP link interface, realize the BFD function.
The method of the realization BFD that the embodiment of the invention provides, after master control borad receives the negotiation packet of BFD and consults successfully by the LACP link, can from the ply-yarn drill of this LACP link correspondence, determine the ply-yarn drill of a ply-yarn drill as treatments B FD session, and with the ply-yarn drill of treatments B FD session sign by broadcasting to each ply-yarn drill, the ply-yarn drill of this treatments B FD session sends the BFD message of BFD session correspondence or receives the BFD message that opposite equip. sends to opposite equip..Preferably, after other ply-yarn drills of this LACP link correspondence receive the BFD message of this BFD session correspondence, the BFD session of determining this BFD message correspondence is not to be handled by this ply-yarn drill, and then inquiry determines to handle the ply-yarn drill of this BFD session, and this BFD message is transmitted to the ply-yarn drill of handling this BFD session.
As shown in Figure 1, the method flow diagram that the two-way forwarding of realization that provides for the embodiment of the invention detects comprises:
After S101, master control borad receive the negotiation packet of setting up the BFD session and consult successfully by the LACP link, determine the ply-yarn drill of this BFD session of processing, and with definite ply-yarn drill by broadcasting to each ply-yarn drill of LACP link;
After S102, ply-yarn drill received broadcasting, when determining it self is when handling the ply-yarn drill of this BFD session, the BFD message that then sends this BFD session correspondence was to opposite equip. or receive the BFD message of this BFD session correspondence from opposite equip..
Receive message when ply-yarn drill and receive, determine it self is the ply-yarn drill of handling this BFD session, send the BFD message to opposite equip. or receive the BFD message of this BFD session correspondence from opposite equip.;
Preferably, above-mentioned steps also comprises:
Other ply-yarn drills of S103, this LACP link correspondence receive the BFD message of this BFD session correspondence, the ply-yarn drill of this BFD session of query processing, and this BFD message is transmitted to the ply-yarn drill of handling this BFD session.
After ply-yarn drill is received broadcasting, determine it self is not the ply-yarn drill of handling this BFD session, then do not send the BFD message to opposite equip., and behind the BFD message that receives the opposite equip. transmission, can inquiry determine to handle the ply-yarn drill of this BFD session, and this BFD message is transmitted to the ply-yarn drill of this BFD session of processing.
Because for the LACP link, local terminal sends to the BFD message of opposite end by the LACP link, can be received by the arbitrary port of any ply-yarn drill of opposite equip., in like manner, the BFD message that the opposite end sends also can be received by the arbitrary port of any ply-yarn drill of the local terminal equipment of LACP link correspondence.Receive the BFD message of this BFD session correspondence that the opposite end sends when the ply-yarn drill of LACP link correspondence after, determine whether this BFD session is self ply-yarn drill processing, handle if not self ply-yarn drill, the ply-yarn drill of this BFD session of query processing then, and this BFD message is transmitted to this ply-yarn drill.
Above-mentioned steps is the foundation of BFD session and reception, transmission BFD message flow process, when the ply-yarn drill off-line of handling this BFD session or fault, then needs to upgrade the ply-yarn drill (ply-yarn drill of treatments B FD session is hereinafter to be referred as the ply-yarn drill at BFD session place) of treatments B FD session.Below introduce in detail the flow chart of the ply-yarn drill that upgrades BFD session place.
LACP link among the present invention is meant the general designation of all links between the LACP member port of two neighbouring devices.
As shown in Figure 2, the flow chart for the ply-yarn drill that upgrades BFD session place comprises:
The ply-yarn drill timed sending session announcement message of S201, treatments B FD session is given other ply-yarn drills of this LACP link correspondence;
Wherein, the purpose that sends the session announcement message is to tell that other ply-yarn drills, this ply-yarn drill are the processors of this BFD session, and preferably, the time interval that sends the BFD message is identical with the time interval that sends the session announcement message;
S202, other ply-yarn drills receive the session announcement message, do not receive the session announcement message in the time that other ply-yarn drills are being set, and determine that then the ply-yarn drill of former processing BFD session breaks down or off-line;
S203, other ply-yarn drills are determined separately from the ply-yarn drill as this BFD session of processing, and beginning sends session announcement messages to other ply-yarn drills of local terminal.
Wherein, determine simultaneously from ply-yarn drill, consult then to determine that one of them ply-yarn drill is for handling the ply-yarn drill of this BFD session as this BFD session of processing when two or more ply-yarn drill.The principle of consulting can be set as required, and the ply-yarn drill that can set member's port numbers minimum is for handling the ply-yarn drill of this BFD session, and the perhaps ply-yarn drill of member port maximum is perhaps set wherein some ply-yarn drills as required for handling the ply-yarn drill of this BFD session.
Determine some ply-yarn drills for handling the ply-yarn drill of this BFD session, then the ply-yarn drill of this treatments B FD session continues to send the BFD message to opposite equip..
Describe the scheme of the embodiment of the invention in detail below in conjunction with concrete accompanying drawing.
As shown in Figure 3, realize the handling process schematic diagram that two-way forwarding detects for two inter-exchanges that the embodiment of the invention provides, concrete process comprises:
Handling process with switch 1 is that example describes, and concerning switch 2, its processing procedure is identical with switch 1, repeats no more here.
1) master control borad of switch 1 by between LACP link and the switch 2 through consultation message negotiation set up the BFD session, after consulting successfully, exchange opportunity determines that according to route this BFD session handled by which ply-yarn drill on it.For switch 1, its master control borad is determined this BFD session by ply-yarn drill 1 processing, and for switch 2, its master control borad determines that this session is by 2 processing of the ply-yarn drill on it.
Wherein, the negotiations process between the master control borad is a prior art, mainly is the parameters such as transmission time interval of consulting the BFD message, is not described in detail here.After consulting successfully, it is the ply-yarn drill of handling this BFD session that master control borad need be specified a ply-yarn drill in this LACP link, general according to minimum principle, promptly elects the ply-yarn drill of the ply-yarn drill of least member's port correspondence in the LACP link for this BFD session of processing, certainly, also can select ply-yarn drill as required.
After the master control borad of switch 1 determines that ply-yarn drill 1 is for the ply-yarn drill of handling this BFD session, ply-yarn drill 1 can be announced each ply-yarn drill of this LACP link correspondence for the information broadcast of handling this BFD session.
2) send the BFD message
Receive the message of master control borad broadcasting when ply-yarn drill 1 after, determine to send this BFD message to switch 2 from as the ply-yarn drill of handling this BFD session.
Receive the message of master control borad broadcasting when other ply-yarn drills (2,3) after, determine it self is not the ply-yarn drill of handling this BFD session, then do not send the BFD message.
3) receive the BFD message
Receive the BFD message of this BFD session correspondence that opposite equip. sends when ply-yarn drill 1 after, determine that this BFD session is that self handles, then directly upgrade the time of reception of this session, and when determining that this BFD message is the UP message, directly abandon, when this BFD message is not the UP message, with this BFD message reporting master control borad.
Receive the BFD message of this BFD session correspondence that opposite equip. sends when other ply-yarn drills (2,3) after, determine it self is not the processor of this BFD session, then inquiry determines that ply-yarn drill 1 is the processor of this BFD session, then the BFD message that receives directly is transmitted to ply-yarn drill 1, ply-yarn drill 1 receives the BFD message that other ply-yarn drills are transmitted, then the time of reception with this BFD session upgrades, and when determining that this BFD message is the UP message, directly abandon, when this BFD message is not the UP message, with this BFD message reporting master control borad.
Preferably, after other ply-yarn drills (2,3) receive the BFD message of opposite equip. transmission, handled by ply-yarn drill 1 when the BFD session of determining this BFD message correspondence, this BFD message that then will receive is encapsulated as message between the BFD plate, and sends to ply-yarn drill 1.Message is meant the BFD message that sends between the BFD plate between each ply-yarn drill of a switch inside.
Wherein, the structure chart of message specifically comprises as shown in Figure 4 between the BFD plate:
DMAC: the MAC of source ply-yarn drill;
SMAC: the MAC of purpose ply-yarn drill;
TYPE: type of message, two bytes are defined as 0xeeee here, message between expression BFD plate;
The BFD message content: the particular content of message between the BFD plate, in full accord with the BFD message content that receives.
Wherein, the structure chart of BFD session announcement message specifically comprises as shown in Figure 5:
DMAC: the MAC of source ply-yarn drill;
SMAC: the MAC of purpose ply-yarn drill;
TYPE: type of message, two bytes are defined as 0xeeef here, expression BFD session announcement message;
Session announcement message content: local terminal descriptor localDiser, 4 bytes; Remote descriptors remoteDiser, 4 bytes.
Above process be the foundation of BFD session and the flow process that sends, receive the BFD message.Handling process when introducing ply-yarn drill 1 off-line or fault below.
Concrete handling process comprises:
1) during ply-yarn drill 1 operate as normal, timed sending session announcement message is given other ply-yarn drills (2,3), and the purpose that sends the session announcement message is to notify other ply-yarn drills, and ply-yarn drill 1 is the processor who handles this BFD session.
2) other ply-yarn drills (2,3) then can regularly receive the session announcement message that ply-yarn drill 1 sends, and the time of reception of recording conversation notification packet.
When ply-yarn drill 1 off-line or when breaking down, then ply-yarn drill (2,3) can not receive the session announcement message, in the time that ply-yarn drill (2,3) is being set, do not receive the session announcement message that ply-yarn drill 1 sends, then ply-yarn drill (2,3) is determined separately from the ply-yarn drill as this BFD session of processing, ply-yarn drill 2,3 begins to send the BFD message to opposite equip. separately, and sends the session announcement message to other ply-yarn drill of LACP link.
Wherein, when ply-yarn drill (2,3) is determined simultaneously from the processor as this BFD session, then ply-yarn drill 2, ply-yarn drill 3 can begin to send the session announcement message to other ply-yarn drills simultaneously, it is the session announcement message that ply-yarn drill 2 can receive ply-yarn drill 3, ply-yarn drill 3 can receive the session announcement message of ply-yarn drill 2, and then ply-yarn drill 2,3 can be according to former definite one of them ply-yarn drill of setting for handling the ply-yarn drill of this BFD session.Wherein, the principle of setting can be minimum principle, promptly elects the little ply-yarn drill of slot number to be the processor, and the ply-yarn drill that slot number is big stops to send the session announcement message automatically.Certainly, the principle of setting also can be other principles, can set arbitrarily as required.The principle of setting can directly send to each ply-yarn drill by master control borad, or by ply-yarn drill 1 when sending the control message, simultaneously the principle of setting (being switching principle) is sent to other ply-yarn drills, certainly, also can determine by consulting between other ply-yarn drills.Ply-yarn drill 2,3 determines that one of them for handling the ply-yarn drill of this BFD session, continues to send the BFD message to opposite equip., and other ply-yarn drill to LACP sends BFD session announcement message simultaneously, and then the another one ply-yarn drill stops to send BFD message and session announcement message automatically.
Preferably, 1) in, when ply-yarn drill 1 timed sending session announcement message was given other ply-yarn drills, the time of all right fixed interval, wherein, interlude was identical with the transmission time interval of BFD message; Then 2) in, when not receiving the session announcement message in the time that other ply-yarn drills are set, at least one blanking time of the time of setting, be detection multiple-1 blanking time of opposite equip. to the maximum.The detection multiple of opposite equip., be meant that opposite equip. does not receive the BFD message in the time interval of this detection multiple, then determine this LACP link failure, therefore, need be before opposite equip. be reported fault, the session of ply-yarn drill 1 is switched to ply-yarn drill 2 or 3, and just ply-yarn drill 2 or 3 will be determined ply-yarn drill 1 fault before opposite equip. is reported fault, and promptly the time of She Dinging is detection multiple-1 blanking time of opposite equip. to the maximum.
Adopt the method for the foregoing description, can only handle negotiation packet at master control borad, each ply-yarn drill is responsible for sending and receiving under the prerequisite of BFD message, can realize the BFD function on the interface of LACP link.
The embodiment of the invention also provides a kind of switch, as shown in Figure 6, comprising:
Master control borad 61 after being used for receiving the negotiation packet of setting up the BFD session and consulting successfully by the LACP link, is determined the ply-yarn drill of this BFD session of processing, and with definite ply-yarn drill by broadcasting to each ply-yarn drill of LACP link;
At least one ply-yarn drill 62 is used to receive described broadcasting, and when determining it self is when handling the ply-yarn drill of this BFD session, and the BFD message that then sends this BFD session correspondence is to opposite equip. or receive the BFD message of this BFD session correspondence from opposite equip..
Preferably, ply-yarn drill 62 also is used to receive the BFD message of this BFD session correspondence, the ply-yarn drill of this BFD session of query processing, and this BFD message is transmitted to the ply-yarn drill of handling this BFD session.
Preferably, ply-yarn drill 62 also is used for going back timed sending session announcement message other ply-yarn drills to this LACP link correspondence when self being when handling the ply-yarn drill of this BFD session; Perhaps
Ply-yarn drill 62 also is used for then determining from the ply-yarn drill as this BFD session of processing separately when self not being when handling the ply-yarn drill of this BFD session, not receive described session announcement message in the time of setting.
The embodiment of the invention also provides a kind of device of realizing that two-way forwarding detects, as shown in Figure 7, comprising:
Determination module 71 after being used for receiving the negotiation packet of setting up the BFD session and consulting successfully by the LACP link, is determined the ply-yarn drill of this BFD session of processing, and with definite ply-yarn drill by broadcasting to each ply-yarn drill of LACP link;
Processing module 72, after being used for online clamping and receiving broadcasting, when determining it self is when handling the ply-yarn drill of this BFD session, the BFD message that then sends this BFD session correspondence is to opposite equip. or receive the BFD message of this BFD session correspondence from opposite equip..
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (10)

1. realize that two-way forwarding detects the method for BFD for one kind, it is characterized in that, comprising:
After master control borad receives the negotiation packet of setting up the BFD session and consults successfully by Link Aggregation Control Protocol LACP link, determine the ply-yarn drill of this BFD session of processing, and with definite ply-yarn drill by broadcasting to each ply-yarn drill of LACP link;
After described ply-yarn drill received broadcasting, when determining it self is the ply-yarn drill of handling this BFD session, the BFD message that then sends this BFD session correspondence was to opposite equip. or receive the BFD message of this BFD session correspondence from opposite equip..
2. the method for claim 1 is characterized in that, also comprises:
Other ply-yarn drills of this LACP link correspondence receive the BFD message of this BFD session correspondence, the ply-yarn drill of this BFD session of query processing, and this BFD message is transmitted to the ply-yarn drill of handling this BFD session.
3. the method for claim 1 is characterized in that, also comprises:
Also timed sending session announcement of the ply-yarn drill message of this BFD session of described processing is given other ply-yarn drills of this LACP link correspondence;
Described other ply-yarn drills do not receive described session announcement message in the time of setting, then determine from the ply-yarn drill as this BFD session of processing separately.
4. method as claimed in claim 3 is characterized in that, also comprises:
Determine simultaneously from as the ply-yarn drill of handling this BFD session when at least two ply-yarn drills, then consult or determine that according to the principle of setting one of them ply-yarn drill is for handling the ply-yarn drill of this BFD session.
5. method as claimed in claim 2 is characterized in that, described this BFD message is transmitted to the ply-yarn drill of handling this BFD session, is specially:
Other ply-yarn drills of this LACP link correspondence are encapsulated as message between the BFD plate with the BFD message that receives, and send to the ply-yarn drill of handling this BFD session.
6. method as claimed in claim 5 is characterized in that, message comprises between described BFD plate: MAC, type of message and the message content of the MAC of purpose ply-yarn drill, source ply-yarn drill.
7. a switch is characterized in that, comprising:
Master control borad, be used for receiving and set up after two-way forwarding detects the negotiation packet of BFD session and consult successfully by Link Aggregation Control Protocol LACP link, determine to handle the ply-yarn drill of this BFD session, and with the ply-yarn drill determined by broadcasting to each ply-yarn drill of LACP link;
At least one ply-yarn drill is used to receive described broadcasting, and when determining it self is the ply-yarn drill of handling this BFD session, and the BFD message that then sends this BFD session correspondence is to opposite equip. or receive the BFD message of this BFD session correspondence from opposite equip..
8. switch as claimed in claim 7 is characterized in that, described ply-yarn drill also is used to receive the BFD message of this BFD session correspondence, the ply-yarn drill of this BFD session of query processing, and this BFD message is transmitted to the ply-yarn drill of handling this BFD session.
9. switch as claimed in claim 7 is characterized in that, described ply-yarn drill also is used for going back timed sending session announcement message other ply-yarn drills to this LACP link correspondence when self being when handling the ply-yarn drill of this BFD session; Perhaps
Described ply-yarn drill also is used for then determining from the ply-yarn drill as this BFD session of processing separately when self not being when handling the ply-yarn drill of this BFD session, not receive described session announcement message in the time of setting.
10. realize that two-way forwarding detects the device of BFD for one kind, it is characterized in that, comprising:
Determination module after being used for receiving the negotiation packet of setting up the BFD session and consulting successfully by Link Aggregation Control Protocol LACP link, is determined the ply-yarn drill of this BFD session of processing, and with definite ply-yarn drill by broadcasting to each ply-yarn drill of LACP link;
Processing module, after being used for online clamping and receiving broadcasting, when determining it self is the ply-yarn drill of handling this BFD session, the BFD message that then sends this BFD session correspondence is to opposite equip. or receive the BFD message of this BFD session correspondence from opposite equip..
CN201010560257.4A 2010-11-25 2010-11-25 Method, device and switch for realizing BFD (Bidirectional Forwarding Detection) Active CN102025616B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010560257.4A CN102025616B (en) 2010-11-25 2010-11-25 Method, device and switch for realizing BFD (Bidirectional Forwarding Detection)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010560257.4A CN102025616B (en) 2010-11-25 2010-11-25 Method, device and switch for realizing BFD (Bidirectional Forwarding Detection)

Publications (2)

Publication Number Publication Date
CN102025616A true CN102025616A (en) 2011-04-20
CN102025616B CN102025616B (en) 2014-09-10

Family

ID=43866490

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010560257.4A Active CN102025616B (en) 2010-11-25 2010-11-25 Method, device and switch for realizing BFD (Bidirectional Forwarding Detection)

Country Status (1)

Country Link
CN (1) CN102025616B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016206635A1 (en) * 2015-06-25 2016-12-29 中兴通讯股份有限公司 Lacp-based forwarding detection method and system
CN106301840A (en) * 2015-05-27 2017-01-04 中兴通讯股份有限公司 The sending method of two-way converting detection BFD message and device
WO2017000096A1 (en) * 2015-06-27 2017-01-05 华为技术有限公司 Link recovery method and network device
CN107493209A (en) * 2017-09-12 2017-12-19 安徽皖通邮电股份有限公司 The processing unit and method of a kind of bidirectional forward detection report
CN107612754A (en) * 2017-10-30 2018-01-19 新华三技术有限公司 Two-way conversion link fault detection method, device and apparatus for network node
CN108600040A (en) * 2018-03-16 2018-09-28 国电南瑞科技股份有限公司 A kind of distributed system node failure detection method based on High Availabitity detection node
CN109547274A (en) * 2019-01-28 2019-03-29 新华三技术有限公司 A kind of enclosure board switching method, device and first network equipment
CN109756399A (en) * 2019-02-18 2019-05-14 新华三技术有限公司 A kind of BFD session maintaining method and distributed apparatus
CN109787860A (en) * 2019-01-15 2019-05-21 新华三技术有限公司 Two-way conversion link detection method and device
CN110875880A (en) * 2018-08-29 2020-03-10 北京华为数字技术有限公司 Data transmission method, related equipment, system and computer storage medium
CN111865774A (en) * 2019-04-30 2020-10-30 瞻博网络公司 Fast failure detection mechanism on multi-homed network nodes and/or hosts
CN114221879A (en) * 2021-11-18 2022-03-22 锐捷网络股份有限公司 Keep-alive detection method and device for MACsec channel

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1941683A (en) * 2005-09-30 2007-04-04 华为技术有限公司 Method and system for re-distributing triggered link aggregate service
CN101110663A (en) * 2007-08-31 2008-01-23 华为技术有限公司 Method, system and device for implementing periodic line failure processing
US20080317039A1 (en) * 2007-06-20 2008-12-25 Michael Satterlee Methods, systems, and/or devices for providing network access

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1941683A (en) * 2005-09-30 2007-04-04 华为技术有限公司 Method and system for re-distributing triggered link aggregate service
US20080317039A1 (en) * 2007-06-20 2008-12-25 Michael Satterlee Methods, systems, and/or devices for providing network access
CN101110663A (en) * 2007-08-31 2008-01-23 华为技术有限公司 Method, system and device for implementing periodic line failure processing

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106301840A (en) * 2015-05-27 2017-01-04 中兴通讯股份有限公司 The sending method of two-way converting detection BFD message and device
CN106301871A (en) * 2015-06-25 2017-01-04 中兴通讯股份有限公司 A kind of forwarding detection (BFD) method based on lacp and system
WO2016206635A1 (en) * 2015-06-25 2016-12-29 中兴通讯股份有限公司 Lacp-based forwarding detection method and system
CN107534576B (en) * 2015-06-27 2020-03-31 华为技术有限公司 Link recovery method and network equipment
WO2017000096A1 (en) * 2015-06-27 2017-01-05 华为技术有限公司 Link recovery method and network device
CN107534576A (en) * 2015-06-27 2018-01-02 华为技术有限公司 A kind of link restoring method and the network equipment
CN107493209A (en) * 2017-09-12 2017-12-19 安徽皖通邮电股份有限公司 The processing unit and method of a kind of bidirectional forward detection report
CN107612754A (en) * 2017-10-30 2018-01-19 新华三技术有限公司 Two-way conversion link fault detection method, device and apparatus for network node
CN107612754B (en) * 2017-10-30 2021-07-06 新华三技术有限公司 Bidirectional forwarding link fault detection method and device and network node equipment
CN108600040A (en) * 2018-03-16 2018-09-28 国电南瑞科技股份有限公司 A kind of distributed system node failure detection method based on High Availabitity detection node
CN108600040B (en) * 2018-03-16 2022-03-15 国电南瑞科技股份有限公司 Distributed system node fault detection method based on high-availability detection node
CN110875880A (en) * 2018-08-29 2020-03-10 北京华为数字技术有限公司 Data transmission method, related equipment, system and computer storage medium
CN110875880B (en) * 2018-08-29 2022-03-25 北京华为数字技术有限公司 Data transmission method, related equipment, system and computer storage medium
CN109787860A (en) * 2019-01-15 2019-05-21 新华三技术有限公司 Two-way conversion link detection method and device
CN109547274A (en) * 2019-01-28 2019-03-29 新华三技术有限公司 A kind of enclosure board switching method, device and first network equipment
CN109756399A (en) * 2019-02-18 2019-05-14 新华三技术有限公司 A kind of BFD session maintaining method and distributed apparatus
CN111865774A (en) * 2019-04-30 2020-10-30 瞻博网络公司 Fast failure detection mechanism on multi-homed network nodes and/or hosts
CN114221879A (en) * 2021-11-18 2022-03-22 锐捷网络股份有限公司 Keep-alive detection method and device for MACsec channel

Also Published As

Publication number Publication date
CN102025616B (en) 2014-09-10

Similar Documents

Publication Publication Date Title
CN102025616B (en) Method, device and switch for realizing BFD (Bidirectional Forwarding Detection)
CN102075343B (en) An out-of-band management realization method, a system for the same and an out-of-band management switch
EP3352431B1 (en) Network load balance processing system, method, and apparatus
CN101610212B (en) Method and card for realizing reliable data plane communication
CN103312605A (en) Gateway device identity setting method and management gateway device
CN102025630A (en) Load balancing method and load balancing system
CN102546778B (en) Agent-based cross-platform wireless network access controller multi-board communication method
CN101902360A (en) Method for synchronizing information between master equipment and standby equipment and server
CN103916275A (en) BFD detection device and method
CN102045332A (en) Method for processing control message in intelligent resilient framework and line card boards
CN103036716A (en) Method and system for link switchover
CN103312593B (en) A kind of message distributing system and method
CN103514121B (en) A kind of network card redundancy switching method under WindowsXp operating system
CN103731286A (en) Method and device for distributing aggregation port IDs
CN102946525A (en) Multicast service management device and forwarding device
CN103532863A (en) Method and device for realizing software stacking
CN101958939A (en) Automatic distribution method and system for multi-machine communication node equipment key address
JP6049543B2 (en) Optical communication system, master station device, slave station device, switching control device, control device, management information acquisition method, and line switching method
CN103607360A (en) Message processing method, line card and switching equipment
KR100451786B1 (en) Automatic management method for socket of mobile communication system
CN103036724A (en) State information transmission method and network equipment and combination equipment
CN110365802B (en) Message transmission method, message forwarding equipment and storage medium
CN104079398A (en) Data communication method, device and system
CN102143072A (en) Method for fluid control configuration and network equipment
CN105763412A (en) Communication method in virtual switching cluster and apparatus thereof

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