CN102223241A - Method and equipment for informing network change - Google Patents

Method and equipment for informing network change Download PDF

Info

Publication number
CN102223241A
CN102223241A CN2010101500694A CN201010150069A CN102223241A CN 102223241 A CN102223241 A CN 102223241A CN 2010101500694 A CN2010101500694 A CN 2010101500694A CN 201010150069 A CN201010150069 A CN 201010150069A CN 102223241 A CN102223241 A CN 102223241A
Authority
CN
China
Prior art keywords
bfd
equipment
session
detects
associated group
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
CN2010101500694A
Other languages
Chinese (zh)
Other versions
CN102223241B (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 CN2010101500694A priority Critical patent/CN102223241B/en
Publication of CN102223241A publication Critical patent/CN102223241A/en
Application granted granted Critical
Publication of CN102223241B publication Critical patent/CN102223241B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method and equipment for informing network change. The method comprises the following steps: A, a bidirectional forwarding detection (BFD) association set of intermediate equipment is configured on each intermediate equipment, wherein the BFD association set comprises a BFD detection conversation of a port of the intermediate equipment; and B, when the network change is detected in the BFD detection conversation between one communication equipment and the intermediate equipment communicated with the communication equipment, the intermediate equipment communicated with the communication equipment sends change information to another communication equipment through other BFD detection conversations in the BFD association set of the intermediate equipment, besides the BFD detection conversation in which the network change is detected. By using the invention, in the event of transmitting flow between switching equipment S1 and switching equipment S2, the switching equipment S2 can obtain a fault which is generated between the switching equipment S1 and routing equipment R1 where the switching equipment passes through in time; and a route reaching the switching equipment S1 can be updated in time.

Description

Network change Notification Method and equipment
Technical field
The present invention relates to the network communications technology, particularly network change Notification Method and equipment.
Background technology
In order to promote the existing network performance, need network equipment fast detecting to link failure, recover communication so that set up alternate channel quickly.Two-way forwarding detects (BFD:Bidirectional ForwardingDetection) owing to have advantages such as light load, detection time be short and be widely used in the link detecting.Wherein, BFD is the unified testing mechanism of a cover the whole network, the quick fault testing mechanism that it provides general a, standardization, media independent, protocol-independent can be each upper-layer protocol such as fast detecting outbound path faults such as Routing Protocol, MPLS, has improved professional transmission quality.
Referring to Fig. 1, Fig. 1 is the networking schematic diagram that BFD detects in the prior art.Networking shown in Figure 1 comprise a plurality of switching equipment (S) as switching equipment S1 to switching equipment S2, with a plurality of routing devices (R) as routing device R1 to routing device R4, suppose that the IGRP (IGP) in the networking is ospf (OSPF) agreement, then as shown in Figure 1, if switching equipment S2 sends message to switching equipment S1 by transmission path switching equipment S2-routing device R1-switching equipment S1.In order to realize the quick switching of switching equipment S1 to link between the switching equipment S2, here need be at switching equipment S1 and routing device R1, routing device R2, routing device R3, set up BFD on the link between the routing device R4 and detect session, and switching equipment S2 and routing device R1, routing device R2, routing device R3, set up BFD on the link between the routing device R4 and detect session, afterwards, the BFD that sets up detects session can carry out the BFD detection to corresponding link, fault has taken place if detect the link of finding between switching equipment S1 and the routing device R1 through BFD, then routing device R1 can upgrade next jumping that arrives the route of switching equipment S1 in the routing table, be routing device R4 such as upgrading next jumping, send LSA message to self all ospf neighbor such as switching equipment S2 then, to inform that ospf neighbor upgrades next jumping of the route that arrives switching equipment S1, after each ospf neighbor receives LSA message, upgrade next jumping that arrives the route of switching equipment S1 in the routing table.
In the prior art scheme, the operation that routing device R1 upgrades routing table and switching equipment S2 renewal routing table is not to carry out simultaneously, and, routing device R1 upgrades routing table by LSA message informing switching equipment S2, this generally needs the long time, will produce a kind of situation like this: after routing device R1 upgrades routing table, and before switching equipment S2 upgrades routing table, switching equipment S2 is not owing to know that fault has taken place the link between routing device R1 and the switching equipment S1, based on this, it still can send message to routing device R1, after routing device R1 receives message, because it has upgraded the route next jump that arrives switching equipment S1 in the routing table is routing device R4, therefore, it can send to routing device R4 with the message that receives, by routing device R4 by and switching equipment S1 between link message is sent to switching equipment S1, promptly after routing device R1 upgrades routing table, and before switching equipment S2 upgraded routing table, original path switching equipment S2-routing device R1-switching equipment S1 was updated to switching equipment S2-routing device R1-routing device R2-switching equipment S1.After switching equipment S2 upgraded routing table, then switching equipment S2 can E-Packet such as switching equipment S2-routing device R2-switching equipment S1 according to the new route after upgrading when switching equipment S1 sends message, and this moment, new route got around routing device R1.
As can be seen, in existing scheme, when between switching equipment S1 and the switching equipment S2 during delivery flow rate, if switching equipment S1 and via routing device R1 between link occurs fault, then after routing device R1 upgrades routing table, and before switching equipment S2 upgrades routing table, next jumping in the routing table after message between switching equipment S2 and the switching equipment S1 will upgrade by routing device R1 and routing device R1 is that the link between the routing device R4 transmits, this obviously can moment increase routing device and routing device is the congested of link between routing device R1 and the routing device R4, and then can influence some networks such as performances such as data center network.
Summary of the invention
The invention provides a kind of network change Notification Method and equipment, make during with delivery flow rate between switching equipment S1 and switching equipment S2 switching equipment S2 in time know switching equipment S1 with via the link occurs fault of routing device, and upgrade in time and arrive the route of switching equipment S1.
Technical scheme provided by the invention comprises:
A kind of network change Notification Method is used to comprise the system of two communication equipments and at least one intermediate equipment, and described two communication equipments communicate by described at least one intermediate equipment, and described method comprises:
A, the two-way forwarding of this intermediate equipment of configuration detects the BFD associated group on each intermediate equipment, and described BFD associated group comprises that the BFD of this intermediate equipment port detects session;
B, when one of them communication equipment and and the intermediate equipment of this communication apparatus communication between BFD when detecting session and detecting network change and the intermediate equipment of this communication apparatus communication remove the BFD that detects network change in by the BFD associated group of this intermediate equipment and detect other BFD the session and detect sessions and send variations and be communicated to another communication equipment.
Preferably, described two communication equipments are two different switching equipment, and described intermediate equipment is a routing device.
Preferably, the BFD of described intermediate equipment port detects session and detects session for this intermediate equipment and this intermediate equipment a BFD between jumping on the path that described two communication equipments are communicating, and this intermediate equipment and the BFD detection session of this intermediate equipment between next jumping on the path that described two communication equipments are communicating.
Preferably, among the described step B one of them communication equipment and and the intermediate equipment of this communication apparatus communication between BFD detect the detected network change of session be this communication equipment and and the intermediate equipment of this communication apparatus communication between link occurs fault; Described variation is advertised as the BFD fault notification.
Preferably, the transmission among the described step B comprises:
B1, described and intermediate equipment communication apparatus communication determines to detect described fault from the BFD associated group that has disposed BFD detects the BFD associated group under the session, and uses and remove the BFD that the described BFD that detects fault detects the session in the BFD associated group of determining and detect session transmission BFD fault notification;
B2 is described another communication equipment, then execution in step B3 if receive the equipment of described BFD fault notification; If receiving the equipment of BFD fault notification is other intermediate equipments, then execution in step B4;
B3, the route that the communication equipment that described another communication equipment breaks down according to the link between link failure information renewal of carrying in the described BFD fault notification and the described intermediate equipment communicates;
B4, the intermediate equipment that receives the BFD fault notification determines that the employed BFD of the BFD fault notification that receives detects the affiliated associated group of session, the BFD that uses the BFD that uses except that described BFD fault notification in this BFD associated group of determining to detect the session detects session announcement BFD fault, and is back to step B2.
Preferably, in the described steps A, when the detection of the BFD between communication equipment and intermediate equipment session detected link failure, further comprise: this communication equipment upgraded the route that arrives this intermediate equipment.
Preferably, when BFD detection session changes, further comprise: the corresponding BFD associated group of BFD detection session that refreshes and change.
Preferably, described BFD detection session changes and comprises: increase BFD and detect session or delete this BFD detection session;
When increasing BFD detection session, described refreshing comprises: the BFD that will increase detects session and is added in the corresponding BFD associated group;
When deletion BFD detected session, described refreshing comprised: corresponding this BFD that peels off detects session in the BFD associated group under this BFD detects session.
A kind of network change announcement apparatus, described equipment by two communication equipments communicate the intermediate equipment of process, described equipment comprises:
BFD associated group administrative unit is used for the BFD associated group of administration configuration on described equipment, and the BFD that comprises described device port in the described BFD associated group detects session;
Change determining unit, be used for when knowing that BFD between described equipment and one of them communication equipment detects session and detects network change, transmission is notified to notification unit;
Notification unit is used for detecting session transmission variation by described BFD associated group other BFD except that the BFD that detects network change detects session and is communicated to another communication equipment.
Preferably, described network change is the link occurs fault between described equipment and one of them communication equipment; Described variation is advertised as the BFD fault notification.
Preferably, described notification unit determines to detect described fault from the BFD associated group that has disposed BFD detects the BFD associated group under the session, and use the BFD that detects the session except that the described BFD that detects fault in the BFD associated group of determining to detect session transmission BFD fault notification, so that described another communication equipment is when receiving described BFD fault notification, according to the link failure information of carrying in the described BFD fault notification upgrade and described equipment between the route that communicates of the communication equipment that breaks down of link.
Preferably, described BFD associated group administrative unit also is used for adding the described BFD that has set up and detect session in this BFD associated group when the BFD associated group of management need be added the BFD detection session of having set up; And the BFD that comprises in the BFD associated group of deletion management is when detecting session, and corresponding this BFD that peels off detects session in this BFD associated group.
As can be seen from the above technical solutions, still Figure 1 shows that example, the technique scheme that adopts the application to provide, then if two communication equipments are respectively switching equipment S1 and switching equipment S2, intermediate equipment by communicate between switching equipment S1 and the switching equipment S2 the routing device of process, pass through path switching equipment S1-routing device R1-switching equipment S2 to switching equipment S2 delivery flow rate such as switching equipment S1, wherein, intermediate equipment is routing device R1, based on technique scheme, need on the routing device R1 on this path, dispose the BFD associated group, wherein, the BFD that the BFD associated group that routing device R1 upward disposes comprises between routing device R1 and the switching equipment S1 detects session, and the BFD between routing device R1 and the switching equipment S2 detects session, afterwards, when the detection of the BFD between routing device R1 and switching equipment S1 session detects link failure, routing device R1 upgrades the route that arrives switching equipment S1, and determines the BFD associated group under the described BFD detection session from the BFD associated group that has disposed; Afterwards, BFD in the BFD associated group that routing device R1 triggering is determined except that the BFD that detects fault detects session detects session transmission BFD fault notification and is sent to switching equipment S2, so that switching equipment S2 after receiving the BFD fault notification, upgrades the route that arrives routing device R1.That is to say, among the present invention, realized that each BFD detects session association, and utilize BFD to detect session announcement BFD fault, those skilled in the art know, the BFD duration is shorter, be generally less than the blanking time of traffic transport, like this, owing to causing switching equipment S2, link failure between switching equipment S1 and the routing device R1 do not upgrade route when utilizing BFD to detect session announcement BFD fault can to avoid between switching equipment S1 and switching equipment S2 delivery flow rate fully with regard to problem that delivery flow rate brought, increase the congested of link between the routing device such as moment, and influence the problem of some networks such as performances such as data center network.
Description of drawings
Fig. 1 is the networking schematic diagram that BFD detects in the prior art;
The basic flow sheet that Fig. 2 provides for the embodiment of the invention;
The associated group illustraton of model that Fig. 3 provides for the embodiment of the invention;
The networking schematic diagram that Fig. 4 a provides for the embodiment of the invention;
Another networking schematic diagram that Fig. 4 b provides for the embodiment of the invention;
The equipment structure chart that Fig. 5 provides for the embodiment of the invention.
Embodiment
The method that the embodiment of the invention provides is applied to comprise the system of two communication equipments and at least one intermediate equipment, described two communication equipments communicate by described at least one intermediate equipment, described method comprises: A, the two-way forwarding of this intermediate equipment of configuration detects the BFD associated group on each intermediate equipment, and described BFD associated group comprises that the BFD of this intermediate equipment port detects session; B, when one of them communication equipment and and the intermediate equipment of this communication apparatus communication between BFD when detecting session and detecting network change and the intermediate equipment of this communication apparatus communication remove the BFD that detects network change in by the BFD associated group of this intermediate equipment and detect other BFD the session and detect sessions and send variations and be communicated to another communication equipment.
In said method, described two communication equipments are two different switching equipment, described intermediate equipment be two switching equipment communicate via routing device.The BFD of described intermediate equipment port detects session and detects session for this intermediate equipment and this intermediate equipment a BFD between jumping on the path that described two communication equipments are communicating, and this intermediate equipment and the BFD detection session of this intermediate equipment between next jumping on the path that described two communication equipments are communicating.And, further, described one of them communication equipment and and the intermediate equipment of this communication apparatus communication between BFD can be when detecting the detected network change specific implementation of session this communication equipment and and the intermediate equipment of this communication apparatus communication between link occurs fault; Correspondingly, described variation is advertised as the BFD fault notification.It should be noted that this network change also can be other information in the present embodiment, such as network topology change etc., present embodiment does not specifically limit.
In order to make the purpose, technical solutions and advantages of the present invention clearer, be that link turns round and look at exhibition below with the network change, and change and be advertised as the BFD fault notification and describe the present invention.
The method of the notice routing update that the embodiment of the invention provides as shown in Figure 2, in the method, if need delivery flow rate between switching equipment S1 and the switching equipment S2, method then in order to realize that the embodiment of the invention provides, need be when this traffic transport configuration BFD associated group on each routing device of process, wherein, at each routing device, the BFD associated group that disposes on this routing device specifically can be as shown in Figure 3 the model of BFD associated group, it can comprise this routing device and the BFD of this routing device between last one on the path that is used to transmit described flow (calling transmission path in the following text) jumped detects session, and this routing device and the BFD detection session of this routing device between next jumping on the described transmission path.With shown in Figure 1, if the transmission path that uses is switching equipment S1-routing device R1-switching equipment S2, then need on routing device R1, dispose the BFD associated group, this BFD associated group specifically can comprise: the BFD between routing device R1 and the switching equipment S1 (also being the last jumping of routing device R1) detects session, and the BFD between routing device R1 and the switching equipment S2 (also being next jumping of routing device R1) detects session.So, based on top description, with switching equipment S1 and as on it one jump or the routing device R1 of next jumping between BFD detect session to detect link failure be example, here, owing to clearly do not go out the direction of traffic transport between switching equipment 1 and the switching equipment 2, therefore, can not determine that outlet is that last one of switching equipment 1 is jumped or next jumping by equipment 1 on earth, if switching equipment 1 is to switching equipment 2 delivery flow rates, then routing device 1 must be next jumping of switching equipment 1 obviously, if switching equipment 2 is to switching equipment 1 delivery flow rate, then routing device 1 must be a last jumping of switching equipment 1 obviously; At switching equipment 2 and as on it one jump or the routing device of next jumping between BFD detect session to detect the principle of other situations of link failure similar.Then like this, as shown in Figure 2, this flow process can may further comprise the steps:
Step 201, routing device R1 upgrades the route that arrives switching equipment S1, and determines the BFD associated group under the described BFD detection session from the BFD associated group that has disposed.
Here, when the detection of the BFD between routing device R1 and switching equipment S1 session detected link failure, the route of the also renewable arrival routing device of switching equipment S1 R1 was so that follow-up flow is transmitted.
Step 202, other BFD in the BFD associated group that routing device R1 triggering is determined except that the BFD that detects fault detects session detect sessions and send the BFD fault notification to switching equipment S2, so that switching equipment S2 after receiving the BFD fault notification, upgrades the route that arrives switching equipment S1.
As can be seen, routing update Notification Method than the background technology description, in the embodiment of the invention, routing device R1 utilizes the routing update of LSA message announcement, but BFD is detected session association by configuration BFD associated group, and utilize BFD to detect session announcement BFD fault, usually, the BFD duration is shorter, be generally less than the blanking time of traffic transport, like this, owing to causing switching equipment S2, link failure between switching equipment S1 and the routing device R1 do not upgrade route in the time of can avoiding between switching equipment S1 and switching equipment S2 delivery flow rate fully with regard to problem that delivery flow rate brought.
Need to prove, the BFD associated group that disposes on routing device in the present embodiment is not to immobilize, it can carry out corresponding interpolation and deletion, such as, when adding corresponding BFD detection session in the BFD associated group of desiring according to actual needs disposing, this BFD can be detected session joins in the BFD associated group that has disposed, at this moment, all incidents in its added BFD associated group of BFD detection conversational response of this interpolation of need assurance are such as sending BFD fault notification etc., and guarantee that self detected all incident must be notified to the BFD associated group such as detecting link failure, so that detecting sessions, other BFD in this BFD associated group of later use carry out the BFD fault notification.When the current BFD that there is no need of deletion in the BFD associated group of desiring disposing detected session, then corresponding this BFD that peels off detected session in this BFD associated group, and at this moment, the BFD of being stripped from out detects the detection incident of session separate responses self.
Also need to prove, in the present embodiment, BFD detects session and is based on link establishment, such as, BFD between routing device R1 and the switching equipment S1 detects session, is essentially between routing device R1 and the switching equipment S1 BFD detection session based on vlan link.Preferably, exist under the situation of a plurality of vlan links between routing device R1 and the switching equipment S1, also can set up BFD and detect session, perhaps select one of them to set up BFD detection session in a plurality of vlan links that between routing device R1 and switching equipment S1, exist according to actual conditions based on each vlan link between routing device R1 and the switching equipment S1.
For method that the embodiment of the invention is provided is clearer, be specifically described below.
In the networking shown in Fig. 4 a, if adopt transmission path between switching equipment S1 and the switching equipment S2: switching equipment S1-routing device R1-switching equipment S2 comes mutual flow, in order to realize the quick switching of switching equipment S1 to link between the switching equipment S2, here need be at switching equipment S1 and routing device R1, routing device R2, routing device R3, set up BFD on the link between the routing device R4 and detect session, and switching equipment S2 and routing device R1, routing device R2, routing device R3, set up BFD on the link between the routing device R4 and detect session, routing device R1 and switching equipment S1 are mainly described here, and the detection of the BFD between routing device R1 and switching equipment S2 session, it is similar that other BFD detect session principles.
In Fig. 4 a, routing device R1 and on one to jump be to set up BFD on the VLAN10 between the switching equipment S1 to detect session and (be designated as BFD and detect session 1, it should be noted that, if have a plurality of vlan links such as VLAN10 link between routing device R1 and the switching equipment S1, the VLAN20 link, VLAN30 link etc., then also can on each vlan link, set up BFD respectively and detect session, be simple description, hereinafter all be that to detect session be example only to set up BFD on the VLAN10 link between routing device R1 and the switching equipment S1), and on routing device R1 and next jumping are VLAN11 link between the switching equipment S2, set up BFD and detect session (being designated as BFD detection session 2).Afterwards, this transmission path via routing device be to be set as follows on the routing device R1:
Bfb group 1//BFD associated group of establishment is designated as Group ID1;
Bfd group 1unresponse/response//whether respond the BFD announcement, acquiescence does not respond;
BFD on bfd add member vlan 10//adding VLAN10 link detects session 1;
BFD on bfd add member vlan 11//adding VLAN11 link detects session 2.
Comprise two BFD detection sessions in the Group ID1 as can be seen by above configuration, be respectively BFD and detect session 1 and BFD detection session 2.
Afterwards, BFD detection session 1 and BFD detection session 2 are carried out fault detect according to existing mode.If BFD detects session 1 and detects fault, promptly the VLAN10 link has occurred unusually, and based on this, switching equipment S1 upgrades the route that arrives routing device R1, so that follow-up converting flow; And at routing device R1, it upgrades the route that arrives switching equipment S1 in the routing table earlier; Simultaneously, find BFD to detect BFD associated group under the session 1, the BFD associated group that finds here is above-mentioned Group ID1; Afterwards, BFD in the traversal Group ID1 detects session, it is that above-mentioned BFD detects session 2 transmission BFD fault notification that BFD among the use Group ID1 except that BFD detects session 1 detects session, here, carried link failure information in the BFD fault notification, can realize by the diag field in the BFD fault notification is expanded during specific implementation.Because it is that the BFD based on the VLAN11 link detects session between routing device R1 and the switching equipment S2 that BFD detects session 2, therefore, when using BFD to detect session 2 transmission BFD fault notification, switching equipment S2 can directly receive the BFD fault notification, after the BFD announcement arrives switching equipment S2, owing to do not exist on the switching equipment S2 BFD that is used to send this BFD fault notification to detect the BFD associated group under the session or have this BFD associated group, but no longer comprise other BFD sessions except that the BFD that is used to send this BFD fault notification detects session in this BFD associated group, illustrate that then switching equipment S2 is an end device, therefore, after switching equipment S2 receives the BFD fault notification, upgrade the route that arrives switching equipment S1 according to the link failure information of carrying in this BFD fault notification and promptly respond this BFD fault notification, here, concrete update method can be similar with prior art.
More than be to be that example is described there to be a routing device between switching equipment S1 and the switching equipment S2, preferably, a kind of expansion as the embodiment of the invention, describe above the embodiment of the invention also can be utilized and realize that all segment link detections associate on the end-to-end complete trails, be described below.
In the networking shown in Fig. 4 b, if the transmission path that delivery flow rate uses between switching equipment S1 and the switching equipment S2 is: switching equipment S1-routing device R1-routing device R2-routing device R3-routing device R4-switching equipment S2, in order to realize the quick switching of switching equipment S1 to link between the switching equipment S2, here need be at switching equipment S1 and routing device R1, routing device R2, routing device R3, set up BFD on the link between the routing device R4 and detect session, and switching equipment S2 and routing device R1, routing device R2, routing device R3, set up BFD on the link between the routing device R4 and detect session.
Afterwards, at all routing devices on this transmission path is that routing device R1 disposes the BFD associated group respectively to routing device R4, wherein, the BFD based on the VLAN10 link detects session between routing device R1 and the switching equipment S1 if the BFD associated group 1 that routing device R1 upward disposes comprises, and the BFD based on the VLAN20 link detects session between routing device R1 and the routing device R2; The BFD associated group 2 that routing device R2 goes up configuration comprises that the BFD based on the VLAN20 link detects session between routing device R2 and the routing device R1, and between routing device R2 and the routing device R3 based on the BFD detection session of VLAN30 link; The BFD associated group 3 that routing device R3 goes up configuration comprises that the BFD based on the VLAN30 link detects session between routing device R3 and the routing device R2, and between routing device R3 and the routing device R2 based on the BFD detection session of VLAN40 link; The BFD associated group 4 that routing device R4 goes up configuration comprises that the BFD based on the VLAN40 link detects session between routing device R4 and the routing device R3, and between routing device R4 and the switching equipment S2 based on the BFD detection session of VLAN50 link.
Afterwards, each BFD detects session and carries out link detecting, if fault has taken place in the VLAN10 link that the detection of the BFD between switching equipment S1 and routing device R1 session detects between switching equipment S1 and the routing device R1, then switching equipment S1 and routing device R1 can respond, be specially: switching equipment S1 responds this fault, promptly upgrade the route that arrives routing device R1, so that follow-up converting flow; Routing device R1 also can respond this fault, promptly upgrade the route that arrives switching equipment S1, afterwards, in the BFD associated group that self is configured, search and comprised the BFD associated group that the BFD that detects link failure detects session, if the BFD associated group that finds the here BFD associated group 1 for having disposed, then to utilize in this BFD associated group other BFD to detect sessions be that the BFD based on the VLAN11 link detects session transmission BFD fault notification between routing device R1 and the routing device R2 to routing device R1.After routing device R2 receives the BFD fault notification, the BFD associated group that the BFD that discovery is used to send this BFD fault notification detects under the session is a BFD associated group 2, afterwards, utilize other BFD in this BFD associated group 2 to detect session continuation transmission BFD fault notification, preferably, here, routing device R2 can be the BFD fault notification between the routing device R1 according to the pre-configured routing device that triggers self and send this BFD fault notification that determines whether further also, here be example not trigger, same, after routing device R3 and routing device R4 receive the BFD fault notification, also can carry out according to the operation of routing device R2.Finally, after the BFD announcement arrives switching equipment S2, owing to do not exist on the switching equipment S2 BFD that is used to send this BFD fault notification to detect the BFD associated group under the session or have this BFD associated group, but no longer comprise other BFD sessions except that the BFD that is used to send this BFD fault notification detects session in this BFD associated group, illustrate that then switching equipment S2 is an end device, therefore, after switching equipment S2 receives the BFD fault notification, be that link between routing device R1 and the switching equipment S1 fault has taken place upgrades the route that arrives switching equipment S1 according to the fault message that carries in this BFD fault notification.So far, realized switching equipment S2 routing update by aforesaid operations.
By above-mentioned two Application Examples as can be seen, after configuring the BFD associated group, the network equipment on the transmission path is specially routing device or switching equipment and only need follows following principle and just can realize fast notification BFD fault, be specially: if present networks equipment is routing device, during then detected BFD fault, need to trigger anomalous event and promptly send the BFD fault notification, and respond this anomalous event and promptly upgrade route; If present networks equipment is switching equipment, then when detected BFD fault, need this anomalous event of response promptly to upgrade route, when receiving the BFD fault notification, only comprise this BFD session or do not have this BFD associated group if the BFD that this BFD fault notification is utilized in the present networks equipment detects in the affiliated BFD associated group of session, then respond this anomalous event and promptly upgrade route; If present networks equipment receives the BFD fault notification, and comprise a plurality of BFD sessions in the BFD associated group under the BFD that this BFD fault notification the is utilized detection session, then according to the BFD fault notification between the pre-configured equipment that determines whether triggering self and sending this BFD fault notification.
More than method that the embodiment of the invention is provided describe in detail, below in conjunction with specific embodiment equipment provided by the invention is described in detail.
Referring to Fig. 5, the structure chart of the equipment that Fig. 5 provides for the embodiment of the invention.In the present embodiment, described equipment by two communication equipments communicate the intermediate equipment of process, wherein, these two communication equipments can be two different switching equipment, and this equipment when communicating for these two switching equipment via routing device; As shown in Figure 5, described equipment can comprise:
BFD associated group administrative unit is used for the BFD associated group of administration configuration on described equipment, and the BFD that comprises described device port in the described BFD associated group detects session; Wherein, the BFD of device port detects session and specifically can be described equipment and this equipment a BFD between jumping on the path that described two communication equipments are communicating and detect session, and this equipment and the BFD detection session of this equipment between next jumping on the path that described two communication equipments are communicating.
Change determining unit, be used for when knowing that BFD between described equipment and one of them communication equipment detects session and detects network change, transmission is notified to notification unit.
Notification unit is used for detecting session transmission variation by described BFD associated group other BFD except that the BFD that detects network change detects session and is communicated to another communication equipment.
Preferably, above-mentioned network change is the link occurs fault between described equipment and one of them communication equipment; Described variation is advertised as the BFD fault notification.Based on this, in the present embodiment, notification unit can determine to detect described fault from the BFD associated group that has disposed BFD detects the BFD associated group under the session, and use the BFD that detects the session except that the described BFD that detects fault in the BFD associated group of determining to detect session transmission BFD fault notification, so that described another communication equipment is when receiving described BFD fault notification, according to the link failure information of carrying in the described BFD fault notification upgrade and described equipment between the route that communicates of the communication equipment that breaks down of link.Wherein, the concrete operations of notification unit are specially: with two communication equipments is two different switching equipment, such as being respectively switching equipment S1 and switching equipment S2, equipment shown in Figure 5 is routing device, then the detection of the BFD between this routing device and one of them switching equipment S1 session detects link failure, and then notification unit uses the BFD that detects the session except that the described BFD that detects fault in the BFD associated group of determining to detect session transmission BFD fault notification; If switching equipment S2 receives described BFD fault notification, then upgrade the route that arrives this routing device; If other routing devices on the described transmission path receive the BFD fault notification, determine that then the BFD that described BFD fault notification uses detects the affiliated associated group of session, the BFD that uses the BFD that uses except that described BFD fault notification in the BFD associated group of determining to detect the session detects session announcement BFD fault, receives described BFD fault notification until switching equipment S2.
In addition, in the present embodiment, BFD associated group administrative unit also is used for adding the described BFD that has set up and detect session in this BFD associated group when the BFD associated group of management need be added the BFD detection session of having set up; And the BFD that comprises in the BFD associated group of deletion management is when detecting session, and corresponding this BFD that peels off detects session in this BFD associated group.
So far, realized the description of equipment that the embodiment of the invention is provided.
As can be seen from the above technical solutions, still Figure 1 shows that example, the technique scheme that adopts the application to provide, then if two communication equipments are respectively switching equipment S1 and switching equipment S2, intermediate equipment by communicate between switching equipment S1 and the switching equipment S2 the routing device of process, pass through path switching equipment S1-routing device R1-switching equipment S2 to switching equipment S2 delivery flow rate such as switching equipment S1, wherein, intermediate equipment is routing device R1, based on technique scheme, need on the routing device R1 on this path, dispose the BFD associated group, wherein, the BFD that the BFD associated group that routing device R1 upward disposes comprises between routing device R1 and the switching equipment S1 detects session, and the BFD between routing device R1 and the switching equipment S2 detects session, afterwards, when the detection of the BFD between routing device R1 and switching equipment S1 session detects link failure, routing device R1 upgrades the route that arrives switching equipment S1, and determines the BFD associated group under the described BFD detection session from the BFD associated group that has disposed; Afterwards, BFD in the BFD associated group that routing device R1 triggering is determined except that the BFD that detects fault detects session detects session transmission BFD fault notification and is sent to switching equipment S2, so that switching equipment S2 after receiving the BFD fault notification, upgrades the route that arrives routing device R1.That is to say, among the present invention, realized that each BFD detects session association, and utilize BFD to detect session announcement BFD fault, those skilled in the art know, the BFD duration is shorter, be generally less than the blanking time of traffic transport, like this, owing to causing switching equipment S2, link failure between switching equipment S1 and the routing device R1 do not upgrade route when utilizing BFD to detect session announcement BFD fault can to avoid between switching equipment S1 and switching equipment S2 delivery flow rate fully with regard to problem that delivery flow rate brought, increase the congested of link between the routing device such as moment, and influence the problem of some networks such as performances such as data center network.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being made, is equal to replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (12)

1. network change Notification Method is used to comprise the system of two communication equipments and at least one intermediate equipment, and described two communication equipments communicate by described at least one intermediate equipment, it is characterized in that described method comprises:
A, the two-way forwarding of this intermediate equipment of configuration detects the BFD associated group on each intermediate equipment, and described BFD associated group comprises that the BFD of this intermediate equipment port detects session;
B, when one of them communication equipment and and the intermediate equipment of this communication apparatus communication between BFD when detecting session and detecting network change and the intermediate equipment of this communication apparatus communication remove the BFD that detects network change in by the BFD associated group of this intermediate equipment and detect other BFD the session and detect sessions and send variations and be communicated to another communication equipment.
2. method according to claim 1 is characterized in that, described two communication equipments are two different switching equipment, and described intermediate equipment is a routing device.
3. method according to claim 1 and 2, it is characterized in that, the BFD of described intermediate equipment port detects session and detects session for this intermediate equipment and this intermediate equipment a BFD between jumping on the path that described two communication equipments are communicating, and this intermediate equipment and the BFD detection session of this intermediate equipment between next jumping on the path that described two communication equipments are communicating.
4. method according to claim 1 and 2, it is characterized in that, among the described step B one of them communication equipment and and the intermediate equipment of this communication apparatus communication between BFD detect the detected network change of session be this communication equipment and and the intermediate equipment of this communication apparatus communication between link occurs fault; Described variation is advertised as the BFD fault notification.
5. method according to claim 4 is characterized in that, the transmission among the described step B comprises:
B1, described and intermediate equipment communication apparatus communication determines to detect described fault from the BFD associated group that has disposed BFD detects the BFD associated group under the session, and uses and remove the BFD that the described BFD that detects fault detects the session in the BFD associated group of determining and detect session transmission BFD fault notification;
B2 is described another communication equipment, then execution in step B3 if receive the equipment of described BFD fault notification; If receiving the equipment of BFD fault notification is other intermediate equipments, then execution in step B4;
B3, the route that the communication equipment that described another communication equipment breaks down according to the link between link failure information renewal of carrying in the described BFD fault notification and the described intermediate equipment communicates;
B4, the intermediate equipment that receives the BFD fault notification determines that the employed BFD of the BFD fault notification that receives detects the affiliated associated group of session, the BFD that uses the BFD that uses except that described BFD fault notification in this BFD associated group of determining to detect the session detects session announcement BFD fault, and is back to step B2.
6. method according to claim 4 is characterized in that, in the described steps A, when the detection of the BFD between communication equipment and intermediate equipment session detected link failure, further comprise: this communication equipment upgraded the route that arrives this intermediate equipment.
7. method according to claim 1 is characterized in that, when BFD detection session changes, further comprises: the corresponding BFD associated group of BFD detection session that refreshes and change.
8. method according to claim 7 is characterized in that, described BFD detection session changes and comprises: increase BFD and detect session or delete this BFD detection session;
When increasing BFD detection session, described refreshing comprises: the BFD that will increase detects session and is added in the corresponding BFD associated group;
When deletion BFD detected session, described refreshing comprised: corresponding this BFD that peels off detects session in the BFD associated group under this BFD detects session.
9. network change announcement apparatus, described equipment by two communication equipments communicate the intermediate equipment of process, it is characterized in that described equipment comprises:
BFD associated group administrative unit is used for the BFD associated group of administration configuration on described equipment, and the BFD that comprises described device port in the described BFD associated group detects session;
Change determining unit, be used for when knowing that BFD between described equipment and one of them communication equipment detects session and detects network change, transmission is notified to notification unit;
Notification unit is used for detecting session transmission variation by described BFD associated group other BFD except that the BFD that detects network change detects session and is communicated to another communication equipment.
10. routing device according to claim 9 is characterized in that, described network change is the link occurs fault between described equipment and one of them communication equipment; Described variation is advertised as the BFD fault notification.
11. routing device according to claim 10, it is characterized in that, described notification unit determines to detect described fault from the BFD associated group that has disposed BFD detects the BFD associated group under the session, and use the BFD that detects the session except that the described BFD that detects fault in the BFD associated group of determining to detect session transmission BFD fault notification, so that described another communication equipment is when receiving described BFD fault notification, according to the link failure information of carrying in the described BFD fault notification upgrade and described equipment between the route that communicates of the communication equipment that breaks down of link.
12. routing device according to claim 11, it is characterized in that, described BFD associated group administrative unit also is used for adding the described BFD that has set up and detect session in this BFD associated group when the BFD associated group of management need be added the BFD detection session of having set up; And the BFD that comprises in the BFD associated group of deletion management is when detecting session, and corresponding this BFD that peels off detects session in this BFD associated group.
CN2010101500694A 2010-04-15 2010-04-15 Method and equipment for informing network change Active CN102223241B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101500694A CN102223241B (en) 2010-04-15 2010-04-15 Method and equipment for informing network change

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101500694A CN102223241B (en) 2010-04-15 2010-04-15 Method and equipment for informing network change

Publications (2)

Publication Number Publication Date
CN102223241A true CN102223241A (en) 2011-10-19
CN102223241B CN102223241B (en) 2013-09-11

Family

ID=44779674

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101500694A Active CN102223241B (en) 2010-04-15 2010-04-15 Method and equipment for informing network change

Country Status (1)

Country Link
CN (1) CN102223241B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104253745A (en) * 2013-06-29 2014-12-31 华为技术有限公司 Routing canceling method and network equipment
CN107064959A (en) * 2017-02-03 2017-08-18 北京子午精航科技有限公司 The enhanced forwarding engine apparatus and its implementation of Beidou satellite navigation system
CN114338459A (en) * 2021-12-24 2022-04-12 迈普通信技术股份有限公司 Path detection method, path detection device, network equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101132320A (en) * 2007-09-18 2008-02-27 华为技术有限公司 Method for detecting interface trouble and network node equipment
CN101136789A (en) * 2006-08-30 2008-03-05 华为技术有限公司 Method and device for implementing terminal-to-terminal link detection, routing strategy rearrangement
US20080247324A1 (en) * 2007-04-06 2008-10-09 Nadeau Thomas D Detection of specific bfd path failures
CN101395853A (en) * 2006-03-02 2009-03-25 思科技术公司 A technique for efficiently and dynamically maintaining bidirectional forwarding detection on a bundle of links

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101395853A (en) * 2006-03-02 2009-03-25 思科技术公司 A technique for efficiently and dynamically maintaining bidirectional forwarding detection on a bundle of links
CN101136789A (en) * 2006-08-30 2008-03-05 华为技术有限公司 Method and device for implementing terminal-to-terminal link detection, routing strategy rearrangement
US20080247324A1 (en) * 2007-04-06 2008-10-09 Nadeau Thomas D Detection of specific bfd path failures
CN101132320A (en) * 2007-09-18 2008-02-27 华为技术有限公司 Method for detecting interface trouble and network node equipment

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
D.KATZ ET AL: "《Generic Application of BFD draft-ietf-bfd-generic-05》", 5 February 2009, article "generic application of bfd", pages: 3-18 *
杭州华三通信技术有限公司: "《BFD技术***》", 31 December 2008, article "典型组网应用", pages: 10-12 *
龚铁柱: "一种基于BFD检测的IP快速重路由解决方案", 《中国高新技术企业》, no. 10, 1 April 2009 (2009-04-01), pages 74 - 75 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104253745A (en) * 2013-06-29 2014-12-31 华为技术有限公司 Routing canceling method and network equipment
CN107064959A (en) * 2017-02-03 2017-08-18 北京子午精航科技有限公司 The enhanced forwarding engine apparatus and its implementation of Beidou satellite navigation system
CN114338459A (en) * 2021-12-24 2022-04-12 迈普通信技术股份有限公司 Path detection method, path detection device, network equipment and computer readable storage medium
CN114338459B (en) * 2021-12-24 2024-02-13 迈普通信技术股份有限公司 Path detection method, path detection device, network equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN102223241B (en) 2013-09-11

Similar Documents

Publication Publication Date Title
US9634928B2 (en) Mesh network of simple nodes with centralized control
CN101170459B (en) Failure detection and link recovery method based on bidirectional forward link
EP2074752B1 (en) Resiliency schemes in connection oriented communications networks
CN102780635B (en) The method of pretection switch, TOR switch and system is realized based on TRILL network
CN101610535B (en) Method, system and device for ensuring BFD conversation stability on the scene of multilink direct connection
CN100512128C (en) Method and system for protecting multicast repeat path and service router
CN102035676A (en) ARP (Address Resolution Protocol) interaction based method and equipment for detecting and recovering link fault
CN104980372A (en) Relay System And Switching Device
CN101860492A (en) Quick switching method, device and system
CN102195822B (en) Fault detection method and business provider edge (PE) equipment
EP2553870B1 (en) An operations, administrations and management proxy and a method for handling operations, administrations and management messages
CN103026663A (en) Distributed connectivity verification protocol redundancy
CN101252528B (en) Method and apparatus for detecting malfunction
CN102195861A (en) Method and device for establishing BFD (bidirectional forwarding detection) session in route switching process
CN103354521A (en) LDP-based optimization method and device for LSP update
CN103490951A (en) Bidirectional forwarding detection method in multi-hop link on basis of BFD
CN102281165A (en) Fault detection method based on QoS, system and apparatus thereof
CN102611610A (en) Method and system for centralized management of a plurality of tunnels with same path
CN103297338A (en) Virtual private network (VPN) router advertisement method and device
CN102857316A (en) Method and system for realizing source looped network protection
CN101834759A (en) Detection method of binding link and distributed equipment
CN102223241B (en) Method and equipment for informing network change
US7860090B2 (en) Method for processing LMP packets, LMP packet processing unit and LMP packet processing node
CN102882779A (en) VRRP (Virtual Router Redundancy Protocol) advertisement link protection method and system
CN113037622B (en) System and method for preventing BFD from vibrating

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.