[go: up one dir, main page]

CN106452909B - A kind of route issuing method and Router Reflector equipment - Google Patents

A kind of route issuing method and Router Reflector equipment Download PDF

Info

Publication number
CN106452909B
CN106452909B CN201610976711.1A CN201610976711A CN106452909B CN 106452909 B CN106452909 B CN 106452909B CN 201610976711 A CN201610976711 A CN 201610976711A CN 106452909 B CN106452909 B CN 106452909B
Authority
CN
China
Prior art keywords
client
opposite end
routing
line fault
client set
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610976711.1A
Other languages
Chinese (zh)
Other versions
CN106452909A (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.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication Technology 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 Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN201610976711.1A priority Critical patent/CN106452909B/en
Publication of CN106452909A publication Critical patent/CN106452909A/en
Application granted granted Critical
Publication of CN106452909B publication Critical patent/CN106452909B/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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/14Routing performance; Theoretical aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery

Landscapes

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

Abstract

The embodiment of the present invention provides a kind of route issuing method and Router Reflector equipment.It is related to the communications field, is able to solve the problem of identical routing in the prior art can be repeated publication by RR.It include: to obtain instruction information, instruction information, which is used to indicate, is divided into the first client set and the second client set for the client for establishing Border Gateway Protocol (BGP) peer-to-peer with RR, RR is the main RR of the client in the first client set, RR is also the standby RR of the client in the second client set, the opposite end RR of RR is the standby RR of the client in the first client set, and the opposite end RR of RR is the main RR of the client in the second client set;The routing of client notice in first client set is released when determining the opposite end RR failure of RR, the routing of the client notice in the second client set is launched.The present invention is for issuing routing.

Description

A kind of route issuing method and Router Reflector equipment
Technical field
The present invention relates to the communications field more particularly to a kind of route issuing method and Router Reflector equipment.
Background technique
With the more and more abundant multiplicity of network application, the scale of network also constantly increases.Autonomous system (Autonomous System, referred to as: AS) refer to and possess same routing policy, belong to the set of router of same technical management department.At present in AS In can use Border Gateway Protocol (full name in English: Border Gateway Protocol, English abbreviation: BGP), in order to Inside routing intercommunication.The quantity of client also gradually increases with the development of technology, uses the pressure of networking inside the AS of bgp protocol Power is also increasing.To solve the above-mentioned problems, Router Reflector equipment (full name in English can be set in AS;Route Reflector, English abbreviation: RR), RR as carrying out routing central controlled equipment in AS, can be used for out of AS with the RR Establish bgp peer (full name in English: Peer-to-Peer Communication) client obtain routing, and into AS with The RR establishes each client publication routing of bgp peer, reach the client that makes to establish bgp peer in AS with the RR into Walking along the street is by the destination of study.
Since effect of the RR in AS is more crucial, once RR breaks down, each client of bgp peer is established with RR End possibly can not receive the routing of RR publication, so as to cause the communication disruption between each client.For the generation for avoiding above situation, Two RR are set usually in AS, and when one of RR breaks down, another RR can persistently carry out routing publication, it is ensured that Communication between client will not be interrupted.
Although the above method can be to avoid the communication disruption between client each when RR breaks down, due at present in AS Two RR of middle setting are to work independently, i.e., each RR will be obtained from AS with the RR client for establishing peer-to-peer at work The routing taken other all clients for establishing peer-to-peer with the RR into AS are issued, due to establishing in AS with two RR The client of peer-to-peer is identical, therefore identical routing can be repeated to issue by RR, increases the device resource and and AS of RR The consumption of middle Internet resources, and the efficiency that RR carries out routing publication is reduced, compromise user experience.
Summary of the invention
The application provides a kind of route issuing method and Router Reflector equipment, is able to solve identical in the prior art Routing can be repeated the problem of publication by RR.
In order to achieve the above objectives, the application adopts the following technical scheme that
In a first aspect, it is applied to Router Reflector equipment RR the embodiment provides a kind of route issuing method, It include: to obtain instruction information, instruction information, which is used to indicate, divides the client that Border Gateway Protocol (BGP) peer-to-peer is established with RR For the first client set and the second client set, RR is the main RR of the client in the first client set, and RR is also the The opposite end RR of the standby RR of client in two client set, RR are the standby RR of the client in the first client set, RR's Opposite end RR is the main RR of the client in the second client set;By the routing hair of the client notice in the first client set Cloth is gone out when determining the opposite end RR failure of RR, and the routing of the client notice in the second client set is launched.
Second aspect, the embodiment provides a kind of Router Reflector equipment, comprising: obtains module, is configured Information is indicated to obtain, and instruction information is used to indicate and will establish boundary net with the Router Reflector equipment RR where this acquisition module The client for closing agreement bgp peer is divided into the first client set and the second client set, and RR is the first client collection The main RR of client in conjunction, RR are also the standby RR of the client in the second client set, and the opposite end RR of RR is the first client The standby RR of client in the set of end, the opposite end RR of RR are the main RR of the client in the second client set;Sending module, quilt It is configured to release the routing of the client notice in the first client set;Sending module is additionally configured to as determining RR Opposite end RR failure when, by the second client set client notice routing launch.
A kind of route issuing method and Router Reflector equipment that the embodiment of the present invention provides, are applied to RR, pass through Configuration information is obtained to determine the corresponding second client set of opposite end RR of the corresponding first client set of RR and RR, it Afterwards when carrying out routing forwarding, RR only releases the routing of the client notice in the first client set and the prior art The routing for comparing and establishing in non-forwarded network with the RR whole clients of bgp peer avoids repeating publication road by the RR By reducing the routing amount of the forwarded routing of RR.When the opposite end RR for determining RR breaks down, in order to avoid by the opposite end RR of RR Network communication is interrupted caused by the routing of client as main RR can not be forwarded, will be in the second client set by RR The routing of client notice release to guarantee that the communication of each LA Management Room will not be interrupted.Therefore implementation of the invention The route issuing method that example provides being capable of the premise that will not interrupt of communication when RR breaks down in ensuring network between client Under, avoid RR from repeating publication routing in normal work, to reduce resource consumed by routing publication and improve routing The efficiency of publication, improves user experience.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, embodiment will be described below Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without creative efforts, can also be attached according to these Figure obtains other attached drawings.
Fig. 1 is a kind of schematic diagram of network system provided by the embodiment of the present invention;
Fig. 2 is a kind of schematic flow chart of route issuing method provided by the embodiment of the present invention;
Fig. 3 is a kind of schematic flow chart of route issuing method provided by another embodiment of the present invention;
Fig. 4 is a kind of schematic diagram of Router Reflector equipment RR provided by the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
For the ease of clearly describing the technical solution of the embodiment of the present invention, in an embodiment of the present invention, use " the One ", the printed words such as " second " distinguish function and the essentially identical identical entry of effect or similar item, and those skilled in the art can To understand that the printed words such as " first ", " second " are not to be defined to quantity and execution order.
Under normal conditions, when using Border Gateway Protocol, (full name in English: Border Gateway Protocol, English are simple Claim: BGP) interior client of autonomous system (Autonomous System, referred to as: AS) of networking it is more when, can generally set in the AS Set multiple Router Reflector (full name in English;Route Reflector, English abbreviation: RR).
As shown in Fig. 1, the present invention provides a kind of network system 100, network system 100 can be to use bgp protocol The AS of networking, wherein there are two RR, respectively the first RR 101 and the 2nd RR 102, network systems for setting in network system 100 It further include the first client 103, the second client 104 and third client 105, the first client 103, second in system 100 Client 104 and third client 105 establish bgp peer (English with the first RR 101 and the 2nd RR 102 respectively Full name: Peer-to-Peer Communication), it is referred to as the first client 103, the second client 104 and Three clients 105 establish bgp neighbor relationship with the first RR 101 and the 2nd RR 102 respectively, it is believed that the first client 103, the second client 104 and third client 105 are as the client equity of the first RR 101 and the 2nd RR 102 Body.
When the first RR 101 and the 2nd RR 102 at work, the first RR 101 and the 2nd RR 102 are obtained respectively The routing of first client 103, the second client 104 and third client 105, and the first RR 101 and the 2nd RR The routing of first client 103, the second client 104 and third client 105 is distributed to the first client respectively by 102 respectively Hold the 103, second client 104 and third client 105.In above process, any client in network system 100 from First RR 101 receive routing with the client from the routing that the 2nd RR 102 is received compared with routing amount it is identical, it is believed that Any client in network system 100 has received two parts of identical routings, and appointing in network system 100 in practical applications One client only needs to receive a routing, when more by the client for being included when network system 100, is arranged in net The routing amount of the forwarded routing of RR in network system 100 is also larger, when identical routing is distinguished by RR each in network system 100 When being issued, the device resource of RR and the consumption with Internet resources in network system in network system 100 will increase, and The efficiency that RR carries out routing publication is reduced, user experience is compromised.
To solve the above-mentioned problems, as shown in Fig. 2, it the embodiment provides a kind of route issuing method, answers For Router Reflector equipment RR, wherein RR can be located in AS, this method comprises:
201, instruction information is obtained.
Wherein, instruction information is obtained, instruction information is used to that the client of Border Gateway Protocol (BGP) peer-to-peer will to be established with RR It is divided into the first client set and the second client set, the client in the first client set and the second client set In client establish Border Gateway Protocol (BGP) peer-to-peer with RR, RR is the main RR of the client in the first client set, RR is also the standby RR of the client in the second client set, and the opposite end RR of RR is the standby of the client in the first client set The opposite end RR of RR, RR are the main RR of the client in the second client set;
Specifically, the first client set and the second client set may each comprise multiple client, wherein the first visitor Family end set can be respectively positioned in AS with client included by the second client set, and the first client set and second Client included by client set establishes Border Gateway Protocol (BGP) peer-to-peer with RR, it is also assumed that the first client Set establishes bgp neighbor relationship with client included by the second client set with RR, further, it is believed that first Client included by client set and the second client set is used as the client peers of RR.It is considered that according to matching Confidence ceases the main RR for determining that RR can be used as the client in the first client set, and RR, can not when carrying out routing forwarding Forward routing of other RR as the client of main RR in addition to itself.The opposite end RR of RR can be used as in the second client set Client main RR, the opposite end RR of RR can substitute RR as in the first client set when RR breaks down or fails Client main RR, while RR can also substitute the opposite end RR of RR as the when the opposite end RR of RR breaks down or fails The main RR of client in two client set.
It should be noted that the instruction information that the opposite end RR for being used to indicate RR and RR makees the main RR of which client respectively can Respectively by being configured on the opposite end RR of RR and RR, or by interaction message between the opposite end RR of RR and RR It obtains information and negotiates to determine the main RR which client the opposite end RR of RR and RR makees respectively.
202, the routing of the client notice in the first client set is released.
In embodiments of the present invention, due to the main RR that RR is all clients in the first client set, at this point, RR is only Only the routing of all clients notice in the first client set is released;Since RR is in the second client set The standby RR of all clients, so RR does not issue out the routing of the client notice in the second client set received It goes.And the opposite end RR of RR and is then conversely, because the opposite end RR of RR is the standby RR of all clients in the first client set The main RR of client in second client set;So the opposite end RR of RR only will be all in the second client set The routing of client notice releases;The routing of client notice in first client set is not released.
It should be noted that due to being provided in bgp protocol, when RR is when carrying out routing publication, it is not if forwarding to route To be forwarded for the first time, RR only can carry out incremental update to the routing forwarded, not need regular batch updating.Cause This can only carry out incremental update when the routing of the client notice in the first client set is not to forward for the first time.
203, judge RR opposite end RR whether failure.
When determining the opposite end RR failure of RR, step 204 is executed.
Specifically, RR failure is divided into the line failure that RR itself breaks down with RR, RR can pass through pair from RR End RR receive corresponding message with judge RR opposite end RR whether failure, RR can also according to from other device or systems obtain Information judge RR opposite end RR whether failure.
Preferably, do not received in first time threshold as RR RR opposite end RR send keep-alive message (full name in English: When keepalive), the opposite end RR failure of RR is determined.
Illustratively, the keep-alive message sent in the opposite end RR that first time threshold does not receive RR can be the opposite end of RR RR is configured as sending a keep-alive message to RR every second time threshold, and wherein second time threshold is less than first time threshold Value determines that the opposite end RR of RR breaks down when the opposite end RR for not receiving RR in first time threshold sends keep-alive message.Show Example property, the opposite end RR of RR is configured as sending a keep-alive message to RR every 30s, does not receive pair of RR when RR continuous 4 times When not receiving the keep-alive message of opposite end RR of RR in keep-alive message, that is, 120S that end RR is sent, determine that event occurs in the opposite end RR of RR Barrier.
It should be noted that establishing the client of bgp peer with existing RR since existing RR is when breaking down The connection with existing RR even is disconnected when can not receive the keep-alive message of existing RR in preset time threshold, and is made existing The route break that turns of RR.In the above-described embodiments in order to avoid the secondary route reflected of the opposite end RR by RR is because of RR Opposite end RR failure and failing causes network communication to be interrupted, can by do not received in first time threshold RR opposite end RR send out When the keep-alive message sent, determine that the opposite end RR of RR breaks down, wherein first time threshold is less than second time threshold, wherein with The client that the opposite end RR of RR establishes bgp peer disconnects the opposite end with RR when not receiving keep-alive message in second time threshold The connection of RR even, since first time threshold is less than second time threshold, when the opposite end RR of RR substitution RR forwards secondary route All clients can receive the secondary route forwarded by RR in second time threshold, avoid because in the second client set Network communication is interrupted caused by client fails secondary route.
204, the routing of the client notice in the second client set is released.
Specifically, when determining the opposite end RR failure of RR, since the opposite end RR of RR can not continue second client The routing of client notice in set releases, therefore in order to guarantee the client and second in the first client set The network communication of client in client set is unaffected, and the opposite end RR that RR substitutes RR will be in the second client set Client notice routing release.
It should be noted that the present embodiment is illustrated only when, there are when multiple RR, one of RR is routed in network The method of publication, while it can be appreciated that it is more that a RR in multiple RR can be used as this there are multiple RR in the network The opposite end RR of the RR of another RR in a RR, so that it is guaranteed that establishing the visitor of bgp peer relationship in the network with multiple RR The routing at family end can successfully forwarded, it is ensured that network communication operates normally.
A kind of route issuing method that the embodiment of the present invention provides is applied to RR, by obtaining configuration information with determination The corresponding second client set of opposite end RR of the corresponding first client set of RR and RR is carrying out routing forwarding later When, RR only releases the routing of the client notice in the first client set compared with prior art and non-forwarded network In avoid repeating publication routing by the RR with the routings of the RR whole clients for establishing bgp peer, reduce RR and turn Send out the routing amount of routing.When the opposite end RR for determining RR breaks down, in order to avoid using the opposite end RR of RR as the client of main RR Network communication is interrupted caused by the routing at end can not be forwarded, and is noticed the client in the second client set by RR Routing releases to guarantee that the communication of each LA Management Room will not be interrupted.Therefore the routing hair that the embodiment of the present invention provides Cloth method can communication when RR breaks down in ensuring network between client under the premise of will not interrupt, avoid RR normal Publication routing is repeated when work, to reduce resource consumed by routing publication and improve the efficiency of routing publication, is improved User experience.
Specifically, as shown in Fig. 3, route issuing method provided by the embodiment of the present invention further include:
205, judge whether the opposite end RR of RR restores the routing of client notice normal and in the second client set Including the routing being revoked.
When the routing that the opposite end RR for determining RR restores the client notice in normal and the second client set includes quilt When the routing of revocation, step 206 is executed.
206, route withdraw information is sent.
Wherein, route withdraw information is used to indicate the routing being revoked.
Specifically, due to when the opposite end RR of RR is in failure, the routing of the client notice in the second client set It is issued by RR, when the routing of the client notice in the second client set forwarded by RR includes the routing being revoked When, if the routing of client notice in second client set can be again by pair of RR when the opposite end RR of RR restores normal End RR is sent.Opposite end RR due to being likely to occur RR restores in normal preceding the second client set sent by RR The case where a part routing is revoked in the routing of client notice, therefore when above situation occurs in determination, although RR is in RR Opposite end RR restore normal after do not retransmit the routing of client notice in the second client set, RR can send routing and remove Information is sold, so that corresponding client can cancel the above-mentioned routing being revoked according to route withdraw information.
207, judge whether the line fault message that the opposite end RR for receiving RR is sent and determine the instruction of line fault message Line fault client belongs to the second client set
When the opposite end RR for the receiving RR line fault message sent and determine that the line fault of line fault message instruction is objective When family end belongs to the second client set, step 208 is executed.
208, route faulty client is detected.
209, when determining that line fault client is normal, the routing that line fault client is noticed is released.
Specifically, there is line fault due to being likely to occur between the opposite end RR of RR and some client, lead to the opposite end of RR The case where disconnecting between RR and the client, other clients in network may be in the disconnecting of the client and RR Afterwards by the route withdraw of the client, to influence the normal network communications in network between other clients and the client.For The above problem is avoided, line fault message can be increased in the communication mechanism of the opposite end RR of RR and RR, as the opposite end RR of RR When to RR transmitting line failure message, which is used to notice the opposite end RR of RR and is located in the second client set The connection of line fault client is broken down, specifically, connection, which is broken down, to be connection time-out or disconnecting.
It, can be to line indicated by the line fault message when the line fault message that the opposite end RR that RR receives RR is sent Road faulty client is detected, and when determining that line fault client is normal, illustrates the opposite end RR and line fault client of RR The connection failure at end is caused by the line fault between opposite end RR and line fault client because of RR, in order to protect Demonstrate,proving in network other clients will not be by the route withdraw of line fault client, by the opposite end RR of RR substitution RR by line fault The routing of client notice releases.
It further,, can when not receiving keep-alive message in third time threshold due in existing default rule It is disconnected so that RR and the client of bgp peer will be established, in order to avoid when the opposite end RR of RR and line fault client disconnect, RR not yet substitutes client of the opposite end RR of RR in the client and the second client set into the first client set and turns The routing of hair line road faulty client, when the opposite end RR of RR can be made not receive keep-alive message in the 4th time threshold, to RR Transmitting line failure message, wherein the 4th time threshold is less than third time threshold, so as in the opposite end RR and route of RR When faulty client not yet disconnects, RR is enable to substitute client and second of the opposite end RR of RR into the first client set The routing of client forwarding route faulty client in client set.
Illustratively, in existing default rule, a keep-alive message is sent every 60s, when 180S does not receive keep-alive message When, default disconnects the opposite end RR for the RR for establishing bgp peer with corresponding client.Compared with existing default rule, Ke Yigui Determine to be divided into 30s between keep-alive message is sent, when the opposite end RR of RR does not receive keep-alive message in 120s, disappear to RR transmitting line failure Breath, enables RR when receiving line fault message and confirming that line fault client is normal, substitutes the opposite end RR of RR to the The routing of client forwarding route faulty client in client and the second client set in one client set, from And it avoids causing to cancel the routing due to routing of line fault client because of client because not receiving forwarding in 180S.
As shown in Fig. 4, the embodiment provides a kind of Router Reflector equipment (RR 300), comprising:
Module 301 is obtained, is configured as obtaining configuration information.
Wherein, configuration information is obtained, configuration information, which is used to indicate, to establish borde gateway association with RR where this acquisition module The client of view bgp peer is divided into the first client set and the second client set, the visitor in the first client set Client in family end and the second client set establishes Border Gateway Protocol (BGP) peer-to-peer with RR, and RR is the first client The main RR of client in set, RR are also the standby RR of the client in the second client set, and the opposite end RR of RR is the first visitor The standby RR of client in the set of family end, the opposite end RR of RR are the main RR of the client in the second client set;
Specifically, the first client set and the second client set may each comprise multiple client, wherein the first visitor Family end set can be respectively positioned in AS with client included by the second client set, and the first client set and second Client included by client set establishes Border Gateway Protocol (BGP) peer-to-peer with RR, it is also assumed that the first client Set establishes bgp neighbor relationship with client included by the second client set with RR, further, it is believed that first Client included by client set and the second client set is used as the client peers of RR.It is considered that according to matching Confidence ceases the main RR for determining that RR can be used as the client in the first client set, and RR, can not when carrying out routing forwarding Forward routing of other RR as the client of main RR in addition to itself.The opposite end RR of RR can be used as in the second client set Client main RR, the opposite end RR of RR can substitute RR as in the first client set when RR breaks down or fails Client main RR, while RR can also substitute the opposite end RR of RR as the when the opposite end RR of RR breaks down or fails The main RR of client in two client set.
It should be noted that the configuration information that the opposite end RR for being used to indicate RR and RR makees the main RR of which client respectively can Think configuration on RR, or to obtain information by interaction message between the opposite end RR of RR and RR and negotiate to determine
Sending module 302 is configured as releasing the routing of the client notice in the first client set.
It should be noted that due to being provided in bgp protocol, when RR is when carrying out routing forwarding, if forwarding the routing not to be To be forwarded for the first time, RR only can carry out incremental update to the routing forwarded, not need regular batch updating.Cause This can only carry out incremental update when the routing of the client notice in the first client set is not to forward for the first time.
Sending module 302 is additionally configured to when determining the opposite end RR failure of RR, by the client in the second client set The routing of end notice releases.Specifically, RR failure is divided into the line failure that RR itself breaks down with RR, RR can be with By receiving corresponding message from the opposite end RR of RR with judge RR opposite end RR whether failure, RR can also be according to from other devices Or at system obtain information judge RR opposite end RR whether failure.
Preferably, do not received in first time threshold as RR RR opposite end RR send keep-alive message (full name in English: When keepalive), the opposite end RR failure of RR is determined.
Illustratively, the keep-alive message sent in the opposite end RR that first time threshold does not receive RR can be the opposite end of RR RR is configured as sending a keep-alive message to RR every second time threshold, and wherein second time threshold is less than first time threshold Value determines that the opposite end RR of RR breaks down when the opposite end RR for not receiving RR in first time threshold sends keep-alive message.Show Example property, the opposite end RR of RR is configured as sending a keep-alive message to RR every 30s, does not receive pair of RR when RR continuous 4 times When not receiving the keep-alive message of opposite end RR of RR in keep-alive message, that is, 120S that end RR is sent, determine that event occurs in the opposite end RR of RR Barrier.
It should be noted that establishing the client of bgp peer with existing RR since existing RR is when breaking down The connection with existing RR even is disconnected when can not receive the keep-alive message of existing RR in preset time threshold, and is made existing The route break that turns of RR.In the above-described embodiments in order to avoid the secondary route reflected of the opposite end RR by RR is because of RR Opposite end RR failure and failing causes network communication to be interrupted, can by do not received in first time threshold RR opposite end RR send out When the keep-alive message sent, determine that the opposite end RR of RR breaks down, wherein first time threshold is less than second time threshold, wherein with The client that the opposite end RR of RR establishes bgp peer disconnects the opposite end with RR when not receiving keep-alive message in second time threshold The connection of RR even, since first time threshold is less than second time threshold, when the opposite end RR of RR substitution RR forwards secondary route All clients can receive the secondary route forwarded by RR in second time threshold, avoid because in the second client set Network communication is interrupted caused by client fails secondary route.
Specifically, when determining the opposite end RR failure of RR, since the opposite end RR of RR can not continue second client The routing of client notice in set releases, therefore in order to guarantee the client and second in the first client set The network communication of client in client set is unaffected, and the opposite end RR that RR substitutes RR will be in the second client set Client notice routing release.
Further, when the opposite end RR for determining RR breaks down, if RR is not yet by the client in the first client set End notice routing release, i.e. RR for the first time by the first client set client notice routing release before When determining that the opposite end RR of RR breaks down, preferentially the routing of the client notice in the first client set can be issued out It goes, when determining that the first routing forwarding finishes, the routing of the client notice in the second client set is released.
It should be noted that the present embodiment is illustrated only when, there are when multiple RR, one of RR is routed in network The method of publication, while it can be appreciated that it is more that a RR in multiple RR can be used as this there are multiple RR in the network The opposite end RR of the RR of another RR in a RR, so that it is guaranteed that establishing the visitor of bgp peer relationship in the network with multiple RR The routing at family end can successfully forwarded, it is ensured that network communication operates normally.
A kind of route issuing method that the embodiment of the present invention provides is applied to RR, by obtaining configuration information with determination The corresponding second client set of opposite end RR of the corresponding first client set of RR and RR is carrying out routing forwarding later When, RR only releases the routing of the client notice in the first client set compared with prior art and non-forwarded network In avoid repeating publication routing by the RR with the routings of the RR whole clients for establishing bgp peer, reduce RR and turn Send out the routing amount of routing.When the opposite end RR for determining RR breaks down, in order to avoid using the opposite end RR of RR as the client of main RR Network communication is interrupted caused by the routing at end can not be forwarded, and is noticed the client in the second client set by RR Routing releases to guarantee that the communication of each LA Management Room will not be interrupted.Therefore the routing hair that the embodiment of the present invention provides Cloth method can communication when RR breaks down in ensuring network between client under the premise of will not interrupt, avoid RR normal Publication routing is repeated when work, to reduce resource consumed by routing publication and improve the efficiency of routing publication, is improved User experience.
Specifically, sending module 302 is also configured to
When the opposite end RR for determining RR restores the routing packet of the notice of the client in the normal and described second client set When including the routing being revoked, the client in the client and the second client set into the first client set sends road By revocation information, route withdraw information is used to indicate the routing being revoked.
Specifically, due to when the opposite end RR of RR is in failure, the routing of the client notice in the second client set It is sent by RR, when the routing of the client notice in the second client set forwarded by RR includes the routing being revoked When, if the routing of client notice in second client set can be again by pair of RR when the opposite end RR of RR restores normal End RR is sent.Opposite end RR due to being likely to occur RR restores in normal preceding the second client set sent by RR The case where a part of road is revoked in the routing of client notice, therefore when above situation occurs in determination, although RR is RR's Opposite end RR does not retransmit the routing of the client notice in the second client set after restoring normal, RR can send route withdraw Information, so that corresponding client can cancel the above-mentioned routing being revoked according to route withdraw information.
Specifically, sending module 302 is also configured to
When the line fault message that the opposite end RR for receiving RR is sent, according to line fault message detection line fault client End, when determining that line fault client is normal, in the client and the second client set into the first client set Client forwarding route faulty client routing, line fault message is used to indicate line fault client, line fault Client belongs to the second client set.
Specifically, there is line fault due to being likely to occur between the opposite end RR of RR and some client, lead to the opposite end of RR The case where disconnecting between RR and the client, other clients in network may be in the disconnecting of the client and RR Afterwards by the route withdraw of the client, to influence the normal network communications in network between other clients and the client.For The above problem is avoided, line fault message can be increased in the communication mechanism of the opposite end RR of RR and RR, as the opposite end RR of RR When to RR transmitting line failure message, which is used to notice the opposite end RR of RR and is located in the second client set The connection of line fault client is broken down, specifically, connection, which is broken down, to be connection time-out or disconnecting.
It, can be to line indicated by the line fault message when the line fault message that the opposite end RR that RR receives RR is sent Road faulty client is detected, and when determining that line fault client is normal, illustrates the opposite end RR and line fault client of RR The connection failure at end is caused by the line fault between opposite end RR and line fault client because of RR, in order to protect Demonstrate,proving in network other clients will not be by the route withdraw of line fault client, by the opposite end RR of RR substitution RR by line fault The routing of client notice releases.
It further,, can when not receiving keep-alive message in third time threshold due in existing default rule It is disconnected so that RR and the client of bgp peer will be established, in order to avoid when the opposite end RR of RR and line fault client disconnect, RR not yet substitutes client of the opposite end RR of RR in the client and the second client set into the first client set and turns The routing of hair line road faulty client, when the opposite end RR of RR can be made not receive keep-alive message in the 4th time threshold, to RR Transmitting line failure message, wherein the 4th time threshold is less than third time threshold, so as in the opposite end RR and route of RR When faulty client not yet disconnects, RR is enable to substitute client and second of the opposite end RR of RR into the first client set The routing of client forwarding route faulty client in client set.
Illustratively, in existing default rule, a keep-alive message is sent every 60s, when 180S does not receive keep-alive message When, default disconnects the opposite end RR for the RR for establishing bgp peer with corresponding client.Compared with existing default rule, Ke Yigui Determine to be divided into 30s between keep-alive message is sent, when the opposite end RR of RR does not receive keep-alive message in 120s, disappear to RR transmitting line failure Breath, enables RR when receiving line fault message and confirming that line fault client is normal, substitutes the opposite end RR of RR to the The routing of client forwarding route faulty client in client and the second client set in one client set, from And it avoids causing to cancel the routing due to routing of line fault client because of client because not receiving forwarding in 180S.
The embodiment provides a kind of network systems, which is characterized in that mentions including such as above-mentioned any embodiment The Router Reflector equipment of confession.
Wherein network system can also include the opposite end RR and multiple client of RR, the opposite end of client and RR and RR Bgp peer can be established between RR.
A kind of network system that the embodiment of the present invention provides, by obtaining configuration information to determine corresponding first visitor of RR The corresponding second client set of opposite end RR of family end set and RR, later when carrying out routing forwarding, RR is only by the first visitor The routing of client notice in the set of family end releases compared with prior art and establishes BGP with the RR in non-forwarded network The routing of whole clients of peer-to-peer avoids repeating publication routing by the RR, reduces the routing amount of the forwarded routing of RR. When the opposite end RR for determining RR breaks down, in order to avoid that can not be carried out the opposite end RR of RR as the routing of the client of main RR Caused by forwarding network communication interrupt, by RR by the second client set client notice routing release to Guarantee that the communication of each LA Management Room will not be interrupted.Therefore the route issuing method that the embodiment of the present invention provides can ensure Under the premise of communication when RR breaks down in network between client will not be interrupted, RR is avoided to repeat publication road in normal work By issuing consumed resource to reduce routing and improving the efficiency of routing publication, improve user experience.
Through the above description of the embodiments, it is apparent to those skilled in the art that the present invention can be with It is realized with hardware realization or firmware realization or their combination mode.It when implemented in software, can be by above-mentioned function Storage in computer-readable medium or as on computer-readable medium one or more instructions or code transmitted.Meter Calculation machine readable medium includes computer storage media and communication media, and wherein communication media includes convenient for from a place to another Any medium of a place transmission computer program.Storage medium can be any usable medium that computer can access.With For this but be not limited to: computer-readable medium may include random access memory (full name in English: Random Access Memory, English abbreviation: RAM), read-only memory (full name in English: Read Only Memory, English abbreviation: ROM), electricity can Erasable programmable read-only memory (full name in English: Electrically Erasable Programmable Read Only Memory, English abbreviation: EEPROM), CD-ROM (full name in English: Compact Disc Read Only Memory, English Referred to as: CD-ROM) or other optical disc storages, magnetic disk storage medium or other magnetic storage apparatus or can be used in carry or Storage has the desired program code of instruction or data structure form and can be by any other medium of computer access.This Outside.Any connection appropriate can become computer-readable medium.For example, if software be using coaxial cable, optical fiber cable, Twisted pair, digital subscriber line (full name in English: Digital Subscriber Line, English abbreviation: DSL) or such as red The wireless technology of outside line, radio and microwave etc is transmitted from website, server or other remote sources, then coaxial electrical The wireless technology of cable, optical fiber cable, twisted pair, DSL or such as infrared ray, wireless and microwave etc is included in computer-readable In the definition of medium.
Through the above description of the embodiments, it is apparent to those skilled in the art that, when with software It, can be in computer-readable medium or logical by the instruction or code storage that are used to execute the above method when mode realizes the present invention Computer-readable medium is crossed to be transmitted.Computer-readable medium includes computer storage media and communication media, wherein communicating Medium includes convenient for from a place to any medium of another place transmission computer program.Storage medium can be calculating Any usable medium that machine can access.As example but be not limited to: computer-readable medium may include that RAM, ROM, electricity can Erasable programmable read-only memory (full name: electrically erasable programmable read-only memory, Referred to as: EEPROM), CD, disk or other magnetic storage apparatus or can be used in carry or store have instruction or data The desired program code of structure type simultaneously can be by any other medium of computer access.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. a kind of route issuing method, which is characterized in that the method is applied to Router Reflector equipment RR, comprising:
Instruction information is obtained, the instruction information is used to indicate will establish the visitor of Border Gateway Protocol (BGP) peer-to-peer with the RR Family end is divided into the first client set and the second client set, and the RR is the client in the first client set Main RR, the RR is also the standby RR of the client in the second client set, and the opposite end RR of the RR is described first The opposite end RR of the standby RR of client in client set, the RR are the master of the client in the second client set RR;
The routing of client notice in the first client set is released, when the opposite end RR failure for determining the RR When, the routing of the client notice in the second client set is launched.
2. route issuing method according to claim 1, which is characterized in that the opposite end RR failure of the determining RR, comprising:
When the keep-alive message that the opposite end RR for not receiving the RR in first time threshold is sent, the opposite end RR of the RR is determined Failure;
When determining the opposite end RR failure of the RR, the routing of the client notice in the second client set is issued out It goes.
3. route issuing method according to claim 2, which is characterized in that the method also includes:
When the opposite end RR for determining the RR restores normal, and the routing packet of the client notice in the second client set When including the routing being revoked, route withdraw information is sent, the route withdraw information is used to indicate the routing being revoked.
4. route issuing method according to claim 2, which is characterized in that the first time threshold is less than the second time Threshold value, wherein not receiving keep-alive message in second time threshold with the opposite end RR of the RR client for establishing bgp peer When disconnect connection with the opposite end RR of the RR even.
5. route issuing method according to claim 1, which is characterized in that the method also includes:
When the opposite end RR for receiving the RR line fault message sent and the route event of the determining line fault message instruction When barrier client belongs to the second client set, the line fault client is detected;
When determining that the line fault client is normal, the routing that the line fault client is noticed is released.
6. a kind of Router Reflector equipment characterized by comprising
Module is obtained, is configured as obtaining instruction information, the instruction information is used to indicate the road where with this acquisition module First client set and the second client are divided by the client that reflector device RR establishes Border Gateway Protocol (BGP) peer-to-peer End set, the RR are the main RR of the client in the first client set, and the RR is also the second client collection The opposite end RR of the standby RR of client in conjunction, the RR are the standby RR, the RR of the client in the first client set Opposite end RR be the second client set in client main RR;
Sending module is configured as releasing the routing of the client notice in the first client set;
The sending module is additionally configured to when determining the opposite end RR failure of RR, by the client in the second client set The routing of end notice is launched.
7. Router Reflector equipment according to claim 6, which is characterized in that the Router Reflector equipment further includes event Hinder monitoring modular:
The fault monitor module is configured as the keep-alive when the opposite end RR for not receiving the RR in first time threshold is sent When message, the opposite end RR failure of the RR is determined;When determining the opposite end RR failure of RR, by the visitor in the second client set The routing of family end notice releases.
8. Router Reflector equipment according to claim 6, which is characterized in that fault monitor module is also configured to
When the opposite end RR for determining the RR restores normal, and the routing packet of the client notice in the second client set When including the routing being revoked, route withdraw information is sent, the route withdraw information is used to indicate the routing being revoked.
9. Router Reflector equipment according to claim 7, which is characterized in that when the first time threshold is less than second Between threshold value, disappear wherein not receiving keep-alive in second time threshold with the opposite end RR of the RR client for establishing bgp peer The connection with the opposite end RR of the RR even is disconnected when breath.
10. Router Reflector equipment according to claim 6, which is characterized in that fault monitor module is also configured to
When the line fault message that the opposite end RR for receiving the RR is sent, according to the line fault message detection line fault Client, when determining that the line fault client is normal, client in Xiang Suoshu the first client set and described Client in second client set forwards the routing of the line fault client, and the line fault message is used to indicate The line fault client, the line fault client belong to the second client set.
CN201610976711.1A 2016-11-07 2016-11-07 A kind of route issuing method and Router Reflector equipment Active CN106452909B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610976711.1A CN106452909B (en) 2016-11-07 2016-11-07 A kind of route issuing method and Router Reflector equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610976711.1A CN106452909B (en) 2016-11-07 2016-11-07 A kind of route issuing method and Router Reflector equipment

Publications (2)

Publication Number Publication Date
CN106452909A CN106452909A (en) 2017-02-22
CN106452909B true CN106452909B (en) 2019-04-16

Family

ID=58179657

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610976711.1A Active CN106452909B (en) 2016-11-07 2016-11-07 A kind of route issuing method and Router Reflector equipment

Country Status (1)

Country Link
CN (1) CN106452909B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106911549B (en) * 2017-02-28 2020-10-30 新华三技术有限公司 Data message processing method and device
CN106878173B (en) * 2017-02-28 2021-01-08 新华三技术有限公司 Route sending method and device
EP3419250B1 (en) * 2017-06-23 2020-03-04 Vestel Elektronik Sanayi ve Ticaret A.S. Methods and apparatus for distributing publish-subscribe messages
CN109286564B (en) * 2017-07-20 2022-06-07 迈普通信技术股份有限公司 Message forwarding method and device
CN110995582A (en) * 2019-12-03 2020-04-10 西安邮电大学 A BGP Route Reflector Redundant Network Convergence Implementation Method
CN111817954B (en) * 2020-06-19 2022-07-26 聚好看科技股份有限公司 Switching method of route reflection mode and network architecture system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101035019A (en) * 2007-01-12 2007-09-12 华为技术有限公司 Fast convergence method and device of the end-to-end service
CN102281199A (en) * 2011-08-16 2011-12-14 华为数字技术有限公司 Route equipment, route reflector and route information processing method and system
CN102281200A (en) * 2011-08-24 2011-12-14 华为技术有限公司 Method for selecting current backup route and router
CN102347898A (en) * 2010-07-26 2012-02-08 丛林网络公司 Methods and apparatus related to route selection within a network
EP2680515B8 (en) * 2012-06-30 2017-08-02 Juniper Networks, Inc. Selective bgp graceful restart in redundant router deployments

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101035019A (en) * 2007-01-12 2007-09-12 华为技术有限公司 Fast convergence method and device of the end-to-end service
CN102347898A (en) * 2010-07-26 2012-02-08 丛林网络公司 Methods and apparatus related to route selection within a network
CN102281199A (en) * 2011-08-16 2011-12-14 华为数字技术有限公司 Route equipment, route reflector and route information processing method and system
CN102281200A (en) * 2011-08-24 2011-12-14 华为技术有限公司 Method for selecting current backup route and router
EP2680515B8 (en) * 2012-06-30 2017-08-02 Juniper Networks, Inc. Selective bgp graceful restart in redundant router deployments

Also Published As

Publication number Publication date
CN106452909A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
CN106452909B (en) A kind of route issuing method and Router Reflector equipment
US9385944B2 (en) Communication system, path switching method and communication device
US9294343B2 (en) System and method using RSVP hello suppression for graceful restart capable neighbors
US10461998B2 (en) PE device and method for advertising information about PE device
EP2911346B1 (en) Method and network device for establishing virtual cluster
EP2598844B1 (en) State synchronization of serial data link sessions connected across an ip network
EP2939401B1 (en) Method for guaranteeing service continuity in a telecommunication network and system thereof
CN104486128B (en) A kind of system and method for realizing redundancy heartbeat between dual controller node
CN103200109B (en) A kind of ospf neighbor relationship management method and equipment
CN104144124B (en) Data forwarding method, Apparatus and system
CN102624929A (en) Wireless sensor network gateway redundancy method based on virtual gateway
US10887207B2 (en) System and method for determining branch gateway device availability in computer networks
CN102239670B (en) A load sharing method and device
CN112583570A (en) Method and device for synchronizing serial numbers
KR102547701B1 (en) Network topology discovery method, device, and system
CN104125079A (en) Method and device for determining double-device hot-backup configuration information
CN109996130A (en) Optical transfer network protection restoration methods, equipment and storage medium based on SDN
Muthumanikandan et al. A survey on link failures in software defined networks
US9430020B2 (en) Method, device and system for data stream transmission
CN103414645B (en) Link status database synchronization method, controller and system
CN113938421A (en) Force-up function-based anti-loop mechanism implementation method, equipment and medium
WO2011113398A1 (en) Method and node for constructing management and maintenance channels
CN119766595A (en) Ring network link switching method, device, system, computer equipment and storage medium
CN120075208A (en) Building automation communication protocol architecture and building automation communication method
JP6017037B6 (en) System and method for using RSVP HELLO suppression for graceful restart capable neighbors

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 610041 15-24 floor, 1 1 Tianfu street, Chengdu high tech Zone, Sichuan

Patentee after: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd.

Address before: 610041 16 Hing Hing Road, Chengdu high tech Development Zone, Sichuan, China 16

Patentee before: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd.

CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 610041 nine Xing Xing Road 16, hi tech Zone, Sichuan, Chengdu

Patentee after: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd.

Address before: 610041 15-24 floor, 1 1 Tianfu street, Chengdu high tech Zone, Sichuan

Patentee before: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd.