CN100568854C - A kind of method and interface board that keeps neighborhood - Google Patents
A kind of method and interface board that keeps neighborhood Download PDFInfo
- Publication number
- CN100568854C CN100568854C CNB200710119689XA CN200710119689A CN100568854C CN 100568854 C CN100568854 C CN 100568854C CN B200710119689X A CNB200710119689X A CN B200710119689XA CN 200710119689 A CN200710119689 A CN 200710119689A CN 100568854 C CN100568854 C CN 100568854C
- Authority
- CN
- China
- Prior art keywords
- neighborhood
- message
- distributed apparatus
- keep
- hello packet
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 59
- 230000005540 biological transmission Effects 0.000 claims abstract description 29
- 239000000523 sample Substances 0.000 claims description 22
- 238000012544 monitoring process Methods 0.000 claims description 20
- 238000012423 maintenance Methods 0.000 claims description 8
- 230000008569 process Effects 0.000 abstract description 31
- 238000012545 processing Methods 0.000 description 8
- 230000009977 dual effect Effects 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000009191 jumping Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000002035 prolonged effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of method and a kind of interface board that keeps neighborhood.In distributed apparatus and its neighbor device, set neighborhood and keep message; Interface board in the distributed apparatus generates neighborhood and keeps message, and when each the message transmission cycle that sets in advance arrives, sends neighborhood to described neighbor device and keep message; Described neighbor device judges that whether receiving neighborhood in the keep-alive that sets in advance at interval keeps message, if, then keep the neighborhood with distributed apparatus, otherwise, neighborhood disconnected with distributed apparatus.The present invention does not prolong keep-alive at interval, therefore, can guarantee the routing convergence speed of network; and,, can guarantee that also neighbor device receives the message that is used to keep neighborhood in keep-alive at interval even masterslave switchover takes place in the distributed apparatus; therefore, also guaranteed the success of GR process.
Description
Technical field
The present invention relates to the network communications technology, particularly relate to a kind of method and interface board that keeps neighborhood.
Background technology
In network, distributed apparatus is a kind of network equipment that the data forwarding function is separated with controlled function, and its inside comprises master control borad and interface board.Wherein, master control borad is finished controlled function, keeps neighborhood etc. as the route between discovery and other equipment and with neighbor device, and interface board is then finished the data forwarding function.Fig. 1 is the structural representation of dual master control distributed apparatus.Referring to Fig. 1, at present, in order to improve the reliability of distributed apparatus, be provided with main control board and slave control board in distributed apparatus inside, when main control board breaks down, carry out the masterslave switchover process, slave control board switches to main control board, is responsible for the professional operation of all controls.
In order to make the dual master control distributed apparatus when carrying out masterslave switchover, its data forwarding business is not interrupted, and has proposed Graceful Restart (graceful restart, implementation GR) at present.Distributed apparatus realizes that the process of GR comprises: distributed apparatus is restarted when promptly needing to carry out masterslave switchover in its Control Software, give notice to its neighbor device, neighbor device is according to the notice that receives, the neighborhood and the route that can be implemented to this distributed apparatus in a period of time are constant, that is to say, this neighbor device still with distributed apparatus in interface board carry out normal data interaction, make the professional maintenance of forwarding of network not interrupt, and, after the masterslave switchover of distributed apparatus is finished, it is synchronous that main control board after this neighbor device can also help to switch is finished routing iinformation, makes distributed apparatus return to normal operating conditions.
At present; distributed apparatus and its neighbor device keep the method for neighborhood to be: main control board current in the distributed apparatus is when each message transmission cycle arrives; send hello packet to its neighbor device; whether the neighbor device monitoring receives the hello packet that distributed apparatus is sent in the keep-alive at interval of hello packet correspondence; if receive; then start the monitoring in the next keep-alive at interval; and the neighborhood of maintenance and distributed apparatus; promptly keep and distributed apparatus between route constant; thereby the interface board in continuation and the distributed apparatus carries out data interaction; if do not receive; then disconnect neighborhood with distributed apparatus; delete next jumping simultaneously and be the route of distributed apparatus, thus no longer with distributed apparatus in interface board carry out data interaction.
By above description as can be seen, in the process of existing maintenance neighborhood, thereby distributed apparatus is a master control borad by inside to be sent hello packet to neighbor device and keeps neighborhood.Like this; in the GR implementation procedure; if distributed apparatus is not finished the masterslave switchover of GR process in the keep-alive at interval of hello packet correspondence; just can't send hello packet to its neighbor device by master control borad; make neighbor device disconnect the neighborhood with distributed apparatus; thereby cause the data traffic of distributed apparatus to be interrupted, the GR process can't be successful.
In order to guarantee the success of GR process; a kind of processing method of prior art is: the keep-alive interval that prolongs the hello packet correspondence; make keep-alive interlude length greater than the required time span of distributed apparatus masterslave switchover; the assurance distributed apparatus can be finished masterslave switchover in keep-alive at interval; and to neighbor device transmission hello packet, thereby the success of assurance GR process.
Yet the routing convergence speed when prior art prolongation keep-alive way at interval can reduce network failure often causes the interruption of network traffic data.Such as; link between distributed apparatus generation complete machine disconnection fault or distributed apparatus and its neighbor device disconnects; after making that distributed apparatus can't be proceeded data forwarding at all again; owing to prolonged keep-alive at interval; neighbor device then can only just can detect this fault after waiting for long time, just can carry out corresponding routing convergence processing, thereby has reduced the routing convergence speed of network; cause the long-time interruption of network traffic data, greatly reduce QoS.
This shows how when guaranteeing the GR success, to guarantee the routing convergence speed of network, become a problem demanding prompt solution.
Summary of the invention
In view of this, one object of the present invention is to provide a kind of method that keeps neighborhood, and another purpose of the present invention is to provide a kind of interface board, so that when guaranteeing the GR success, guarantee the routing convergence speed of network.
In order to achieve the above object, technical scheme of the present invention is achieved in that
A kind of method that keeps neighborhood is set neighborhood and is kept message in distributed apparatus and its neighbor device, this method also comprises:
Interface board in the distributed apparatus generates neighborhood and keeps message, and when each the message transmission cycle that sets in advance arrives, sends neighborhood to described neighbor device and keep message;
Described neighbor device judges that whether receiving neighborhood in the keep-alive that sets in advance at interval keeps message, if, then keep the neighborhood with distributed apparatus, otherwise, neighborhood disconnected with distributed apparatus.
A kind of interface board, this interface board comprises:
The message generation unit is used to generate neighborhood and keeps message;
Timing unit is used for arriving a message transmission during cycle in each timing, sends trigger notice to Transmit-Receive Unit;
Transmit-Receive Unit is used for after receiving trigger notice, and the neighborhood that the message generation unit is generated keeps message to be sent to external neighbor equipment.
As seen, in the present invention, do not prolong keep-alive at interval; therefore; can guarantee the routing convergence speed of network, and, again owing to be to generate and send the message that keeps neighborhood by the interface board in the distributed apparatus; rather than generate and send the message that is used to keep neighborhood by master control borad; therefore, even masterslave switchover takes place in the distributed apparatus, can guarantee that also neighbor device receives the message that is used to keep neighborhood in keep-alive at interval; therefore, also guaranteed the success of GR process.
In addition, in the present invention, not only can utilize the original hello packet that uses of distributed apparatus and its neighbor device to be used as keeping the message of neighborhood, and, can also utilize the present probe messages of widely used general monitoring agreement to be used as keeping the message of neighborhood, therefore, increased the flexibility that the present invention realizes greatly.
Description of drawings
Fig. 1 is the structural representation of distributed apparatus.
Fig. 2 is the flow chart that keeps neighborhood in the embodiment of the invention 1.
Fig. 3 is the flow chart that keeps neighborhood in the embodiment of the invention 2.
Fig. 4 is the structural representation of the interface board inside that proposes in one embodiment of the invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with drawings and the specific embodiments.
The present invention proposes a kind of method that keeps neighborhood.In the method, in distributed apparatus and its neighbor device, set neighborhood and keep message; Interface board in the distributed apparatus generates neighborhood and keeps message, and when each the message transmission cycle that sets in advance arrives, sends neighborhood to described neighbor device and keep message; Described neighbor device judges that whether receiving neighborhood in the keep-alive that sets in advance at interval keeps message, if, then keep the neighborhood with distributed apparatus, otherwise, neighborhood disconnected with distributed apparatus.
As seen; in the method for the maintenance neighborhood that the present invention proposes; there is not to prolong the keep-alive interval that is used to wait for the message that keeps neighborhood; therefore; can guarantee the routing convergence speed of network; and; again owing to be to generate and send the neighborhood that keeps neighborhood by the interface board in the distributed apparatus to keep message; rather than generate and send the message that is used to keep neighborhood by master control borad; therefore, even masterslave switchover takes place in the distributed apparatus, can guarantee that also neighbor device receives the message that is used to keep neighborhood in keep-alive at interval; therefore, also guaranteed the success of GR process.
In the present invention, be used to keep the neighborhood of neighborhood to keep message can adopt multiple mode to realize, such as,
Mode one, utilize and be used to keep the hello packet of neighborhood to realize in the prior art.
Mode two, utilize the probe messages of general monitoring agreement to realize.
Keep the dual mode of message to lift a specific embodiment respectively at above-mentioned realization neighborhood below whole implementation procedure of the present invention is described.
Embodiment 1:
In the present embodiment, neighborhood keeps message to adopt the hello packet in the aforesaid way one to realize.
Fig. 2 is the flow chart that keeps neighborhood in the embodiment of the invention 1.Referring to Fig. 2, in the present embodiment, keep a kind of preferable implementation procedure of neighborhood may further comprise the steps:
Step 201: set in distributed apparatus and its neighbor device that to be used to keep the message of neighborhood be hello packet.
This step is identical with the respective handling of prior art, all with the message of hello packet as the maintenance neighborhood.
Step 202: in distributed apparatus, the current main control board and the neighbor device of distributed apparatus are set up neighborhood.
In this step, current main control board can be the main control board of distributed apparatus when masterslave switchover does not take place, at this moment, the processing of this step and Fig. 2 subsequent step can be when the distributed apparatus initial start, is carried out by initial main control board triggering.Such as, in this step, when the interface 1 on the interface board 1 has just started between Routing Protocol such as ospf route (OSPF) agreement or intermediate system in the territory route switching (ISIS) agreement, initial main control board sends hello packet from the interface 1 of this interface board 1, after initial main control board receives the hello packet that neighbor device returns, then set up neighbours' structure with this neighbor device.
In addition, current main control board also can be the main control board behind the distributed apparatus generation masterslave switchover, at this moment, the processing of this step and Fig. 2 subsequent step can be when distributed apparatus carries out the GR process, is carried out by the triggering of the main control board after switching.
Step 203: whether the state that current main control board detects the neighborhood of being set up reaches stable, if then execution in step 205, otherwise, execution in step 204.
Here, whether the state of detection neighborhood reaches stable method is prior art, can simple example be: if the Routing Protocol of distributed apparatus and its neighbor device support is an ospf protocol, so, when main control board current in the distributed apparatus detect and neighbor device between state when arriving FULL, it is stable to determine that then neighborhood has arrived, otherwise, determine that the neighborhood no show is stable; If the Routing Protocol of distributed apparatus and its neighbor device support is the ISIS agreement, so, when main control board current in the distributed apparatus detect and neighbor device between state when arriving UP, it is stable to determine that then neighborhood has arrived, otherwise, determine that the neighborhood no show is stable.
In addition, if the processing of this step is to be triggered by the main control board after switching to carry out, that is to say at distributed apparatus and carry out carrying out in the GR process, so, preferably, the state that the main control board after current main control board is promptly switched detects the neighborhood of being set up reach stable after, can be not execution in step 205 immediately, but after the GR process finished by the time, execution in step 205 again.
Step 204: when current main control board arrived in each message transmission cycle of hello packet correspondence, to the neighbor device transmission hello packet of distributed apparatus, execution in step 203.
Step 205: current main control board is carried at the information of hello packet correspondence in the fault-finding trigger notice and is sent to interface board.
Step 206: the interface board in the distributed apparatus obtains the information of hello packet correspondence from the fault-finding trigger notice that receives.
Step 207: the interface board in the distributed apparatus generates hello packet according to the information of hello packet correspondence, and when the message transmission cycle of each hello packet correspondence arrives, sends hello packet to neighbor device.
Here, the information of hello packet correspondence comprises that at least the complete content of hello packet, the interface index that sends hello packet and message send the cycle.Therefore, in this step 207, interface board in the distributed apparatus can generate hello packet according to the complete content of the hello packet that obtains, and the interface index according to the transmission hello packet that obtains sends hello packet on interface corresponding on the interface board, and, determine according to the message transmission cycle of obtaining whether the message transmission cycle of each hello packet correspondence arrives.
Step 208: the neighbor device of distributed apparatus judges in the keep-alive at interval of hello packet correspondence whether receive the hello packet that distributed apparatus is sent, if then execution in step 209, otherwise, execution in step 210.
Step 209: the neighbor device of distributed apparatus keeps the neighborhood with distributed apparatus, finishes current flow process.
Step 210: the neighbor device of distributed apparatus disconnects the neighborhood with distributed apparatus.
Need to prove, in above-mentioned process shown in Figure 2, be the information of hello packet correspondence to be sent to interface board, that is to say that the interface board in the distributed apparatus is an information of obtaining the hello packet correspondence from current main control board by main control board current in the distributed apparatus.In such cases, if current main control board need be revised the information of hello packet correspondence, as relevant parameter or the message of revising hello packet send the cycle, then current main control board is sent to interface board with the information of updated H ello message correspondence, interface board then according to the information of updated H ello message correspondence, sends hello packet.
In the business realizing of reality, also can directly on interface board, dispose the information of hello packet correspondence, like this, interface board then disposes the information of obtaining the hello packet correspondence according to self.In such cases, revise the information of hello packet correspondence if desired, as relevant parameter or the message of revising hello packet send the cycle, then can the information of updated H ello message correspondence be sent to interface board by administrative staff, interface board then according to the information of updated H ello message correspondence, sends hello packet.
Further, in above-mentioned flow process shown in Figure 2, if current main control board need be ended the transmission of hello packet and (receive the order of Routing Protocol of removing to enable interface of administrative staff input as current main control board, or the order of down interface etc.), so, current main control board notification interface plate, interface board stops to send hello packet according to the notice that receives, and deletes the information of the hello packet correspondence of self obtaining.
Embodiment 2:
In the present embodiment, neighborhood keeps message to adopt the probe messages of the general monitoring agreement in the aforesaid way two to realize, and particularly, the probe messages of surveying in (BFD) agreement with at present widely used two-way forwarding realizes.
Fig. 3 is the flow chart that keeps neighborhood in the embodiment of the invention 2.Referring to Fig. 3, in the present embodiment, keep a kind of preferable implementation procedure of neighborhood may further comprise the steps:
Step 301: configuration BFD agreement in the interface board of distributed apparatus and its neighbor device in advance.
Here, the BFD agreement is the irrelevant general monitoring agreement that is used for the detecting link fault of a kind of and Routing Protocol that present equipment is extensively supported.Define content, the message of finishing the probe messages that the detecting link fault need use in the BFD agreement and sent cycle and keep-alive at interval.Preferably, in this step, the message of BFD correspondence sends cycle and keep-alive interlude length, can be required to set by the fault-finding susceptibility of BFD agreement according to network.Such as, network requirement was found link failure in 5 seconds, so, then keep-alive interlude length can be made as 5 seconds.
Step 302: setting is used to keep the message of neighborhood can be the probe messages of BFD agreement in distributed apparatus and its neighbor device in advance.
Step 303: in distributed apparatus, the current main control board and the neighbor device of distributed apparatus are set up neighborhood.
Step 304: whether the state that current main control board detects the neighborhood of being set up reaches stable, if then execution in step 306, otherwise, execution in step 305.
Step 305: when current main control board arrived in each message transmission cycle of hello packet correspondence, to the neighbor device transmission hello packet of distributed apparatus, execution in step 304.
Above-mentioned steps 303 step 202 to the description of the specific implementation process of step 305 and Fig. 2 is identical to the description of the specific implementation process of step 204.
Step 306: current main control board is sent to interface board with the fault-finding trigger notice.
Step 307: after the interface board in the distributed apparatus receives the fault-finding trigger notice,, generate the probe messages of BFD agreement according to the BFD agreement of configuration.
Step 308: the interface board in the distributed apparatus when the message transmission cycle of each probe messages correspondence arrives, sends this probe messages to neighbor device according to the BFD agreement of configuration.
Step 309: the neighbor device of distributed apparatus judges in the keep-alive at interval of probe messages correspondence whether receive the probe messages that distributed apparatus is sent according to the BFD agreement of configuration, if then execution in step 310, otherwise, execution in step 311.
Step 310: the neighbor device of distributed apparatus keeps the neighborhood with distributed apparatus, finishes current flow process.
Step 311: the neighbor device of distributed apparatus disconnects the neighborhood with distributed apparatus.
In order further to guarantee the success of GR process; preferably; in present embodiment 2; also can prolong the keep-alive interval of hello packet correspondence; make this keep-alive at interval greater than the needed time of masterslave switchover; like this; in the GR process; when the current main control board in the flow process shown in Figure 3 during for the main control board after masterslave switchover takes place; by the processing of above-mentioned steps 303 to step 305; can guarantee then that neighbor device is received in keep-alive at interval switches the hello packet that the back main control board sends, and guarantees that further neighbor device can not disconnect the neighborhood with distributed apparatus in the GR process, guarantee the success of GR process.On the other hand; because the detecting link fault, the processing of trigger network routing convergence is to be realized by the probe messages with the mutual BFD agreement of neighbor device by interface board, therefore; even prolong the keep-alive interval of hello packet correspondence, also can not reduce the routing convergence speed of network.
In above-mentioned process shown in Figure 3, be to be the implementation procedure that example illustrates present embodiment with the BFD agreement in the general monitoring agreement.In the business realizing of reality, also can use operation management maintain (OAM) agreement in the general monitoring agreement, that is to say that the probe messages that adopts in the OAM agreement is used as keeping the message of neighborhood, its specific implementation keeps the process of neighborhood identical with above-mentioned process shown in Figure 3.
In above-mentioned Fig. 2 and process shown in Figure 3, preferably, employed interface board is the interface board that directly links to each other with described neighbor device.
Need to prove, since the neighborhood that the main control board of distributed apparatus and neighbor device are set up do not reach stablize before, the neighborhood relevant treatment more complicated that main control board carried out, such as, need carry out the state negotiation and carry out that neighbours survey with neighbor device etc., therefore, in above-mentioned Fig. 2 and process shown in Figure 3, adopted neighborhood reach stable before, send the hello packet that can keep neighborhood by current main control board, neighborhood reach stable after, send the hello packet or the probe messages that can keep neighborhood by interface board again.Certainly, this processing mode is just in order to reduce the service load quantity of interface board, guarantees that interface board finishes the preferred process mode that data forwarding is handled.In the business realizing process of reality, also can not consider the state of the neighborhood set up, after distributed apparatus starts, send the hello packet or the probe messages that can keep neighborhood by interface board all the time.
The invention allows for a kind of distributed apparatus, its inner structure comprises as shown in Figure 1: main control board, slave control board and interface board, wherein,
Interface board is used to generate neighborhood and keeps message, and when each the message transmission cycle that sets in advance arrives, to the neighbor device transmission neighborhood maintenance message of distributed apparatus.
Particularly, interface board in the distributed apparatus can adopt the hello packet of the original support of distributed apparatus to be used as neighborhood maintenance message, in such cases, described interface board is used to obtain the information of hello packet correspondence, and, keep message to carry out above-mentioned transmission as described neighborhood hello packet and handle according to this information generation hello packet that obtains.
In addition, interface board in the distributed apparatus can also dispose and the irrelevant general monitoring agreement of Routing Protocol, as BFD agreement or OAM agreement etc., and, keep message to carry out above-mentioned transmission as described neighborhood probe messages and handle according to the general monitoring agreement generation probe messages that disposes.
Preferably, in distributed apparatus, main control board then can be when setting up neighborhood with described neighbor device, detects the state of the neighborhood of being set up, when the state of this neighborhood reach stable after, send the fault-finding trigger notice to described interface board; Described interface board after receiving the fault-finding trigger notice, is carried out the processing that above-mentioned generation neighborhood keeps message again.Further, described main control board also the state that detects described neighborhood do not reach stable before, when each message transmission cycle of hello packet correspondence arrives, send hello packet to the neighbor device of described distributed apparatus.
The invention allows for a kind of interface board.Fig. 4 is the structural representation of the interface board inside that proposes in one embodiment of the invention.Referring to Fig. 4, the interface board in the distributed apparatus comprises: message generation unit, timing unit and Transmit-Receive Unit, wherein,
The message generation unit is used to generate neighborhood and keeps message;
Timing unit is used for arriving a message transmission during cycle in each timing, sends trigger notice to Transmit-Receive Unit;
Transmit-Receive Unit is used for after receiving trigger notice, and the neighborhood that the message generation unit is generated keeps message to be sent to external neighbor equipment.
Referring to Fig. 4, described message generation unit generates neighborhood and keeps a kind of implementation of message to be: described message generation unit obtains the information of hello packet correspondence or disposes the information of obtaining the hello packet correspondence according to self from the current main control board of place distributed apparatus, and generates the hello packet that keeps message as neighborhood according to this information of obtaining.
Referring to Fig. 4, described message generation unit generates neighborhood and keeps the another kind of implementation of message to be: described message generation unit configuration and the irrelevant general monitoring agreement of Routing Protocol generate the probe messages that keeps message as neighborhood according to general monitoring agreement.
In a word, the above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1, a kind of method that keeps neighborhood is characterized in that, sets neighborhood and keep message in distributed apparatus and its neighbor device, and this method also comprises:
Interface board in the distributed apparatus generates neighborhood and keeps message, and when each the message transmission cycle that sets in advance arrives, sends neighborhood to described neighbor device and keep message;
Described neighbor device judges that whether receiving neighborhood in the keep-alive that sets in advance at interval keeps message, if, then keep the neighborhood with distributed apparatus, otherwise, neighborhood disconnected with distributed apparatus.
2, method according to claim 1 is characterized in that, it is hello packet that described neighborhood keeps message; The message that described message transmission cycle and described keep-alive are respectively the hello packet correspondence at interval sends cycle and keep-alive interval;
Interface board in the described distributed apparatus generates neighborhood and keeps the step of message to comprise: the described interface board in the distributed apparatus obtains the information of hello packet correspondence or disposes the information of obtaining the hello packet correspondence according to self from current main control board, and generates hello packet according to this information of obtaining.
3, method according to claim 2 is characterized in that, the information of described hello packet correspondence comprises: the content that hello packet is complete, the interface index that sends hello packet and message send the cycle.
4, method according to claim 1 is characterized in that, this method further comprises: configuration and the irrelevant general monitoring agreement of Routing Protocol in the described interface board of distributed apparatus and described neighbor device;
It is the probe messages of general monitoring agreement that described neighborhood keeps message; Described message transmission cycle and described keep-alive are respectively the transmission cycle and the keep-alive interval of the probe messages correspondence of general monitoring agreement at interval.
5, method according to claim 4 is characterized in that, the transmission cycle of the probe messages correspondence of described general monitoring agreement and keep-alive interlude length are required to set according to the fault-finding susceptibility by general monitoring agreement.
6, method according to claim 4 is characterized in that, described general monitoring agreement is that BFD agreement or operation management maintain OAM agreement are surveyed in two-way forwarding.
7, according to any described method in the claim 1 to 6, it is characterized in that, this method further comprises: main control board current in the distributed apparatus is when setting up neighborhood with described neighbor device, detect the state of the neighborhood of being set up, the state of described neighborhood do not reach stable before, when current main control board arrived in each message transmission cycle of hello packet correspondence, neighbor device to described distributed apparatus sends hello packet, the state of described neighborhood reach stable after, current main control board sends the fault-finding trigger notice to described interface board;
Described interface board continues to carry out the step that generates neighborhood maintenance message after receiving the fault-finding trigger notice.
According to any described method in the claim 1 to 6, it is characterized in that 8, described interface board is the interface board that directly links to each other with described neighbor device.
9, a kind of interface board is characterized in that, this interface board comprises:
The message generation unit is used to generate neighborhood and keeps message;
Timing unit is used for arriving a message transmission during cycle in each timing, sends trigger notice to Transmit-Receive Unit;
Transmit-Receive Unit is used for after receiving trigger notice, and the neighborhood that the message generation unit is generated keeps message to be sent to external neighbor equipment.
10, interface board according to claim 9, it is characterized in that, described message generation unit, be used for obtaining the information of hello packet correspondence or disposing the information of obtaining the hello packet correspondence, and generate the hello packet that keeps message as neighborhood according to this information of obtaining according to self from the current main control board of place distributed apparatus; Perhaps, be used to dispose and the irrelevant general monitoring agreement of Routing Protocol, generate the probe messages that keeps message as neighborhood according to general monitoring agreement.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB200710119689XA CN100568854C (en) | 2007-07-30 | 2007-07-30 | A kind of method and interface board that keeps neighborhood |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB200710119689XA CN100568854C (en) | 2007-07-30 | 2007-07-30 | A kind of method and interface board that keeps neighborhood |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101094186A CN101094186A (en) | 2007-12-26 |
CN100568854C true CN100568854C (en) | 2009-12-09 |
Family
ID=38992220
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB200710119689XA Expired - Fee Related CN100568854C (en) | 2007-07-30 | 2007-07-30 | A kind of method and interface board that keeps neighborhood |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100568854C (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102307194A (en) * | 2011-08-18 | 2012-01-04 | 杭州华三通信技术有限公司 | Graceful restarting method and device for universal protocol process |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102014054A (en) * | 2010-11-22 | 2011-04-13 | 中兴通讯股份有限公司 | Sending method and equipment for keep-alive messages |
CN102223258B (en) * | 2011-08-02 | 2013-10-23 | 杭州华三通信技术有限公司 | Method and device for preventing BFD (bidirectional forwarding detection) conversation interruption |
CN102413031B (en) * | 2011-12-28 | 2015-09-23 | 杭州华三通信技术有限公司 | A kind of RPR fault protecting method and equipment thereof |
CN103200109B (en) * | 2013-03-22 | 2016-06-29 | 杭州华三通信技术有限公司 | A kind of ospf neighbor relationship management method and equipment |
CN104980295A (en) | 2014-04-09 | 2015-10-14 | 中兴通讯股份有限公司 | Method, device and system for preventing network node from aging |
CN105340226B (en) * | 2014-06-30 | 2018-11-16 | 华为技术有限公司 | The method and device thereof of the main preparation system switching of dynamic routing equipment |
CN104135393B (en) * | 2014-08-19 | 2017-07-14 | 新华三技术有限公司 | A kind of topological maintaining method of distributed system and device |
CN106330696A (en) * | 2015-06-30 | 2017-01-11 | 中兴通讯股份有限公司 | Sending method and device for keep-alive messages |
CN105141529A (en) * | 2015-08-12 | 2015-12-09 | 安徽皖通邮电股份有限公司 | IS-IS protocol neighbor establishing method and system |
CN105591938B (en) * | 2015-10-12 | 2019-05-17 | 新华三技术有限公司 | Keep alive Packet processing method and processing device |
CN107528706A (en) * | 2016-06-21 | 2017-12-29 | 中兴通讯股份有限公司 | A kind of equipment main and standby rearranging method and device based on link protocol |
US10735313B2 (en) * | 2018-10-22 | 2020-08-04 | Juniper Networks, Inc. | Reducing traffic loss during network device failure in an open shortest path first (OSPF) protocol-based local area network |
CN111355764B (en) * | 2018-12-24 | 2023-10-24 | 迈普通信技术股份有限公司 | Keep-alive message sending method and device, electronic equipment and readable storage medium |
CN111917590B (en) * | 2020-08-11 | 2022-11-18 | 南京航空航天大学 | MAC table processing device and method for main/standby switching data packets of Internet of things manufacturing gateway |
-
2007
- 2007-07-30 CN CNB200710119689XA patent/CN100568854C/en not_active Expired - Fee Related
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102307194A (en) * | 2011-08-18 | 2012-01-04 | 杭州华三通信技术有限公司 | Graceful restarting method and device for universal protocol process |
CN102307194B (en) * | 2011-08-18 | 2015-06-10 | 杭州华三通信技术有限公司 | Graceful restarting method and device for universal protocol process |
Also Published As
Publication number | Publication date |
---|---|
CN101094186A (en) | 2007-12-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100568854C (en) | A kind of method and interface board that keeps neighborhood | |
US9270524B2 (en) | Method and device for LACP link switching and data transmission | |
CN100527716C (en) | Method and gateway equipment for resuming service after switching status of main/standby gateway device | |
CN102148677B (en) | Method for updating address resolution protocol table entries and core switch | |
CN101340380B (en) | Method and apparatus for uninterrupted forwarding of bi-directional forwarding detection in master-slave switch implementation | |
US20040139179A1 (en) | Method and system for router misconfiguration autodetection | |
CN101895437B (en) | Method and equipment of distributed bidirectional forwarding detection (BFD) | |
CN102035676A (en) | ARP (Address Resolution Protocol) interaction based method and equipment for detecting and recovering link fault | |
US20040179524A1 (en) | Apparatus and method for processing control packet in spanning tree protocol | |
CN101909006B (en) | BFD (Bidirectional Forwarding Detection) message sending and receiving methods as well as device and communication system thereof | |
CN104869057A (en) | OpeFlow switch graceful restart processing method, device and OpeFlow controller | |
CN102255757A (en) | Link switching method and device | |
CN102195861A (en) | Method and device for establishing BFD (bidirectional forwarding detection) session in route switching process | |
CN103200109A (en) | Method and device for OSPF neighboring node management | |
CN101931550A (en) | Method and device for synchronizing main and standby main control boards | |
CN111585797A (en) | Ethernet link switching method, device, equipment and computer readable storage medium | |
CN101827035B (en) | Method for ensuring graceful restarting and dual master control network device | |
CN111327527B (en) | Flow forwarding method and system, SDN controller and computer readable storage medium | |
CN102932249B (en) | A kind of transmission method of VRRP message and device | |
CN100461764C (en) | Method and system for implementing consistency of message forwarding routes | |
US7860090B2 (en) | Method for processing LMP packets, LMP packet processing unit and LMP packet processing node | |
CN101635656B (en) | Fault detection method in layered ordered address packet network, system and equipment | |
CN102281158A (en) | Line fault processing method and device | |
CN102223241B (en) | Method and equipment for informing network change | |
JP5518771B2 (en) | Redundant network system, termination device and relay point adjacent device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Patentee after: NEW H3C TECHNOLOGIES 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: HANGZHOU H3C TECHNOLOGIES Co.,Ltd. |
|
CP03 | Change of name, title or address | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20091209 |
|
CF01 | Termination of patent right due to non-payment of annual fee |