CN101483592B - Method and apparatus for inhibiting bidirectional forwarding detection link oscillation - Google Patents

Method and apparatus for inhibiting bidirectional forwarding detection link oscillation Download PDF

Info

Publication number
CN101483592B
CN101483592B CN2009100069059A CN200910006905A CN101483592B CN 101483592 B CN101483592 B CN 101483592B CN 2009100069059 A CN2009100069059 A CN 2009100069059A CN 200910006905 A CN200910006905 A CN 200910006905A CN 101483592 B CN101483592 B CN 101483592B
Authority
CN
China
Prior art keywords
state
bfd
bfd session
frequency values
punishment
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
CN2009100069059A
Other languages
Chinese (zh)
Other versions
CN101483592A (en
Inventor
张磊
韦红波
何辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN2009100069059A priority Critical patent/CN101483592B/en
Publication of CN101483592A publication Critical patent/CN101483592A/en
Application granted granted Critical
Publication of CN101483592B publication Critical patent/CN101483592B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for inhibiting oscillation of a bidirectional forwarding detection link and a device thereof. The method comprises steps of periodically monitoring the session state of bidirectional forwarding detection (BFD) of a first device; calculating the frequency value of the BFD session state which is changed from a state through a state switch to the original state; when the frequency value is bigger than or equal to a set threshold value, the BFD session is inhibited to be switched to the next state. A problem that under a bed network station, when the BFD link enters an oscillation state, the forwarding routing is re-calculated and re-switched continuously, continuous cutoff of network will occur, is solved by using the device and method of inhibiting oscillation of the bidirectional forwarding detection link.

Description

A kind of method and device that suppresses bidirectional forwarding detection link oscillation
Technical field
The present invention relates to the IP network communication technical field, relate in particular to a kind of method and device that suppresses bidirectional forwarding detection link oscillation.
Background technology
In network communication,, increase to the increasing demand of detecting communication failures between adjacent system fast, and seem more and more for important for the fastest best forward-path of selecting that can be faster and better.
Under the situation that does not have hardware signal to send; In the former Routing Protocol, adopt the detecting mechanism of sending HELLO (a kind of message of detecting link) message usually, but under the detecting mechanism of HELLO message; Because the detecting time interval is generally all greater than 1 second; For some special application the detecting time interval long, can't detect and find the Link State that takes place within a short period of time, and when Routing Protocol the time not in running status; Also can't use HELLO message mechanism; So produced a kind of detection method of between two-way routing engine (comprising interface, data link and the expansion engine that some are possible), setting up a paths-two-way forwarding detect (Bidirectional Forwarding Detection, BFD).
The BFD method is carried out real-time failure detection to polytype system; Comprising direct-connected physical system (direct physical links), virtual circuit (VC), tunnel (tunnels), multi protocol label exchange (Multiprotocol Label Switching; MPLS), label switched path (Label Switched Path; LSP), multipath passage and link (path that existence can be returned) that some are unidirectional; When having mulitpath between two systems, in these two adjacent systems, can there be a plurality of BFD Session (BFD session).
The BFD method need be set up reciprocity BFD session at the passage two ends before detection, with based on OSPF (Open Shortest Path First, the process that OSPF) BFD session is set up is example, and is as shown in Figure 1, comprises following step:
Step S101, router-A and router B set up ospf neighbor;
The OSPF of step S102, router-A and router B triggers the BFD processing module initialization BFD session of local terminal when sending the HELLO message;
Step S103, set up the BFD session through the BFD session three-way handshake between ospf neighbor.
After session is set up, send BFD control message to the opposite end separately with the speed of consulting and realize fault detect.
The BFD agreement provides two operator schemes selective; Wherein a kind of pattern is an asynchronous mode, and under asynchronous mode, local terminal system cycle ground sends the BFD message and gives peer-to-peer system; If a series of BDF messages are not all received by peer-to-peer system, this BFD session will lose efficacy (DOWN) so.
The BFD session connection of asynchronous mode is set up in the process, and the state machine state handoff procedure is as shown in Figure 2, wherein:
At first, A, two device start BFD of B, the initial condition of two equipment is (DOWN) state that lost efficacy, and to the other side's transmit status is the probe messages (transmission is spaced apart a second level) of DOWN simultaneously.
After A, arbitrary equipment of B receive that state that the other side sends is the probe messages of DOWN; BFD session status with self switches to initial link setup (INIT) state immediately; Stopping simultaneously to the opposite end transmit status is the probe messages of DOWN, and changing into to the opposite end transmit status is the link building messages of INIT.
Subsequently, when A, any equipment of B receive that under the INIT state state that the other side sends is the BFD link building messages of INIT, then immediately self BFD state machine is switched to (UP) state that comes into force that detects from INIT, and the notice BFD session application of being bound.
After A, the BFD session of B two ends get into the UP state; Both sides send BFD keep-alive message (state is the BFD message of UP) mutually according to the time after consulting (sending at interval normally Millisecond); When link break down or the keep-alive message because certain reason is when abandoning; The testing mechanism of A, B two ends BFD will be reported fault, and the BFD session status of A, B terminal device will switch to DOWN from UP, and operations such as flow switching, route re-computation are carried out in the concrete application of binding of notice.If both sides can normally receive and dispatch message, then both sides' BFD session can get into the UP state again at once.
After the BFD session connection was set up, it all was to cause owing to defective appears in link that the state of the state machine of BFD session switches.
Can there be such problem in present asynchronous mode state machine:
The BFD session is before getting into the UP state; It all is the two-way transmission message at interval of giving out a contract for a project with level second; Time-out time also is second a level, when network condition is relatively poor when packet loss occurring, because the transmission message time in the time interval of session this moment and overtime all longer relatively; Both sides' message still can arrive in time-out time, and the BFD session can normally get into the UP state; But after BFD session entering detected (UP) state that comes into force, both sides' equipment can be with the time after the negotiation, and normally the keep-alive message is sent at the interval of Millisecond mutually; If this moment, network condition was relatively poor; The situation of time-delay or packet loss appears in the transmission in the network; Terminal device A, B will be because of can not in time receiving the keep-alive message that the other side sends; Detect that link breaks down and the state that jumps to inefficacy (DOWN), and operations such as flow switching, route re-computation are carried out in the concrete application of binding of notice; After getting into the DOWN state; Terminal device can be sent probe messages and initial link building messages with the long time interval and time-out time again; Network condition is if can normally receive and dispatch probe messages and initial link building messages at this moment, and then both sides' BFD session can get into the state that comes into force that detects again at once; So circulation, the BFD session status at communication link two ends will get in the process that the frequent cycle of a kind of DOWN → INIT → UP → DOWN switches, and the BFD session status gets into oscillatory regime; Vibration can cause transmitting route constantly to be recomputated and switches, and can cause the lasting cutout in the network.
Summary of the invention
The embodiment of the invention provides a kind of method and device that suppresses bidirectional forwarding detection link oscillation; In order to solve under the relatively poor situation of network condition; The BFD link gets into oscillatory regime and causes transmitting route and constantly recomputate and switch, and causes the problem of the lasting cutout in the network.
The method of the inhibition bidirectional forwarding detection link oscillation that the embodiment of the invention provides comprises:
Periodically the state of two-way forwarding detection BFD session is kept watch on;
In the statistics current period said BFD session status by a kind of state through state switch the total degree of getting back to this state once more, total degree that statistics is obtained is divided by cycle duration, obtains that the BFD session status switches the frequency values of getting back to this state once more by a kind of state in the current period through state;
When said frequency values during, suppress said BFD session and switch to next state more than or equal to preset threshold; Duration that punishment suppresses and said frequency values positive correlation and more than or equal to monitoring period to said BFD session.
Said statistics BFD session status switches the frequency values of getting back to this state once more by a kind of state through state, comprising:
Add up said BFD session status is switched to failure state once more by failure state, initial link setup state and the detection state that comes into force frequency values; Or
Add up said BFD session status by initial link setup state, detect the frequency values that the state that comes into force and failure state switch to initial link setup state once more; Or
Add up said BFD session status and switch to the frequency values that detects the state that comes into force once more by come into force state, failure state and initial link setup state of detection.
The said BFD session of said inhibition switches to next state, comprising:
In the punishment inhibition time of setting, stop to send and receiving the BFD message.
Said punishment suppresses the duration of time and confirms in the following manner:
According to the said frequency values that statistics obtains, confirm that said punishment suppresses the duration of time;
After the punishment inhibition time of said setting finishes, also comprise:
Continue to send corresponding BFD message;
The state of said BFD session is carried out the supervision of next cycle.
A kind of device that suppresses bidirectional forwarding detection link oscillation that the embodiment of the invention provides comprises:
Monitor module is used for periodically the state of two-way forwarding detection BFD session being kept watch on;
Statistical module; Be used to add up the said BFD session status of current period by a kind of state through state switch the total degree of getting back to this state once more, total degree that statistics is obtained is divided by cycle duration, obtains that the BFD session status switches the frequency values of getting back to this state once more by a kind of state in the current period through state;
Judge module is used to judge that whether said frequency is more than or equal to preset threshold;
Suppress module,, suppress said BFD session and switch to next state when said frequency values during more than or equal to preset threshold.
Said statistical module also is used to add up said BFD session status is switched to failure state once more by failure state, initial link setup state and the detection state that comes into force frequency; Or
Add up said BFD session status by initial link setup state, detect the frequency that the state that comes into force and failure state switch to initial link setup state once more; Or
Add up said BFD session status and switch to the frequency that detects the state that comes into force once more by come into force state, failure state and initial link setup state of detection.
Said inhibition module also was used in the punishment inhibition time of setting, and stopped to send and receiving the BFD message.
A kind of device that suppresses bidirectional forwarding detection link oscillation that the embodiment of the invention provides also comprises: the duration determination module, be used for the said frequency values that obtains according to statistics, and confirm that said punishment suppresses the duration of time; Said duration and said frequency values positive correlation.
A kind of device that suppresses bidirectional forwarding detection link oscillation that the embodiment of the invention provides also comprises: BFD message sending module is used for after the said punishment inhibition time finishes, continuing to send corresponding BFD message;
Said monitor module also is used for after the said punishment inhibition time finishes, the state of said BFD session being carried out the supervision of next cycle.
The beneficial effect of the embodiment of the invention is following:
The two-way forwarding of the inhibition that the embodiment of the invention provides detects the method and the device of BFD link oscillation; Under the relatively poor situation of network state; Through the state of BFD session is kept watch on, the BFD session status switches the frequency values of getting back to this state once more by a kind of state through state in the statistics current period, if the frequency values that statistics obtains is more than or equal to preset threshold; Suppress the BFD session and switch to next state; The further link setup flow process that has just suppressed this BFD session has avoided BFD link link re-establishment constantly under the relatively poor situation of networking situation, chain rupture to cause the BFD link oscillation, causes transmitting the problem that route constantly recomputates and switches.
Further, the method and the device of the inhibition BFD link oscillation that the embodiment of the invention provides suppress the step that the BFD session switches to next state; Be through in the punishment inhibition time of setting, stop temporarily sending and receive that any BFD message realizes, and the frequency values positive correlation that obtains of the duration of punishment inhibition time and statistics; In other words, the frequency values that the BFD session status of statistics switches is high more, corresponding; Its punishment inhibition time is just long more, and the strategy that this punishment suppresses can be according to the unsettled practical extent of network condition; Adjust the duration that suppresses BFD link setup flow process, more effectively guaranteed to suppress the effect of BFD link oscillation.
Description of drawings
Fig. 1 sets up sketch map in the prior art based on the BFD session of ospf protocol;
Fig. 2 sets up state machine state handoff procedure figure in the process for the BFD session connection of existing asynchronous mode;
The hardware of the method for the inhibition bidirectional forwarding detection link oscillation that Fig. 3 provides for the embodiment of the invention connects sketch map;
The flow chart of the method for the inhibition bidirectional forwarding detection link oscillation that Fig. 4 provides for the embodiment of the invention;
The structural representation of the device of the inhibition bidirectional forwarding detection link oscillation that Fig. 5 provides for the embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing, a kind of method and device that suppresses bidirectional forwarding detection link oscillation provided by the invention carried out detailed explanation with concrete embodiment.
With application scenarios shown in Figure 3 is example, and in the application scenarios shown in Figure 3, the hardware components of routing forwarding comprises two router (also can be switch or other forwarding units) and the other router R3 that support the BFD function.
Router R1 possesses simultaneously and supports configuring static route, function and support IP quick heavy-route (IP Fast Reroute Framework, the IP FRR) function related with BFD.Different priority is specified in two static routing of configuration on router R1 and interface that Access Network links to each other, and the interface IP address that next of high priority jumped sensing R2 equipment is (142.0.0.2) for example; Next of inferior priority jumped and pointed to the interface IP address that router R3 links to each other with R1; Form primary link by router R1 and router R2, owing to disposed the BFD session association between router R1 and the router R2, the router R1 of support BFD function and the R2 BFD neighbours that can partner; Under primary link normal condition between router R1 and the router R2; When visiting the packet process router R1 of remote equipment by Access Network, transmit through router R1 and router R2, these two routers use BFD session to guarantee the accessibility of primary link simultaneously; In case the link between router R1 and the router R2 breaks down; So, the FRR that route is accomplished in the concrete application of binding of BFD session meeting notice switches, and is about to the reserve link that conversion link switches between router R1 and the router R3 and gets on.
The method of the inhibition BFD link oscillation that the embodiment of the invention provides; Can be in advance carry out the relevant parameter that the BFD link oscillation suppresses, for example to supervision (can the realize) cycle of the state of BFD session, the maximum threshold of BFD session status switching frequency etc. through its state machine is kept watch on to equipment.
The BFD session is normally set up between router R1 and router R2, when getting into the link detecting process, can in the equipment of any end of both link ends, use the method for the inhibition bidirectional forwarding detection link oscillation that the embodiment of the invention provides.
For the convenience of explaining, below be that example is explained only with an end equipment wherein, specify the inhibition bidirectional forwarding detection link oscillation method that the embodiment of the invention provides, and address router R1 is first equipment, correspondingly, address router R2 is second equipment.
The method of the inhibition bidirectional forwarding detection link oscillation that the embodiment of the invention provides, as shown in Figure 4, may further comprise the steps:
S401, according to preset monitoring period, periodically the state of the BFD session of first equipment is kept watch on;
To the supervision of the state of BFD session, can keep watch on realization through state machine (hereinafter to be referred as the BFD state machine, the state of record BFD session) to the BFD session.
This BFD session status switches the frequency values of getting back to this state once more by a kind of state in S402, the statistics current period through state;
If the BFD link has got into oscillatory regime between terminal device, the BFD state machine can be with constantly between different state, switching.
In current period, the frequency of constantly the BFD state machine of first equipment being got back to this state once more by the switching of some state process states is counted.
The once following state migration course of the every generation of BFD state machine for example: switch to initial link setup state (INIT) from failure state (DOWN), the change detection state (UP) that comes into force switches to failure state (DOWN) once more then; Perhaps switch to and detect the state (UP) that comes into force, switch to failure state (DOWN) then, switch to initial link setup state (INIT) once more from initial link setup state (INIT); Perhaps switch to failure state (DOWN) from the detection state (UP) that comes into force; Switch to initial link setup state (INIT) then; Switch to once more and detect the state (UP) that comes into force, all correspondingly carry out record, the number of times of above-mentioned state migration course takes place in statistics in current period.
Obtain total degree that the BFD state machine state migrates divided by cycle duration according to statistics then, obtain in the current period BFD session and switch the occurrence frequency value of getting back to this state once more through state by some states.
The BFD session that step S403, determining step S402 obtain by some states through state switch get back to this state once more frequency values whether greater than preset threshold, if, carry out following step S404, if not, carry out following step S405;
Step S404, in the punishment inhibition time of setting, the punishment of carrying out BFD session link setup suppresses, and suppresses the BFD session and switches to next state.
Concrete implementation method is following:
First equipment stopped to send any BFD message (comprising probe messages, link building messages and keep-alive message) to second equipment in the punishment inhibition time of setting, and for the BFD message that second equipment sends, also stopped to receive, and directly abandoned.
For instance; Suppose that current BFD state machine has switched to DOWN state (statistics BFD session is from the occurrence frequency of DOWN state → INIT state → UP state → DOWN stateful switchover process) by the UP state; The punishment that need carry out BFD session link setup suppresses, and so, first equipment is the probe messages of DOWN to the second equipment transmit status no longer; When second equipment is overtime do not receive the DOWN message that first equipment sends after; Also correspondingly switched to the state of DOWN, even second equipment does not adopt the method for the inhibition BFD link oscillation that the embodiment of the invention provides, continuing to the first equipment transmit status is the probe messages of DOWN; Because first equipment can not receive any BFD message that second equipment sends; So in the punishment inhibition time, the next state that the BFD session of first equipment and second equipment all can't switch to DOWN is the INIT state.
The duration of punishment inhibition time can be confirmed according to the frequency values of adding up the BFD session status migration course that obtains among the step S402; If it is bigger that the BFD session status that obtains of statistics is migrated frequency values; Punish that so the inhibition time can grow a bit; Otherwise, then can lack the frequency values positive correlation that the duration of punishment inhibition time and statistics obtain relatively.
But the punishment inhibition time can not be too short, otherwise can't reach the effect that the BFD link oscillation is suppressed, and usually, the duration of punishment inhibition time is at least more than or equal to the monitoring period to the BFD session.
After the punishment inhibition time finishes, carry out following step S405.
Step S405, first equipment continue to send corresponding BFD message to second equipment, and the state of equipment B FD session is carried out the supervision of next cycle.
When supposing that Penalty time finishes, the state of BFD state machine is the DOWN state, and first equipment is initiated the link setup flow process of next round so, and continuing to the second equipment transmit status is the probe messages of DOWN.
If this moment, link circuit condition took a turn for the better, first equipment and second equipment can get into the UP state again, send the keep-alive message with the very short time interval mutually.
The two-way forwarding of the inhibition that the embodiment of the invention provides detects the method for BFD link oscillation; Can be implemented between router R1 and the router R2 the relatively poor or network condition of network condition when unstable; BFD link setup process is carried out temporary transient inhibition, avoided the BFD link oscillation to cause data forwarding paths frequent problem of switching between primary link and reserve link.
The two-way forwarding of the inhibition that provides according to the embodiment of the invention detects the method for BFD link oscillation; The embodiment of the invention also provides a kind of device that two-way forwarding detects the BFD link oscillation that suppresses; As shown in Figure 5; Comprise: monitor module 501, statistical module 502, judge module 503 and inhibition module 504, wherein:
Monitor module 501 is used for periodically the state of the two-way forwarding detection of equipment BFD session being kept watch on;
Statistical module 502 is used to add up current period equipment B FD session status and switches the frequency values of getting back to this state once more through state by a kind of state;
Judge module 503 is used to judge that whether said frequency is more than or equal to preset threshold;
Suppress module 504, the frequency values that obtains when statistics suppresses this equipment B FD session and switches to next state during more than or equal to preset threshold.
Statistical module 502 in the device of the two-way forwarding detection of the inhibition that the embodiment of the invention provides BFD link oscillation also is used to add up the BFD session status is switched to failure state once more by failure state, initial link setup state and the detection state that comes into force frequency; Or
Statistics BFD session status by initial link setup state, detect the frequency that the state that comes into force and failure state switch to initial link setup state once more; Or
Add up said BFD session status and switch to the frequency that detects the state that comes into force once more by come into force state, failure state and initial link setup state of detection.
Inhibition module 504 in the device of the two-way forwarding detection of the inhibition that the embodiment of the invention provides BFD link oscillation also was used in the punishment inhibition time of setting, and stopped to send and received and send the BFD message.
The two-way forwarding of the inhibition that the embodiment of the invention provides detects the device of BFD link oscillation, and is as shown in Figure 5, can also comprise duration determination module 505, is used for the frequency values that obtains according to statistics, confirms the duration of punishment inhibition time; Duration and this frequency values positive correlation of punishment inhibition time.
The two-way forwarding of the inhibition that the embodiment of the invention provides detects the device of BFD link oscillation, and is as shown in Figure 5, can also comprise: BFD message sending module 506 is used for after the punishment inhibition time finishes, continuing to send corresponding BFD message;
Monitor module 501 also is used for after the punishment inhibition time finishes, the state of BFD session being carried out the supervision of next cycle.
The two-way forwarding of the inhibition that the embodiment of the invention provides detects the method and the device of BFD link oscillation; Under the relatively poor situation of network state; Through the state of BFD session is kept watch on, the BFD session status switches the frequency values of getting back to this state once more by a kind of state through state in the statistics current period, if the frequency values that statistics obtains is more than or equal to preset threshold; Suppress the BFD session and switch to next state; The further link setup flow process that has just suppressed this BFD session has avoided BFD link link re-establishment constantly under the relatively poor situation of networking situation, chain rupture to cause the BFD link oscillation, causes transmitting the problem that route constantly recomputates and switches.
Further, the method and the device of the inhibition BFD link oscillation that the embodiment of the invention provides suppress the step that the BFD session switches to next state; Be through in the punishment inhibition time of setting, stop temporarily sending and receive that the BFD message realizes, and the frequency values positive correlation that obtains of the duration of punishment inhibition time and statistics; In other words, the frequency values that the BFD session status of statistics switches is high more, corresponding; Its punishment inhibition time is just long more, and the strategy that this punishment suppresses can be according to the unsettled practical extent of network condition; Adjust the duration that suppresses BFD link setup flow process, more effectively guaranteed to suppress the effect of BFD link oscillation.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.

Claims (10)

1. a method that suppresses bidirectional forwarding detection link oscillation is characterized in that, comprising:
Periodically the state of two-way forwarding detection BFD session is kept watch on;
In the statistics current period said BFD session status by a kind of state through state switch the total degree of getting back to this state once more, total degree that statistics is obtained is divided by cycle duration, obtains that the BFD session status switches the frequency values of getting back to this state once more by a kind of state in the current period through state;
When said frequency values during, suppress said BFD session and switch to next state more than or equal to preset threshold; Duration that punishment suppresses and said frequency values positive correlation and more than or equal to monitoring period to said BFD session.
2. the method for claim 1 is characterized in that, said statistics BFD session status switches the frequency values of getting back to this state once more by a kind of state through state, comprising:
Add up said BFD session status is switched to failure state once more by failure state, initial link setup state and the detection state that comes into force frequency values; Or
Add up said BFD session status by initial link setup state, detect the frequency values that the state that comes into force and failure state switch to initial link setup state once more; Or
Add up said BFD session status and switch to the frequency values that detects the state that comes into force once more by come into force state, failure state and initial link setup state of detection.
3. method as claimed in claim 2 is characterized in that, the said BFD session of said inhibition switches to next state, comprising:
In the punishment inhibition time of setting, stop to send and receiving the BFD message.
4. method as claimed in claim 3 is characterized in that, said punishment suppresses the duration of time and confirms in the following manner:
According to the said frequency values that statistics obtains, confirm that said punishment suppresses the duration of time.
5. like claim 1 or 4 described methods, it is characterized in that, after the punishment inhibition time of said setting finishes, also comprise:
Continue to send corresponding BFD message;
The state of said BFD session is carried out the supervision of next cycle.
6. a device that suppresses bidirectional forwarding detection link oscillation is characterized in that, comprising:
Monitor module is used for periodically the state of two-way forwarding detection BFD session being kept watch on;
Statistical module; Be used to add up the said BFD session status of current period by a kind of state through state switch the total degree of getting back to this state once more, total degree that statistics is obtained is divided by cycle duration, obtains that the BFD session status switches the frequency values of getting back to this state once more by a kind of state in the current period through state;
Judge module is used to judge that whether said frequency is more than or equal to preset threshold;
Suppress module,, suppress said BFD session and switch to next state when said frequency values during more than or equal to preset threshold; Duration that punishment suppresses and said frequency values positive correlation and more than or equal to monitoring period to said BFD session.
7. device as claimed in claim 6 is characterized in that, said statistical module also is used to add up said BFD session status is switched to failure state once more by failure state, initial link setup state and the detection state that comes into force frequency values; Or
Add up said BFD session status by initial link setup state, detect the frequency values that the state that comes into force and failure state switch to initial link setup state once more; Or
Add up said BFD session status and switch to the frequency values that detects the state that comes into force once more by come into force state, failure state and initial link setup state of detection.
8. device as claimed in claim 6 is characterized in that, said inhibition module also was used in the punishment inhibition time of setting, and stopped to send and receiving the BFD message.
9. device as claimed in claim 8 is characterized in that, also comprises: the duration determination module, be used for the said frequency values that obtains according to statistics, and confirm that said punishment suppresses the duration of time.
10. device as claimed in claim 8 is characterized in that, also comprises: BFD message sending module is used for after the said punishment inhibition time finishes, continuing to send corresponding BFD message;
Said monitor module also is used for after the said punishment inhibition time finishes, the state of said BFD session being carried out the supervision of next cycle.
CN2009100069059A 2009-02-05 2009-02-05 Method and apparatus for inhibiting bidirectional forwarding detection link oscillation Active CN101483592B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100069059A CN101483592B (en) 2009-02-05 2009-02-05 Method and apparatus for inhibiting bidirectional forwarding detection link oscillation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100069059A CN101483592B (en) 2009-02-05 2009-02-05 Method and apparatus for inhibiting bidirectional forwarding detection link oscillation

Publications (2)

Publication Number Publication Date
CN101483592A CN101483592A (en) 2009-07-15
CN101483592B true CN101483592B (en) 2012-01-25

Family

ID=40880530

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100069059A Active CN101483592B (en) 2009-02-05 2009-02-05 Method and apparatus for inhibiting bidirectional forwarding detection link oscillation

Country Status (1)

Country Link
CN (1) CN101483592B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101800673B (en) * 2010-02-03 2014-04-30 中兴通讯股份有限公司 Method and device of bidirectional forwarding detection (BFD) of oscillation damping
CN102195828B (en) * 2010-03-16 2013-10-09 华为技术有限公司 Detection method for server port state and detector
CN102487338B (en) * 2010-12-01 2014-11-05 中兴通讯股份有限公司 Method and device for adjusting bidirectional forwarding detection (BFD) sending interval according to network jitter
CN102075390B (en) * 2011-02-16 2012-08-22 华为技术有限公司 Transmission state detection method and related device thereof
CN102510342B (en) * 2011-11-11 2015-04-29 浪潮(北京)电子信息产业有限公司 Status information acquisition method and system adopting same
CN104270229A (en) * 2014-09-12 2015-01-07 汉柏科技有限公司 Method and device for preventing continuous oscillation of load balancing link
CN109729020B (en) * 2017-10-27 2022-05-20 中兴通讯股份有限公司 Session transmission method, device, storage medium and processor
CN108924044B (en) * 2018-06-22 2020-12-11 迈普通信技术股份有限公司 Link maintenance method, PE device and readable storage medium
CN110224886B (en) * 2019-05-31 2021-02-09 新华三技术有限公司 Tunnel connectivity detection method and device and network edge equipment
CN112422442B (en) * 2020-10-21 2022-07-05 鹏城实验室 Method for processing session interrupt message of bidirectional forwarding detection protocol and storage medium
CN114205264A (en) * 2021-12-23 2022-03-18 安徽皖通邮电股份有限公司 Method, system and medium for inhibiting frequent L2VPN switching caused by BFD frequent oscillation
CN116708284B (en) * 2023-08-09 2023-11-07 中国电信股份有限公司 Oscillation suppression method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1529463A (en) * 2003-10-17 2004-09-15 中兴通讯股份有限公司 Method for treating SONET/SDH complexing segment frequent changing-over
CN1870546A (en) * 2006-01-21 2006-11-29 华为技术有限公司 Method for obtaining communication system channel state
CN101170459A (en) * 2007-11-28 2008-04-30 中兴通讯股份有限公司 Failure detection and link recovery method based on bidirectional forward link
CN101227262A (en) * 2008-02-20 2008-07-23 中兴通讯股份有限公司 System and method of route inhibiting

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1529463A (en) * 2003-10-17 2004-09-15 中兴通讯股份有限公司 Method for treating SONET/SDH complexing segment frequent changing-over
CN1870546A (en) * 2006-01-21 2006-11-29 华为技术有限公司 Method for obtaining communication system channel state
CN101170459A (en) * 2007-11-28 2008-04-30 中兴通讯股份有限公司 Failure detection and link recovery method based on bidirectional forward link
CN101227262A (en) * 2008-02-20 2008-07-23 中兴通讯股份有限公司 System and method of route inhibiting

Also Published As

Publication number Publication date
CN101483592A (en) 2009-07-15

Similar Documents

Publication Publication Date Title
CN101483592B (en) Method and apparatus for inhibiting bidirectional forwarding detection link oscillation
CN101132320B (en) Method for detecting interface trouble and network node equipment
CN101465859B (en) Method and device for triggering main and standby interface board inverse switch
CN101610535B (en) Method, system and device for ensuring BFD conversation stability on the scene of multilink direct connection
CN101340380B (en) Method and apparatus for uninterrupted forwarding of bi-directional forwarding detection in master-slave switch implementation
CN100512128C (en) Method and system for protecting multicast repeat path and service router
CN101710896B (en) Method and device for detecting link quality
CN101577661A (en) Method and equipment for switching path
CN100359860C (en) Multiprotocol label switching network protection switching method
CN101697626A (en) Communication fault detection method and system based on two-way forwarding detection protocol
CN102780635B (en) The method of pretection switch, TOR switch and system is realized based on TRILL network
CN101163060B (en) BFD session establishing method, BFD session establishing device and routing device
CN101800673B (en) Method and device of bidirectional forwarding detection (BFD) of oscillation damping
CN102480753A (en) Link state detecting method and device
CN102355416B (en) Method for establishing route by linking routing information protocol with bidirectional forwarding detection and equipment
CN111447101B (en) Link detection method, device, computer equipment and storage medium
EP2866394A1 (en) Method and device for sending inter-domain fault information
CN101984600A (en) Graceful restart method, equipment and system of routing protocol
WO2013049981A1 (en) Hybrid ring network protection method and system based on shared path
CN110417564B (en) Full-mesh link protection method, device, equipment and storage medium
CN103490951A (en) Bidirectional forwarding detection method in multi-hop link on basis of BFD
CN101374106A (en) Method for forwarding data packet on MPLS LSP, network node and system
WO2006003241A1 (en) Failure detection of path information corresponding to a transmission path
CN103138957A (en) Method, device and system for business path failback
EP2523401B1 (en) Virtual networks within a physical network

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