CN108123876A - Border Gateway Protocol (BGP) routing information processing method and device - Google Patents
Border Gateway Protocol (BGP) routing information processing method and device Download PDFInfo
- Publication number
- CN108123876A CN108123876A CN201711337834.1A CN201711337834A CN108123876A CN 108123876 A CN108123876 A CN 108123876A CN 201711337834 A CN201711337834 A CN 201711337834A CN 108123876 A CN108123876 A CN 108123876A
- Authority
- CN
- China
- Prior art keywords
- router
- bgp
- routing information
- route
- routing
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/20—Hop count for routing purposes, e.g. TTL
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/02—Topology update or discovery
- H04L45/04—Interdomain routing, e.g. hierarchical routing
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
This disclosure relates to a kind of Border Gateway Protocol (BGP) routing information processing method and device.The described method includes:The first router is to during the second router issue BGP routings, judge the path between the second router and the purpose equipment of BGP routing instructions whether by the first router, alternatively, judging whether the path between the second router and the next-hop device that BGP routings indicate passes through the first router;If by the first router, BGP routing carrying the first life cycle of the attributes issued to the second router.According to the bgp routing information processing method and processing device of the embodiment of the present disclosure, the life span of every BGP routing can be finely controlled, for different networking situations, different attributes life cycle is set for different BGP routings, so as to avoid or reduce flow interrupt as far as possible.
Description
Technical field
This disclosure relates to network communication technology field more particularly to a kind of Border Gateway Protocol (BGP) routing information processing side
Method and device.
Background technology
BGP (Border Gateway Protocol, Border Gateway Protocol) is that one kind both can be used for different AS
Between (Autonomous System, autonomous system), and it can be used for the dynamic routing protocol inside same AS.It is currently used
Bgp version be BGP-4, BGP-4 is as Internet exterior routing protocol standards, by ISP (Internet Service
Provider, Internet Service Provider) extensive use.
When BGP is run on inside same AS, it is referred to as IBGP (Internal BGP);When BGP run on different AS it
Between when, be known as EBGP (External BGP).AS is by possess same routing policy, belong to same technical management department one group
The system of router composition.
BGP GR (Graceful Restart, smooth restarting) are that one kind ensures when masterslave switchover or bgp protocol are restarted
The unbroken mechanism of forwarding service.
There are two roles by GR:
·GR Restarter:Generation masterslave switchover or agreement are restarted, and the equipment with GR abilities.
·GR Helper:There is neighborhood with GR Restarter, assist the equipment for completing GR flows, GR Helper
Also there is GR abilities.
BGP routing properties are one group of parameters that routing is followed to release together.BGP routing properties to specifically route into
Further description is gone so that routing recipient can be filtered and select to routing according to routing property value, common
BGP routing properties are such as:Origin attributes, next-hop attribute etc..
The content of the invention
In view of this, the present disclosure proposes a kind of Border Gateway Protocol (BGP) routing information processing method and device, Ke Yijing
The life span of every BGP routing is carefully controlled, for different networking situations, different existence weeks is set for different BGP routings
Phase attribute, so as to avoid or reduce flow interrupt as far as possible.
According to the one side of the disclosure, a kind of Border Gateway Protocol (BGP) routing information processing method, the method are provided
Including:
The first router judges that the second router and BGP routings refer to during the second router issue BGP routings
Whether the path between the purpose equipment shown is by the first router, alternatively, judging the second router and the BGP
It route whether the path between the next-hop device of instruction passes through the first router;
If by the first router, the first existence is carried to the BGP routings that the second router is issued
Cyclic attributes;
Wherein, it is the first designated value according to the ageing time that first life cycle, attribute determined;Described first specifies
Value indicates that the second router deletes the BGP when the neighbours for detecting the first router and the second router connect and disconnect
Routing.
According to another aspect of the present disclosure, a kind of Border Gateway Protocol (BGP) routing information processing device, the dress are provided
Put including:
Judgment module, for the first router to the second router issue BGP routing when, judge the second router and
Whether the path between the purpose equipment of the BGP routings instruction is by the first router, alternatively, judging second tunnel
Whether the first router is passed through by the path between device and the next-hop device of BGP routing instructions;
First release module, if for the BGP by the first router, issued to the second router
Routing carrying the first life cycle of attribute;
Wherein, it is the first designated value according to the ageing time that first life cycle, attribute determined;Described first specifies
Value indicates that the second router deletes the BGP when the neighbours for detecting the first router and the second router connect and disconnect
Routing.
Corresponding routing information is route according to the BGP of issue by bgp router, sets belong to life cycle for BGP routings
Property, according to the bgp routing information processing method and processing device of the embodiment of the present disclosure, the existence of every BGP routing can be finely controlled
Time, for different networking situations, different attributes life cycle was set for different BGP routings, so as to avoiding as far as possible or
Reduce flow interrupt.
According to below with reference to the accompanying drawings to detailed description of illustrative embodiments, the other feature and aspect of the disclosure will become
It is clear.
Description of the drawings
Comprising in the description and the attached drawing of a part for constitution instruction and specification together illustrate the disclosure
Exemplary embodiment, feature and aspect, and the principle for explaining the disclosure.
Fig. 1 shows the schematic diagram of an exemplary BGP RR networking scenes.
Fig. 2 is shown according to the schematic diagram that GR technologies are applied under an exemplary BGP RR networking scenes.
Fig. 3 shows the flow chart according to one exemplary routing information processing method of the disclosure.
Fig. 4 shows the flow chart according to one exemplary routing information processing method of the disclosure.
Fig. 5 shows the flow chart according to one exemplary routing information processing method of the disclosure.
Fig. 6 shows the block diagram according to one exemplary routing information processing device of the disclosure.
Fig. 7 shows the block diagram according to one exemplary routing information processing device of the disclosure.
Fig. 8 shows the block diagram according to one exemplary routing information processing device of the disclosure.
Specific embodiment
Various exemplary embodiments, feature and the aspect of the disclosure are described in detail below with reference to attached drawing.It is identical in attached drawing
Reference numeral represent functionally the same or similar element.Although the various aspects of embodiment are shown in the drawings, remove
It non-specifically points out, it is not necessary to attached drawing drawn to scale.
Dedicated word " exemplary " means " being used as example, embodiment or illustrative " herein.Here as " exemplary "
Illustrated any embodiment should not necessarily be construed as preferred or advantageous over other embodiments.
In addition, in order to better illustrate the disclosure, numerous details is given in specific embodiment below.
It will be appreciated by those skilled in the art that without some details, the disclosure can equally be implemented.In some instances, for
Method well known to those skilled in the art, means, element and circuit are not described in detail, in order to highlight the purport of the disclosure.
, it is necessary to the network equipment establishes IBGP connections between any two when carrying out routing issue in AS, cause the network in AS
When number of devices is more, there are substantial amounts of IBGP connections, influence networking scale and network performance.For this purpose, bgp protocol introduces RR
(Route Reflector, Router Reflector) mechanism, the network equipment in AS is all only established with RR equipment to be connected, and is solved
State problem.RR has substantial amounts of deployment, as in BGP set of routes in an AS as a kind of mechanism of maturation on existing network
The place of control, RR equipment is expected to centralized Control and scheduling for doing network, but actual flow might not be set by RR
It is standby.
Fig. 1 shows the schematic diagram of an exemplary BGP RR networking scenes.Such as Fig. 1, the scene include a RR equipment and
Two CR (Client Route, client's routing) equipment CR-1, CR-2, CR-1, CR-2 establish neighbours, RR equipment with RR equipment
To CR-1, CR-2 reflex circuit by the flow of CR-1 to CR-2 is forwarded to by direct-connected circuit between CR-1 and CR-2.
The neighbours of bgp protocol are established based on TCP connection, and bgp protocol regulation is after neighbours disconnect, it is necessary to delete from this
The routing of neighbor learning.Networking as shown in Figure 1, when RR equipment is due to needing edition upgrading or restarting because of failure, CR-
1 will disconnect with the neighborhood of RR equipment, the neighborhood of CR-2 and RR equipment, and CR-1 and CR-2 can be deleted from neighbours' RR equipment
The routing of study, causes flow interrupt.And in this case, if during RR equipment is restarted, CR equipment can keep routeing, so that it may
To avoid the interruption of flow.
At present, first passed through between the neighbours of bgp protocol generally using GR technologies for such case and consult BGP associations
The GR abilities of view, for example, which address family supports GR, ageing time etc., when equipment or bgp protocol are restarted, opposite end neighbours set
Standby (GR Helper) stamps aging mark into GR states, and by the routing received from GR Restarer (equipment restarted).
It needs to re-establish neighborhood and again issue routing in ageing time, if GR Helper do not receive update, delete
Except the routing received from GR Restarer (equipment restarted).
Such as Fig. 1, when RR equipment is restarted, CR equipment can will stamp aging mark from the routing of RR learning equipments, in aging
In time, if RR equipment restarts completion, and routing being reissued to CR equipment, CR equipment will not delete routing, if
RR equipment, which is not restarted, in ageing time completes or without issuing original routing, and CR equipment is deleted from the road of RR learning equipments
By.Not interrupting for flow is realized by the mechanism.
There are the following problems for above bgp protocol GR technologies:
It needs to consult GR abilities in advance between the neighbours of bgp protocol, consults GR ageing times.Ageing time consults to complete
Afterwards, which can come into force to all routings come from the neighbours, and mistake may be caused to remain routing, instead result in flow not
It is logical.
Fig. 2 shows that, according to the schematic diagram that GR technologies are applied under an exemplary BGP RR networking scenes, where the dotted line signifies that is set
The neighbours' connection (for advertising of route) established between standby, solid line represents the data interaction link of equipment room.As Fig. 2, CR-2 are received
The routing of the CR-4 of RR equipment reflection, while have received the routing of the CR-4 of CR-1 issues.If the preferred RR equipment of CR-2
Come routing, then the flow of CR-2 to CR-4 pass through RR device forwards (CR-2 → RR → CR-4).
When RR equipment is restarted, and flow forwarding can not be carried out in RR equipment restarting process, since CR-2 and RR equipment is assisted
Business's GR abilities, CR-2 do not delete the routing of RR equipment reflection, cause the flow of CR-2 to CR-4 still through RR equipment turn
CR-4 is dealt into, flow interrupts in ageing time.
In order to solve the above-mentioned technical problem, present disclose provides a kind of routing information processing method, this method can be applied
In the router based on bgp protocol networking.
Fig. 3 shows the flow chart according to one exemplary routing information processing method of the disclosure.This method can be applied to base
Bgp router in the network of bgp protocol networking, such as RR.As shown in figure 3, the method may include:
Step S11, the first router judge the second router and described to during the second router issue BGP routings
Whether the path between the purpose equipment of BGP routing instructions is by the first router, alternatively, judging the second router
Whether the path between the next-hop device of the BGP routings instruction passes through the first router.
By taking networking shown in Fig. 2 as an example, the first router and the second router can be the BGP routings being located in same AS
Device, for example, any two bgp router in AS200.In one example, the first router be RR equipment, the second router
Can be other bgp routers in AS200 in addition to RR equipment, the first router can issue BGP to the second router
The first router for ease of description, is hereafter referred to as the first BGP routings by routing to the BGP routings that the second router is sent.
In a kind of possible realization method, controller issues routing to the first router and sends control strategy, the first via
By device according to the routing send control strategy judge the second router and the BGP routing indicate purpose equipment between path
Or whether the path between the second router and the next-hop device of BGP routing instructions passes through the first router.Wherein, it route
Sending control strategy includes the corresponding routing information of BGP routings, which indicates from the second router and reach BGP routings
The information for each node (router) that the next-hop of purpose equipment or BGP the routing instruction of instruction is passed through.
For example, exemplified by with SDN (Software Defined Network, software defined network), SDN controllers can
With the network topological information in collection management region, according to the BGP roads that each router is issued in network topological information calculating network
By path, with this can determine routing send control strategy.
For example, as shown in Fig. 2, controller collection network topology information, it is route for the BGP for treating to reflect to CR-2 on RR,
Such as (it can refer to that the purpose equipment of BGP routing instructions route the next-hop indicated for CR-4 or BGP to the routing of CR-4
For CR-4) and routing to CR-3, controller can be calculated according to network topological information is treated on RR to CR-2 reflect to CR-
The 4 corresponding path of routing is:CR-2→RR→CR-4;The routing pair to CR-3 for treating to reflect on RR to CR-2 can be calculated
The path answered is:CR-2→CR-3.According to the result of calculation of network topological information, it may be determined that RR is routed across to CR-4,
To CR-3 routing without RR.
Then SDN controllers are sent to the routing that RR equipment issues in control strategy, can carry the corresponding path letter of routing
Breath can also carry the information whether routing passes through RR.
In another example, Network APP (web application) are configured in controller, Network APP can be with
The network topological information in collection management region, and the next-hop relation routeing, Network APP are calculated according to network topological information
It can be communicated based on Netconf agreements with the first router.
In this example, the first router sends inquiry request to controller, so that controller obtains the BGP roads
From corresponding routing information and returning to the corresponding path of the BGP routings to the first router according to the routing information is
The no query result by the first router, in one example, the inquiry request can include BGP routings and refer to
The next-hop and the second router shown, inquiry request can also include the purpose equipment and the second router of BGP routing instructions;Institute
It states the first router and receives the query result, and determine whether the BGP route corresponding path according to the query result
By the first router.
For example, route for the BGP for treating to reflect to CR-2 on RR, the next-hop of BGP routings for CR-4, RR equipment to
Network APP send inquiry request, and CR-4 is reached from CR-2 with inquiry, between path whether by RR equipment, inquiry please
It can include the next hop information CR-4 and CR-2 of routing in asking.Network APP receive obtain after inquiry request it is corresponding
Routing information, for example, corresponding routing information is CR-2 → CR-3 → RR → CR-4, and according to the routing information to RR equipment
Query result is returned to, such as path includes RR equipment;RR equipment receives the query result, and true according to the query result
RR equipment is passed through in the fixed path reached from CR-2 between CR-4.
For another example, RR equipment sends the BGP of CR-4 to CR-5 and route, the next-hop of BGP routings for CR-4, RR equipment first to
Network APP send inquiry request, reach whether the path between CR-4 passes through RR equipment from CR-5 to inquire about.Network
APP obtains corresponding routing information after receiving inquiry request, for example, corresponding routing information is CR-5 → CR-6 → CR-4,
And it is returned according to the routing information to RR equipment in query result, such as path not including RR equipment.
If traditional network does not have special controller collection network topology information to calculate the corresponding path of routing
Information, then static configuration routing group attribute come distinguish routing send control strategy.As shown in Fig. 2, it can be stored in RR equipment
There is routing corresponding with group attribute to send control strategy, such as:Group attribute 1000:1 corresponding BGP routings send control plan
Slightly indicate that BGP route corresponding path and passes through RR equipment;Router of the corresponding path Jing Guo RR equipment is route in the BGP of transmission
The above-mentioned BGP routings that router issue is configured on (such as CR-4) carry group attribute 1000:1.In this way, when CR-4 is to RR
When equipment notices the routing of CR-4, group attribute 1000 is carried in routing:Routing of 1, the RR equipment to miscellaneous equipment reflection CR-4
When, the correspondence that control strategy can be sent according to group attribute and BGP routings determines, the CR-4's issued to miscellaneous equipment
Corresponding path is route by RR equipment.
More than BGP routing configuration strategies are only the example of the disclosure, do not limit the disclosure, this field skill in any way
Art personnel can also use other modes to set BGP routing configuration strategies.
Step S12, if by the first router, the BGP issued to the second router route and carries
First life cycle attribute.
Wherein, it is the first designated value according to the ageing time that first life cycle, attribute determined;Described first specifies
Value indicates that the second router deletes the BGP when the neighbours for detecting the first router and the second router connect and disconnect
Routing.
Life cycle, attribute can be the attribute for BGP routings, it then follows the routing property specification of bgp protocol.Existence
Cyclic attributes can include attribute type value (Attr Type), attribute length field (Attr Len), property value (Attr
The information such as Value), wherein, attribute type value can with selected as can not transitive attribute, property value can include time attribute, when
Between attribute can be 4 bytes or 8 bytes field.The numerical value of time attribute represents the ageing time of BGP routings, BGP
The ageing time of routing can represent the time of BGP a route to be valid, if for example, not received in the ageing time of BGP routings
The update of BGP routings, then BGP route breaks, BGP a route to be valid before this, after BGP route breaks, router deletes the BGP
Routing;If receiving the update of BGP routings in the ageing time of BGP routings, BGP routings are remained valid, and router does not delete BGP
Routing.
Wherein, " first " in the first life cycle attribute carries the life cycles of different parameters just for the sake of distinguishing
Attribute, specifically, the second router receive the first BGP routings, and the second router can route the carried according to the first BGP
One life cycle attribute determine the ageing time of the first BGP routings, in one example, ageing time is the first designated value, the
One designated value can be 0, correspondingly, the ageing time of the first BGP routings is 0.In the present embodiment, the initial time of ageing time
It can be the time that neighbours' connection relation between the first router and the second router disconnects, at this point, the first designated value can be with
For 0, that is to say, that described in the second router is deleted when the neighbours for detecting the first router and the second router connect and disconnect
BGP is route.In this way, the above-mentioned routing by the first router can be deleted at once in the case where bgp neighbor is connected and disconnected,
It can be to avoid flow interrupt.
The routing information that bgp router is route according to the BGP of issue sets attribute life cycle, Ke Yijing for BGP routings
The life span of every BGP routing is carefully controlled, for different networking situations, different existence weeks is set for different BGP routings
Phase attribute, so as to avoid or reduce flow interrupt as far as possible.
Fig. 4 shows the flow chart according to one exemplary routing information processing method of the disclosure.As shown in figure 4, the method
It can also include:
If without the first router, the is carried to the BGP routings that the second router is issued by step S13
Two life cycle attribute.
Second life cycle attribute and first life cycle attribute be all the first router issue BGP routing carry life
Cycle of deposit attribute, the attribute type value (Attr Type) of the two, attribute length field (Attr Len), property value (Attr
) etc. Value information may be arranged to different values according to actual demand.
Still illustrated by taking the first BGP routings as an example, according to the ageing time that the second life cycle, attribute determined
For the second designated value, second designated value indicates that the second router is detecting the first router and the second router
After neighbours' connection disconnects the BGP a route to be valid is kept within the second designated value time.In one example, the second designated value
(i.e. ageing time) recovers the time of connection needs not less than the first router with the second router.
Broken using calculating neighbours connection relation of the initial time of ageing time between the first router and the second router
Exemplified by the time opened, since the first BGP route corresponding path without the first router, if second life cycle attribute when
Between the value of attribute be set smaller than the first router and the second router and recover the time that connection needs, then ageing time it
Afterwards, before the first router and the second router recover connection, the first BGP routings will fail, and the second router will delete
First BGP is route, and during this period, the second router may be interrupted according to the flow of the first BGP routing forwardings.
And the first BGP ageing times routeing are arranged to recover to connect with the second router not less than the first router to need
The time wanted keeps the first BGP routings to remain valid, then the second tunnel before the first router recovers connection with the second router
First BGP routings will not be deleted by device, the second router still can be according to the first BGP routing forwarding flows.In this way, it can use up
Amount avoids or reduces flow interrupt.
Optionally, first life cycle attribute and second life cycle attribute can include start mark, the startup mark
It represents:The neighbours of the first router and the second router connect starts ageing timer when disconnecting, and the ageing timer is used for
Calculate the ageing time that the first router is route to the BGP that the second router is issued.
Fig. 5 shows the flow chart according to one exemplary routing information processing method of the disclosure.As shown in figure 5, the method
It can also include:
Step S14, when the neighbours with the second router are connected disconnection, the first router is to the second router
Route withdraw instruction is sent, so that the second router deletes BGP routing of the corresponding path Jing Guo the first router.
The first router is being restarted or is being broken since other situations need to be connected with the neighbours of the second router
When opening, the first router can also be by way of sending route withdraw instruction to the second router so that the second router is deleted
Except BGP routing of the corresponding path Jing Guo the first router.The second router refers in the revocation for receiving the first router transmission
Order, no matter whether BGP routings carry attribute life cycle, the second router all deletes corresponding BGP according to cancel an order
Routing.
In this way, equally it can avoid or reduce as far as possible flow interrupt in the case where bgp neighbor is connected and disconnected.
Fig. 6 shows the block diagram according to one exemplary routing information processing device of the disclosure.The device can be applied to be based on
Any bgp router in the network of bgp protocol networking, as shown in fig. 6, described device can include:
Judgment module 71 for the first router to during the second router issue BGP routings, judges the second router
Whether the path between the purpose equipment of the BGP routings instruction is by the first router, alternatively, judging described second
Whether the path between router and the next-hop device of BGP routing instructions passes through the first router;
First release module 72, if for by the first router, to described in the second router issue
BGP routing carrying the first life cycle of attributes;
Wherein, it is the first designated value according to the ageing time that first life cycle, attribute determined;Described first specifies
Value indicates that the second router deletes the BGP when the neighbours for detecting the first router and the second router connect and disconnect
Routing.
Fig. 7 shows the block diagram according to one exemplary routing information processing device of the disclosure.As shown in fig. 7, in a kind of possibility
Realization method in, described device further includes:
Second release module 73, if for the BGP without the first router, issued to the second router
Routing carrying the second life cycle of attribute;
Wherein, it is the second designated value according to the ageing time that second life cycle, attribute determined;Described second specifies
Value indicates that the second router second is specified after the neighbours for detecting the first router and the second router connect and disconnect
The BGP a route to be valid is kept within the value time.
In a kind of possible realization method, the judgment module 71 includes:
Query unit 711, for sending inquiry request to controller, so that the controller acquisition BGP routings are corresponding
Routing information simultaneously returns to whether the corresponding path of the BGP routings passes through institute according to the routing information to the first router
State the query result of the first router.
In a kind of possible realization method, the first life cycle of the attribute and the second life cycle of the attribute all wrap
Startup mark is included,
The mark that starts represents:The neighbours of the first router and the second router, which connect, starts aging timing when disconnecting
Device,
Wherein, the ageing timer is used to calculate the BGP roads that the first router is issued to the second router
By the ageing time.
In a kind of possible realization method, described device further includes:
Module 74 is cancelled, for when the neighbours with the second router be connecteds and disconnect, the first router is to described the
Two routers send route withdraw instruction, so that the second router deletes corresponding path by the first router
BGP is route.
Fig. 8 is according to a kind of block diagram for bgp routing information processing unit 900 shown in an exemplary embodiment.Ginseng
According to Fig. 8, which may include processor 901, the machine readable storage medium 902 for being stored with machine-executable instruction.Processing
Device 901 can communicate with machine readable storage medium 902 via system bus 903.Also, processor 901 can by read machine
It reads in storage medium 902 with the bgp routing information corresponding machine-executable instruction of processing logic to perform BGP roads described above
By information processing method.
Machine readable storage medium 902 referred to herein can be any electronics, magnetism, optics or other physical stores
Device can include or store information, such as executable instruction, data, etc..For example, machine readable storage medium can be:
RAM (Radom Access Memory, random access memory), volatile memory, nonvolatile memory, flash memory, storage are driven
Dynamic device (such as hard disk drive), solid state disk, any kind of storage dish (such as CD, dvd) or similar storage are situated between
Matter or combination thereof.
The presently disclosed embodiments is described above, above description is exemplary, and non-exclusive, and
It is not limited to disclosed each embodiment.In the case of without departing from the scope and spirit of illustrated each embodiment, for this skill
Many modifications and changes will be apparent from for the those of ordinary skill in art field.The selection of term used herein, purport
It is best explaining the principle of each embodiment, practical application or to the technological improvement of the technology in market or is leading this technology
Other those of ordinary skill in domain are understood that each embodiment disclosed herein.
Claims (10)
- A kind of 1. Border Gateway Protocol (BGP) routing information processing method, which is characterized in that the described method includes:The first router judges that the second router and the BGP route instruction to during the second router issue BGP routings Whether the path between purpose equipment is by the first router, alternatively, judging the second router and BGP routings Whether the path between the next-hop device of instruction passes through the first router;If by the first router, carried for the first life cycle to the BGP routings that the second router is issued Attribute;Wherein, it is the first designated value according to the ageing time that first life cycle, attribute determined;First designated value refers to Show that the second router deletes the BGP roads when the neighbours for detecting the first router and the second router connect and disconnect By.
- 2. bgp routing information processing method according to claim 1, which is characterized in that the method further includes:If without the first router, carry and belong to for the second life cycle to the BGP routings that the second router is issued Property;Wherein, it is the second designated value according to the ageing time that second life cycle, attribute determined;Second designated value refers to Show the second router in the second designated value after the neighbours for detecting the first router and the second router connect and disconnect Between within keep the BGP a route to be valid.
- 3. bgp routing information processing method according to claim 1 or 2, which is characterized in that described to judge second tunnel By the path between device and the purpose equipment of BGP routing instructions whether by the first router, alternatively, described in judging Whether the path between the second router and the next-hop device of BGP routing instructions passes through the first router, including:The first router sends inquiry request to controller, so that controller obtains the BGP and route corresponding path letter It ceases and the BGP is returned to the first router according to the routing information and route whether corresponding path passes through described first The query result of router.
- 4. bgp routing information processing method according to claim 2, which is characterized in thatFirst life cycle of the attribute and the second life cycle of the attribute all include starting mark,The mark that starts represents:The neighbours of the first router and the second router connect starts ageing timer when disconnecting,Wherein, the ageing timer is used to calculate what the first router was route to the BGP that the second router is issued The ageing time.
- 5. bgp routing information processing method according to claim 1, which is characterized in that the method further includes:When the neighbours with the second router are connected disconnection, the first router sends route withdraw to the second router Instruction, so that the second router deletes BGP routing of the corresponding path Jing Guo the first router.
- 6. a kind of Border Gateway Protocol (BGP) routing information processing device, which is characterized in that described device includes:Judgment module for the first router to during the second router issue BGP routings, judges the second router and described Whether the path between the purpose equipment of BGP routing instructions is by the first router, alternatively, judging the second router Whether the path between the next-hop device of the BGP routings instruction passes through the first router;First release module, if for by the first router, the BGP issued to the second router to be route Carry first life cycle attribute;Wherein, it is the first designated value according to the ageing time that first life cycle, attribute determined;First designated value refers to Show that the second router deletes the BGP roads when the neighbours for detecting the first router and the second router connect and disconnect By.
- 7. bgp routing information processing unit according to claim 6, which is characterized in that described device further includes:Second release module, if for without the first router, being taken to the BGP routings that the second router is issued Band the second life cycle of attribute;Wherein, it is the second designated value according to the ageing time that second life cycle, attribute determined;Second designated value refers to Show the second router in the second designated value after the neighbours for detecting the first router and the second router connect and disconnect Between within keep the BGP a route to be valid.
- 8. the bgp routing information processing unit according to claim 6 or 7, which is characterized in thatThe judgment module includes:Query unit, for sending inquiry request to controller, so that controller obtains the BGP and route corresponding routing information And the BGP is returned to the first router according to the routing information and route whether corresponding path passes through the first via By the query result of device.
- 9. bgp routing information processing unit according to claim 7, which is characterized in thatFirst life cycle of the attribute and the second life cycle of the attribute all include starting mark,The mark that starts represents:The neighbours of the first router and the second router connect starts ageing timer when disconnecting,Wherein, the ageing timer is used to calculate what the first router was route to the BGP that the second router is issued The ageing time.
- 10. bgp routing information processing unit according to claim 6, which is characterized in that described device further includes:Module is cancelled, for when the neighbours with the second router be connecteds and disconnect, the first router to be to the secondary route Device sends route withdraw instruction, so that the second router deletes BGP road of the corresponding path Jing Guo the first router By.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711337834.1A CN108123876B (en) | 2017-12-14 | 2017-12-14 | Border gateway protocol BGP routing information processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711337834.1A CN108123876B (en) | 2017-12-14 | 2017-12-14 | Border gateway protocol BGP routing information processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108123876A true CN108123876A (en) | 2018-06-05 |
CN108123876B CN108123876B (en) | 2020-08-11 |
Family
ID=62229131
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711337834.1A Active CN108123876B (en) | 2017-12-14 | 2017-12-14 | Border gateway protocol BGP routing information processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108123876B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109412942A (en) * | 2018-11-28 | 2019-03-01 | 网宿科技股份有限公司 | Cloud net transmission route method and system |
CN110784401A (en) * | 2019-10-28 | 2020-02-11 | 北京金山云网络技术有限公司 | Communication equipment adaptation method and device and communication equipment |
CN111726296A (en) * | 2019-03-20 | 2020-09-29 | 北京华为数字技术有限公司 | Neighbor relation management method, device, equipment and storage medium |
WO2021077768A1 (en) * | 2019-10-25 | 2021-04-29 | 华为技术有限公司 | Method and device for processing route information |
CN114124780A (en) * | 2021-11-15 | 2022-03-01 | 迈普通信技术股份有限公司 | Route publishing method, device, electronic equipment and storage medium |
CN114884866A (en) * | 2022-06-09 | 2022-08-09 | 中国电信股份有限公司 | Path determination method, device, system, equipment and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6963575B1 (en) * | 2000-06-07 | 2005-11-08 | Yipes Enterprise Services, Inc. | Enhanced data switching/routing for multi-regional IP over fiber network |
CN101471940A (en) * | 2007-12-28 | 2009-07-01 | 华为技术有限公司 | Method, system and device for synchronizing BGP route |
CN103686922A (en) * | 2013-12-18 | 2014-03-26 | 浙江树人大学 | Optimization method for survival time of multi-Sink-node movement wireless sensor network |
CN104012049A (en) * | 2011-10-13 | 2014-08-27 | 交互数字专利控股公司 | Method and apparatus for providing interfacing between content delivery networks |
CN104168154A (en) * | 2014-07-31 | 2014-11-26 | 中国人民解放军91655部队 | Network-situation-awareness-oriented multi-level network system and building method thereof |
CN106254251A (en) * | 2016-08-24 | 2016-12-21 | 杭州华三通信技术有限公司 | A kind of RI-Pro method and device |
US20170063917A1 (en) * | 2015-08-24 | 2017-03-02 | Empow Cyber Security Ltd. | Risk-chain generation of cyber-threats |
CN106658636A (en) * | 2017-01-05 | 2017-05-10 | 西北工业大学 | Millimeter wave network multi-path route backhauling method based on left bandwidth |
CN106713145A (en) * | 2015-07-28 | 2017-05-24 | 中兴通讯股份有限公司 | Method and device for refreshing link state message |
-
2017
- 2017-12-14 CN CN201711337834.1A patent/CN108123876B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6963575B1 (en) * | 2000-06-07 | 2005-11-08 | Yipes Enterprise Services, Inc. | Enhanced data switching/routing for multi-regional IP over fiber network |
CN101471940A (en) * | 2007-12-28 | 2009-07-01 | 华为技术有限公司 | Method, system and device for synchronizing BGP route |
WO2009089726A1 (en) * | 2007-12-28 | 2009-07-23 | Huawei Technologies Co., Ltd. | Method, system and apparatus for synchronizing the border gateway protocol routes |
CN101471940B (en) * | 2007-12-28 | 2012-09-05 | 华为技术有限公司 | Method, system and device for synchronizing BGP route |
CN104012049A (en) * | 2011-10-13 | 2014-08-27 | 交互数字专利控股公司 | Method and apparatus for providing interfacing between content delivery networks |
CN103686922A (en) * | 2013-12-18 | 2014-03-26 | 浙江树人大学 | Optimization method for survival time of multi-Sink-node movement wireless sensor network |
CN104168154A (en) * | 2014-07-31 | 2014-11-26 | 中国人民解放军91655部队 | Network-situation-awareness-oriented multi-level network system and building method thereof |
CN106713145A (en) * | 2015-07-28 | 2017-05-24 | 中兴通讯股份有限公司 | Method and device for refreshing link state message |
US20170063917A1 (en) * | 2015-08-24 | 2017-03-02 | Empow Cyber Security Ltd. | Risk-chain generation of cyber-threats |
CN106254251A (en) * | 2016-08-24 | 2016-12-21 | 杭州华三通信技术有限公司 | A kind of RI-Pro method and device |
CN106658636A (en) * | 2017-01-05 | 2017-05-10 | 西北工业大学 | Millimeter wave network multi-path route backhauling method based on left bandwidth |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109412942A (en) * | 2018-11-28 | 2019-03-01 | 网宿科技股份有限公司 | Cloud net transmission route method and system |
CN111726296A (en) * | 2019-03-20 | 2020-09-29 | 北京华为数字技术有限公司 | Neighbor relation management method, device, equipment and storage medium |
CN111726296B (en) * | 2019-03-20 | 2021-10-22 | 北京华为数字技术有限公司 | Neighbor relation management method, device, equipment and storage medium |
US11956149B2 (en) | 2019-03-20 | 2024-04-09 | Huawei Technologies Co., Ltd. | Peer relationship management method and apparatus, device, and storage medium |
WO2021077768A1 (en) * | 2019-10-25 | 2021-04-29 | 华为技术有限公司 | Method and device for processing route information |
CN110784401A (en) * | 2019-10-28 | 2020-02-11 | 北京金山云网络技术有限公司 | Communication equipment adaptation method and device and communication equipment |
CN110784401B (en) * | 2019-10-28 | 2021-10-26 | 北京金山云网络技术有限公司 | Communication equipment adaptation method and device and communication equipment |
CN114124780A (en) * | 2021-11-15 | 2022-03-01 | 迈普通信技术股份有限公司 | Route publishing method, device, electronic equipment and storage medium |
CN114884866A (en) * | 2022-06-09 | 2022-08-09 | 中国电信股份有限公司 | Path determination method, device, system, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108123876B (en) | 2020-08-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108123876A (en) | Border Gateway Protocol (BGP) routing information processing method and device | |
US10382592B2 (en) | Segment routing label switched path for non-segment routing enabled routers | |
TWI499237B (en) | Ldp igp synchronization for broadcast networks | |
CN101044728B (en) | Fast reroute (frr) protection at the edge of a rfc 2547 network | |
US7916729B2 (en) | Automatic RD rewrite technique to achieve fast convergence in inter-as networks | |
EP2391077B1 (en) | Method and border node for advertising border connection information of autonomous system | |
EP3200402B1 (en) | Segment routing information obtainment method and segment routing network establishment method | |
CN107040443A (en) | The Fast Convergent of the EVPN networks of many host's topologys | |
US8681823B2 (en) | LDP IGP synchronization for broadcast networks | |
US8068409B2 (en) | Fast OSPF inactive router detection | |
CN105978804B (en) | Method for routing and route device | |
US20170093611A1 (en) | Egress node protection in evpn all-active topology | |
CN110798403B (en) | Communication method, communication device and communication system | |
CN106170952A (en) | For disposing the method and system of maximum redundancy tree in a data network | |
CN112511418A (en) | Message indicating method, device, equipment and storage medium | |
WO2014128579A1 (en) | Mechanism for co-ordinated authentication key transition for is-is protocol | |
CN108494684B (en) | Method and device for establishing tunnel | |
CN103595641B (en) | A kind of tag distribution protocol apparatus and method synchronous with Interior Gateway Protocol | |
CN103685029A (en) | Method and equipment for forwarding messages in rapid ring protection protocol networking | |
CN104253752B (en) | The method and system that LSP takes over seamlessly are realized in LDP agreements | |
JP4044007B2 (en) | Route information management method and route information management device | |
WO2023098703A1 (en) | Path notification method, topology algorithm combination generation method, path calculation method, data transmission method, electronic device, and computer-readable storage medium | |
CN106302154B (en) | Method and device for calculating cross-level path of IS-IS protocol | |
CN117857437A (en) | Method and device for determining backup path and nonvolatile storage medium | |
CN115460107A (en) | Route detection method, device, system and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |