CN102299846B - Method for transmitting BFD (Bidirectional Forwarding Detection) message and equipment - Google Patents

Method for transmitting BFD (Bidirectional Forwarding Detection) message and equipment Download PDF

Info

Publication number
CN102299846B
CN102299846B CN201110238636.6A CN201110238636A CN102299846B CN 102299846 B CN102299846 B CN 102299846B CN 201110238636 A CN201110238636 A CN 201110238636A CN 102299846 B CN102299846 B CN 102299846B
Authority
CN
China
Prior art keywords
port
backup
aggregation
bfd message
member port
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
CN201110238636.6A
Other languages
Chinese (zh)
Other versions
CN102299846A (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201110238636.6A priority Critical patent/CN102299846B/en
Publication of CN102299846A publication Critical patent/CN102299846A/en
Application granted granted Critical
Publication of CN102299846B publication Critical patent/CN102299846B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method for transmitting a BFD (Bidirectional Forwarding Detection) message and equipment. By applying the technical scheme of the invention, a backup port is determined for each member port in an aggregation port group, and multi-port transmission of the BFD message is realized through the member ports and the backup ports thereof when the BFD message is transmitted, therefore, BFD conversation interruption for influencing the continuity and the reliability of services cannot be caused by faults or change of the port for transmitting the BFD message, and the stability of the services is ensured.

Description

A kind of BFD message transmitting method and equipment
Technical field
The present invention relates to communication technical field, particularly a kind of BFD message transmitting method and equipment.
Background technology
BFD (Bidirectional Forwarding Detection, two-way converting detects) agreement provides the quick fault testing mechanism of a general standardized media independent and protocol-independent.BFD can be each upper-layer protocol as the fault in two LA Management Room two-way converting paths of fast detecting uniformly such as each Routing Protocol, MPLS (Multi-Protocol Label Switching, multiprotocol label switching), be less than 1 second detection time.
BFD sets up session on two network equipments, is used for protecting the two-way converting path of two equipment rooms, is upper-layer protocol service.BFD itself is discovery mechanism not, but notify it to set up session with whom by serviced upper-layer protocol, if do not receive within detection time after session establishment that BFD controls message, think and break down, notify serviced upper-layer protocol, upper-layer protocol is processed accordingly.
In order to meet, BFD agreement is given out a contract for a project fast, the needs of fast detecting, corresponding equipment can use an independent CPU (Central Processing Unit, central processing unit) or multi-core CPU in core or NP (Network Processor, network processing unit) chip carries out quick transmitting-receiving and the fault detect of OAM quasi-protocol message specially, and core or NP chip in so independent CPU or multi-core CPU are referred to as aiding CPU.Aiding CPU is mainly used in the encapsulation of BFD message, sends, receives and conciliate encapsulation process, realizes counting messages function and reports detection event to host CPU.
Platform BFD module is responsible for the transition of BFD session status machine, and product aiding CPU is responsible for the message send and receive of built vertical BFD session.In BFD session establishment process, do not require the quick transmission of BFD message, be responsible for the foundation of BFD session by platform, and the interface board of BFD session is safeguarded in selection, on this interface board, BFD session entry is handed down to driving, carried out the sending and receiving of BFD message by aiding CPU, notification platform in the time that aiding CPU is not received BFD message within detection time, processing the notice of being carried out session DOWN by platform drive remove entries, can re-issue list item if this session re-establishes platform.BFD session DOWN demand motive by interrupt notification platform BFD module, switches to realize fast on total interface plate.
Many time-sensitive business require the performance of 50ms failover as voice, video data, so the transmission interval of BFD often requires to be set to 10ms left and right, session detection time is exactly 30ms like this.
Realizing in process of the present invention, inventor finds that prior art at least exists following problem:
In actual test process, often find in the time that the aggregated links member port of equipment changes BFD conversation.Reason is, in the time that aggregated links member port changes, first hardware interrupts is notified master control borad, report platform polymerization module, under stacked environment, may need port place interface board IPC (Inter-Process Communication, interprocess communication) to notify to Master master control borad; After polymerization resume module, reinform each veneer and issue and driven setting.Wherein OAM CPU arrange amendment be most important, only complete and arrange after amendment at it, what fast B FD message just can be correct sends.But this process relates to repeatedly IPC communication between plate, also has repeatedly task handoff procedure, need the cooperation of polylith veneer just passable.This cannot ensure within the time of 20ms left and right and complete, must cause BFD conversation.Under stacked environment, port place veneer and Master master control borad may be distributed on different equipment, at this moment must notify Master master control borad to report platform polymerization module by IPC, and performance is poorer.
Summary of the invention
The invention provides a kind of BFD message transmitting method and equipment, can not be in time by the corresponding setting of amendment BFD session after aggregated links member port changes in prior art in order to solve, cannot normally send BFD message, and and then cause the problem of BFD conversation.
For achieving the above object, one aspect of the present invention provides a kind of BFD message transmitting method, and described method at least comprises the following steps:
OAM equipment is determined the aggregation port group that sends BFD message;
Described OAM equipment, by a member port in described aggregation port group and the backup port of described member port, sends described BFD message to opposite equip. respectively.
Preferably, described OAM equipment also comprises before determining the aggregation port group that sends BFD message:
Described OAM equipment is preserved the information of each aggregation port group;
In each aggregation port group, described OAM equipment is that each member port distributes other more than one member ports in same aggregation port group as backup port, and records the corresponding relation of each member port and backup port.
Preferably, described OAM equipment, by a member port in described aggregation port group and the backup port of described member port, sends described BFD message to opposite equip. respectively, specifically comprises:
Described OAM equipment is selected a member port that sends described BFD message in described aggregation port group, and in the corresponding relation of recorded member port and backup port, inquires about the backup port of described member port;
Described OAM equipment sends to described opposite equip. by described BFD message by described member port and described backup port.
Preferably, described OAM equipment, by a member port in described aggregation port group and the backup port of described member port, sends described BFD message to opposite equip. respectively, specifically comprises:
Described OAM equipment sends by a member port in described aggregation port group described BFD message to described opposite equip.;
Described OAM equipment, by determined backup port in the corresponding access control rule of described member port, sends to described opposite equip. by described BFD message.
Preferably, in the time that the member port in an aggregation port group changes, described method also comprises:
Member port information described in described OAM renewal of the equipment in aggregation port group;
Described OAM equipment, according to the information of each member port included in current described aggregation port group, is adjusted the backup port of each member port, and upgrades the corresponding relation of each member port and backup port.
On the other hand, the present invention also provides a kind of OAM equipment, at least comprises:
Determination module, for determining the aggregation port group that sends BFD message;
Sending module, for a member port by the determined aggregation port group of described determination module and the backup port of described member port, sends described BFD message to opposite equip. respectively.
Preferential, described OAM equipment, also comprises:
Logging modle, for preserving the information of each aggregation port group, and in each aggregation port group, for each member port distributes other more than one member ports in same aggregation port group as backup port, and record the corresponding relation of each member port and backup port.
Preferably, described sending module, specifically for:
According to the member port of the described BFD message of the selected transmission of described determination module, in the member port recording in described logging modle and the corresponding relation of backup port, inquire about the backup port of described member port, described BFD message is sent to described opposite equip. by described member port and described backup port.
Preferably, described sending module, specifically for:
Described BFD message is sent to described opposite equip. by a member port in described aggregation port group, and by determined backup port in the corresponding access control rule of described member port, described BFD message is sent to described opposite equip..
Preferably, described logging modle, also for:
In the time that the member port in an aggregation port group changes, upgrade the member port information in described aggregation port group, and according to the information of each member port included in current described aggregation port group, adjust the backup port of each member port, upgrade the corresponding relation of each member port and backup port.
Compared with prior art, the present invention has the following advantages:
By applying technical scheme of the present invention, in aggregation port group, determine backup port for every each member port, and in the time carrying out the transmission of BFD message, the multiport of realizing BFD message by member port and backup port thereof sends, thereby, can not cause because sending the fault of port of BFD message or variation the interruption of BFD session, traffic affecting continuity and reliability, ensure the stability of business.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of a kind of BFD message transmitting method proposed by the invention;
Fig. 2 is the schematic flow sheet of the BFD message transmitting method under a kind of concrete application scenarios proposed by the invention;
Fig. 3 is the schematic flow sheet of the BFD message transmitting method under the concrete application scenarios of another kind proposed by the invention;
Fig. 4 is the structural representation of a kind of OAM equipment proposed by the invention.
Embodiment
As stated in the Background Art, under aggregation scene, if aggregated links member port changes, send the scheme of BFD message according to existing clean culture, need to carry out a large amount of IPC communication, carry out the amendment of the corresponding setting of BFD session, expend a large amount of time, thereby cause BFD conversation, and and then traffic affecting stability.
In order to solve such problem, ensure the normal transmission of BFD, the present invention proposes a kind of BFD message transmitting method, can realize by member port and backup port thereof the multiport transmission of BFD message, ensure the stability of business.
As shown in Figure 1, be a kind of schematic flow sheet of BFD message transmitting method that the present invention proposes, specifically comprise the following steps:
Step S101, OAM equipment are determined the aggregation port group that sends BFD message.
The prerequisite of this step is to store in OAM equipment the information of corresponding aggregation port group, is described as follows:
First, OAM equipment, according to the actual conditions when pre-polymerization, is preserved the information of each aggregation port group, wherein, and the information that comprises all member ports that belong to each aggregation port group.
Then, OAM equipment need to be determined backup port for each member port, and records the corresponding relation between member port and backup port, and concrete method is:
In each aggregation port group, OAM equipment is that each member port distributes other more than one member ports that belong to same aggregation port group as backup port, and records the corresponding relation of each member port and backup port.
Hence one can see that, and member port and backup port are the member ports that all belongs to same aggregation port group.
In concrete enforcement scene, in order better to realize backup functionality, in the time determining backup port, should select the member port distant with the member port of backup port to be determined as backup port, ensure the isolation between member port and its backup port as far as possible, avoid between member port, can being subject to the related impact of fault in the situation that isolation is poor, is affected and make to back up effect.
Need to further be pointed out that, the port that can backup each other between different member ports, each member port also can be used as the backup port of multiple other member ports.Certainly, minimize in order to back up reliability optimization and fault coverage, can a different backup port be set for each member port.
Certainly, concrete backup port is really established rules and can be adjusted according to actual needs, and such variation does not affect protection scope of the present invention.
Step S102, OAM equipment, by the backup port of member port in aggregation port group and member port, send BFD message to opposite equip. respectively.
In concrete enforcement scene, the difference of the selective rule of the interface according to OAM equipment self to transmission BFD message, the specific implementation process of this step comprises following two kinds of situations:
Situation one, OAM equipment are specified the member port that sends BFD message.
In such cases, OAM equipment can directly select to send the member port of BFD message in aggregation port group, owing to preserving the information of corresponding backup port in OAM equipment, so, OAM equipment can directly inquire corresponding backup port, and corresponding processing procedure is as follows:
First, OAM equipment calculates hash value according to BFD message, selects to be matched with a member port of this hash value in the aggregation port group of the destination interface as transmission BFD message.
Then, OAM equipment is inquired about the backup port of selected member port in the corresponding relation of recorded member port and backup port.
Finally, OAM equipment sends to opposite equip. by BFD message by member port and backup port.
In actual application scenarios, above-mentioned operation can realize by the OAM CPU in OAM equipment.
Situation two, OAM equipment are not specified the member port that sends BFD message.
OAM equipment is handed down to BFD message after concrete member port, and determine the backup port of this member port according to corresponding strategy, thereby the mirror image of realizing BFD message sends, in concrete application scenarios, such strategy can be realized by this member port being configured to corresponding ACL (Access Control List, Access Control List (ACL)).
Be that OAM equipment calculates hash value according to BFD message, in aggregation port group (as the destination interface that sends BFD message), select to be matched with the member port of this hash value, send BFD message by selected member port to opposite equip., again according to the acl rule of configuration, BFD message mirror, to backup port, is sent to opposite equip. by backup port by BFD message.
For example, the matching condition of this acl rule is, the source port of BFD message and destination interface; The matching result of this acl rule is: above other member ports of same aggregation port group.
The information of the backup port in the matching result of this ACl rule can be determined according to the corresponding relation of the member port of storing in OAM CPU and backup port.
Concrete acl rule can be at device initialize, complete backup port determine or upgrade after be configured, concrete allocation position can be the chip at each member interface place, like this, each member port all can be carried out this rule in the time carrying out the transmission of BFD message, in the time that this member port sends BFD message, also can be mirrored in self backup port and send, the multiport of realizing same BFD message sends.
For the member port overcoming in aggregation port group changes the impact bringing, in the time that the member port in arbitrary aggregation port group changes, member port information in OAM renewal of the equipment aggregation port group, and according to the information of each member port included in current aggregation port group, adjust the backup port of each member port, and upgrade the corresponding relation of each member port and backup port.
Further, if application is the processing mode in above-mentioned situation two, complete after the renewal of corresponding corresponding relation, also need to adjust corresponding acl rule, ensure the normal realization that mirror image sends.
Compared with prior art, the present invention has the following advantages:
By applying technical scheme of the present invention, in aggregation port group, determine backup port for every each member port, and in the time carrying out the transmission of BFD message, the multiport of realizing BFD message by member port and backup port thereof sends, thereby, can not cause because sending the fault of port of BFD message or variation the interruption of BFD session, traffic affecting continuity and reliability, ensure the stability of business.
In order further to set forth technological thought of the present invention, existing in conjunction with concrete application scenarios, technical scheme of the present invention is described.
The present invention is by the method that adopts many member ports to send to the BFD message in aggregated links on OAM veneer, make in the time that the member port of aggregated links changes, BFD session is not interrupted, thereby ensure the continuation of customer service, like this, just make the BFD session of both sides remain connection, ensured the stability of business.
In the prior art, the BFD message that the OAM CPU of OAM equipment sends is unicast message, if the destination interface of this BFD message (is handed down to this destination interface by BFD message, send to opposite equip. by this destination interface) be aggregation port, will select one of them member port to send; Like this, if generation interruption is this member port, can cause BFD conversation.
For being very difficult for this to happen, technical scheme of the present invention makes OAM equipment send BFD message from two different member ports, like this, and whichsoever port generation link change, can not have influence on the normal transmission of BFD message, ensure that the BFD of opposite equip. detects unaffected.
Two member ports of above-mentioned transmission BFD message, are specially the member port of this BFD message of original transmission and the backup port of this member port.
In concrete enforcement scene, the selection deterministic process of corresponding backup port is realized by OAM CPU, be the information that OAM CPU stores corresponding aggregation port group, and according to the information of each member port included in aggregation port group, carry out the selection of corresponding backup port, concrete processing procedure is as follows:
Suppose that aggregation port group comprises 3 member ports (Port1, Port2, Port3), OAM CPU is to backup port of its each port assignment.For example: (Port1, Port3), (Port2, Port3), (Port3, Port1), wherein, Port3 is the backup port of Port1, and Port3 is the backup port of Port2, and Port1 is the backup port of Port3.
Taking distributed apparatus as example, the member device of aggregation port group and backup port can be positioned at the physical port of forwarding chip on different frames or plate, can be also the physical ports of the forwarding chip on same frame or plate.
In the implementation procedure of concrete technical scheme, if aggregation port group changes, OAM CPU need to, according to the situation of change of the member port in aggregation port, adjust the backup port of each member port.
OAM CPU completes after the selection or renewal process of backup port, and the corresponding relation between corresponding member port and backup port is stored.
As front, consider the difference of the selective rule of the interface of OAM equipment self to transmission BFD message, the present invention describes the process of transmitting of corresponding BFD message by specific embodiment respectively.
As shown in Figure 2, for the schematic flow sheet of the BFD message transmitting method under a kind of concrete application scenarios proposed by the invention, in this application scenarios, OAM equipment can be specified the member port that sends BFD message, and the concrete operation step of the method is as follows:
Step S201, on OAM CPU, safeguard the information of each aggregation port group, and each member port in aggregation port group is distributed to a backup port.
Step S202, in the time need to sending BFD message by aggregation port group at every turn, OAM CPU direct member port of selection in this aggregation port group, and inquire the backup port of this member port.
The selection of member port is according to the transmit port selective rule of BFD message default in concrete OAM CPU, and after this member port is determined, OAM CPU, from the backup information of the member port of this aggregation port group of its maintenance, inquires the backup port of this member port.
Step S203, OAM CPU send BFD message by this member port and backup port thereof.
Under this send mode, the port of giving out a contract for a project of specifying is aggregation port group, TGID that can aggregation port group finds corresponding member port, send to corresponding member port, and according to the backup information of safeguarding in OAM CPU, also can inquire the information of this backup port, therefore, OAM CPU directly issues BFD message to these two ports, makes two ports send this BFD message to opposite equip., and the multiport that can realize BFD message sends.
The BFD detection messages form of this transmission is simple, does not comprise the information such as Sequence, because BFD message is mainly expected the effect that BFD detects, so opposite equip. receives that many parts of same messages do not have problem yet.
Under this kind of application scenarios, if the member port in aggregation port group changes, OAM CPU directly upgrades corresponding aggregation port group information, and adjust the configuration information of corresponding backup port, selecting due to the transmit port of concrete BFD message is all to be undertaken by OAM CPU, therefore, OAM CPU can be at any time realizes the selection of the transmit port of corresponding BFD message according to the aggregation port group information after upgrading and backup port information, ensures the realization that multiport sends.
On the other hand, as shown in Figure 3, for the schematic flow sheet of the BFD message transmitting method under the concrete application scenarios of another kind proposed by the invention, in this application scenarios, OAM equipment can not be specified the member port that sends BFD message, and the concrete operation step of the method is as follows:
Step S301, on OAM CPU, safeguard the information of each aggregation port group, and each member port in aggregation port group is distributed to a backup port.
On step S302, the chip that connects at OAM CPU, configure acl rule.
For each member port configures corresponding ACL.Like this, all can acl rule of corresponding coupling to any one member port by this BFD message Hash, the BFD message mirror that this member port is sent is to backup port.Same, opposite equip. receives that many parts of same BFD messages can not affect the normal realization that BFD detects yet.
Need to further be pointed out that, after step S302 completes, if aggregation port group changes, return to execution step S301, carry out corresponding aggregation port group information, and the renewal of the corresponding relation of member port and backup port, further, for the setting in the acl rule having configured, also adjust accordingly.
Thus, complete the renewal of member port, backup port and corresponding acl rule, in the time that needs carry out BFD message, continued execution step S303, ensured the realization that BFD message multiport sends.
Step S303, in the time need to sending BFD message by aggregation port group at every turn, this BFD message is handed down to connected chip by 0AM CPU, the forwarding of tabling look-up.
Step S304, chip are tabled look-up and are determined and send the member port of this BFD message, and according to acl rule by this BFD message mirror to backup port.
Chip is through tabling look-up, and Hash determines the member port that sends this BFD message.
On the other hand, because this BFD message meets the matched rule of acl rule, so, chip by this BFD message mirror in the backup port of this member device.
The information of the backup port of this member port can be located in the corresponding acl rule of this member port, the information of this backup port is consistent with the backup information of preserving in OAM CPU.
Step S305, chip send to opposite equip. by this member port and backup port thereof respectively by this BFD message.
No matter apply above-mentioned which kind of mode, OAM CPU sends BFD message to more than two member port by aggregation port group to opposite equip..Like this, in the time that one of them port breaks down or when fault recovery, can not affect the transmission of the BFD message of local terminal.If the equipment of both sides is operation so all, the connectivity of BFD session can not be affected because of polymerization member's variation.
Compared with prior art, the present invention has the following advantages:
By applying technical scheme of the present invention, in aggregation port group, determine backup port for every each member port, and in the time carrying out the transmission of BFD message, the multiport of realizing BFD message by member port and backup port thereof sends, thereby, can not cause because sending the fault of port of BFD message or variation the interruption of BFD session, traffic affecting continuity and reliability, ensure the stability of business.
In order to realize technical scheme of the present invention, based on aforesaid explanation, the invention allows for a kind of OAM equipment, its structural representation as shown in Figure 4, and further comprises with lower module:
Determination module 41, for determining the aggregation port group that sends BFD message;
Sending module 42, for the backup port of member port by the determined aggregation port group of determination module 41 and member port, sends BFD message to opposite equip. respectively.
Further, this OAM equipment, also comprises:
Logging modle 43, for preserving the information of each aggregation port group, and in each aggregation port group, for each member port distributes other more than one member ports in same aggregation port group as backup port, and record the corresponding relation of each member port and backup port.
In concrete enforcement scene, sending module 42, specifically for:
According to the member port of the selected transmission of determination module 41 BFD message, the backup port of inquiring about member port in the member port recording in logging modle 43 and the corresponding relation of backup port, sends to opposite equip. by BFD message by member port and backup port.
In concrete enforcement scene, sending module 42, specifically for BFD message is sent to opposite equip. by a member port in aggregation port group, and by determined backup port in the corresponding access control rule of member port, BFD message is sent to opposite equip..
On the other hand, logging modle 43, also in the time that the member port of an aggregation port group changes, upgrade the member port information in aggregation port group, and according to the information of each member port included in current aggregation port group, adjust the backup port of each member port, upgrade the corresponding relation of each member port and backup port.
Compared with prior art, the present invention has the following advantages:
By applying technical scheme of the present invention, in aggregation port group, determine backup port for every each member port, and in the time carrying out the transmission of BFD message, the multiport of realizing BFD message by member port and backup port thereof sends, thereby, can not cause because sending the fault of port of BFD message or variation the interruption of BFD session, traffic affecting continuity and reliability, ensure the stability of business.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, and the mode that also can add necessary general hardware platform by software realizes.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise that each implements the method described in scene in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) carry out the present invention in some instructions.
It will be appreciated by those skilled in the art that accompanying drawing is a schematic diagram of preferably implementing scene, the module in accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device of implementing in scene can be distributed in the device of implementing scene according to implementing scene description, also can carry out respective change and be arranged in the one or more devices that are different from this enforcement scene.The module of above-mentioned enforcement scene can be merged into a module, also can further split into multiple submodules.
The invention described above sequence number, just to describing, does not represent the quality of implementing scene.
Disclosed is above only several concrete enforcement scene of the present invention, and still, the present invention is not limited thereto, and the changes that any person skilled in the art can think of all should fall into protection scope of the present invention.

Claims (6)

1. a BFD message transmitting method, is characterized in that, described method at least comprises the following steps:
OAM equipment is determined the aggregation port group that sends BFD message;
Described OAM equipment, by a member port in described aggregation port group and the backup port of described member port, sends identical described BFD message to opposite equip. respectively;
Wherein, described OAM equipment also comprises before determining the aggregation port group that sends BFD message:
Described OAM equipment is preserved the information of each aggregation port group;
In each aggregation port group, described OAM equipment is that each member port distributes other more than one member ports in same aggregation port group as backup port, and records the corresponding relation of each member port and backup port;
In the time that the member port in an aggregation port group changes, described method also comprises:
Member port information described in described OAM renewal of the equipment in aggregation port group;
Described OAM equipment, according to the information of each member port included in current described aggregation port group, is adjusted the backup port of each member port, and upgrades the corresponding relation of each member port and backup port.
2. the method for claim 1, is characterized in that, described OAM equipment, by a member port in described aggregation port group and the backup port of described member port, sends identical described BFD message to opposite equip. respectively, specifically comprises:
Described OAM equipment is selected a member port that sends described BFD message in described aggregation port group, and in the corresponding relation of recorded member port and backup port, inquires about the backup port of described member port;
Described OAM equipment sends to described opposite equip. by described BFD message by described member port and described backup port.
3. the method for claim 1, is characterized in that, described OAM equipment, by a member port in described aggregation port group and the backup port of described member port, sends identical described BFD message to opposite equip. respectively, specifically comprises:
Described OAM equipment sends by a member port in described aggregation port group described BFD message to described opposite equip.;
Described OAM equipment, by determined backup port in the corresponding access control rule of described member port, sends to described opposite equip. by described BFD message.
4. an OAM equipment, is characterized in that, at least comprises:
Determination module, for determining the aggregation port group that sends BFD message;
Sending module, for a member port by the determined aggregation port group of described determination module and the backup port of described member port, sends identical described BFD message to opposite equip. respectively;
Wherein, also comprise: logging modle, for preserving the information of each aggregation port group, and in each aggregation port group, for each member port distributes other more than one member ports of same aggregation port group as backup port, and record the corresponding relation of each member port and backup port;
Described logging modle, also for: in the time that the member port of an aggregation port group changes, upgrade the member port information in described aggregation port group, and according to the information of each member port included in current described aggregation port group, adjust the backup port of each member port, upgrade the corresponding relation of each member port and backup port.
5. OAM equipment as claimed in claim 4, is characterized in that, described sending module, specifically for:
According to the member port of the described BFD message of the selected transmission of described determination module, in the member port recording in described logging modle and the corresponding relation of backup port, inquire about the backup port of described member port, described BFD message is sent to described opposite equip. by described member port and described backup port.
6. OAM equipment as claimed in claim 4, is characterized in that, described sending module, specifically for:
Described BFD message is sent to described opposite equip. by a member port in described aggregation port group, and by determined backup port in the corresponding access control rule of described member port, described BFD message is sent to described opposite equip..
CN201110238636.6A 2011-08-19 2011-08-19 Method for transmitting BFD (Bidirectional Forwarding Detection) message and equipment Active CN102299846B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110238636.6A CN102299846B (en) 2011-08-19 2011-08-19 Method for transmitting BFD (Bidirectional Forwarding Detection) message and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110238636.6A CN102299846B (en) 2011-08-19 2011-08-19 Method for transmitting BFD (Bidirectional Forwarding Detection) message and equipment

Publications (2)

Publication Number Publication Date
CN102299846A CN102299846A (en) 2011-12-28
CN102299846B true CN102299846B (en) 2014-09-10

Family

ID=45360033

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110238636.6A Active CN102299846B (en) 2011-08-19 2011-08-19 Method for transmitting BFD (Bidirectional Forwarding Detection) message and equipment

Country Status (1)

Country Link
CN (1) CN102299846B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103248567B (en) * 2013-04-26 2016-12-28 杭州华三通信技术有限公司 A kind of BFD session message transmitting method and equipment
CN107078924B (en) * 2014-12-31 2020-02-14 华为技术有限公司 Method, equipment and system for carrying out bidirectional forwarding detection on aggregation link
CN106161231A (en) * 2015-04-24 2016-11-23 中兴通讯股份有限公司 aggregation port message forwarding method and device
CN109495345B (en) * 2018-11-22 2020-01-03 北京华三通信技术有限公司 BFD processing method and network equipment
CN110086690B (en) * 2019-04-30 2021-06-15 新华三技术有限公司 Bidirectional forwarding detection method and device, electronic equipment and readable storage medium
CN112054969B (en) * 2019-06-06 2023-03-24 中兴通讯股份有限公司 Method and device for realizing message mirror image
CN111277440B (en) * 2020-01-20 2022-04-08 新华三信息安全技术有限公司 Network device
CN111654406B (en) * 2020-02-29 2022-08-30 新华三信息安全技术有限公司 Bidirectional forwarding detection method and device
CN113364705B (en) * 2020-03-06 2022-06-17 烽火通信科技股份有限公司 Method and system for processing protocol message
CN112804116B (en) * 2020-06-30 2023-02-17 中兴通讯股份有限公司 Link detection method, electronic device and computer readable medium
CN114268561B (en) * 2020-09-15 2023-06-09 烽火通信科技股份有限公司 BFD message sending device and method
CN112187637A (en) * 2020-09-17 2021-01-05 苏州浪潮智能科技有限公司 Configuration method and device of Ethernet link aggregation group and computer readable storage medium
CN113225252B (en) * 2021-07-09 2022-02-15 腾讯科技(深圳)有限公司 Establishment method, processing method and related equipment for Bidirectional Forwarding Detection (BFD) session
CN114793199B (en) * 2022-03-30 2024-02-09 新华三信息安全技术有限公司 Message processing method, device and network equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1838620A (en) * 2005-03-25 2006-09-27 华为技术有限公司 Method for detecting chain circuit fault between end-to-end notes in mixed network
CN1863101A (en) * 2005-10-18 2006-11-15 华为技术有限公司 Method for detecting universal route package tunnel
CN101374075A (en) * 2008-06-30 2009-02-25 华为技术有限公司 Method, apparatus and system for protecting multicast source
CN101631016A (en) * 2009-04-14 2010-01-20 华中科技大学 Time synchronization method of fieldbus
CN101834759A (en) * 2010-04-21 2010-09-15 中兴通讯股份有限公司 Detection method of binding link and distributed equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1838620A (en) * 2005-03-25 2006-09-27 华为技术有限公司 Method for detecting chain circuit fault between end-to-end notes in mixed network
CN1863101A (en) * 2005-10-18 2006-11-15 华为技术有限公司 Method for detecting universal route package tunnel
CN101374075A (en) * 2008-06-30 2009-02-25 华为技术有限公司 Method, apparatus and system for protecting multicast source
CN101631016A (en) * 2009-04-14 2010-01-20 华中科技大学 Time synchronization method of fieldbus
CN101834759A (en) * 2010-04-21 2010-09-15 中兴通讯股份有限公司 Detection method of binding link and distributed equipment

Also Published As

Publication number Publication date
CN102299846A (en) 2011-12-28

Similar Documents

Publication Publication Date Title
CN102299846B (en) Method for transmitting BFD (Bidirectional Forwarding Detection) message and equipment
CN102223258B (en) Method and device for preventing BFD (bidirectional forwarding detection) conversation interruption
CN101179453B (en) Link status detecting method and system
CN108965123A (en) A kind of link switch-over method and network communicating system
US9503322B2 (en) Automatic stack unit replacement system
CN101465859B (en) Method and device for triggering main and standby interface board inverse switch
CN102347867B (en) Processing method and equipment for stacking splitting detection
US10868754B2 (en) High availability input/output management nodes
CN102231682B (en) Stacking conflict processing method and equipment
CN104980372A (en) Relay System And Switching Device
CN102571492B (en) Method and device for detecting failure of routing equipment
CN102255751A (en) Stacking conflict resolution method and equipment
CN106533736A (en) Network device reboot method and apparatus
US20140219080A1 (en) Method and apparatus for interworking protection switching
CN102307137B (en) Method and device for transmitting and receiving management message, stacked switchboard and switchboard system
WO2016091094A1 (en) Optical transport network protection switching method and device
US11258666B2 (en) Method, device, and system for implementing MUX machine
CN103220189A (en) Multi-active detection (MAD) backup method and equipment
CN104144130A (en) Virtual machine system interconnection method and system and access switch
CN104104596A (en) Intelligent resilient framework (IRF) split processing method and device
CN101674171B (en) Port configuration management method, single board and port configuration management system
CN105515869A (en) Out-of-band management method and device for virtual switching unit
US7895300B1 (en) Systems and methods for testing device ports in a storage area network
CN106464511A (en) Service protecting method and device
CN104253747A (en) Transmission method and transmission device for performing 1: 1 protection on message in link aggregation group

Legal Events

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

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

Patentee after: Xinhua three Technology Co., Ltd.

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

Patentee before: Huasan Communication Technology Co., Ltd.