CN101860491B - Aggregation type link bidirectional forwarding detection method and device thereof - Google Patents

Aggregation type link bidirectional forwarding detection method and device thereof Download PDF

Info

Publication number
CN101860491B
CN101860491B CN2010102072947A CN201010207294A CN101860491B CN 101860491 B CN101860491 B CN 101860491B CN 2010102072947 A CN2010102072947 A CN 2010102072947A CN 201010207294 A CN201010207294 A CN 201010207294A CN 101860491 B CN101860491 B CN 101860491B
Authority
CN
China
Prior art keywords
ply
aggregation type
recipient
type link
sender
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.)
Active
Application number
CN2010102072947A
Other languages
Chinese (zh)
Other versions
CN101860491A (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.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication Technology 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 Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN2010102072947A priority Critical patent/CN101860491B/en
Publication of CN101860491A publication Critical patent/CN101860491A/en
Application granted granted Critical
Publication of CN101860491B publication Critical patent/CN101860491B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides an aggregation type link distributed bidirectional forwarding detection method which can realize the separation of receiving and sending of a bidirectional forwarding detection control packet, and a device for realizing the method. The aggregation type link bidirectional forwarding detection method comprises the following steps: using a main control card to initially select a sender and a receiver of the bidirectional forwarding detection control packet, and needing to switch the sender or the receiver when the main control card perceives the change of a physical link of an aggregation type link, wherein one aggregation type link only has one sender and one receiver. The method switches the receiver or the sender of the bidirectional forwarding detection control packet rather than switching a bidirectional forwarding detection conversation, and the receiver and the sender can be positioned in different line cards, thereby solving the problem that the existing bidirectional forwarding detection conversation is constantly switched in the aggregation type link.

Description

Aggregation type link bidirectional forwarding detection method and equipment thereof
Technical field
The present invention relates to the network technology of data communication field, the two-way forwarding that relates in particular to aggregation type link detects (Bidirectional Forwarding Detection, BFD) technology.
Background technology
The BFD agreement is the unified testing mechanism of the standardized the whole network of cover, is used for the connection situation of fast detecting, monitor network path or IP routing forwarding.It provides the quick fault testing mechanism of a kind of general, standardized, media independent, protocol-independent, can be each upper layer application protocol such as Routing Protocol, MPLS(Multiprotocol Label Switching) etc. the fault of two-way forward-path between two equipment of fast detecting uniformly.
It is a kind of independent HELLO agreement of high speed that two-way forwarding detects, can be for detection of the path failure of any kind between a pair of neighbor systems.Two-way forwarding detects carries out peering session between a pair of neighbor systems, a pair of neighbor systems is set up the periodic detection messages that sends on the passage of session between them, if the detection messages of opposite end is not received by certain system in the sufficiently long time, then think and in this certain part to the duplex channel of adjacent system fault has taken place.Under certain conditions, in order to reduce load, the transmission between the system and receiving velocity need to consult.Each system can estimate that own acceptable sends and receive the speed of bidirectional forward detection report in order to consult to reach an agreement with regard to the frequency of carrying out fault detect with neighbours.And these estimations can change to adapt to different environment at any time.Article one, two-way converting inspection session is based on the needs of the concrete application of using it and sets up.When having mulitpath between a pair of identical system, between them, also can set up many two-way converting inspection sessions.No matter be when setting up two-way converting inspection session, still when needing for a certain reason two-way converting inspection session dismantled, two-way forwarding detected state machine has all been realized three-way handshake, all knows the variation of state to guarantee both sides.Two-way forwarding detects can be extracted as a kind of simple service.Two-way forwarding the basic service that provides is provided sets up, destroys, revises a session exactly.When session is that Up(finishes) when state or Down (disconnection) state two-way forwarding detect the client that all can notify it.Detect in order to adapt to faster, in general, the cycle that two-way forwarding detects is a millisecond rank, and the link of detection has diversity.
Aggregation type link is that a plurality of physical links are aggregated into the link of a logic by manual or dynamic mode, as shown in Figure 1.Link after the polymerization can provide bigger bandwidth, littler propagation delay time, and higher connection reliability.The prior art scheme of aggregation type link comprises: (1) is based on " ppp multilink agreement " among the RFC1990, Multi-Link Point-to-Point Protocol has been described, it is point-to-point that (Point-to-Point Protocol, PPP) multilink is to communicate by a plurality of PPP physical interfaces at two equipment rooms.A plurality of PPP physical interfaces all belong to same logic interfacing, use same IP address to carry out ppp negotiation; The IP message sends from a plurality of PPP physical interfaces after by the MultiLink PPP burst through logic interfacing.At receiving terminal, each PPP physical interface converges to the datagram unification of burst on the logic interfacing of receiving terminal and reassembles into the IP message, hands over the IP layer to handle then.(2) based on " multilink FR UNI/NNI carries on an agreement " of FRF.16.1, described at User Network Interface (User-to-Network Interface, UNI) and network to network interface (Network-to-Network Interface, how the frame relay service of multilink is provided NNI), its core concept is that a plurality of physical circuits are bound physical circuit of simulation, provides in this way and the same frame relay service of an original physical circuit.(3) based on " link aggregate control protocol " of IEEE802.3ad, the agreement that link dynamically converges has been described, link aggregation is a plurality of trunkings to be formed one together converge group, uses the upper layer entity of link aggregation service that same many physical links that converge in the group are considered as a logical links.To realize output/input load sharing in each member port in converging group, increase link bandwidth.Simultaneously dynamic backup each other between same each member port that converges group provides higher connection reliability.(4) other realizes the technical scheme of multilink polymerization, comprises the method for manual realization link aggregation etc.
At present, realize that in distributed apparatus the scheme that the aggregation type link bidirectional forwarding detects mainly contains two kinds, described distributed apparatus is made up of main control card and at least one ply-yarn drill.First kind of centralized two-way converting inspection session scheme, in this scheme, two-way forwarding detects all sessions and all concentrates in the main control card, when the situation of physical link in the main control card perception aggregation type link changes, to announce to bidirectional transmission detecting protocol, bidirectional transmission detecting protocol will be selected new physical link transmitting-receiving bidirectional to transmit according to this variation and detect the control message.The changed condition of described physical link comprises, the inefficacy of a certain physical link, and new physical link adds aggregation type link etc.The shortcoming of this mode is: (1) all sessions concentrate on the main control card, have strengthened the burden of main control card, thereby cause the two-way converting inspection session can not fast detecting.(2) break down and a certain link of ply-yarn drill correspondence when not breaking down when main control card, two-way converting inspection session may obtain error notification.
Another kind is that distributed bidirectional is transmitted detection scheme, see Chinese patent application CN101395853A, in this scheme, set up one or more " awaiting orders " two-way converting inspection session at one or more ply-yarn drills, described ply-yarn drill has one or more aggregation type links.When aggregation type link set up finish after, with one in the two-way converting inspection session of awaiting orders as movable two-way converting inspection session, described active session is carried out the transmitting-receiving that two-way forwarding detects the control message.When the physical link that sends message in the aggregation type link breaks down, movable two-way converting inspection session switches to another available link, if do not have link to use this moment, the two-way converting inspection session of then will awaiting orders becomes active session, if but do not have the available two-way converting inspection session of awaiting orders, would determine that then this aggregation type link lost efficacy.From said process as can be seen, two-way converting inspection session on the described scheme Dynamic Maintenance aggregation type link replaces as the movable two-way converting inspection session that is used for aggregation type link by the one or more two-way converting inspection sessions of awaiting orders on the ply-yarn drill of correspondence.Because the available physical link changes often in the aggregation type link, thereby the Dynamic Maintenance aggregation type link has adapted to these characteristics preferably.Yet the bulk migration of two-way converting inspection session in the aggregation type link means that sending and receive two-way forwarding detection control message must carry out at same ply-yarn drill, and this has limited the application of two-way converting inspection session detection aggregation type link.On the other hand, be not same physical link if receive and send the physical link of two-way forwarding detection control message, may cause that then session does not stop to switch, thereby cause two-way forwarding to detect problems such as control message dropping even network concussion.
Summary of the invention
The invention provides a kind of aggregation type link distributed bidirectional forwarding detection method that can realize the transmitting-receiving separation of two-way forwarding detection control message, and the equipment of realizing this method.
Aggregation type link bidirectional forwarding detection method is characterized in that, may further comprise the steps:
The upper layer application protocol transmission session of a, main control card is set up message and is set up two-way converting inspection session to first notification module of main control card;
First notification module of b, main control card receives described session and sets up message, and the ply-yarn drill at notice aggregation type link place is set up corresponding two-way converting inspection session;
C, the two-way forwarding of main control card initial selected detect sender and the recipient of control message; Have only a sender and a recipient in the aggregation type link;
D, after the physical link of main control card perception aggregation type link changes, need switch sender or recipient.
Aggregation type link comprises: point-to-point multilink, frame relay multilink and based on VLAN (Virtual LAN, link aggregation VLAN) etc.
Initial selected among the step c is to finish according to preset algorithm, common better simply initial selected is ply-yarn drill slot number smaller, the sender of initial selected and recipient can be positioned on the same ply-yarn drill, also can be positioned at different ply-yarn drills, be not limited at same ply-yarn drill sender, recipient, sender, recipient can be switched and be arranged in so long as belong to any ply-yarn drill of this aggregation type link.Compare the two-way forwarding detection scheme of existing distributed, be the Dynamic Maintenance aggregation type link equally, but the present invention is switched two-way converting inspection session, but switch dual is to transmitting recipient or the sender who detects the control message, and recipient, sender can be positioned at different ply-yarn drills, solved existing two-way converting inspection session and do not stop the problem switched in aggregation type link.
Further, be not distributed in the system of ply-yarn drill at aggregation type link, switching on the main control card of sender and recipient carried out; Be distributed in the system of ply-yarn drill at aggregation type link, the sender of two-way converting inspection session and recipient's switching are all finished at ply-yarn drill.
In the steps d, if do not have sender or recipient available, think that then aggregation type link breaks down, upper layer application protocol sends deletion two-way converting inspection session message.
The physical link of aggregation type link changes that the physical link that comprises recipient or sender place changes, added new physical link or deleted existing physical link in the aggregation type link in the aggregation type link;
When the new physical link that adds is positioned at a new ply-yarn drill, then set up two-way converting inspection session at new ply-yarn drill;
When deletion on the ply-yarn drill physical link and this ply-yarn drill do not have described aggregation type link other physical link the time, then delete the two-way converting inspection session on this ply-yarn drill.
Physical link when the recipient place changes, and then switches the recipient;
Physical link when the sender place changes, and then switches the sender;
When non-recipient receives bidirectional forward detection report from aggregation type link, then switch the recipient.
It is to finish or finish at ply-yarn drill at main control card that change action in the steps d can transmit in the checkout equipment that the existing logical architecture of system selects flexibly according to aggregation type link bidirectional.
Aggregation type link bidirectional is transmitted checkout equipment, comprises main control card and at least one ply-yarn drill, and main control card comprises first notification module, and ply-yarn drill comprises second notification module; All include recipient's module, sender's module in each ply-yarn drill; Main control card or ply-yarn drill include handover module;
First notification module is used for, the sender of initial selected two-way converting inspection session and recipient; Receive that the two-way converting inspection session that upper layer application protocol sends is set up, deletion information and sending to the second notification module, receive link failure information and sending that second notification module sends to the upper strata application protocol; When handover module was positioned at main control card, the physical link of the first notification module perception aggregation type link changed, and in the time of need switching sender or recipient, sent switching notice;
Second notification module is used for, and sends link failure message to the first notification module, receives two-way converting inspection session foundation, deletion message that first notification module sends; When handover module was positioned at ply-yarn drill, the physical link of the second notification module perception aggregation type link changed, and in the time of need switching sender or recipient, sent switching notice;
Handover module is used for, and enables or loses efficacy according to sender's module, recipient's module in the switching notice control ply-yarn drill;
Sender's module is used for, and makes up two-way forwarding and detects the control message and send to opposite equip., has only a sender's module in the ply-yarn drill to be enabled in all ply-yarn drills at aggregation type link place;
Recipient's module is used for, and receives two-way forwarding and detects the control message, has only a recipient's module in the ply-yarn drill to be enabled in all ply-yarn drills at aggregation type link place.
Optionally, the two-way converting inspection session state is saved in the main control card, and handover module is first handover module that is positioned at main control card; Also comprise second notification module that is positioned at ply-yarn drill.
Optionally, the two-way converting inspection session state is saved in the ply-yarn drill of recipient place, and handover module is second handover module that is positioned at ply-yarn drill; Also comprise first notification module that is positioned at main control card.
First handover module and second handover module can be selected in existing device flexibly, if ply-yarn drill has the information of all physical links in the aggregation type link, then can only keep second handover module by cutting first handover module, equally, if have only main control card to have the aggregation type link complete information, then can only keep first handover module by cutting second handover module.
Angle from fault-tolerance, equipment keeps first handover module that is positioned at main control card simultaneously, second handover module that is positioned at ply-yarn drill also should be all right, but need carry out the two-way converting inspection session state synchronized, namely main control card and ply-yarn drill all need to have simultaneously the two-way converting inspection session state of preserving simultaneously.The variation of second notification module perception link on ply-yarn drill notifies second handover module to switch then, if handoff failure, second notification module is notified first notification module; On the other hand, after the variation of the first notification module perception aggregation type link, notify first handover module to switch then on the main control card, if handoff failure, first notification module is notified second notification module.
The invention has the beneficial effects as follows, strengthen two-way forwarding and detected the applicability that is applied to aggregation type link, solved when physical link changes in the aggregation type link two-way converting inspection session transmitting-receiving simultaneously and dealt with problems such as causing controlling message dropping even network concussion improperly, can significantly improve aggregation type link bidirectional and transmit the stability that detects.
Description of drawings
Fig. 1 is the schematic diagram of aggregation type link in the prior art;
Fig. 2 is that aggregation type link bidirectional is transmitted the schematic diagram that detects network environment in the prior art;
Fig. 3 is embodiment 1 flow chart;
Fig. 4 is embodiment 2 flow charts;
Fig. 5 is the structured flowchart of embodiment 1;
Fig. 6 is the structured flowchart of embodiment 2.
Embodiment
The present invention is the technical scheme that the distributed BFD of a kind of aggregation type link detects, because having realized the transmitting-receiving of BFD control message separates, can select sender and the recipient of BFD control message flexibly, thereby can adapt to the variation of the multiple link circuit condition of aggregation type link, strengthened the stability that BFD detects aggregation type link.Simultaneously, because handover module can supply cutting in the equipment, can adapt to multiple distributed system or equipment, thereby strengthen the practicality of described technical scheme greatly.
In the present invention, according to different distributed systems the distributed BFD detection mode of multiple different aggregation type link can be arranged, such as,
Mode one, aggregation type link are not distributed to realizes in the system of ply-yarn drill that BFD detects;
Mode two, aggregation type link have been distributed to realizes in the system of ply-yarn drill that BFD detects;
In the described mode one, because aggregation type link does not distribute in distributed apparatus, thereby ply-yarn drill does not have the complete information of all physical links in the aggregation type link, thereby keep first handover module on the main control card in this mode, give up second handover module on the ply-yarn drill, the sender of BFD session and recipient are selected by first handover module.In the described mode two, because aggregation type link distributes, on any ply-yarn drill at aggregation type link place the aggregation type link complete information is arranged all in equipment, thereby keep second handover module on the ply-yarn drill, give up first handover module on the main control card.In this mode, the sender of BFD session and recipient's switching are all finished at ply-yarn drill.
Respectively lift a specific embodiment according to two kinds of top implementations specific implementation process of the present invention is described.
Embodiment 1
Fig. 3 has described in the described network environment BFD session establishing method and has set up process, and the non-recipient of BFD session receives the handoff procedure behind the BFD control message, for further specifying described step, gives an example in conjunction with Fig. 2.Fig. 2 is based on the network structure of aggregation type link, and this network is by two devices interconnect, and device A and equipment B, device A and equipment B all are distributed apparatus, and they can be router, switch or other network equipments.Device A is made up of a main control card and three ply-yarn drill LC1, LC2 and LC3, and equipment B is made up of a main control card B and a ply-yarn drill LC1.Physical link L2 and L3 among the figure shown in the solid line come into force, and the physical link L1 shown in the dotted line lost efficacy, and failure reasons may be the manual-lock link or link failure occur.L1, L2 and L3 have added among the aggregation type link AL before the BFD session is set up, and the BFD session detects this aggregation type link.
Step is as follows:
Step 301: upper layer application protocol transmission session is set up message and is set up the BFD session, to carry out the detection of aggregation type link BFD.The process of notice is that upper layer application protocol is notified first notification module on the main control card, upper layer application protocol comprises OSPF(Open Shortest Path First, and Open Shortest Path First), the RIP(RIP), the BGP(Border Gateway Protocol) etc. dynamic routing protocol.In the device A of Fig. 2, described aggregation type link is shown in aggregation type link AL, and aggregation type link AL comprises physical link L1, L2 and L3.
Step 302: first notification module of main control card receives described session and sets up message, and the ply-yarn drill at notice aggregation type link place is set up corresponding BFD session.Because first notification module is known the concrete physical link that aggregation type link comprises, so first notification module is known the concrete ply-yarn drill that aggregation type link is crossed over.In the device A of Fig. 2, the ply-yarn drill that aggregation type link AL crosses over comprises LC1, LC2, LC3.
Sender and the recipient of step 303, the first notification module initial selected BFD session, the initial selected principle of present embodiment is the ply-yarn drill at smallest end slogan place in the aggregation type link, BFD session on it enables sender and recipient, and sender and recipient coexist on the ply-yarn drill.In the device A of Fig. 2, because the physical link L1 at ply-yarn drill LC1 place lost efficacy, the port numbers of physical link L2 is less, so select the BFD session on the LC2 to enable sender and recipient.
The sender of step 304:BFD session makes up BFD control message, periodically sends BFD control message; The recipient of BFD session prepares to receive BFD control message, receives the variation of message rear drive BFD session status.
The state of step 305:BFD session upgrades, and this comprises 1) notify main control card first notification module parameter of BFD session status and session negotiation, the process of notice: second notification module notifies main control card first notification module session status on the ply-yarn drill.2) main control card first notification module upgrades the corresponding state of BFD session on the main control card.In the device A of Fig. 2, the notification action of this step is to be finished by last second notification module of ply-yarn drill LC2, simultaneously, after last first notification module of main control card A receives described session status message, upgrades the above BFD session of main control card.
Step 306: if physical link changes in the aggregation type link, whether the main control card first notification module inspection needs to switch sender and the recipient of BFD session.If the transmission link of BFD session or reception link change, then forward step 308 to, otherwise continue step 307.
Step 307: if the non-recipient of BFD session receives BFD control message, then second notification module of non-recipient place ply-yarn drill switches first notification module that message sends to main control card with the recipient.In the device A of Fig. 2, if there is ply-yarn drill LC3 to receive the control message of described BFD session, then second notification module of ply-yarn drill LC3 sends the recipient and switches first notification module of message to the main control card A.
Step 308: main control card first notification module sends and switches message to main control card first handover module, and first handover module carries out recipient or sender's switching of described BFD session on the notice main control card.Communication can have multiple implementation, for example message queue or shared drive etc. between main control card first notification module and main control card first handover module.In the device A of Fig. 2, first notification module on the main control card A sends the recipient and switches message to first handover module.
Step 309: after main control card first handover module receives the switching command of first notification module, switch recipient or the recipient of BFD session.Switch message if first notification module receives the recipient, then switch the recipient; Switch message if receive the sender, then switch the sender.In the device A of Fig. 2, the result after this step is switched is that the recipient on the ply-yarn drill LC2 was lost efficacy, and the recipient on the ply-yarn drill LC3 enables, and main control card A no longer receives the message of last second notification module of ply-yarn drill LC2, receives only the message of last second notification module of ply-yarn drill LC3.
Step 310: if BFD detects the polymeric chain session timeout, will send failure message first notification module to the main control card by second notification module on the ply-yarn drill.In the device A of Fig. 2, second notification module of ply-yarn drill LC3 sends failure message to first notification module of main control card A.
Step 311: first notification module sends to upper layer application protocol with failure message on the main control card, and upper layer application protocol is carried out follow-up operations such as session deletion.In the device A of Fig. 2, first notification module of main control card A sends failure message to upper layer application protocol.
Realizing the equipment of said method, as shown in Figure 5, is the system block diagram of an embodiment, comprises a main control card and a ply-yarn drill.Main control card comprises first notification module and first handover module, and ply-yarn drill comprises sender's module, recipient's module, second notification module.
Wherein, main control card comprises:
First notification module: the BFD session is set up/deleted to the ply-yarn drill that the reception session was set up/deleted message and notifies aggregation type link to cross over; Upgrade the session information of BFD, receive the fault of second notification module on the ply-yarn drill or switch message, the variation of physical link in the perception aggregation type link notifies first handover module to carry out sender or recipient's switching.
First handover module: the switching command that receives first notification module carries out recipient or the sender's of BFD session switching, and the process of switching is the process that makes recipient or sender enable and lose efficacy.
Ply-yarn drill comprises:
Second notification module: message is set up/is deleted in the session that receives main control card first notification module, sends link failure message to first notification module of main control card.
Sender's module: make up BFD control message, send BFD control message, in a plurality of ply-yarn drills at aggregation type link place, have only sender's module of a ply-yarn drill to enable.
Recipient's module receives and treatments B FD control message, drives the BFD state message, has only recipient's module of a ply-yarn drill to enable in a plurality of ply-yarn drills at aggregation type link place.
Above-mentioned recipient's module or sender's module enable, the person skilled of this area can be understood as the correlation function of having opened the BFD session, be that sender's module enables be the sending function of opening the BFD session, it is the receiving function of opening the BFD session that recipient's module enables.After the switching, the sender's module before switching or recipient's module are closes relevant function.
Embodiment 2
In the present embodiment, as shown in Figure 4, ply-yarn drill keeps second handover module, first handover module on the cutting main control card, and the sender of BFD session or recipient's switching are finished by ply-yarn drill second handover module.When aggregation type link adds because of a certain physical link or deletion when changing, the sender or the recipient that are carried out the BFD session by ply-yarn drill second handover module are switched.
Step is as follows:
Step 401: upper layer application protocol sends session and sets up message, need carry out BFD and detect in aggregation type link, with step 301 in the example 1.
Step 402: the ply-yarn drill at first notification module notice aggregation type link place is set up corresponding BFD session on the main control card, with step 302 in the example 1.
Step 403: the sender of initial selected BFD session and recipient, described selection is to finish in main control card first notification module, with step 303 in the example 1.
The sender of step 404:BFD session makes up and the periodic BFD of transmission control message, and the recipient of BFD session prepares to receive BFD control message, receives the variation of BFD control message rear drive BFD session status.In the device A of Fig. 2, the physical link L1 at this step hypothesis ply-yarn drill LC1 place comes into force and is to send link, and the BFD session at ply-yarn drill LC1 place enables the sender; The physical link L2 at ply-yarn drill LC2 place receives link, and the BFD session at ply-yarn drill LC2 place enables the recipient.
Whether the non-recipient of step 405:BFD session receives BFD control message, if, then BFD is controlled message and be kept at this locality and notify the recipient of BFD session by the mode of intercard communication, forward step 407 to, otherwise, continue step 406.In the device A of Fig. 2, for example, the physical link L3 at ply-yarn drill LC3 place receives BFD control message, and it oneself is not the recipient of described BFD session that the BFD session on the ply-yarn drill LC3 is found, then BFD is controlled message and is kept at this locality.
Step 406: whether the physical link of aggregation type link changes.If added new physical link in the aggregation type link and not on the ply-yarn drill of existing polymerization circuit, then set up described BFD session at this ply-yarn drill; If there is not other physical link of aggregation type link in the aggregation type link on existing physical link inefficacy and this ply-yarn drill, then in the described BFD session of this ply-yarn drill deletion.Simultaneously, second notification module determines whether to need to switch sender or recipient, switches if desired, then continues step 407.In the device A of Fig. 2, for example, if the inefficacy of the physical link L3 on the ply-yarn drill LC3 and ply-yarn drill LC3 do not have other physical link of aggregation type link AL, then delete the BFD session on the ply-yarn drill LC3.
Step 407: second notification module sends and switches message to second notification module of another ply-yarn drill, and after the latter received and switches message, notice was to second handover module of this ply-yarn drill, and existing recipient was lost efficacy.Carry information such as the up-to-date state of BFD session and consultation parameter in the described switching message, in the device A of Fig. 2, for example, second notification module on the ply-yarn drill LC2 sends and switches second handover module of message to the ply-yarn drill LC3, and the recipient on the ply-yarn drill LC2 was lost efficacy.
Step 408: whether after second handover module receives and switches message on the ply-yarn drill, checking has new physical link available, i.e. inspection whether can switch the sender or the recipient arrives new physical link.If there is not new physical link can supply to switch, second notification module is then notified main control card with failure message, continues step 410; If there is new physical link then to continue step 409 for switching.In the device A of Fig. 2, for example, after second switching of ply-yarn drill LC3 receives the switching message of ply-yarn drill LC2, check whether there is new transmission link or receives link.
Step 409: second handover module switches sender or recipient.If second handover module receives after the recipient switches message, then upgrade information such as the state of BFD session and consultation parameter, enable the recipient of BFD session, handle being kept at local BFD control message; Switch message if second handover module receives the sender, then enable the sender of described BFD session.In the device A of Fig. 2, for example, second handover module of ply-yarn drill LC3 switches sender or recipient.
Step 410: after main control card first notification module receives failure message, the announcement upper layer application protocol, upper layer application protocol is carried out the deletion action of follow-up BFD session.
Realize the equipment of said method, as shown in Figure 6, formed by a main control card and a ply-yarn drill.
Wherein, main control card includes only first notification module, and function is the failure message that receives from ply-yarn drill second notification module, sends the foundation/deletion message of BFD session.
Ply-yarn drill comprises sender's module, recipient's module, second notification module, second handover module.
Second notification module: message is set up/is deleted in the BFD session that receives main control card first notification module; The variation of perception aggregation type link, more detailed, if the BFD session of described ply-yarn drill has sender's module, then be responsible for perception and send the variation of link and switch the sender, if the BFD session of described ply-yarn drill has recipient's module, then be responsible for the variation that perception receives link.Further, described transmission link refers to send the physical link of BFD control message, and described reception link refers to receive the link of BFD control message.
Second handover module: the sender or the recipient that are responsible for switching BFD control message, described process is switched: receive the switching command from ply-yarn drill second notification module, existing sender or recipient were lost efficacy, sender or recipient are enabled; State and the parameter information of BFD session are sent to new sender or recipient.
The function of sender's module and recipient's module is with device instance 1, and present embodiment repeats no more.
More than the method and apparatus of the two-way forwarding of aggregation type link has been done detailed introduction; using specific case herein makes an explanation to principle of the present invention and execution mode; be used for understanding method of the present invention and core concept; should not be construed as limitation of the present invention; within the spirit and principles in the present invention all, any modification of making, being equal to replacement, improvement etc. all should be in protection scope of the present invention and so on.

Claims (9)

1. aggregation type link bidirectional forwarding detection method is characterized in that, may further comprise the steps:
The upper layer application protocol transmission session of a, main control card is set up message and is set up two-way converting inspection session to first notification module of main control card;
First notification module of b, main control card receives described session and sets up message, and the ply-yarn drill at notice aggregation type link place is set up corresponding two-way converting inspection session;
The described two-way forwarding of the first notification module initial selected of c, main control card detects sender and the recipient of control message; Have only a sender and a recipient in the aggregation type link; The sender of two-way converting inspection session makes up two-way forwarding and detects the control message, periodically sends two-way forwarding and detects the control message; The recipient of two-way converting inspection session prepares to receive two-way forwarding and detects the control message, receives the variation of message rear drive two-way converting inspection session state;
D, after the physical link of aggregation type link changes, as required sender or recipient are switched:
The physical link of described aggregation type link changes that the physical link that comprises recipient or sender place changes, added new physical link or deleted existing physical link in the aggregation type link in the aggregation type link;
When the new physical link that adds is positioned at a new ply-yarn drill, then set up two-way converting inspection session at new ply-yarn drill;
When deletion on the ply-yarn drill physical link and this ply-yarn drill do not have described aggregation type link other physical link the time, then delete the two-way converting inspection session on this ply-yarn drill;
Physical link when the recipient place changes, and then switches the recipient;
Physical link when the sender place changes, and then switches the sender;
When non-recipient receives bidirectional forward detection report from aggregation type link, then switch the recipient.
2. aggregation type link bidirectional forwarding detection method according to claim 1 is characterized in that be not distributed in the system of ply-yarn drill at aggregation type link, switching on the main control card of sender and recipient carried out; Be distributed in the system of ply-yarn drill at aggregation type link, the sender of two-way converting inspection session and recipient's switching are all finished at ply-yarn drill.
3. aggregation type link bidirectional forwarding detection method according to claim 1, it is characterized in that, in the steps d, if do not have sender or recipient available in the aggregation type link, think that then aggregation type link breaks down, upper layer application protocol sends deletion two-way converting inspection session message.
4. aggregation type link bidirectional is transmitted checkout equipment, comprises main control card and at least one ply-yarn drill, it is characterized in that described main control card comprises first notification module; Described ply-yarn drill comprises second notification module; All include recipient's module, sender's module in each ply-yarn drill; Described main control card or ply-yarn drill include handover module;
Described first notification module is used for, the sender of initial selected two-way converting inspection session and recipient; Receive that the two-way converting inspection session that upper layer application protocol sends is set up, deletion information and sending to the second notification module, receive link failure information and sending that second notification module sends to the upper strata application protocol; When handover module was positioned at main control card, the physical link of the first notification module perception aggregation type link changed, and in the time of need switching sender or recipient, sent switching notice;
Described second notification module is used for, and sends link failure message to the first notification module, receives two-way converting inspection session foundation, deletion message that first notification module sends; When handover module was positioned at ply-yarn drill, the physical link of the second notification module perception aggregation type link changed, and in the time of need switching sender or recipient, sent switching notice;
Described handover module is used for, and enables or loses efficacy according to sender's module, recipient's module in the switching notice control ply-yarn drill;
Sender's module is used for, and makes up two-way forwarding and detects the control message and send to opposite equip.; Have only a sender's module in the ply-yarn drill to be enabled in all ply-yarn drills at aggregation type link place;
Recipient's module is used for, and receives two-way forwarding and detects the control message; Have only a recipient's module in the ply-yarn drill to be enabled in all ply-yarn drills at aggregation type link place.
5. transmit checkout equipment as aggregation type link bidirectional as described in the claim 4, it is characterized in that described recipient's module also is used for, drive the two-way converting inspection session state variation.
6. transmit checkout equipment as aggregation type link bidirectional as described in the claim 5, it is characterized in that described two-way converting inspection session state is saved in the main control card.
7. transmit checkout equipment as aggregation type link bidirectional as described in the claim 4,5 or 6, it is characterized in that described handover module is first handover module that is positioned at main control card.
8. transmit checkout equipment as aggregation type link bidirectional as described in the claim 5, it is characterized in that described two-way converting inspection session state is saved in the ply-yarn drill of recipient place.
9. transmit checkout equipment as aggregation type link bidirectional as described in the claim 4,5 or 6, it is characterized in that described handover module is second handover module that is positioned at ply-yarn drill.
CN2010102072947A 2010-06-23 2010-06-23 Aggregation type link bidirectional forwarding detection method and device thereof Active CN101860491B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102072947A CN101860491B (en) 2010-06-23 2010-06-23 Aggregation type link bidirectional forwarding detection method and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102072947A CN101860491B (en) 2010-06-23 2010-06-23 Aggregation type link bidirectional forwarding detection method and device thereof

Publications (2)

Publication Number Publication Date
CN101860491A CN101860491A (en) 2010-10-13
CN101860491B true CN101860491B (en) 2013-08-14

Family

ID=42946157

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102072947A Active CN101860491B (en) 2010-06-23 2010-06-23 Aggregation type link bidirectional forwarding detection method and device thereof

Country Status (1)

Country Link
CN (1) CN101860491B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101984573B (en) * 2010-11-15 2015-07-22 中兴通讯股份有限公司 Method and system for distributed realization of LACP standard state machine
CN102231699B (en) * 2011-06-13 2015-06-03 迈普通信技术股份有限公司 Route processing method in distributed system and distributed system
CN102970172B (en) * 2012-12-06 2016-03-30 华为技术有限公司 A kind of method that communication link switches, equipment and communication system
JP6341764B2 (en) * 2014-06-04 2018-06-13 APRESIA Systems株式会社 Relay device
CN106375208B (en) * 2015-07-20 2020-09-15 南京中兴新软件有限责任公司 Network path switching method and device
CN110650062A (en) * 2018-06-26 2020-01-03 中国电信股份有限公司 Link performance detection method, system, device and computer readable storage medium
CN109818857A (en) * 2019-02-13 2019-05-28 烽火通信科技股份有限公司 The method and system of pretection switch are carried out to the business run on CPU
CN111669280B (en) * 2019-03-06 2023-05-16 中兴通讯股份有限公司 Message transmission method, device and storage medium
CN112468363B (en) * 2020-11-23 2022-05-31 杭州迪普科技股份有限公司 Method and device for detecting link connectivity
CN113179210B (en) * 2021-03-11 2022-05-27 新华三信息安全技术有限公司 BFD detection method, BFD detection device, electronic equipment and storage medium
CN113472648B (en) * 2021-06-18 2023-10-24 新华三信息安全技术有限公司 Bidirectional Forwarding Detection (BFD) method and device and network equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7499395B2 (en) * 2005-03-18 2009-03-03 Cisco Technology, Inc. BFD rate-limiting and automatic session activation
US8543718B2 (en) * 2006-03-02 2013-09-24 Cisco Technology, Inc. Technique for efficiently and dynamically maintaining bidirectional forwarding detection on a bundle of links
CN101340380B (en) * 2008-08-11 2014-11-05 中兴通讯股份有限公司 Method and apparatus for uninterrupted forwarding of bi-directional forwarding detection in master-slave switch implementation
CN101399714B (en) * 2008-08-29 2012-09-05 中兴通讯股份有限公司 Transmission method and device for bidirectionally transceiving and detecting packet
CN101378338B (en) * 2008-09-24 2011-04-20 中兴通讯股份有限公司 Method and apparatus for implementing bidirectional transmit-receive detection

Also Published As

Publication number Publication date
CN101860491A (en) 2010-10-13

Similar Documents

Publication Publication Date Title
CN101860491B (en) Aggregation type link bidirectional forwarding detection method and device thereof
CN104426789B (en) Forwarding unit control method and equipment in software defined network
CN101018228B (en) A port convergence method and device
CN103534982B (en) The protection method of service reliability, equipment and network virtualization system
CN100561977C (en) Fast rerouting method during a kind of a plurality of ports share transmission link
CN103916275A (en) BFD detection device and method
WO2008056838A1 (en) System and method for controlling network traffic
EP2533474A1 (en) Method, apparatus and system for forwarding data
CN104104570A (en) Aggregation processing method in IRF (Intelligent Resilient Framework) system and device
CN100574249C (en) virtual router redundancy protocol message transmission method and device
JP5987971B2 (en) Communication system, switch, control device, control channel construction method and program
EP2627039A1 (en) Method and device for switching aggregation links
CN104253764A (en) Link aggregation method and device
CN101425942A (en) Method, apparatus and system for bidirectional forwarding detection implementation
CN101895437A (en) Method and equipment of distributed bidirectional forwarding detection (BFD)
JP2015012531A (en) Communication system, communication node, communication path switching method, and program
Irawati et al. Link aggregation control protocol on software defined network
CN103490951A (en) Bidirectional forwarding detection method in multi-hop link on basis of BFD
CN111800336A (en) Routing transmission implementation method based on multi-channel network link aggregation
CN104468286A (en) Method and system for detecting multi-hop link
CN103731303A (en) Method and device of vertical converged framework for achieving multi-active detection
CN104717144B (en) A kind of reliable multicast method confirmed based on caching in net and hop-by-hop
CN103036728A (en) Multi- redundancy ethernet data transmission system and transmission method
CN102571520A (en) Method for realizing rapid convergence in looped network
AU2014320926A1 (en) Data transmission method and device

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