CN102281199B - Route equipment, route reflector and route information processing method and system - Google Patents

Route equipment, route reflector and route information processing method and system Download PDF

Info

Publication number
CN102281199B
CN102281199B CN201110235113.6A CN201110235113A CN102281199B CN 102281199 B CN102281199 B CN 102281199B CN 201110235113 A CN201110235113 A CN 201110235113A CN 102281199 B CN102281199 B CN 102281199B
Authority
CN
China
Prior art keywords
routing
disconnection
routing iinformation
routing device
identification information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201110235113.6A
Other languages
Chinese (zh)
Other versions
CN102281199A (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.)
Huawei Digital Technologies Chengdu Co Ltd
Beijing Huawei Digital Technologies Co Ltd
Huawei Digital Technologies Co Ltd
Original Assignee
Beijing Huawei Digital Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Huawei Digital Technologies Co Ltd filed Critical Beijing Huawei Digital Technologies Co Ltd
Priority to CN201110235113.6A priority Critical patent/CN102281199B/en
Publication of CN102281199A publication Critical patent/CN102281199A/en
Application granted granted Critical
Publication of CN102281199B publication Critical patent/CN102281199B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides route equipment, a route reflector, a route information processing method and a route information processing system. The route information processing method comprises the following steps that: first route equipment receives the route information of second route equipment and disconnection no deletion identification information corresponding to the route information from the route reflector; the first route equipment determines that border gateway protocol (BGP) connection between the first route equipment and the route reflector is passively disconnected; and the first route equipment processes the route information corresponding to the disconnection no deletion identification information in a graceful restart (GR) mode. In the embodiment of the invention, the route information of other route equipment, which is positioned on a forwarding path, is processed in the GR mode, so that the forwarding path among the equipment is kept unchanged temporarily, the smoothness of service flow is ensured, and flow loss is avoided.

Description

Routing device, Router Reflector, RI-Pro method and system
Technical field
The embodiment of the present invention relates to the communication technology, particularly relates to a kind of routing device, Router Reflector, RI-Pro method and system.
Background technology
Along with the routing device of access network gets more and more, the full mesh connection of network becomes and becomes increasingly complex, Router Reflector (Route Reflector, be called for short RR) (InternalBorder Gateway Protocol is called for short: full mesh IBGP) connects to can be used for simplifying Internal BGP.
Fig. 1 is (the Virtual Private Network of virtual private networks in prior art, be called for short VPN) network diagram of single reflector, as shown in Figure 1, VPN comprises RR, Provider Edge (Provider Edge, be called for short: PE) equipment PE1, PE2 and customer edge (Customer Edge, be called for short: CE) equipment CE1, CE2, CE is the client device that user is connected to PE, meanwhile, PE1 and PE2 is also as the client computer routing device of RR.When having business to transmit between ce1 and ce2, (Label switched path is called for short: LSP) transmit in tunnel the label switched path can set up between PE1 and PE2.When RR break down or link failure between RR and PE1 time the BGP between RR and PE1 can be caused to connect passive disconnection, once occur that the BGP between RR and PE1 connects passive disconnection, the routing iinformation received from RR is just all deleted by PE1, comprise the routing iinformation deleting the client computer routing device PE2 be on service transmission path, thus the service traffics between PE1 and PE2 are interrupted.
Above-mentioned BGP connects passive disconnection and causes routing device to delete the routing iinformation of the routing device be on transmission path, the service traffics transmitted are caused to be interrupted, thus not only cause traffic loss, but also reduce the stability of business transmission in network system.
Summary of the invention
The embodiment of the present invention provides a kind of routing device, Router Reflector, RI-Pro method and system, is connected passive disconnection causes service traffics to lose and reduce the problem of the stability that business is transmitted in network system in order to the BGP solved between Router Reflector with routing device.
For achieving the above object, an aspect of of the present present invention provides a kind of RI-Pro method, comprising:
First routing device receives the routing iinformation of secondary route equipment from Router Reflector and the disconnection corresponding with described routing iinformation does not delete identification information, wherein, carries out the service traffics of route without described Router Reflector according to described routing iinformation;
Described first routing device determines that described first routing device is connected passive disconnection with the Border Gateway Protocol (BGP) between described Router Reflector;
Described first routing device pair is not deleted routing iinformation corresponding to identification information with described disconnection and is adopted Graceful Restart GR mode to process.
An aspect of of the present present invention provides a kind of RI-Pro method, comprising:
Router Reflector receives the routing iinformation of secondary route equipment, wherein, carries out the service traffics of route without described Router Reflector according to described routing iinformation;
Described Router Reflector is that the disconnection of described routing iinformation configuration correspondence does not delete identification information;
Described routing iinformation and described disconnection are not deleted identification information and are sent to the first routing device by described Router Reflector, to make described first routing device when described first routing device is connected passive disconnection with the Border Gateway Protocol (BGP) between described Router Reflector, Graceful Restart GR mode is adopted to process to not deleting routing iinformation corresponding to identification information with described disconnection.
An aspect of of the present present invention provides a kind of first routing device, comprising:
Receiving element, does not delete identification information for the routing iinformation and the disconnection corresponding with described routing iinformation receiving secondary route equipment from Router Reflector, wherein, carries out the service traffics of route without described Router Reflector according to described routing iinformation;
Determining unit, for determining that described first routing device is connected passive disconnection with the Border Gateway Protocol (BGP) between described Router Reflector;
Processing unit, for when described BGP connects passive disconnection, adopts Graceful Restart GR mode to process to not deleting routing iinformation corresponding to identification information with described disconnection.
An aspect of of the present present invention provides a kind of Router Reflector, comprising:
Receiving element, for receiving the routing iinformation of secondary route equipment, wherein, carries out the service traffics of route without described Router Reflector according to described routing iinformation;
Dispensing unit, does not delete identification information for the disconnection corresponding for described routing iinformation configuration;
Transmitting element, the first routing device is sent to for described routing iinformation and described disconnection are not deleted identification information, to make described first routing device when described first routing device is connected passive disconnection with the Border Gateway Protocol (BGP) between described Router Reflector, Graceful Restart GR mode is adopted to process to not deleting routing iinformation corresponding to identification information with described disconnection.
An aspect of of the present present invention provides a kind of RI-Pro system, comprising: above-mentioned Router Reflector and at least two routing devices be connected with described Router Reflector, wherein routing device described at least one is the first above-mentioned routing device.
As shown from the above technical solution, in the embodiment of the present invention, first routing device is when determining that the BGP between its with Router Reflector is connected passive disconnection, what send this Router Reflector adopts Graceful Restart GR mode to process with the routing iinformation that secondary route equipment corresponding to identification information is not deleted in disconnection, does not namely temporarily delete this routing iinformation to keep transmission path.On the one hand, by Router Reflector be carry out GR process routing iinformation configuration disconnection do not delete identification information, first routing device, without the need to by judging that opposite end whether can GR with opposite end mutual, being exaggerated opposite end and entering the condition that Graceful Restart assists equipment (GR helper); On the other hand, temporarily routing iinformation is not deleted by adopting GR mode, after making BGP connect passive disconnection, if this BGP is connected in a period of time and can re-establishes, then the current service traffics transmission path carried out of the first routing device is constant, guaranteed flow normal transmission is not interrupted, to avoid in prior art the problem that the service traffics of the transmission caused are lost because deleting the routing iinformation being in routing device on forward-path, thus not only increase service traffics transmission quality, and be conducive to the stability of Internet Transmission.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the network diagram of virtual private networks list reflector;
Fig. 2 is the flow chart of the RI-Pro method of one embodiment of the invention;
Fig. 3 is the detail flowchart that in Fig. 2, the first routing device adopts GR process;
Fig. 4 is the flow chart of the RI-Pro method of one embodiment of the invention;
Fig. 5 is the flow chart of the RI-Pro method of one embodiment of the invention;
Fig. 6 is the structural representation of the routing device of one embodiment of the invention;
Fig. 7 is the structural representation of the routing device of one embodiment of the invention;
Fig. 8 is the structural representation of the Router Reflector of one embodiment of the invention;
Fig. 9 is the structural representation of the routing processing system of one embodiment of the invention;
Figure 10 is the flow chart of route device processes routing iinformation in one embodiment of the invention.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 2 is the flow chart of the RI-Pro method of one embodiment of the invention, and as shown in Figure 2, the method for the present embodiment comprises:
Step 101, the first routing device receive the routing iinformation of secondary route equipment from Router Reflector and (no delete) identification information is not deleted in the disconnection corresponding with described routing iinformation.
Wherein, the service traffics of route are carried out according to described routing iinformation without described Router Reflector.According to this routing iinformation, between the first routing device and secondary route equipment can transmission route to the service traffics of object route.Preferably, this routing iinformation can for the part or all of routing iinformation safeguarded in the routing table of secondary route equipment, namely Router Reflector is when sending to the first routing device by the routing iinformation of secondary route plant maintenance, can not delete identification information for the disconnection that all routing iinformation configurations are corresponding, the disconnection that may also be only partial routing infor-mation configuration corresponding does not delete identification information.If this routing iinformation is the whole routing iinformations safeguarded in the routing table of secondary route equipment, then follow-up first routing device can adopt GR mode to process to this whole routing iinformation, if this routing iinformation is the partial routing infor-mation safeguarded in the routing table of secondary route equipment, then follow-up first routing device can adopt GR mode to process to this partial routing infor-mation, and other routing iinformations safeguarded in routing table to secondary route equipment adopt normal mode to process, thus make the first routing device when adopting the RI-Pro method of the present embodiment to not supporting that the routing device of this technology is without any impact.
The disconnection of the present embodiment does not delete identification information for identifying the routing iinformation corresponding with it when BGP connects passive disconnection temporarily without the need to deleting.This disconnection is not deleted identification information and can be carried in an extended field of renewal (update) message, or is carried in the group attribute field of update message.Preferably, it is that the routing iinformation being corresponding secondary route equipment by Router Reflector configures that identification information is not deleted in described disconnection, and Router Reflector to be configured in update message and to send to the first via by equipment.If this disconnection is not deleted identification information and is carried in an extended field of update message, the attribute that can define this message is optional non-forwarded attribute, thus makes the first routing device receiving this message this information can not be transmitted to other routing devices.Alternatively, be carried in the group attribute field of update message if identification information is not deleted in this disconnection, giving tacit consent to this message information due to group attribute is optional forwarding, therefore, carry after disconnection do not delete the update message of identification information when the first routing device receives this, need to configure its egress policy, make this disconnection not delete identification information and be not forwarded to other routing devices.
Step 102, described first routing device determine that described first routing device is connected passive disconnection with the Border Gateway Protocol (BGP) between described Router Reflector.
Border Gateway Protocol (BGP) is the agreement of dynamic exchange routing iinformation between the Internet (Internet) upper autonomous system.Run host computer transmission control protocol (Transmission ControlProtocol, the abbreviation: TCP) set up reliable connection between peers of BGP.The validity connected to keep BGP by timed sending keep-alive (KEEPALIVE) message between routing device during BGP connects; as within the retention time (Holdtime), routing device does not receive KEEPALIVE message; then think that BGP connects to lose efficacy; disconnect this BGP to connect, and delete the routing iinformation collected from neighbours' routing device.In the present embodiment, the first routing device receives by detecting whether timing the BGP connection status that KEEPALIVE message that Router Reflector sends can judge between itself and Router Reflector.
Specifically, in the present embodiment when the first via is connected disconnection by equipment Inspection to the BGP Router Reflector with the first routing device, first determine that this BGP connects whether disconnection is passive disconnection, namely the first routing device judges whether it is occurred retention time (holdtime) time-out or cannot receive two-way converting detecting (Bidirectional Forwarding Detection, abbreviation: message etc. BFD).If so, then can determine to there occurs passive disconnection.This passive disconnection may be caused by Router Reflector fault or the link failure etc. between Router Reflector and the first routing device.And in fact, the service traffics of the routing iinformation route sent according to Router Reflector due to the first routing device without this Router Reflector, so in fact these faults do not affect the transmission path of the service traffics between the first routing device and secondary route equipment.Therefore, the first routing device can not delete this partial routing infor-mation immediately when determining that BGP connects passive disconnection, loses to avoid the service traffics in service transmission path.
Step 103, described first routing device pair are not deleted routing iinformation corresponding to identification information with described disconnection and are adopted Graceful Restart (GR) mode to process.
BGP Graceful Restart mechanism (Graceful Restart Mechanism for BGP, be called for short: BGP GR) for in bgp neighbor routing device generation masterslave switchover, BGP between routing device with its neighbours' routing device is connected the smooth restarting realizing agreement, to avoid the flow interrupt in this process between neighbours' route.In the present embodiment, the first routing device is not deleted routing iinformation corresponding to identification information with above-mentioned disconnection adopt Graceful Restart (GR) mode to process to what is received from Router Reflector.
Specifically, when the above-mentioned BGP of determining connects passive disconnection, first routing device is obtained disconnection do not deleted identification information by the routing iinformation traveling through it and receive from Router Reflector, carries out temporarily not deleting to make the service traffics in transmission path maintain normal transmission to not deleting routing iinformation corresponding to identification information with disconnection; After a period of time internal fault is eliminated, after first routing device is connected with the BGP between Router Reflector and re-establishes, first routing device can more new routing information terminate GR, return to normal condition, thus ensure to terminate to fault from fault, service traffics between routing device, not by the impact of this passive disconnection, ensure that service traffics normal transmission is not interrupted, thus avoid the problem of the service traffics loss transmitted.Simultaneously, in the present embodiment, by Router Reflector be corresponding routing iinformation configuration disconnection do not delete identification information, make the first routing device without the need to by judging that opposite end whether can GR alternately with opposite end, but when BGP connects passive disconnection, directly can carry out GR process to not deleting routing iinformation corresponding to identification information with disconnection, thus the neighbours' route being exaggerated opposite end enters the condition that Graceful Restart assists equipment (GR helper).
Fig. 3 is the detail flowchart that in Fig. 2, the first routing device adopts GR process, and as shown in Figure 3, in concrete enforcement, above-mentioned steps 103 can comprise following operation in detail:
Step 1031, described first routing device are labeled as (stale) to be aging state by not deleting routing iinformation corresponding to identification information with described disconnection.
Specifically, when BGP connects passive disconnection, first routing device is not temporarily deleted and is not deleted routing iinformation corresponding to identification information with disconnection, but is labeled as stale state, is marked as the routing iinformation of stale state, due to not deleted, also be in by using state, therefore, for the routing iinformation being marked as stale state, first routing device is in forwarding and routing, as broad as long by the routing iinformation normally used with other.In this step, disconnection is not deleted routing iinformation corresponding to identification information and is labeled as stale state by the first routing device, thus when ensureing that the first routing device is connected passive disconnection with BGP between Router Reflector, routing and the forwarding of the first routing device do not change, forward-path between first routing device and secondary route equipment does not also change, and ensure that the unimpeded of delivery flow rate.
Step 1032, described first routing device are re-establishing after BGP is connected with described Router Reflector, and delete flag is the routing iinformation of stale state or removes the mark of stale state of routing iinformation.
In embody rule, BGP connects in passive disconnection a period of time, after causing BGP to connect the Failure elimination of passive disconnection, the first routing device with can re-establish BGP between Router Reflector and be connected, and collect routing update information from Router Reflector.Each first routing device represents that Router Reflector sends the routing information base that terminates of routing information base and terminates (End-of-RIB receiving, be called for short: EOR) when information or EOR timer expiry, first routing device can according to route learning situation remove be in the routing iinformation of state to be aging stale status indication or trigger delete flag be stale state, namely be in state to be aging, routing iinformation.Wherein, EOR represents that Router Reflector have received the routing iinformation of part or all of neighbor device, is the mark that routing information base terminates, after its all routing iinformation is sent completely by Router Reflector, an EOR information can be sent, confirm to make neighbours to learn all routes.In the present embodiment, the first routing device can learn all routes according to this EOR validation of information, thus the GR process taked before can normal termination.
Specifically, if the first routing device does not receive the lastest imformation of above-mentioned temporarily stored routing iinformation when receiving EOR information or EOR timer expiry, then should delete flag be the routing iinformation of stale state; If the first routing device have received the lastest imformation of the routing iinformation being labeled as stale state before receiving EOR information, explanation can normal forwarding data between the routing device corresponding with this routing iinformation, then should remove the stale status indication of this routing iinformation, make this routing iinformation recover normal condition.Namely the renewal of routing iinformation is completed after routing device completes routing iinformation that delete flag is stale state and removes the stale status indication of routing iinformation, terminate the GR process to current routing information, thus complete BGP connection disconnection to connecting the transition recovered.
In the present embodiment, first routing device is when determining that the BGP between its with Router Reflector is connected passive disconnection, what send this Router Reflector adopts Graceful Restart GR mode to process with the routing iinformation that secondary route equipment corresponding to identification information is not deleted in disconnection, does not namely temporarily delete this routing iinformation to keep transmission path.On the one hand, be that the routing iinformation configuration disconnection carrying out GR process does not delete identification information by Router Reflector, the first routing device, without the need to by judging that opposite end whether can GR with opposite end mutual, is exaggerated the condition that opposite end enters GR helper; On the other hand, temporarily routing iinformation is not deleted by adopting GR mode, after making BGP connect passive disconnection, if this BGP is connected in a period of time and can re-establishes, then the current service traffics transmission path carried out of the first routing device is constant, guaranteed flow normal transmission is not interrupted, to avoid in prior art the problem that the service traffics of the transmission caused are lost because deleting the routing iinformation being in routing device on forward-path, thus not only increase service traffics transmission quality, and be conducive to the stability of Internet Transmission.
Fig. 4 is the flow chart of the RI-Pro method of one embodiment of the invention, as shown in Figure 4, the present embodiment is after the step 101 shown in above-mentioned Fig. 2, if BGP connects initiatively disconnection, then by all routing iinformations collected from Router Reflector of deletion, the method for the present embodiment specifically comprises:
Step 201, the first routing device receive the routing iinformation of secondary route equipment from Router Reflector and the disconnection corresponding with described routing iinformation does not delete identification information.
Step 202, described first routing device determine that described first routing device is connected passive disconnection or initiatively disconnection with the Border Gateway Protocol (BGP) between described Router Reflector;
If passive disconnection then performs step 203, if initiatively disconnection, then perform step 204, step 203 and step 204 are operating procedure arranged side by side.
Step 203, described first routing device pair are not deleted routing iinformation corresponding to identification information with described disconnection and are adopted Graceful Restart (GR) mode to process.
All routing iinformations that step 204, the described first via are sent by Router Reflector described in unit deletion.
In a particular application, if the first via by equipment Inspection to BGP connect initiatively disconnection, as the configuration change of the first routing device or Router Reflector, neighbours delete, then keep original place reason, namely all routing iinformations received from this Router Reflector before BGP connects disconnection are deleted, thus the first routing device can connect the corresponding process of disconnection type difference employing according to BGP, if namely the first routing device is in operation to detect and judges that the BGP between its with Router Reflector is connected initiatively disconnection, then carry out routing iinformation delete processing according to existing method, if passive disconnection, the method provided in the embodiment of the present invention is then adopted to carry out GR process, thus the first routing device can process its routing iinformation accordingly according to actual conditions
Fig. 5 is the flow chart of the RI-Pro method of one embodiment of the invention, and as shown in Figure 5, the method for the present embodiment, comprising:
Step 301, Router Reflector receive the routing iinformation of secondary route equipment.
Wherein, the service traffics of route are carried out according to described routing iinformation without described Router Reflector.
Step 302, described Router Reflector are that the disconnection of described routing iinformation configuration correspondence does not delete identification information.
In prior art, Router Reflector is generally directly this routing iinformation is transmitted to the first routing device when receiving the routing iinformation of secondary route equipment, and in the present embodiment, Router Reflector not only forwards routing iinformation, also identification information is not deleted to the corresponding disconnection of route information configuration, and this identification information is also sent to the first routing device, thus make follow-up first routing device can carry out special processing by the routing iinformation corresponding to this identification information.By Router Reflector configuration identifier information, when making follow-up first routing device take GR process, without the need to by judging that opposite end whether can GR with opposite end mutual, thus be exaggerated the condition that opposite end enters GR Helper.
Wherein, disconnection is not deleted identification information and can be configured in an extended field of renewal (update) message, and the attribute defining this message is optional non-forwarded attribute, thus this identification information can not forward by the first routing device further, also can be configured in the group attribute field of update message, need to configure its egress policy after the first routing device receives this identification information, make this disconnection not delete identification information and be not forwarded to other routing devices.
Described routing iinformation and described disconnection are not deleted identification information and are sent to the first routing device by step 303, described Router Reflector, to make described first routing device when described first routing device is connected passive disconnection with the Border Gateway Protocol (BGP) between described Router Reflector, Graceful Restart (GR) mode is adopted to process to not deleting routing iinformation corresponding to identification information with described disconnection.
Router Reflector is when issuing routing iinformation, direct forward process can be carried out to the routing iinformation that it receives, also can carry out special processing for corresponding routing iinformation distributes certain mark to make the routing device of reception this kind of mark identify corresponding routing iinformation to this kind.In the present embodiment, Router Reflector is that the routing iinformation distribution disconnection of the secondary route equipment that it receives does not delete identification information, can not delete immediately in order to identify corresponding routing iinformation when the passive disconnection of BGP, but adopt GR mode to process, thus make BGP connect passive disconnection not affect service traffics transmission between routing device, improve the stability of the transmission of business in network.
In the present embodiment, Router Reflector is that the disconnection of the routing iinformation distribution correspondence of secondary route equipment does not delete identification information, and identification information is not deleted in the routing iinformation of described secondary route equipment and this disconnection also send to the first routing device, after BGP between Router Reflector with the first routing device is connected passive disconnection, first routing device can not deleted routing iinformation corresponding to identification information to disconnection and is adopted GR mode to process, temporarily do not delete this routing iinformation, ensure that the flow be on service transmission path does not interrupt, avoid traffic loss, improve network transmission quality, meanwhile, configuring this identification information when issuing routing iinformation by Router Reflector, making the first routing device take to judge to operate without the need to carrying out corresponding GR ability to opposite end during GR process to routing iinformation.
Fig. 6 is the structural representation of the routing device of one embodiment of the invention, as shown in Figure 6, the first routing device in the present embodiment comprises: receiving element 10, determining unit 11 and processing unit 12, wherein, receiving element 10, does not delete identification information for the routing iinformation and the disconnection corresponding with described routing iinformation receiving secondary route equipment from Router Reflector; Determining unit 11, for determining that described first routing device is connected passive disconnection with the Border Gateway Protocol (BGP) between described Router Reflector; Processing unit 12, pair does not delete routing iinformation corresponding to identification information with described disconnection when connecting passive disconnection for described BGP and adopts Graceful Restart (GR) mode to process.
Wherein, the service traffics of route are carried out according to described routing iinformation without described Router Reflector.
In the present embodiment, when BGP connects normal, receiving element 10 can receive the routing iinformation of the secondary route equipment that Router Reflector forwards from Router Reflector and not delete identification information for the disconnection of this routing iinformation, when determining unit 11 determines that BGP connects passive disconnection, processing unit 12 obtains disconnection by traversal from the routing iinformation that Router Reflector receives and does not delete identification information, adopts GR mode to process to not deleting routing iinformation corresponding to identification information with disconnection.In embody rule, determining unit 11 can judge the BGP connection status between the first routing device and Router Reflector, as connected normal or disconnecting by the KEEPALIVE message whether receiving element 10 regularly receives Router Reflector transmission.Disconnecting comprises and by holdtime time-out or can cannot receive the passive disconnection that BFD message etc. determines, also comprises the active disconnection produced because the configuration change of routing device or Router Reflector, neighbours delete etc.When determining passive disconnection occurs, processing unit 12 can adopt corresponding GR mode to process, and to keep the flow transmitted between secondary route equipment not to be interrupted, avoids traffic loss.
The present embodiment can be used for the technical scheme performing embodiment of the method shown in above-mentioned Fig. 2, its know-why and technique effect similar, repeat no more.
Fig. 7 is the structural representation of the routing device of one embodiment of the invention, as shown in Figure 7, in embody rule, above-mentioned embodiment illustrated in fig. 6 in processing unit 12 can comprise: process subelement 121 and mark subelement 122, wherein, mark subelement 122 is connected with receiving element 10 and determining unit 11 respectively, is labeled as (stale) to be aging state when connecting passive disconnection for described BGP by not deleting routing iinformation corresponding to identification information with described disconnection; Process subelement 121 is connected with receiving element 10, for receiving the routing iinformation that Router Reflector sends at receiving element 10, described first routing device and described Router Reflector re-establish after BGP is connected, and delete flag is the routing iinformation of stale state or removes the mark of stale state of routing iinformation.Wherein, process subelement 121 can be subdivided into multiple process subelement according to function, subelement and tag delete subelement (not shown) is deleted as being divided into the routing iinformation be connected with receiving element 10 respectively, routing iinformation is deleted subelement and is used for when the first routing device does not receive the lastest imformation of the routing iinformation being labeled as stale state when receiving routing information base and terminating (EOR) information or EOR timer expiry, and delete flag is the routing iinformation of stale state; Tag delete subelement, for when the first routing device received the lastest imformation of the routing iinformation being labeled as stale state before receiving EOR information, removes the mark of the stale state of this routing iinformation.
In addition, when processing unit 12 is also for determining that in determining unit 11 BGP connects for above-mentioned active disconnection, all routing iinformations that receiving element 10 receives from Router Reflector are deleted.
The present embodiment can be used for the technical scheme performing embodiment of the method shown in above-mentioned Fig. 2 or Fig. 4, its know-why and technique effect similar, repeat no more.
Above-mentioned Fig. 6 or embodiment illustrated in fig. 7 in, can also comprise: the dispensing unit (not shown) be connected with receiving element 10, for receive when receiving element 10 Router Reflector send disconnection do not delete identification information be carried in the group attribute field of update message time, configure the egress policy of the first routing device, this update message carrying this information is not forwarded.Because Router Reflector is that the disconnection configured in routing iinformation is not deleted identification information and is transmitted to other routing devices further again without the need to routing device, so generally this information is configured in an extended field of update message, and the attribute defining this message is optional non-forwarded, but Router Reflector also can be the application simplifying routing policy and the difficulty reducing maintenance management, this identification information is configured to group attribute mode issue, but group attribute is defaulted as optional forwarding, do not delete identification information for making this disconnection and be not routed device forwards, in the embodiment of the present invention the receiving element 10 of the first routing device receive this disconnection do not delete identification information time, by dispensing unit, identification information deletion or not in this disconnection makes it not be transmitted to other routing devices.
Fig. 8 is the structural representation of the Router Reflector of one embodiment of the invention, and as shown in Figure 8, the Router Reflector of the present embodiment comprises: receiving element 20, dispensing unit 21 and transmitting element 22.Wherein, receiving element 20, wherein, receiving element 20, for receiving the routing iinformation of secondary route equipment, wherein, carries out the service traffics of route without described Router Reflector according to described routing iinformation between the first routing device and secondary route equipment; Dispensing unit 21, does not delete identification information for the disconnection corresponding for described routing iinformation configuration; Transmitting element 22, the first routing device is sent to for described routing iinformation and described disconnection are not deleted identification information, to make described first routing device when described first routing device is connected passive disconnection with the Border Gateway Protocol (BGP) between described Router Reflector, Graceful Restart GR mode is adopted to process to not deleting routing iinformation corresponding to identification information with described disconnection.
Router Reflector does not delete identification information by the routing iinformation configuration disconnection received for it, and this identification information is also sent to the first routing device, when making BGP connect passive disconnection, first routing device can adopt GR mode process according to this identification information pair routing iinformation corresponding with it, ensures that BGP connects passive disconnection and do not affect business transmission between routing device.In concrete enforcement, disconnection can not deleted identification information and to be configured in an extended field of update message and to be defined as optional non-forwarded attribute by dispensing unit 21, can be configured in the group attribute field of update message yet.
The present embodiment can be used for the technical scheme performing embodiment of the method shown in above-mentioned Fig. 5, its know-why and technique effect similar, repeat no more.
Fig. 9 is the structural representation of the routing processing system of one embodiment of the invention, and as shown in Figure 9, the system of the present embodiment comprises: Router Reflector 200 and the routing device 100, the routing device 300 that are connected with Router Reflector 200.Wherein, Router Reflector 200 is Router Reflector embodiment illustrated in fig. 8, routing device 100 and routing device 300 be above-mentioned Fig. 6 or embodiment illustrated in fig. 7 in routing device.
In the present embodiment, after its routing iinformation is sent to Router Reflector 200 by routing device 100, Router Reflector 200 can not delete identification information for the disconnection that the routing iinformation configuration of routing device 100 is corresponding, and routing iinformation and disconnection are not deleted identification information sends to routing device 300 together.When BGP between routing device 300 with Router Reflector 200 is connected passive disconnection, routing device 300 can obtain disconnection by its routing iinformation from Router Reflector 200 reception of traversal and not delete identification information, and the routing iinformation employing GR mode that this disconnection does not delete identification information corresponding is processed, temporarily do not delete, thus can ensure that the service traffics between routing device 100 and routing device 300 are not interrupted.
The present embodiment can be used for the technical scheme of above-mentioned Router Reflector embodiment and above-mentioned routing device any embodiment, its operation principle and the technique effect reached similar, repeat no more.
Figure 10 is the flow chart of route device processes routing iinformation in one embodiment of the invention, and in above-mentioned any embodiment, the routing device during BGP connects can process with reference to the flow chart shown in Figure 10 when BGP connection disconnection being detected.Specifically, routing device, after detecting that BGP connects disconnection, first judges whether this disconnection is passive disconnection, if not passive disconnection, then deletes all routing iinformations received from this Router Reflector; If passive disconnection, then obtain disconnection by traversal from the routing iinformation that this Router Reflector receives and do not delete identification information, the routing iinformation disconnection with correspondence not being deleted to identification information is labeled as stale state; And the routing iinformation not having corresponding disconnection not delete identification information is deleted; In a period of time afterwards, routing device and Router Reflector re-establish after BGP is connected, and before receiving EOR information, judge whether to receive the lastest imformation of the routing iinformation being labeled as stale state.If do not receive, then after receiving EOR or EOR timer expiry time, delete the routing iinformation that this is labeled as stale state; If receive, then continue to instruct traffic forwarding after upgrading route, this BGP connection returns to normal network connection state.When the BGP adopting the routing device of this kind of processing method can ensure between its with Router Reflector is connected disconnection, temporarily do not delete the routing iinformation of other routing devices be on forward-path, thus service traffics transmission is not interrupted between guarantee routing device, improve network stabilization, avoid the loss of service traffics just on the transmit path simultaneously, improve network transmission quality.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that program command is relevant, aforesaid program can be stored in a computer read/write memory medium, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
It is last it is noted that above embodiment is only in order to illustrate technical scheme of the present invention but not to be limited, although with reference to preferred embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to technical scheme of the present invention or equivalent replacement, and these are revised or be equal to the spirit and scope that replacement also can not make amended technical scheme disengaging technical solution of the present invention.

Claims (15)

1. a RI-Pro method, is characterized in that, comprising:
First routing device receives the routing iinformation of secondary route equipment from Router Reflector and the disconnection corresponding with described routing iinformation does not delete identification information, wherein, carries out the service traffics of route without described Router Reflector according to described routing iinformation; Described disconnection is not deleted identification information and is configured by described Router Reflector;
Described first routing device determines that described first routing device is connected passive disconnection with the Border Gateway Protocol (BGP) between described Router Reflector;
Described first routing device pair is not deleted routing iinformation corresponding to identification information with described disconnection and is adopted Graceful Restart GR mode to process.
2. method according to claim 1, is characterized in that, described first routing device pair is not deleted routing iinformation corresponding to identification information with described disconnection and adopted Graceful Restart GR mode to process, and specifically comprises:
Described first routing device is labeled as stale state to be aging by not deleting routing iinformation corresponding to identification information with described disconnection;
Described first routing device is re-establishing after BGP is connected with described Router Reflector, and delete flag is the routing iinformation of stale state or removes the mark of stale state of routing iinformation.
3. method according to claim 2, is characterized in that, described first routing device is after re-establishing BGP link with described Router Reflector, and delete flag is the routing iinformation of stale state, comprising:
If described first routing device does not receive the lastest imformation of the routing iinformation being labeled as stale state when receiving routing information base and terminating EOR information or EOR timer expiry, then delete flag is the routing iinformation of stale state.
4. according to the method in claim 2 or 3, it is characterized in that, described first routing device re-establishing after BGP is connected with described Router Reflector, is removed the mark of the stale state of routing iinformation, being comprised:
If described first routing device received the lastest imformation of the routing iinformation being labeled as stale state before receiving EOR information, then remove the mark of the stale state of this routing iinformation.
5. the method according to any one of claims 1 to 3, is characterized in that, described disconnection is not deleted identification information and is carried in the extended field upgrading update message, or is carried in the group attribute field of update message.
6. method according to claim 4, is characterized in that, described disconnection is not deleted identification information and is carried in the extended field upgrading update message, or is carried in the group attribute field of update message.
7. a RI-Pro method, is characterized in that, comprising:
Router Reflector receives the routing iinformation of secondary route equipment, wherein, carries out the service traffics of route without described Router Reflector according to described routing iinformation;
Described Router Reflector is that the disconnection of described routing iinformation configuration correspondence does not delete identification information;
Described routing iinformation and described disconnection are not deleted identification information and are sent to the first routing device by described Router Reflector, to make described first routing device when described first routing device is connected passive disconnection with the Border Gateway Protocol (BGP) between described Router Reflector, Graceful Restart GR mode is adopted to process to not deleting routing iinformation corresponding to identification information with described disconnection.
8. first routing device, is characterized in that, comprising:
Receiving element, does not delete identification information for the routing iinformation and the disconnection corresponding with described routing iinformation receiving secondary route equipment from Router Reflector, wherein, carries out the service traffics of route without described Router Reflector according to described routing iinformation; Described disconnection is not deleted identification information and is configured by described Router Reflector;
Determining unit, for determining that described first routing device is connected passive disconnection with the Border Gateway Protocol (BGP) between described Router Reflector;
Processing unit, for when described BGP connects passive disconnection, adopts Graceful Restart GR mode to process to not deleting routing iinformation corresponding to identification information with described disconnection.
9. the first routing device according to claim 8, is characterized in that, described processing unit comprises:
Mark subelement, for when described BGP connects passive disconnection, is labeled as stale state to be aging by not deleting routing iinformation corresponding to identification information with described disconnection;
Process subelement, for re-establishing after BGP is connected at described first routing device and described Router Reflector, delete flag is the mark of the routing iinformation of stale state or the stale state of removal routing iinformation.
10. the first routing device according to claim 9, is characterized in that, described process subelement comprises:
Routing iinformation deletes subelement, when not receiving the lastest imformation of the routing iinformation being labeled as stale state for receiving at described first routing device when routing information base terminates EOR information or EOR timer expiry, delete flag is the routing iinformation of stale state.
11. the first routing devices according to claim 9 or 10, it is characterized in that, described process subelement comprises:
Tag delete subelement, for receiving the lastest imformation of the routing iinformation being labeled as stale state before receiving EOR information at described first routing device, removes the mark of the stale state of this routing iinformation.
The first routing device according to any one of 12. according to Claim 8 ~ 10, is characterized in that, described processing unit, time also for connecting initiatively disconnection at described BGP, deletes all routing iinformations that described Router Reflector sends.
13. first routing devices according to claim 11, is characterized in that, described processing unit, time also for connecting initiatively disconnection at described BGP, delete all routing iinformations that described Router Reflector sends.
14. 1 kinds of Router Reflectors, is characterized in that, comprising:
Receiving element, for receiving the routing iinformation of secondary route equipment, wherein, carries out the service traffics of route without described Router Reflector according to described routing iinformation;
Dispensing unit, does not delete identification information for the disconnection corresponding for described routing iinformation configuration;
Transmitting element, the first routing device is sent to for described routing iinformation and described disconnection are not deleted identification information, to make described first routing device when described first routing device is connected passive disconnection with the Border Gateway Protocol (BGP) between described Router Reflector, Graceful Restart GR mode is adopted to process to not deleting routing iinformation corresponding to identification information with described disconnection.
15. 1 kinds of RI-Pro systems, it is characterized in that, comprise: Router Reflector as claimed in claim 14 and at least two routing devices be connected with described Router Reflector, wherein routing device described at least one is the first routing device such as according to any one of claim 8 ~ 13.
CN201110235113.6A 2011-08-16 2011-08-16 Route equipment, route reflector and route information processing method and system Expired - Fee Related CN102281199B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110235113.6A CN102281199B (en) 2011-08-16 2011-08-16 Route equipment, route reflector and route information processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110235113.6A CN102281199B (en) 2011-08-16 2011-08-16 Route equipment, route reflector and route information processing method and system

Publications (2)

Publication Number Publication Date
CN102281199A CN102281199A (en) 2011-12-14
CN102281199B true CN102281199B (en) 2015-05-06

Family

ID=45106391

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110235113.6A Expired - Fee Related CN102281199B (en) 2011-08-16 2011-08-16 Route equipment, route reflector and route information processing method and system

Country Status (1)

Country Link
CN (1) CN102281199B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105915457A (en) * 2016-04-29 2016-08-31 清华大学 Route verification based boarder gateway protocol route updating method

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103516601B (en) * 2012-06-29 2016-08-03 华为技术有限公司 Route transmission method and apparatus and system
TWI493922B (en) * 2013-05-27 2015-07-21 Accton Technology Corp Network device and operating method thereof
CN104869057B (en) 2014-02-21 2019-03-01 中兴通讯股份有限公司 Open flow switch Graceful Restart processing method, device and open flow controller
CN106850422B (en) * 2015-12-04 2020-03-31 中国电信股份有限公司 Route optimization method and system based on route reflector
CN106059793B (en) * 2016-05-16 2021-04-20 新华三技术有限公司 Routing information processing method and device based on graceful restart
CN106254251A (en) * 2016-08-24 2016-12-21 杭州华三通信技术有限公司 A kind of RI-Pro method and device
CN106452909B (en) * 2016-11-07 2019-04-16 迈普通信技术股份有限公司 A kind of route issuing method and Router Reflector equipment
CN108134707B (en) 2016-12-01 2021-08-03 华为技术有限公司 Method, system and network equipment for detecting route
CN106878173B (en) * 2017-02-28 2021-01-08 新华三技术有限公司 Route sending method and device
CN106911549B (en) * 2017-02-28 2020-10-30 新华三技术有限公司 Data message processing method and device
CN107040599A (en) * 2017-04-20 2017-08-11 新华三技术有限公司 Bgp neighbor disconnecting method and device
CN110971516B (en) * 2019-10-25 2021-01-15 华为技术有限公司 Method and device for processing routing information
CN113595893B (en) * 2021-07-20 2024-05-14 锐捷网络股份有限公司 Route receiving system, route receiving method, device, equipment and medium
CN114374643B (en) * 2021-12-22 2024-02-09 新华三技术有限公司合肥分公司 Communication method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072187A (en) * 2007-07-06 2007-11-14 杭州华三通信技术有限公司 Routing device and its grace ful restart method
CN101515891A (en) * 2009-04-02 2009-08-26 杭州华三通信技术有限公司 Method for processing border gateway protocol routing and router
CN101741738A (en) * 2009-12-15 2010-06-16 中兴通讯股份有限公司 Method and device for realizing graceful restart of link state routing protocol

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100558055C (en) * 2006-11-10 2009-11-04 华为技术有限公司 Reduce the method and the router of continuous duration of error smoothness rebooting status
US8320361B2 (en) * 2009-02-27 2012-11-27 Cisco Technology, Inc. Advertising alternate paths at border gateway protocol route reflectors

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072187A (en) * 2007-07-06 2007-11-14 杭州华三通信技术有限公司 Routing device and its grace ful restart method
CN101515891A (en) * 2009-04-02 2009-08-26 杭州华三通信技术有限公司 Method for processing border gateway protocol routing and router
CN101741738A (en) * 2009-12-15 2010-06-16 中兴通讯股份有限公司 Method and device for realizing graceful restart of link state routing protocol

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105915457A (en) * 2016-04-29 2016-08-31 清华大学 Route verification based boarder gateway protocol route updating method
CN105915457B (en) * 2016-04-29 2018-12-11 清华大学 A kind of route renewing method of the Border Gateway Protocol based on routing check

Also Published As

Publication number Publication date
CN102281199A (en) 2011-12-14

Similar Documents

Publication Publication Date Title
CN102281199B (en) Route equipment, route reflector and route information processing method and system
KR101652649B1 (en) System and method using rsvp hello suppression for graceful restart capable neighbors
US8886831B2 (en) System and methodology for fast link failover based on remote upstream failures
US9722917B2 (en) Traffic recovery in openflow networks
CN102325037B (en) A kind of changing method of pseudo-line dual homed network, system and dual-homed Provider Equipment
EP3232611B1 (en) Method, device and system for performing bidirectional forwarding detection on an aggregated link
US20160112255A1 (en) Pe device and method for advertising information about pe device
CN101895437B (en) Method and equipment of distributed bidirectional forwarding detection (BFD)
US20060215547A1 (en) Network transparent OSPF-TE failover
US9385944B2 (en) Communication system, path switching method and communication device
CN102404216A (en) Method for TRILL (transparent interconnection of lots of links) network protection, routing bridge and system
CN101582834A (en) Updating method, equipment and system of forwarding table during service transmission of Ethernet
CN102546427B (en) OSPF (Open Shortest Path First) protocol-based graceful restart (GR) method and router
CN104767680B (en) It route the method and apparatus being switched fast
CN102480368B (en) Protecting method and system of aggregation link
US20140050092A1 (en) Load sharing method and apparatus
CN102724073A (en) Method for network traffic recovery and routing device
CN102164085A (en) Tunnel group protection realization method and device based on multi-protocol label switching network
CN102546248B (en) Method, the Apparatus and system of accurate fault location under multi-protocol label switching environment
CN102857316B (en) A kind of method and system realizing source looped network protection
CN102195861A (en) Method and device for establishing BFD (bidirectional forwarding detection) session in route switching process
CN103354521A (en) LDP-based optimization method and device for LSP update
CN103490951A (en) Bidirectional forwarding detection method in multi-hop link on basis of BFD
EP2613477B1 (en) Method for triggering route switching and service provider-end provider edge device
CN108933818A (en) Communication means and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 100085 Beijing, Haidian District on the road, No. 3

Applicant after: Beijing Huawei Digital Technology Co.,Ltd.

Address before: 100085 Beijing, Haidian District on the road, No. 3

Applicant before: Huawei Digit Technology Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: HUAWEI DIGIT TECHNOLOGY CO., LTD. TO: BEIJING HUAWEI DIGITAL TECHNOLOGY CO., LTD.

C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150506

Termination date: 20190816