CN101860491A - 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
CN101860491A
CN101860491A CN201010207294A CN201010207294A CN101860491A CN 101860491 A CN101860491 A CN 101860491A CN 201010207294 A CN201010207294 A CN 201010207294A CN 201010207294 A CN201010207294 A CN 201010207294A CN 101860491 A CN101860491 A CN 101860491A
Authority
CN
China
Prior art keywords
ply
aggregation type
link
type link
recipient
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
CN201010207294A
Other languages
Chinese (zh)
Other versions
CN101860491B (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, and can be used to detect 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 fault has taken place in this certain part to the duplex channel of adjacent system.Under certain conditions, in order to reduce load, transmission between the system and receiving velocity need to consult.Each system can estimate that all own acceptable sends and receive the speed of bidirectional forward detection report so that consult to reach an agreement with regard to the frequency of carrying out fault detect with neighbours.And these estimations can change at any time to adapt to different environment.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 is provided is provided sets up, destroys, revises a session exactly.Two-way forwarding detects the client that all can notify it when session is Up (finishing) state or Down (disconnection) state.Detect in order to adapt to faster, one, the cycle that two-way forwarding detects is a millisecond rank, 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.Dynamic backup each other between simultaneously 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, on one or more ply-yarn drills, set up one or more " awaiting orders " two-way converting inspection session, 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 on 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 of a, main control card sends the two-way converting inspection session that detects aggregation type link and sets up message;
The ply-yarn drill at b, aggregation type link place is all set up two-way converting inspection session;
C, the two-way forwarding of main control card initial selected detect the 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 BFD session and recipient's switching are all finished on 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 on new ply-yarn drill, set up two-way converting inspection session;
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 on the main control card or finish on ply-yarn drill 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, and 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, sends switching notice;
Second notification module is used for, and 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, sends 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.Notification module is first notification module that is positioned at main control card, and described 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; First notification module also is used for, and receives 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, receives link failure information and sending that second notification module sends to the upper strata application protocol; 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.
Optionally, the two-way converting inspection session state is saved in the ply-yarn drill of recipient place.Notification module is second notification module that is positioned at ply-yarn drill, and described 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 notification module is used for, and receives 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, receives link failure information and sending that second notification module sends to the upper strata application protocol; Second notification module also 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.
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, promptly main control card and ply-yarn drill all need and preserve the two-way converting inspection session state simultaneously 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 the 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, the distributed BFD detection mode of multiple different aggregation type link can be arranged according to different distributed systems, 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,, 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 because aggregation type link distributes.In this mode, the sender of BFD session and recipient's switching are all finished on 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 (OpenShortest Path First, Open Shortest Path First), RIP (RIP), BGP dynamic routing protocol such as (Border Gateway Protocols).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.
The 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 the 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, second notification module of then 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 the 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:, will send failure message first notification module to the main control card by second notification module on the ply-yarn drill if BFD detects the polymeric chain session timeout.In the device A of Fig. 2, second notification module of ply-yarn drill LC3 sends first notification module of failure message to 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 ply-yarn drill foundation/deletion BFD session that receives session foundation/deletion message and notify 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 the 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: receive the session foundation/deletion message of main control card first notification module, send first notification module of link failure message to 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 on this ply-yarn drill, set up described BFD session; 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, the then described BFD session of deletion on this ply-yarn drill.Simultaneously, whether the decision of second notification module needs to switch sender or recipient, switches if desired, then continues step 407.In the device A of Fig. 2, for example,, then delete the BFD session on the ply-yarn drill LC3 if 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.
Step 407: second notification module sends and switches second notification module of message to another ply-yarn drill, after the latter receives and switches message, notifies second handover module of this ply-yarn drill, and existing recipient was lost efficacy.Carry information such as 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, form 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: the BFD session foundation/deletion message 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 is meant the physical link that sends BFD control message, and described reception link is meant the link that receives 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; The 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 to understand 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 being made, being equal to replacement, improvement etc. all should be in protection scope of the present invention and so on.

Claims (10)

1. aggregation type link bidirectional forwarding detection method is characterized in that, may further comprise the steps:
The upper layer application protocol of a, main control card sends the two-way converting inspection session that detects aggregation type link and sets up message;
The ply-yarn drill at b, aggregation type link place is all set up two-way converting inspection session;
C, the described two-way forwarding of main control card initial selected detect the 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 aggregation type link changes, as required sender or recipient are switched.
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 BFD session and recipient's switching are all finished on 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 forwarding detection method according to claim 1, it is characterized in that 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 on new ply-yarn drill, set up two-way converting inspection session;
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.
5. 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, and 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, sends switching notice;
Described second notification module is used for, and 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, sends 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.
6. transmit checkout equipment as aggregation type link bidirectional as described in the claim 5, it is characterized in that described recipient's module also is used for, drive the two-way converting inspection session state variation.
7. transmit checkout equipment as aggregation type link bidirectional as described in the claim 6, it is characterized in that described two-way converting inspection session state is saved in the main control card.
8. transmit checkout equipment as aggregation type link bidirectional as described in the claim 5,6 or 7, it is characterized in that described handover module is first handover module that is positioned at main control card;
Described first notification module also is used for, and receives 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, receives link failure information and sending that second notification module sends to the upper strata application protocol;
Described second notification module also 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.
9. transmit checkout equipment as aggregation type link bidirectional as described in the claim 6, it is characterized in that described two-way converting inspection session state is saved in the ply-yarn drill of recipient place.
10. transmit checkout equipment as aggregation type link bidirectional as described in the claim 5,6 or 7, it is characterized in that described handover module is second handover module that is positioned at ply-yarn drill;
Described first notification module also is used for, and receives 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, receives link failure information and sending that second notification module sends to the upper strata application protocol;
Described second notification module also 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.
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 true CN101860491A (en) 2010-10-13
CN101860491B 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)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101984573A (en) * 2010-11-15 2011-03-09 中兴通讯股份有限公司 Method and system for distributed realization of LACP standard state machine
CN102231699A (en) * 2011-06-13 2011-11-02 迈普通信技术股份有限公司 Route processing method in distributed system and distributed system
CN102970172A (en) * 2012-12-06 2013-03-13 华为技术有限公司 Communication link switching method, device and communication system
CN105141550A (en) * 2014-06-04 2015-12-09 日立金属株式会社 Relay device
WO2016177116A1 (en) * 2015-07-20 2016-11-10 中兴通讯股份有限公司 Network path switching method and device
CN109818857A (en) * 2019-02-13 2019-05-28 烽火通信科技股份有限公司 The method and system of pretection switch are carried out to the business run on CPU
CN110650062A (en) * 2018-06-26 2020-01-03 中国电信股份有限公司 Link performance detection method, system, device and computer readable storage medium
CN111669280A (en) * 2019-03-06 2020-09-15 中兴通讯股份有限公司 Message transmission method, device and storage medium
CN112468363A (en) * 2020-11-23 2021-03-09 杭州迪普科技股份有限公司 Method and device for detecting link connectivity
CN113179210A (en) * 2021-03-11 2021-07-27 新华三信息安全技术有限公司 BFD detection method, BFD detection device, electronic equipment and storage medium
CN113472648A (en) * 2021-06-18 2021-10-01 新华三信息安全技术有限公司 Bidirectional Forwarding Detection (BFD) method and device and network equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060209685A1 (en) * 2005-03-18 2006-09-21 Cisco Technology, Inc. BFD rate-limiting and automatic session activation
CN101340380A (en) * 2008-08-11 2009-01-07 中兴通讯股份有限公司 Method and apparatus for uninterrupted forwarding of bi-directional forwarding detection in master-slave switch implementation
CN101378338A (en) * 2008-09-24 2009-03-04 中兴通讯股份有限公司 Method and apparatus for implementing bidirectional transmit-receive detection
CN101395853A (en) * 2006-03-02 2009-03-25 思科技术公司 A technique for efficiently and dynamically maintaining bidirectional forwarding detection on a bundle of links
CN101399714A (en) * 2008-08-29 2009-04-01 中兴通讯股份有限公司 Transmission method and device for bidirectionally transceiving and detecting packet

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060209685A1 (en) * 2005-03-18 2006-09-21 Cisco Technology, Inc. BFD rate-limiting and automatic session activation
CN101395853A (en) * 2006-03-02 2009-03-25 思科技术公司 A technique for efficiently and dynamically maintaining bidirectional forwarding detection on a bundle of links
CN101340380A (en) * 2008-08-11 2009-01-07 中兴通讯股份有限公司 Method and apparatus for uninterrupted forwarding of bi-directional forwarding detection in master-slave switch implementation
CN101399714A (en) * 2008-08-29 2009-04-01 中兴通讯股份有限公司 Transmission method and device for bidirectionally transceiving and detecting packet
CN101378338A (en) * 2008-09-24 2009-03-04 中兴通讯股份有限公司 Method and apparatus for implementing bidirectional transmit-receive detection

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101984573A (en) * 2010-11-15 2011-03-09 中兴通讯股份有限公司 Method and system for distributed realization of LACP standard state machine
CN102231699A (en) * 2011-06-13 2011-11-02 迈普通信技术股份有限公司 Route processing method in distributed system and distributed system
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
CN102970172A (en) * 2012-12-06 2013-03-13 华为技术有限公司 Communication link switching method, device and communication system
CN105141550B (en) * 2014-06-04 2019-09-24 日立金属株式会社 Relay
CN105141550A (en) * 2014-06-04 2015-12-09 日立金属株式会社 Relay device
WO2016177116A1 (en) * 2015-07-20 2016-11-10 中兴通讯股份有限公司 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
CN111669280A (en) * 2019-03-06 2020-09-15 中兴通讯股份有限公司 Message transmission method, device and storage medium
CN112468363A (en) * 2020-11-23 2021-03-09 杭州迪普科技股份有限公司 Method and device for detecting link connectivity
CN113179210A (en) * 2021-03-11 2021-07-27 新华三信息安全技术有限公司 BFD detection method, BFD detection device, electronic equipment and storage medium
CN113179210B (en) * 2021-03-11 2022-05-27 新华三信息安全技术有限公司 BFD detection method, BFD detection device, electronic equipment and storage medium
CN113472648A (en) * 2021-06-18 2021-10-01 新华三信息安全技术有限公司 Bidirectional Forwarding Detection (BFD) method and device and network equipment
CN113472648B (en) * 2021-06-18 2023-10-24 新华三信息安全技术有限公司 Bidirectional Forwarding Detection (BFD) method and device and network equipment

Also Published As

Publication number Publication date
CN101860491B (en) 2013-08-14

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
CN103534982B (en) The protection method of service reliability, equipment and network virtualization system
CN102571426B (en) Double-homing protection method and device
US20060291480A1 (en) System and method for controlling network traffic
CN101325497B (en) Autonegotiation over an interface for which no autonegotiation standard exists
CN103916275A (en) BFD detection device and method
CN100561977C (en) Fast rerouting method during a kind of a plurality of ports share transmission link
WO2008056838A1 (en) System and method for controlling network traffic
CN101483558A (en) Method, system and apparatus for packet switching network access by network appliance
CN100574249C (en) virtual router redundancy protocol message transmission method and device
CN104104570A (en) Aggregation processing method in IRF (Intelligent Resilient Framework) system and device
EP2533474A1 (en) Method, apparatus and system for forwarding data
CN104541483B (en) When for connectivity fault the method and system re-routed is enabled for home network
JP5987971B2 (en) Communication system, switch, control device, control channel construction method and program
EP2627039A1 (en) Method and device for switching aggregation links
CN101895437A (en) Method and equipment of distributed bidirectional forwarding detection (BFD)
CN101425942A (en) Method, apparatus and system for bidirectional forwarding detection implementation
JP2015012531A (en) Communication system, communication node, communication path switching method, and program
CN111800336A (en) Routing transmission implementation method based on multi-channel network link aggregation
CN103490951A (en) Bidirectional forwarding detection method in multi-hop link on basis of BFD
Irawati et al. Link aggregation control protocol on software defined network
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

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