[go: up one dir, main page]

CN106302248A - A kind of neighbours' method for building up and device - Google Patents

A kind of neighbours' method for building up and device Download PDF

Info

Publication number
CN106302248A
CN106302248A CN201610795504.6A CN201610795504A CN106302248A CN 106302248 A CN106302248 A CN 106302248A CN 201610795504 A CN201610795504 A CN 201610795504A CN 106302248 A CN106302248 A CN 106302248A
Authority
CN
China
Prior art keywords
tunnel
network device
peer network
destination address
deleted
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
CN201610795504.6A
Other languages
Chinese (zh)
Other versions
CN106302248B (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.)
Hangzhou 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 CN201610795504.6A priority Critical patent/CN106302248B/en
Publication of CN106302248A publication Critical patent/CN106302248A/en
Application granted granted Critical
Publication of CN106302248B publication Critical patent/CN106302248B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/82Miscellaneous aspects
    • H04L47/825Involving tunnels, e.g. MPLS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

Embodiments providing a kind of neighbours' method for building up and device, be applied to the tunnel module of arbitrary network equipment, described method includes: when receiving tunnel and deleting message, obtain the destination address in tunnel to be deleted;According to described destination address, it is judged that peer network device can be connected to;If it could not, delete described tunnel to be deleted;If it can, according to the destination address in described tunnel to be deleted, notice neighbor protocol module sets up the neighborhood with described peer network device.The embodiment of the present invention can improve the efficiency that neighbours set up, and makes the network equipment provide normal network service.

Description

A kind of neighbours' method for building up and device
Technical field
The present invention relates to communication technical field, particularly relate to a kind of neighbours' method for building up and device.
Background technology
ENDP (Enhanced Neighbor Discovery Protocol, the Neighbor Discovery Protocol of enhancing) is a kind of using In the agreement automatically finding neighbours.The use of this agreement can be greatly simplified network configuration, reduces the maintenance of webmaster staff Workload.As, in VXLAN (Virtual eXtensible Local Area Network, expansible Virtual Local Area Network) VTEP (VXLAN Tunnel End Point, VXLAN endpoint of a tunnel) can automatically find neighbours VTEP, and oneself by ENDP Move and set up neighborhood.
In actual applications, when finding neighboring net-work device, and after setting up neighborhood, can automatically set at local terminal network Tunnel (tunnel) is set up, to carry out message interaction between the network devices between standby and neighboring net-work device.Tunnel is one Virtual point-to-point connection, the two ends in tunnel need to be packaged data message and decapsulate.
Specifically, when the local terminal network equipment is learnt to neighboring net-work device by neighbor protocol module, and set up neighbours pass After system, can create should the tunnel of neighboring net-work device according to neighboring net-work device information notice tunnel module.Further, After the local terminal network equipment disconnects neighborhood with neighboring net-work device, it is right that neighbor protocol module is also notified that tunnel module is deleted Should the tunnel of neighboring net-work device.After tunnel module receives the tunnel deletion message that neighbor protocol module sends, will delete Except corresponding tunnel.
Visible, in prior art, tunnel module creation or deletion tunnel are all the notices sent according to neighbor protocol module Message is carried out.But, in some cases, as during of short duration network concussion, the network equipment may need to delete Except tunnel, learning neighbours, set up the process in tunnel, these processes need to expend the longer time.And this may cause network to set The standby cutout that the long period occurs, thus it is not provided that normal network service.
Summary of the invention
The purpose of the embodiment of the present invention is to provide a kind of neighbours' method for building up and device, to improve the effect that neighbours set up Rate, makes the network equipment provide normal network service.Concrete technical scheme is as follows:
First aspect, embodiments provides a kind of neighbours' method for building up, is applied to the tunnel of arbitrary network equipment Module, described method includes:
When receiving tunnel and deleting message, obtain the destination address in tunnel to be deleted;
According to described destination address, it is judged that peer network device can be connected to;
If it could not, delete described tunnel to be deleted;If it can, according to the destination address in described tunnel to be deleted, notice Neighbor protocol module sets up the neighborhood with described peer network device.
Second aspect, embodiments provides a kind of neighbours and sets up device, be applied to the tunnel of arbitrary network equipment Module, described device includes:
Acquiring unit, for when receiving tunnel and deleting message, obtaining the destination address in tunnel to be deleted;
Can judging unit, for according to described destination address, it is judged that be connected to peer network device;
Processing unit, for when described judging unit judged result be can not time, delete described tunnel to be deleted;When described When judging unit judged result is energy, according to the destination address in described tunnel to be deleted, notice neighbor protocol module is set up and institute State the neighborhood of peer network device.
Embodiments provide a kind of neighbours' method for building up and device, delete message when tunnel module receives tunnel Time, can it will not directly delete tunnel to be deleted, but judge be connected to peer network device, wait to delete if it could not, delete Except tunnel;If it can, may be of short duration disconnection neighborhood before showing, the local terminal network equipment still should maintain with right Neighborhood between the end network equipment.In this case, tunnel module can not delete tunnel to be deleted, and it is possible to root According to the destination address in tunnel to be deleted, notice neighbor protocol module sets up the neighborhood with this peer network device.Namely Saying, when there is the concussion of of short duration network, the local terminal network equipment is made without deleting tunnel, learns neighbours, sets up tunnel, permissible Directly set up the neighborhood with peer network device, therefore, it is possible to improve the efficiency that neighbours set up, make the network equipment just provide Normal network service.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to Other accompanying drawing is obtained according to these accompanying drawings.
The flow chart of neighbours' method for building up that Fig. 1 provides for the embodiment of the present invention;
Fig. 2 sets up the structural representation of device for the neighbours that the embodiment of the present invention provides;
Fig. 3 sets up another structural representation of device for the neighbours that the embodiment of the present invention provides;
Fig. 4 sets up another structural representation of device for the neighbours that the embodiment of the present invention provides.
Detailed description of the invention
In order to improve the efficiency that neighbours set up, making the network equipment provide normal network service, the embodiment of the present invention provides A kind of neighbours' method for building up and device.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under not making creative work premise Embodiment, broadly falls into the scope of protection of the invention.
It should be noted that in the case of not conflicting, the embodiment in the present invention and the feature in embodiment can phases Combination mutually.Describe the present invention below with reference to the accompanying drawings and in conjunction with the embodiments in detail.
In embodiments of the present invention, in order to improve the efficiency that neighbours set up, the network equipment is made to provide normal network service, Embodiments provide a kind of neighbours' method for building up process, be applied to the tunnel module of arbitrary network equipment, such as Fig. 1 institute Showing, this process may comprise steps of:
S101, when receiving tunnel and deleting message, obtains the destination address in tunnel to be deleted.
In actual applications, the tunnel module of the network equipment can receive tunnel and delete message.Specifically, this tunnel is deleted Message can be sent by neighbor protocol module.
Such as, when network concussion, when the network equipment disconnects neighborhood with arbitrary neighboring net-work device, neighbor protocol occur Module will send tunnel to tunnel module and delete message, and notice tunnel module deletes the tunnel that this neighboring net-work device is corresponding.
Or, occur masterslave switchover time, i.e. when the mainboard in the network equipment and backboard generation masterslave switchover, or active and standby enter When switching between journey, in order to ensure that between neighbor protocol module and the tunnel module of the network equipment, data are protected after masterslave switchover Holding consistent, thus ensure the accuracy that neighborhood is set up, the neighbor protocol module of the mainboard after switching will be together with tunnel module Smooth.
Specifically, neighbor protocol module notice tunnel module is smooth when starting, neighbor protocol module can according to oneself Neighbor information, e.g., mainboard before synchronizes the neighbor information come, or, the neighbor information that self obtains from data base, logical Know that tunnel module re-creates tunnel.After tunnel module receives establishment tunnel message, can check that this locality has created This tunnel, if it has been, then put a flag information and return by this tunnel;If do not created, the most newly created tunnel Road, and put a flag information.It is to say, mark letter all will be included with neighbor protocol module keeps consistent tunnel Breath rather than according to the tunnel of neighbor protocol module creation, as before tunnel module and particular neighbor protocol module create from Dynamic tunnel, will not comprise flag information.
After the notification message establishment tunnel juxtaposition flag information that tunnel module sends according to neighbor protocol module completes, can To send the response message created to neighbor protocol module.After neighbor protocol module receives this response message, Ke Yitong Know that tunnel module is smooth to terminate.Tunnel module receives smooth end, can travel through the local all of tunnel created, and Obtain the flag information in each tunnel, determine that the tunnel not comprising flag information is tunnel to be deleted.
Therefore, in embodiments of the present invention, it can be neighbor protocol module that message is deleted in the tunnel that tunnel module receives The message deleting certain tunnel being sent to.Can also be to receive the flat of neighbor protocol module transmission in smoothing process Sliding end.
In embodiments of the present invention, after the network equipment receives tunnel deletion message, the mesh in tunnel to be deleted can be obtained Address.Concrete, the network equipment receives tunnel and deletes message, and the destination address obtaining tunnel to be deleted can have following reality Existing mode:
Such as, the destination address that can carry tunnel to be deleted in message is deleted in the tunnel that the network equipment receives;Or, The identification information that can carry tunnel to be deleted in message is deleted in tunnel, each tunnel mark that the network equipment can preserve according to this locality In the corresponding relation of knowledge information and destination address, search the destination address corresponding with the identification information in tunnel to be deleted, and will look into The destination address found is defined as the destination address in tunnel to be deleted.
Owing to a tunnel is corresponding to a neighboring net-work device, therefore, the network equipment obtains the purpose in tunnel to be deleted During address, namely obtain the address of peer network device corresponding to tunnel to be deleted.
Can S102, according to described destination address, it is judged that be connected to peer network device;If it could not, execution step S103, if it can, perform step S104.
In actual applications, when neighbor protocol module sends tunnel deletion message to tunnel module, may be simply because Of short duration network concussion.After actually passing a period of time, when tunnel module receives tunnel deletion message, network may be Recovering normal, the peer network device that tunnel to be deleted is corresponding may can connect.
In this case, if tunnel to be deleted is deleted by tunnel module, successive neighbor protocol module will learn again to treating Delete the peer network device that tunnel is corresponding and it needs to again set up neighborhood with this peer network device, and re-establish Tunnel.
In embodiments of the present invention, in order to improve the efficiency that neighbours set up, the network equipment is made to provide normal network service, After tunnel module receives tunnel deletion message, tunnel to be deleted will not be deleted immediately, but can be according to tunnel to be deleted Destination address and source address, it is judged that peer network device can be connected to.
If not can connect to peer network device, then show that peer network device may roll off the production line the most, or network event Barrier does not recovers, and in this case, tunnel module can delete tunnel to be deleted.
If can connect to peer network device, show that neighbor protocol module sends tunnel and deletes message, it may be possible to because The of short duration concussion of network causes the local terminal network equipment and peer network device to be disconnected neighborhood.In this case, local terminal is shown The network equipment can set up neighborhood with peer network device, for the neighbours pass quickly set up and between peer network device System, it is to avoid carry out tunnel deletion, neighbor learning, tunnel set up, with according to neighborhood create corresponding tunnel except that, In the present embodiment, according to the destination address in tunnel to be deleted, tunnel module can notify that neighbor protocol module is set up and opposite end net The neighborhood of network equipment, i.e. creates corresponding neighborhood according to tunnel information.
In one implementation, can tunnel module be according to the destination address in tunnel to be deleted and source address, it is judged that When being connected to peer network device, detection report can be sent according to this destination address and source address to peer network device Literary composition.After peer network device receives detection messages, response message can be sent to the local terminal network equipment, therefore, when tunnel mould When block receives the response message that peer network device sends, determine and can connect to peer network device.
Wherein, the detection messages that tunnel module sends can be ICMP (Internet Control Message Protocol, Internet control message agreement) message.ICMP is a sub-protocol of TCP/IP protocol suite, on IP main frame, road Message is controlled by transmission between device.Control message refer to network lead to obstructed, main frame whether up to, route whether can use etc. network this The message of body.
Such as, tunnel module can be sent out to peer network device according to the destination address in tunnel to be deleted and source address Send detection messages.Then detect whether to receive the response message that peer network device sends, if received, it is determined that can connect Receive peer network device.
Alternatively, in order to avoid failing to recover in time because of network failure, peer network device does not receives local terminal network and sets The detection messages that preparation is sent, the local terminal network equipment can repeatedly send message.As, the local terminal network equipment can according to set time Between be spaced, such as 1 millisecond, 2 milliseconds, 5 milliseconds etc., send detection messages to peer network device, connect improving peer network device Receive the probability of message.Wherein, in order to can the fastest detecting be connected to peer network device, can arrange shorter Time interval.On the basis of above-mentioned embodiment, tunnel module can be according to time interval set in advance to opposite end net Network equipment sends detection messages, and, it is judged that whether the number of times of transmission detection messages reaches the maximum number of times of transmission pre-set.
If not receiving the response message that peer network device sends in being spaced sometime, and reach to set in advance The maximum number of times of transmission put, it is determined that not can connect to peer network device.
Concrete, tunnel module can preset time interval and detection messages maximum number of times of transmission, when sending one After individual detection messages, tunnel module can detect whether receive the response that peer network device sends in a time interval Message, if received, it is determined that can connect to peer network device, does not retransmit detection messages to peer network device. If do not received, transmission detection messages is to peer network device the most again, and continues whether detection connects in this time interval Receive the response message that peer network device sends, judge that the maximum whether the detection messages number of times sent reaches to set is sent out simultaneously Sending number of times, if not receiving the response message that peer network device sends in an arbitrary time interval, and having reached The maximum number of times of transmission set, it is determined that not can connect to peer network device.
The efficiency of peer network device can be connected to, it is to avoid detection process takies the long time to improve detection, Whether reach the alternative of the maximum number of times of transmission set as the number of times judging detection messages, optionally, tunnel module can To preset maximum duration, when receiving response message in this maximum duration, it may be determined that can connect to correspondent network Equipment;When not receiving response message in maximum duration, tunnel module will not continue to detection, it may be determined that can not connect To peer network device, peer network device may roll off the production line the most, or network does not also recover.
Wherein, maximum duration set in advance is more than the time interval set.Certainly, at maximum duration model set in advance In enclosing, tunnel module can only send one-time detection message, it is also possible at set time intervals, repeatedly sends detection report Literary composition.
In another kind of implementation, can the local terminal network equipment be according to destination address and source address, it is judged that be connected to During peer network device, it is also possible to according to destination address and source address, the two-way converting inspection between establishment and peer network device Survey BFD session;As described BFD session UP, determine and can connect to peer network device.
BFD (Bidirectional Forwarding Detection, two-way converting detects) is general a, standard Quick fault testing mechanism that change, that medium is unrelated and agreement is unrelated, may be used for detecting the Link State in network, it is ensured that energy Enough it is quickly detected the communication failure between the network equipment, so as to take measures in time, it is ensured that business continuous service.
After the local terminal network equipment creates the BFD session between peer network device, this BFD session can be detected further Whether it is in UP state.Specifically, the local terminal network equipment can periodically detect whether this BFD session is in UP state.
S103, deletes described tunnel to be deleted.
When the local terminal network equipment determine not can connect to peer network device time, show that peer network device may the most Rolling off the production line, or network failure does not recovers, in this case, tunnel module can delete tunnel to be deleted.
S104, according to the destination address in described tunnel to be deleted, notice neighbor protocol module is set up and described correspondent network The neighborhood of equipment.
When the local terminal network equipment determine can connect to peer network device time, show neighbor protocol module send tunnel delete Message, it may be possible to because network concussion causes the local terminal network equipment and peer network device to be disconnected neighborhood.This situation Under, show that the local terminal network equipment can set up neighborhood with peer network device, set with correspondent network to quickly set up Neighborhood between Bei, it is to avoid carrying out tunnel deletion, neighbor learning, tunnel foundation, tunnel module can be according to tunnel to be deleted Destination address, notice neighbor protocol module is set up and the neighborhood of peer network device.
Embodiments provide a kind of neighbours' method for building up, when tunnel module receives tunnel deletion message, its Will not directly delete tunnel to be deleted, but judge to be connected to peer network device, if it could not, delete tunnel to be deleted Road;If it can, may be of short duration disconnection neighborhood before showing, the local terminal network equipment still should maintain and opposite end net Neighborhood between network equipment.In this case, tunnel module can not delete tunnel to be deleted, and it is possible to according to treating Deleting the destination address in tunnel, notice neighbor protocol module sets up the neighborhood with this peer network device.It is to say, go out During the ofest short duration existing network concussion, the local terminal network equipment is made without deleting tunnel, learns neighbours, sets up tunnel, can be direct Set up the neighborhood with peer network device, therefore, it is possible to improve the efficiency that neighbours set up, make the network equipment provide normal Network service.
Corresponding to above method embodiment, the embodiment of the present invention additionally provides corresponding device embodiment.
A kind of neighbours that Fig. 2 provides for the embodiment of the present invention set up device, are applied to the tunnel module of arbitrary network equipment, Described device includes:
Acquiring unit 210, for when receiving tunnel and deleting message, obtaining the destination address in tunnel to be deleted;
Can judging unit 220, for according to described destination address, it is judged that be connected to peer network device;
Processing unit 230, for when described judging unit 220 judged result be can not time, delete described tunnel to be deleted; When described judging unit 220 judged result is energy, according to the destination address in described tunnel to be deleted, notify neighbor protocol module Set up the neighborhood with described peer network device.
Embodiments provide a kind of neighbours and set up device, when tunnel module receives tunnel deletion message, its Will not directly delete tunnel to be deleted, but judge to be connected to peer network device, if it could not, delete tunnel to be deleted Road;If it can, may be of short duration disconnection neighborhood before showing, the local terminal network equipment still should maintain and opposite end net Neighborhood between network equipment.In this case, tunnel module can not delete tunnel to be deleted, and it is possible to according to treating Deleting the destination address in tunnel, notice neighbor protocol module sets up the neighborhood with this peer network device.It is to say, go out During the ofest short duration existing network concussion, the local terminal network equipment is made without deleting tunnel, learns neighbours, sets up tunnel, can be direct Set up the neighborhood with peer network device, therefore, it is possible to improve the efficiency that neighbours set up, make the network equipment provide normal Network service.
Further, as it is shown on figure 3, described judging unit 220 includes:
Send subelement 221, for according to described destination address, sending detection messages to described peer network device;
First determines subelement 222, for when receiving the response message that described peer network device sends, determining energy It is connected to peer network device.
Further, described transmission subelement 221, specifically at set time intervals, to described correspondent network Equipment sends detection messages.
Further, as shown in Figure 4, described judging unit 220 includes:
Create subelement 223, for according to described destination address, the two-way converting between establishment and described peer network device Detection BFD session;
Second determines subelement 224, for as described BFD session UP, determines and can connect to peer network device.
Further, described acquiring unit 210, specifically in smoothing process, when receiving smooth end, Obtain the flag information in each tunnel that this locality has created, determine that the tunnel not comprising flag information is tunnel to be deleted, and obtain The destination address in described tunnel to be deleted.
For device embodiment, owing to it is substantially similar to embodiment of the method, so describe is fairly simple, relevant Part sees the part of embodiment of the method and illustrates.
It should be noted that in this article, the relational terms of such as first and second or the like is used merely to a reality Body or operation separate with another entity or operating space, and deposit between not necessarily requiring or imply these entities or operating Relation or order in any this reality.And, term " includes ", " comprising " or its any other variant are intended to Comprising of nonexcludability, so that include that the process of a series of key element, method, article or equipment not only include that those are wanted Element, but also include other key elements being not expressly set out, or also include for this process, method, article or equipment Intrinsic key element.In the case of there is no more restriction, statement " including ... " key element limited, it is not excluded that Including process, method, article or the equipment of described key element there is also other identical element.
Each embodiment in this specification all uses relevant mode to describe, identical similar portion between each embodiment Dividing and see mutually, what each embodiment stressed is the difference with other embodiments.Real especially for system For executing example, owing to it is substantially similar to embodiment of the method, so describe is fairly simple, relevant part sees embodiment of the method Part illustrate.
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit protection scope of the present invention.All Any modification, equivalent substitution and improvement etc. made within the spirit and principles in the present invention, are all contained in protection scope of the present invention In.

Claims (10)

1. neighbours' method for building up, it is characterised in that be applied to the tunnel module of arbitrary network equipment, described method includes:
When receiving tunnel and deleting message, obtain the destination address in tunnel to be deleted;
According to described destination address, it is judged that peer network device can be connected to;
If it could not, delete described tunnel to be deleted;If it can, according to the destination address in described tunnel to be deleted, notify neighbours Protocol module sets up the neighborhood with described peer network device.
Method the most according to claim 1, it is characterised in that described according to described destination address, it is judged that can be connected to Peer network device includes:
According to described destination address, send detection messages to described peer network device;
When receiving the response message that described peer network device sends, determine and can connect to described peer network device.
Method the most according to claim 2, it is characterised in that described to described peer network device transmission detection messages bag Include:
At set time intervals, detection messages is sent to described peer network device.
Method the most according to claim 1, it is characterised in that described according to described destination address, it is judged that can be connected to Peer network device includes:
According to described destination address, the two-way converting detection BFD session between establishment and described peer network device;
As described BFD session UP, determine and can connect to described peer network device.
5. according to the method described in any one of claim 1-4, it is characterised in that described when receiving tunnel and deleting message, The destination address obtaining tunnel to be deleted includes:
In smoothing process, when receiving smooth end, obtain the flag information in each tunnel that this locality has created, determine The tunnel not comprising flag information is tunnel to be deleted, and obtains the destination address in described tunnel to be deleted.
6. neighbours set up device, it is characterised in that be applied to the tunnel module of arbitrary network equipment, and described device includes:
Acquiring unit, for when receiving tunnel and deleting message, obtaining the destination address in tunnel to be deleted;
Can judging unit, for according to described destination address, it is judged that be connected to peer network device;
Processing unit, for when described judging unit judged result be can not time, delete described tunnel to be deleted;When described judgement When unit judges result is energy, according to the destination address in described tunnel to be deleted, it is right with described that notice neighbor protocol module is set up The neighborhood of the end network equipment.
Device the most according to claim 6, it is characterised in that described judging unit includes:
Send subelement, for according to described destination address, sending detection messages to described peer network device;
First determines subelement, for when receiving the response message that described peer network device sends, determining and can connect to Peer network device.
Device the most according to claim 7, it is characterised in that described transmission subelement, specifically for according to set time Between be spaced, to described peer network device send detection messages.
Device the most according to claim 6, it is characterised in that described judging unit includes:
Create subelement, for according to described destination address, the two-way converting detection BFD between establishment and described peer network device Session;
Second determines subelement, for as described BFD session UP, determines and can connect to peer network device.
10. according to the device described in any one of claim 6-9, it is characterised in that described acquiring unit, specifically for smooth During, when receiving smooth end, obtain the flag information in each tunnel that this locality has created, determine and do not comprise mark The tunnel of information is tunnel to be deleted, and obtains the destination address in described tunnel to be deleted.
CN201610795504.6A 2016-08-31 2016-08-31 Neighbor establishing method and device Active CN106302248B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610795504.6A CN106302248B (en) 2016-08-31 2016-08-31 Neighbor establishing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610795504.6A CN106302248B (en) 2016-08-31 2016-08-31 Neighbor establishing method and device

Publications (2)

Publication Number Publication Date
CN106302248A true CN106302248A (en) 2017-01-04
CN106302248B CN106302248B (en) 2021-10-12

Family

ID=57673901

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610795504.6A Active CN106302248B (en) 2016-08-31 2016-08-31 Neighbor establishing method and device

Country Status (1)

Country Link
CN (1) CN106302248B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114301737A (en) * 2021-12-29 2022-04-08 迈普通信技术股份有限公司 Network configuration method and device, network equipment and computer readable storage medium

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094175A (en) * 2007-06-14 2007-12-26 华为技术有限公司 Method, device, and system for protecting flux of multicast
US7512063B2 (en) * 2004-12-14 2009-03-31 Cisco Technology, Inc. Border router protection with backup tunnel stitching in a computer network
US7586841B2 (en) * 2005-05-31 2009-09-08 Cisco Technology, Inc. System and method for protecting against failure of a TE-LSP tail-end node
US20100046474A1 (en) * 2008-08-25 2010-02-25 Kabushiki Kaisha Toshiba Home agent
US7765306B2 (en) * 2006-01-30 2010-07-27 Cisco Technology, Inc. Technique for enabling bidirectional forwarding detection between edge devices in a computer network
CN102111325A (en) * 2009-12-23 2011-06-29 杭州华三通信技术有限公司 Method for quickly detecting link failures and device adopting same
CN102281165A (en) * 2010-06-09 2011-12-14 杭州华三通信技术有限公司 Fault detection method based on QoS, system and apparatus thereof
CN103227777A (en) * 2013-03-26 2013-07-31 汉柏科技有限公司 Method for preventing ipsec (Internet Protocol Security) tunnel oscillation caused by failed dpd (Dead Peer Detection)
CN103401780A (en) * 2013-07-18 2013-11-20 北京星网锐捷网络技术有限公司 Method and equipment for building routing by linking RIP (routing information protocol) with BFD (bidirectional forwarding detection)
CN103746881A (en) * 2014-01-13 2014-04-23 杭州华三通信技术有限公司 Neighbor state detection method and neighbor state detection device in EVI (Ethernet Virtualization Interconnection) network
CN104104573A (en) * 2014-08-06 2014-10-15 汉柏科技有限公司 Method and system for controlling IPsec tunnel of network devices
CN104270298A (en) * 2014-09-30 2015-01-07 杭州华三通信技术有限公司 Method and device for forwarding message in VXLAN
CN104580258A (en) * 2015-02-03 2015-04-29 迈普通信技术股份有限公司 Method and system for quickly detecting failures of IPSec (internet protocol security) peers
CN105591841A (en) * 2015-12-31 2016-05-18 盛科网络(苏州)有限公司 Connectivity detection method of VXLAN tunnel
CN105634770A (en) * 2014-10-29 2016-06-01 杭州华三通信技术有限公司 Method for disposing virtual extensible local area network (VXLAN)

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7512063B2 (en) * 2004-12-14 2009-03-31 Cisco Technology, Inc. Border router protection with backup tunnel stitching in a computer network
US7586841B2 (en) * 2005-05-31 2009-09-08 Cisco Technology, Inc. System and method for protecting against failure of a TE-LSP tail-end node
US7765306B2 (en) * 2006-01-30 2010-07-27 Cisco Technology, Inc. Technique for enabling bidirectional forwarding detection between edge devices in a computer network
CN101094175A (en) * 2007-06-14 2007-12-26 华为技术有限公司 Method, device, and system for protecting flux of multicast
US20100046474A1 (en) * 2008-08-25 2010-02-25 Kabushiki Kaisha Toshiba Home agent
CN102111325A (en) * 2009-12-23 2011-06-29 杭州华三通信技术有限公司 Method for quickly detecting link failures and device adopting same
CN102281165A (en) * 2010-06-09 2011-12-14 杭州华三通信技术有限公司 Fault detection method based on QoS, system and apparatus thereof
CN103227777A (en) * 2013-03-26 2013-07-31 汉柏科技有限公司 Method for preventing ipsec (Internet Protocol Security) tunnel oscillation caused by failed dpd (Dead Peer Detection)
CN103401780A (en) * 2013-07-18 2013-11-20 北京星网锐捷网络技术有限公司 Method and equipment for building routing by linking RIP (routing information protocol) with BFD (bidirectional forwarding detection)
CN103746881A (en) * 2014-01-13 2014-04-23 杭州华三通信技术有限公司 Neighbor state detection method and neighbor state detection device in EVI (Ethernet Virtualization Interconnection) network
CN104104573A (en) * 2014-08-06 2014-10-15 汉柏科技有限公司 Method and system for controlling IPsec tunnel of network devices
CN104270298A (en) * 2014-09-30 2015-01-07 杭州华三通信技术有限公司 Method and device for forwarding message in VXLAN
CN105634770A (en) * 2014-10-29 2016-06-01 杭州华三通信技术有限公司 Method for disposing virtual extensible local area network (VXLAN)
CN104580258A (en) * 2015-02-03 2015-04-29 迈普通信技术股份有限公司 Method and system for quickly detecting failures of IPSec (internet protocol security) peers
CN105591841A (en) * 2015-12-31 2016-05-18 盛科网络(苏州)有限公司 Connectivity detection method of VXLAN tunnel

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
J. MOY: "OSPF Version 2", 《3GPP》 *
何燕: "基于BFD的MPLS隧道故障检测及恢复技术的研究与实现", 《中国优秀硕士学位论文全文数据库》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114301737A (en) * 2021-12-29 2022-04-08 迈普通信技术股份有限公司 Network configuration method and device, network equipment and computer readable storage medium
CN114301737B (en) * 2021-12-29 2023-10-24 迈普通信技术股份有限公司 Network configuration method, device, network equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN106302248B (en) 2021-10-12

Similar Documents

Publication Publication Date Title
US7769848B2 (en) Method and systems for copying data components between nodes of a wireless sensor network
JP5033856B2 (en) Devices and systems for network configuration assumptions
US8064353B2 (en) Communication device, communication system, and communication fault detection method
You et al. A novel fault diagnosis mechanism for wireless sensor networks
CN109218107A (en) Link switch-over method, device, the network equipment and network system
CN103200109B (en) A kind of ospf neighbor relationship management method and equipment
CN104144124B (en) Data forwarding method, Apparatus and system
CN102780615B (en) Link backup method and routing forwarding device
CN105338560B (en) Gateway disaster recovery method, equipment and system
CN107888434B (en) Network equipment configuration synchronization method and device
CN102136965B (en) Method for detecting tunnel faults and traffic engineering (TE) node
CN103634166B (en) Equipment survival detection method and equipment survival detection device
CN103973562A (en) Method and device avoiding service interruption in smooth restart process
CN106230720A (en) Route recovery method after a kind of equipment fault and device
CN102882887A (en) Smooth software updating method and equipment
CN106302248A (en) A kind of neighbours' method for building up and device
JP4612525B2 (en) Network fault site identification apparatus and method
CN102752128A (en) Multi-protocol label switching (MPLS) traffic engineering (TE) tunnel fault detection method and device thereof
CN106130790A (en) A kind of fault handling method and device
CN103366478A (en) A street light cable anti-theft detection method and device
CN103532748B (en) DRBD (distributed replicated block device) fissure processing method and device
CN103001832B (en) The detection method of distributed file system interior joint and device
CN103457795A (en) MAD method and device in VCF network
CN102014033B (en) Method and system for restoring services of fault nodes in ring network
CN102291266A (en) Loopback (LB) detection method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
CB02 Change of applicant information

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

Applicant after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou science and Technology Industrial Park, high tech Industrial Development Zone, Zhejiang Province, No. six and road, No. 310

Applicant before: Huasan Communication Technology Co., Ltd.

CB02 Change of applicant information
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant