CN103516601A - Method, device and system for route transmission - Google Patents

Method, device and system for route transmission Download PDF

Info

Publication number
CN103516601A
CN103516601A CN201210223026.3A CN201210223026A CN103516601A CN 103516601 A CN103516601 A CN 103516601A CN 201210223026 A CN201210223026 A CN 201210223026A CN 103516601 A CN103516601 A CN 103516601A
Authority
CN
China
Prior art keywords
router
shadow
parameter
address
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201210223026.3A
Other languages
Chinese (zh)
Other versions
CN103516601B (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 Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201210223026.3A priority Critical patent/CN103516601B/en
Publication of CN103516601A publication Critical patent/CN103516601A/en
Application granted granted Critical
Publication of CN103516601B publication Critical patent/CN103516601B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a method, device and system for route transmission. The method comprises the steps that a router client side receives messages containing parameters of a shadow router sent by a main router of the optimal routing, the message supporting automatic setting up of a BGP session function with the shadow router is sent to the main router, the shadow router is a router providing non-optimal routing, the router client side sets up a BGP session with the shadow router according to the parameters of the shadow router, the router client side receives the non-optimal routing corresponding to the route plane where the shadow router is located released by the shadow router on the set BGP session with the shadow router and/or releases the optimal routing to the shadow router. According to the method, device and system, a BGP session with the shadow router does not need to be configured on each router client side manually, configuration workload is reduced, and efficiency of deployment of the shadow router is improved.

Description

Route transmission method and apparatus and system
Technical field
The embodiment of the present invention relates to the communication technology, relates in particular to a kind of route transmission method and apparatus and system.
Background technology
Border Gateway Protocol (Border Gateway Protocol is called for short BGP) is a kind of Exterior Gateway Protocol for communicating between different autonomous system (Autonomous System is called for short AS).Bgp protocol is mainly used in exchanging reached at the routing iinformation between autonomous system, builds the propagation path between AS territory, prevents the generation of route loop, and at some routing policies of AS level applications.After this by the multi-protocols to BGP, expand, BGP is widely used in all kinds of VPN(virtual private network, Virtual Private Network) control signal of business.BGP is used routing update increment, triggering property, has greatly saved the shared bandwidth of routing update, is applicable to propagate a large amount of routing iinformations on Internet.BGP is used multiple means to avoid the generation of route loop, between AS, BGP by carry as_path information mark by way of AS, with the route of local No. AS, will be dropped, thereby avoid producing between territory loop; Inner at AS, the route that BGP acquires in AS can, at AS repeating, not avoided generation loop in AS.BGP also monitors the connection of bgp session by regularly sending " keep-alive " (Keep alive) signal.The router of having set up bgp session connection is known as peer-to-peer (peers or neighbors).
Because BGP is only supported between bgp peer, issue an optimum route, may cause occurring series of problems, for example, route oscillation, lacks route stand-by during fault, and lacks load balancing route etc.For solving the problems of the technologies described above, current under the networking scene of Router Reflector or routing server, the technical scheme that has proposed to increase the quantity of route issue and do not needed to revise bgp protocol.This technical scheme has been introduced the shadow Router Reflector (Route Reflector is called for short RR) of different route reflection planes in AS inside, formed a plurality of Router Reflector planes.Between AS, introduced shadow routing server (Router Server is called for short RS), formed a plurality of RS planes.Wherein, shadow RR is also referred to as non-optimum route plane RR, and shadow RS is also referred to as non-optimum route plane RS.Shadow RR can be the bgp router newly adding, and can be also a logic RR on former RR equipment.Between RR client and shadow RR, set up new bgp session, by the non-optimum route that the shadow RR in different route reflection planes is regular according to routing to the issue of RR client or configuration draws, for example, the main RR of the first plane reflects optimum route, the shadow RR reflection hypo-optimal route of the second plane, the shadow route reflection Third Road of the 3rd plane by, the rest may be inferred, makes RR client can obtain many routes.Equally, for instance, but the bgp router that shadow RS also newly adds can be also a logic RS on former RS.Shadow RS is similar with the treatment mechanism of shadow RR.
When technique scheme adds shadow RR in network, need, by manual configuration shadow RR and RR client, at shadow RR and RR client, to set up new bgp session.Yet while disposing shadow RR in fairly large network, owing to carrying out in each RR client, the quantity of configuration operation and RR client is more, therefore, configuration effort amount is larger, also easily occurs configuration error.Equally, need, by manual configuration shadow RS and RS client, at shadow RS and RS client, to set up new bgp session, also exist configuration effort amount larger, easily occur the defect of configuration error.
Summary of the invention
The embodiment of the present invention provides a kind of route transmission method and apparatus and system, provides need after the shadow router of non-optimum route could to set up bgp session and the larger defect of configuration effort amount in shadow router and router client by manual configuration in order to solve prior art in introducing.
On the one hand, the embodiment of the present invention provides a kind of route transmission method, comprising:
Router client provides the message of the parameter that includes shadow router that the active router of optimum route sends, and sends the message of supporting automatically to set up with described shadow router bgp session function to described active router; Described shadow router is for providing the router of non-optimum route;
Described router client, according to the parameter of described shadow router, is set up bgp session with described shadow router;
Described router client, on the bgp session with described shadow router foundation, receives the non-optimum route corresponding to the route plane with described shadow router place of described shadow router issue, and/or, to described shadow router, issue optimum route.
On the one hand, the embodiment of the present invention provides a kind of route transmission device, comprising:
Receiver module, for receiving the message of the parameter that includes shadow router that the transmission of the active router of optimum route is provided, sends the message of supporting automatically to set up with described shadow router bgp session function to described active router; Described shadow router is for providing the router of non-optimum route;
Session establishment module, for according to the parameter of described shadow router, sets up bgp session with described shadow router;
Route receiver module, for the bgp session with described shadow router foundation, receives the non-optimum route corresponding to the route plane with described shadow router place of described shadow router issue.Further, described device also comprises: release module, for the bgp session with described shadow router foundation, to described shadow router, issue optimum route.
On the other hand, the embodiment of the present invention provides another kind of route transmission method, comprising:
The shadow router of non-optimum route is provided, according to the parameter of the parameter of shadow router and router client, sets up bgp session with router client;
Described shadow router, on the bgp session with described router client foundation, to the described router client issue non-optimum route corresponding with the route reflection plane at described shadow router place, or, the optimum route that described router client is issued received.
On the other hand, the embodiment of the present invention provides a kind of route transmission device, comprising:
Session establishment module, for according to the parameter of the parameter of shadow router and router client, sets up bgp session with router client;
Release module, for the bgp session with described router client foundation, to the described router client issue non-optimum route corresponding with the route plane at described shadow router place.
Further, described device also comprises: receiver module, for the bgp session with described router client foundation, receives the optimum route of described router client issue.
Another aspect, the embodiment of the present invention also provides a kind of route transmission system, comprises two kinds of route transmission devices as above and for optimum route being provided and the active router of the parameter of shadow router being provided to router client.
Route transmission method and apparatus and system that the embodiment of the present invention provides, router client with provide in the reciprocal process of active router of optimum route, get the parameter of shadow router, parameter and the shadow router of the shadow router providing by active router are set up bgp session, on the bgp session of setting up, receive afterwards the non-optimum route of shadow router transmission, or issue optimum route to shadow router.Further, router client is determined when the IP address of shadow router is the IP address of active router, this client is no longer issued optimum route to shadow router, therefore, the method that the present embodiment provides, has realized the object of automatically setting up bgp session between router client and shadow router, does not need the bgp session for each router client manual configuration and shadow router, reduce configuration effort amount, improved the efficiency of disposing shadow RR.For example, realized between shadow RR and RR client, or shadow RS and RS client set up the object of bgp session automatically, do not need for the client of each shadow RR or the client manual configuration bgp session of shadow RS.
Accompanying drawing explanation
A kind of route transmission method flow diagram that Figure 1A provides for the embodiment of the present invention;
A kind of Router Reflector networking schematic diagram that Figure 1B provides for the embodiment of the present invention;
The another kind of route transmission method flow diagram that Fig. 2 provides for the embodiment of the present invention;
Another route transmission method flow diagram that Fig. 3 provides for the embodiment of the present invention;
Another non-optimum route transmission method flow diagram that Fig. 4 provides for the embodiment of the present invention;
A kind of route transmission apparatus structure schematic diagram that Fig. 5 A provides for the embodiment of the present invention;
The another kind of route transmission apparatus structure schematic diagram that Fig. 5 B provides for the embodiment of the present invention;
Another route transmission apparatus structure schematic diagram that Fig. 6 provides for the embodiment of the present invention;
Another route transmission apparatus structure schematic diagram that Fig. 7 A provides for the embodiment of the present invention;
Another route transmission apparatus structure schematic diagram that Fig. 7 B provides for the embodiment of the present invention;
Another route transmission apparatus structure schematic diagram that Fig. 8 provides for the embodiment of the present invention;
A kind of route transmission system configuration schematic diagram that Fig. 9 provides for the embodiment of the present invention.
Embodiment
A kind of route transmission method flow diagram that Figure 1A provides for the embodiment of the present invention.As shown in Figure 1A, the method that the present embodiment provides comprises:
11: router client provides the message of the parameter that comprises shadow router that the active router of optimum route sends, and sends the message of supporting automatically to set up with described shadow router bgp session function to described active router.
Wherein, described shadow router is for providing the router of non-optimum route, for instance, can be the router logic on active router, can be also router independently, particularly, shadow router can be shadow RR, and router client is RR client, and active router is main RR; Or shadow router is shadow RS, router client is RS client, and active router is main RS.。Shadow RR can be the Router Reflector that is positioned at the secondary route plane of reflection, can be to be also positioned at Third Road by the Router Reflector of the plane of reflection, and for the route lower than optimum route and hypo-optimal route is provided, can be also the Router Reflector of other plane.A kind of Router Reflector networking schematic diagram that Figure 1B provides for the embodiment of the present invention.As shown in Figure 1B, RR1 and RR2 are main RR, and C1, C2, C3 are RR clients, and RR1 ' and RR2 ' are the shadow RR that forms the secondary route plane of reflection.Take Figure 1B as example, and the embodiment of the present invention mainly realizes the bgp session between automatic deployment shadow RR and shadow client C1, C2 and C3, and transmits non-optimum route on the bgp session of setting up.
Active router sends message to router client, for router client provides the parameter of shadow router.At router client-side, if support automatically to set up bgp session function with shadow router, router client supports the message of automatically setting up bgp session function with shadow router to send to active router by carrying.The parameter of described shadow router comprises the independent IP address of described shadow router, or, the parameter of described shadow router comprises the IP address of active router and the sign of described shadow router of described shadow router, or the parameter of described shadow router comprises the IP address of active router and the tcp port number of described shadow router of described shadow router.By the sign of shadow router or the tcp port number of shadow router, can distinguish router is which logic shadow router on active router.Therefore, the embodiment of the present invention can not be independently IP address of logic shadow configuration of routers, has reduced the waste to resource allocation.
For instance, when shadow router is shadow RR, above-mentioned 11 comprise: the message that comprises shadow RR parameter that the main RR of RR client sends, sends to described main RR the message of supporting automatically to set up with shadow RR bgp session function.Main RR sends message to RR client, for RR client provides shadow RR parameter.At RR client-side, if support automatically to set up bgp session function with shadow RR, RR client supports the message of automatically setting up bgp session function with shadow RR to send to main RR by carrying.Illustrating, when main RR and RR client are carried out capability negotiation, is that shadow RR parameter offers RR client by the parameter of shadow RR in network.When RR client and main RR carry out capability negotiation, if support automatically to set up bgp session function with shadow RR, by carrying, support the capability negotiation message of automatically setting up bgp session function with shadow RR to send to main RR.Main RR and RR client are after the other side's capability negotiation message, and both sides' capability negotiation is successful.
If shadow RR is RR independently, shadow RR parameter is the independent IP address of described shadow RR.If shadow RR is the logic RR on main RR.The IP address of main RR that described shadow RR parameter is described shadow RR and the sign of described shadow RR, or, the IP address of main RR that described shadow RR parameter is described shadow RR and the tcp port number of described shadow RR.By the sign of shadow RR or the tcp port number of shadow RR, can distinguish this RR is upper which the logic RR of main RR.Therefore, the embodiment of the present invention can, not for logic RR configures independently IP address, reduce the waste to resource allocation.
When shadow router is shadow RS, above-mentioned 11 comprise the message that comprises shadow RS parameter that the main RS of RS client sends, and to described main RS, send the message of supporting automatically to set up with shadow RS bgp session function.Wherein, shadow RS is identical with the treatment mechanism of shadow RR, and RS client is identical with the treatment mechanism of RR client, does not repeat them here.
12: router client, by the parameter of described shadow router, is set up bgp session with described shadow router.
For instance, after capability negotiation success, the parameter of the shadow router that router client provides by active router, can initiatively set up bgp session with shadow router, also can coordinate shadow router to set up bgp session according to the parameter of shadow router.
13: router client, on the bgp session with described shadow router foundation, receives the non-optimum route corresponding to the route plane with described shadow router place of described shadow router issue, and/or, to described shadow router, issue optimum route.
For instance, router client, on the bgp session with described shadow router foundation, receives the non-optimum route of described shadow router issue, makes RR client can get more routing iinformation.For example, when shadow router is the router of secondary route plane, the hypo-optimal route of client shadow router issue.
Again for instance, on the bgp session of router client and the foundation of described shadow router, router client can be issued optimum route to this shadow router.For instance, router client is before issuing optimum route to this shadow router, can judge whether the IP address adopting with the shadow router of oneself setting up bgp session is the IP address of active router, IP address if not main RR, determine that this shadow router is for bgp router independently, router client is issued optimum route to this shadow router; If the IP address that shadow router adopts is the IP address of active router, router client is definite does not issue optimum route to described shadow router.Because, if determine that the IP address of shadow router is the IP address of active router, can determine that this shadow router is the router logic on active router, this shadow router and active router belong to same bgp router, active router has been preserved the optimum route of this router client issue, do not need to this shadow router, to issue optimum route again, thereby can reduce the waste to bandwidth and processing resource.
Take shadow RR and RR client is example, and RR client, on the bgp session of setting up with shadow RR, is issued optimum route to shadow RR.For instance, before RR client is issued optimum route to shadow RR, can judge whether the IP address adopting with the shadow RR that oneself sets up bgp session is the IP address of main RR, IP address if not main RR, determine that this shadow RR is for bgp router independently, RR client is issued optimum route to this shadow RR; If the IP address of main RR, determine that this shadow RR is the logic RR on main RR, this shadow RR and main RR belong to same bgp router, main RR has preserved the optimum route of this RR client issue, do not need to this shadow RR, to issue optimum route again, thereby can reduce the waste to bandwidth and processing resource.
The method that the embodiment of the present invention provides, router client with provide in the reciprocal process of active router of optimum route, get the parameter of shadow router, parameter and the shadow router of the shadow router providing by active router are set up bgp session, on the bgp session of setting up, receive afterwards the non-optimum route of shadow router transmission, and/or issue optimum route to shadow router.Further, router client is determined when the IP address of shadow router is the IP address of active router, this client is no longer issued optimum route to shadow router, therefore, the method that the present embodiment provides, has realized the object of automatically setting up bgp session between router client and shadow router, does not need the bgp session for each router client manual configuration and shadow router, reduce configuration effort amount, improved the efficiency of disposing shadow RR.For example, realized between shadow RR and RR client, or shadow RS and RS client set up the object of bgp session automatically, do not need for the client of each shadow RR or the client manual configuration bgp session of shadow RS.
The another kind of route transmission method flow diagram that Fig. 2 provides for the embodiment of the present invention.The present embodiment is from the angle explanation route transmission method of shadow router.As shown in Figure 2, the method that the present embodiment provides comprises:
21: provide the shadow router of non-optimum route according to the parameter of the parameter of the shadow router of described shadow router and router client, set up bgp session with router client.
For instance, the present embodiment can be the parameter of each router client of shadow configuration of routers in advance, such as the IP address of router client etc., due to the quantity of shadow router in the network quantity far fewer than router client, therefore less to the configuration effort amount of shadow router.Shadow router is according to the parameter of the router client of the parameter of described shadow router and configuration, initiatively to router client, initiate the request of setting up bgp session, router client has got the parameter of this shadow router by the capability negotiation with active router, can coordinate this shadow router to set up bgp session.For instance, shadow router is according to the parameter of described router client, the bgp session that sends the parameter that comprises shadow router to described router client is set up request, so that described router client is set up bgp session according to the parameter ZhongIP address of the parameter of shadow router and router client and described shadow router.
Again for instance, shadow router also can be passive the request of setting up bgp session initiated of reception client, according to the parameter of shadow router and router client parameter, fit end is set up bgp session.Particularly, described shadow router receives the bgp session of the parameter that comprises router client of described router client transmission and the parameter of described shadow router and sets up request, according to the parameter ZhongIP address of the parameter of described shadow router and described router client, set up bgp session with described router client.
22: described shadow router, on the bgp session with described router client foundation, to the described router client issue non-optimum route corresponding with the route plane at described shadow router place, and/or, the optimum route that described router client is issued received.
For instance, shadow router, on the bgp session with described router client foundation, receives the optimum route of described router client issue.Particularly, when the IP address adopting at described shadow router is not the IP address of described active router, the optimum route of described shadow router receiving router client issue.When the IP address adopting at described shadow router is the IP address of described active router, described shadow router does not receive the optimum route of described router client issue.
The method that the present embodiment provides, shadow router is according to the parameter of the parameter of shadow router and router client, can automatically set up bgp session with router client, do not need the bgp session for each router client manual configuration and shadow router, reduce configuration effort amount, improved the efficiency of disposing shadow router.
Another route transmission method flow diagram that Fig. 3 provides for the embodiment of the present invention.It is the transmission method of the non-optimum route of example explanation that the present embodiment be take shadow RR and RR client, initiatively initiates bgp session set up request in the present embodiment by shadow RR to RR client.As shown in Figure 3, the method that the present embodiment provides comprises:
31A: main RR sends the capability negotiation message that comprises shadow RR parameter to RR client.
31B:RR client sends the capability negotiation message of supporting automatically to set up with shadow RR BGP function to main RR.
Above-mentioned 31A and above-mentioned 31B do not have sequencing.
32: shadow RR, according to pre-configured RR client parameter, sends bgp session to RR client and sets up request.
At main RR and RR client, sending after capability negotiation message, both sides' capability negotiation completes, and confirms that both sides support automatically to set up the function of shadow RR session.Shadow router is provided with the parameter of each router client in advance.Wherein either party can initiatively initiate bgp session foundation request for shadow RR and RR client.The bgp session request of setting up can be OPEN message, comprising the information such as AS at destination parameter, source parameter and source place.Therefore, in the bgp session request that shadow RR initiates, source parameter comprises the IP address of this shadow RR, and destination parameter comprises the IP address of RR client.If shadow RR is bgp router independently, this shadow RR initiates bgp session with IP address independently and sets up request; If shadow RR is a logic RR on main RR, shadow RR can be used tcp port number corresponding to this shadow RR to initiate bgp session and set up request, and the tcp port number that this shadow RR is corresponding can be carried in BGP message, also can be outside BGP message TCP head.Again for instance, if shadow RR is a logic RR on main RR, the bgp session that shadow RR initiates is set up in request also can comprise the sign of this shadow RR in source parameter.The embodiment of the present invention can, not for logic RR configures independently IP address, reduce the waste to resource allocation.
33:RR client is according to source parameter and shadow RR parameter in the bgp session request of setting up, and while determining that initiating source that bgp session sets up request is shadow RR, IP address and shadow RR by shadow RR parameter and RR client set up bgp session.
RR client is after bgp session request, and the shadow RR parameter that source parameter is wherein provided in capability negotiation process with main RR is mated, if consistent, determines that it is shadow RR that this bgp session is set up the initiator of request.When RR client determine to be initiated source that bgp session sets up request and is shadow RR, IP address and shadow RR by this shadow RR parameter and this RR client set up bgp session.
34: if source parameter comprises the independent IP address of shadow RR, the independent IP address designation shadow RR of RR customer end adopted shadow RR; If source parameter comprises the IP address of main RR and the sign of shadow RR, the mark for marking shadow RR of the IP address of the main RR of RR customer end adopted and shadow RR; If source parameter comprises the IP address of main RR and the tcp port number of shadow RR, the IP address of the main RR of RR customer end adopted and the tcp port number of shadow RR identify shadow RR.
If shadow RR is with independently IP address initiation bgp session foundation request, this bgp session is set up the independent IP address that source parameter in request comprises this shadow RR, independent this shadow of IP address designation RR of this shadow of RR customer end adopted RR, peer-to-peer (peer) on the bgp session that namely sign and this shadow RR set up, peer-to-peer is herein this shadow RR.If shadow RR initiates bgp session with the IP address of main RR and the sign of this shadow RR to RR client and sets up request, this bgp session is set up the IP address of main RR and the sign of this shadow RR that source parameter in request comprises this shadow RR, the IP address of the main RR of this shadow of RR customer end adopted RR and the sign of this shadow RR, identify this shadow RR.If shadow RR initiates bgp session with the IP address of main RR and the tcp port number of this shadow RR to RR client and sets up request, this bgp session is set up IP address and tcp port number corresponding to this shadow RR that source parameter in request comprises the main RR of this shadow RR, the IP address of the main RR of this shadow of RR customer end adopted RR and the tcp port number of this shadow RR, identify this shadow RR.By above-mentioned identification method, it is the bgp session conflicting that RR client can avoid the bgp session of setting up with main RR and the bgp session set up with each shadow RR to be used as.
35: on the bgp session of setting up at RR client and shadow RR, the non-optimum route corresponding to route reflection plane at the shadow RR place of RR client shadow RR issue.
If shadow RR is the logic RR on main RR, the embodiment of the present invention can not configure independently IP address for this shadow RR, and adopt the IP address of main RR and the sign of shadow RR, or adopt the IP address of main RR and the tcp port number of shadow RR, identify this shadow RR, reduced the waste to resource allocation.
Another non-optimum route transmission method flow diagram that Fig. 4 provides for the embodiment of the present invention.In the present embodiment, by RR client, initiatively to shadow RR, initiate bgp session and set up request.As shown in Figure 4, the method that the present embodiment provides comprises:
41A: main RR sends the capability negotiation message that comprises shadow RR parameter to RR client.
41B:RR client sends the capability negotiation message of supporting automatically to set up with shadow RR bgp session function to main RR.
Above-mentioned 41A and above-mentioned 41B do not have sequencing.
The shadow RR parameter that 42:RR client provides according to main RR, sends the bgp session foundation request that comprises shadow RR parameter and this RR client parameter to shadow RR.
For instance, the shadow RR parameter that in the bgp session request that RR client is initiated, destination parameter provides for main RR, source parameter comprises the IP address of RR client.If shadow RR is bgp router independently, the independent IP address that the shadow RR parameter that main RR provides is this shadow RR; If shadow RR is a logic RR on main RR, the IP address of main RR and the tcp port number of this shadow RR that the shadow RR parameter that main RR provides is this shadow RR, or, the sign of the IP address of the main RR of this shadow RR and this shadow RR.
43: shadow RR sets up bgp session according to shadow RR parameter and described RR client parameter ZhongIP address and described RR client.
44: if the shadow RR parameter that main RR provides comprises the independent IP address of this shadow RR, the independent IP address of RR customer end adopted shadow RR identifies this shadow RR; If the shadow RR parameter that main RR provides comprises the IP address of main RR and the sign of shadow RR, this shadow of mark for marking RR of the IP address of the main RR of RR customer end adopted and shadow RR; If the shadow RR parameter that main RR provides comprises the IP address of main RR and the tcp port number of shadow RR, the IP address of the main RR of RR customer end adopted and the tcp port number of shadow RR identify this shadow RR.
45:RR client judges whether the IP address that shadow RR adopts is the IP address of main RR.If not execution step 46, otherwise do not perform step 46.
46: when the IP address that shadow RR adopts is not the IP address of main RR, on the bgp session of RR client and shadow RR foundation, RR client is issued optimum route to shadow RR.
When the IP address that shadow RR adopts is the IP address of main RR, RR client is not issued optimum route to shadow RR.
A kind of route transmission apparatus structure schematic diagram that Fig. 5 A provides for the embodiment of the present invention.The device that the present embodiment provides specifically can be router client in embodiment of the method.As shown in Figure 5A, the device that the present embodiment provides comprises: receiver module 51 and session establishment module 52 and route receiver module 53.
Receiver module 51, for receiving the message of the parameter that includes shadow router that the transmission of the active router of optimum route is provided, sends the message of supporting automatically to set up with described shadow router bgp session function to described active router; Described shadow router is for providing the router of non-optimum route.
Wherein, for instance, the parameter of described shadow router comprises the independent IP address of described shadow router, or, the parameter of described shadow router comprises the IP address of active router and the sign of described shadow router of described shadow router, or the parameter of described shadow router comprises the IP address of active router and the tcp port number of described shadow router of described shadow router.
Session establishment module 52, for according to the parameter of described shadow router, sets up bgp session with described shadow router.
Route receiver module 53, also for the bgp session with described shadow router foundation, receives the non-optimum route corresponding to the route plane with described shadow router place of described shadow router issue.
As shown in Figure 5 B, on the basis of Fig. 5 A, also can comprise release module 54.
Release module 54, for the bgp session with described shadow router foundation, issues optimum route to described shadow router.For instance, release module 54 is specifically for judging whether the IP address that described shadow router adopts is the IP address of the active router of described shadow router; If the IP address that described shadow router adopts is not the IP address of described active router, to described shadow router, issue optimum route; When if the IP address that described shadow router adopts is the IP address of described active router, determines and to described shadow router, do not issue optimum route.
The device that the present embodiment provides with provide in the reciprocal process of active router of optimum route, get the parameter of shadow router, parameter and the shadow router of the shadow router providing by active router are set up bgp session, on the bgp session of setting up, receive afterwards the non-optimum route of shadow router transmission, or issue optimum route to shadow router.Further, router client is determined when the IP address of shadow router is the IP address of active router, this client is no longer issued optimum route to shadow router, therefore, the method that the present embodiment provides, has realized the object of automatically setting up bgp session between router client and shadow router, does not need the bgp session for each router client manual configuration and shadow router, reduce configuration effort amount, improved the efficiency of disposing shadow RR.
As shown in Figure 6, session establishment module 52 comprises: the first session establishment unit 521,522, the second session establishment unit 523, the first session identification unit and the second session identification 524.Session establishment module 52 can only include the first session establishment unit 521 and the first session identification unit 522, also can only include the second session establishment unit 523 and the second session identification 524.
The first session establishment unit 521, being used for receiving bgp session sets up after request, according to the parameter of the described shadow router that in described bgp session foundation request, source parameter and described active router provide, when determine initiating source that described bgp session sets up request and being described shadow router, by the parameter of described shadow router and the IP address of described router client and described shadow router, set up bgp session;
The first session identification unit 522, if comprise the independent IP address of described shadow router for described source parameter, adopts the independent IP address of described shadow router to identify described shadow router; If described source parameter comprises the IP address of active router and the sign of described shadow router of described shadow router, adopt shadow router described in the IP address of active router of described shadow router and the mark for marking of described shadow router; If described source parameter comprises the IP address of active router and the tcp port number of described shadow router of described shadow router, adopt the IP address of active router of described shadow router and the tcp port number of described shadow router to identify described shadow router.
The second session establishment unit 523, parameter for the described shadow router that provides according to described active router, to described shadow router, send the bgp session foundation request that comprises the parameter of described router client and the parameter of described shadow router, so that described shadow router, by the parameter ZhongIP address of parameter and the described router client of described shadow router, is set up bgp session with described router client.
The second session identification unit 524, if comprise the independent IP address of described shadow router for the parameter of described shadow router, adopts the independent IP address of described shadow router to identify described shadow router; If the parameter of described shadow router comprises the IP address of described active router and the sign of described shadow router, adopt shadow router described in the IP address of described active router and the mark for marking of described shadow router; If the parameter of described shadow router comprises the IP address of described active router and the tcp port number of described shadow router, adopt the IP address of described active router and the tcp port number of described shadow router to identify described shadow router.
By above-mentioned session identification method, can be not for the shadow RR on active router distributes independently IP address.
Another route transmission apparatus structure schematic diagram that Fig. 7 A provides for the embodiment of the present invention.Shadow router in the device corresponding method embodiment that the present embodiment provides.As shown in Figure 7 A, the device that the present embodiment provides comprises session establishment module 71 and release module 72.
Session establishment module 71, for according to the parameter of the parameter of shadow router and router client, sets up bgp session with router client.Wherein, for instance, the parameter of described shadow router comprises the independent IP address of described shadow router, or, the parameter of described shadow router comprises the IP address of described active router and the sign of described shadow router, or the parameter of described shadow router comprises the IP address of described active router and the tcp port number of described shadow router.
Release module 72, for the bgp session with described router client foundation, to the described router client issue non-optimum route corresponding with the route plane at described shadow router place.
As shown in Figure 7 B, on the basis of Fig. 7 A, also can comprise receiver module 73.
Receiver module 73, for the bgp session with described router client foundation, receives the optimum route of described router client issue.For instance, when receiver module is not the IP address of described active router specifically for the IP address adopting at described shadow router, receive the optimum route of described router client issue.When the IP address adopting at described shadow router is the IP address of described active router, described router client is not issued optimum route.
As shown in Figure 8, session establishment module 71 comprises: the first session establishment unit 711 and/or the second session establishment unit 712.
The first session establishment unit 711, be used for according to the parameter of described router client, the bgp session that sends the parameter that comprises shadow router to described router client is set up request, so that described router client, according to the parameter ZhongIP address of the parameter of shadow router and router client, is set up bgp session with described shadow router;
The second session establishment unit 712, for receiving the bgp session of the parameter that comprises router client of described router client transmission and the parameter of described shadow router, set up request, the parameter ZhongIP address of parameter and described router client by described shadow router, sets up bgp session with described router client.
The device that the present embodiment provides, by the parameter of shadow router and the parameter of router client, can automatically set up bgp session with router client, do not need the bgp session for each router client manual configuration and shadow router, reduce configuration effort amount, improved the efficiency of disposing shadow router.
A kind of route transmission system configuration schematic diagram that Fig. 9 provides for the embodiment of the present invention.As shown in Figure 9, the system that the present embodiment provides comprises: as the first via of router client by transmitting device 91, as secondary route transmitting device 92 and the active router 93 of shadow router.The first via can be the device shown in Fig. 5 A, Fig. 5 B or Fig. 6 by transmitting device 91, and secondary route transmitting device 92 can be the device shown in Fig. 7 A, Fig. 7 B or Fig. 8.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can complete by the relevant hardware of program command, aforesaid program can be stored in a computer read/write memory medium, this program, when carrying out, is carried out the step that comprises said method embodiment; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CDs.
Finally it should be noted that: above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to previous embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or part technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (21)

1. a route transmission method, is characterized in that, comprising:
Router client provides the message of the parameter that includes shadow router that the active router of optimum route sends, and sends the message of supporting automatically to set up with described shadow router bgp session function to described active router; Described shadow router is for providing the router of non-optimum route;
Described router client, according to the parameter of described shadow router, is set up bgp session with described shadow router;
Described router client, on the bgp session with described shadow router foundation, receives the non-optimum route corresponding to the route plane with described shadow router place of described shadow router issue, and/or, to described shadow router, issue optimum route.
2. method according to claim 1, is characterized in that,
The parameter of described shadow router comprises the independent IP address of described shadow router,
Or,
The parameter of described shadow router comprises the IP address of active router and the sign of described shadow router of described shadow router,
Or,
The parameter of described shadow router comprises the IP address of active router and the tcp port number of described shadow router of described shadow router.
3. method according to claim 1 and 2, is characterized in that, described router client, according to the parameter of described shadow router, is set up bgp session with described shadow router, comprising:
Described router client is set up after request to bgp session, according to the parameter of source parameter and described shadow router in described bgp session foundation request, when determine initiating source that described bgp session sets up request and being described shadow router, by the parameter of described shadow router and the IP address of described router client and described shadow router, set up bgp session;
If described source parameter comprises the independent IP address of described shadow router, the independent IP address of shadow router identifies described shadow router described in described router customer end adopted; If described source parameter comprises the IP address of described active router and the sign of described shadow router, shadow router described in the IP address of active router and the mark for marking of described shadow router described in described router customer end adopted; If described source parameter comprises the IP address of described active router and the tcp port number of described shadow router, the IP address of active router and the tcp port number of described shadow router identify described shadow router described in described router customer end adopted.
4. method according to claim 1 and 2, is characterized in that, described router client, according to described shadow Router Parameters, is set up bgp session with described shadow router, comprising:
Described router client is according to the parameter of described shadow router, to described shadow router, send the bgp session foundation request that comprises the parameter of router client and the parameter of described shadow router, so that described shadow router, according to the parameter ZhongIP address of the parameter of described shadow router and described router client, is set up bgp session with described router client;
If the parameter of described shadow router comprises the independent IP address of described shadow router, the independent IP address of shadow router identifies described shadow router described in described router customer end adopted; If the parameter of described shadow router comprises the IP address of described active router and the sign of described shadow router, shadow router described in the IP address of active router and the mark for marking of described shadow router described in described router customer end adopted; If the parameter of described shadow router comprises the IP address of described active router and the tcp port number of described shadow router, the IP address of active router and the tcp port number of described shadow router identify described shadow router described in described router customer end adopted.
5. method according to claim 1 and 2, is characterized in that, describedly to described shadow router, issues optimum route and comprises:
Described router client judges whether the IP address that described shadow router adopts is the IP address of described active router;
If the IP address that described shadow router adopts is not the IP address of described active router, described router client is issued optimum route to described shadow router;
When if the IP address that described shadow router adopts is the IP address of described active router, described router client is definite does not issue optimum route to described shadow router.
6. a route transmission method, is characterized in that, comprising:
The shadow router of non-optimum route is provided, according to the parameter of the parameter of described shadow router and router client, sets up bgp session with router client;
Described shadow router, on the bgp session with described router client foundation, to the described router client issue non-optimum route corresponding with the route plane at described shadow router place, and/or, the optimum route that described router client is issued received.
7. method according to claim 6, is characterized in that,
The parameter of described shadow router comprises the independent IP address of described shadow router,
Or,
The parameter of described shadow router comprises the IP address of described active router and the sign of described shadow router,
Or,
The parameter of described shadow router comprises the IP address of described active router and the tcp port number of described shadow router.
8. according to the method described in claim 6 or 7, it is characterized in that, the described shadow router that non-optimum route is provided, according to the parameter of shadow router and the client parameter that the active router of optimum route is provided, set up bgp session with described router client and comprise:
Described shadow router is according to the parameter of described router client, the bgp session that sends the parameter that comprises described shadow router to described router client is set up request, so that described router client, according to the parameter ZhongIP address of the parameter of described shadow router and described router client, is set up bgp session with described shadow router; Or,
Described shadow router receives the bgp session of the parameter that comprises described router client of described router client transmission and the parameter of described shadow router and sets up request, according to the parameter ZhongIP address of the parameter of described shadow router and described router client, set up bgp session with described router client.
9. method according to claim 8, is characterized in that, the optimum route that described shadow router receives described router client issue comprises:
When the IP address adopting at described shadow router is not the IP address of described active router, described shadow router receives the optimum route of described router client issue.
10. a route transmission device, is characterized in that, comprising:
Receiver module, for receiving the message of the parameter that includes shadow router that the transmission of the active router of optimum route is provided, sends the message of supporting automatically to set up with described shadow router bgp session function to described active router; Described shadow router is for providing the router of non-optimum route;
Session establishment module, for according to the parameter of described shadow router, sets up bgp session with described shadow router;
Route receiver module, for the bgp session with described shadow router foundation, receives the non-optimum route corresponding to the route plane with described shadow router place of described shadow router issue.
11. devices according to claim 10, is characterized in that, also comprise:
Release module, for the bgp session with described shadow router foundation, issues optimum route to described shadow router.
12. devices according to claim 11, is characterized in that, described release module is specifically for judging whether the IP address that described shadow router adopts is the IP address of described active router; If the IP address that described shadow router adopts is not the IP address of described active router, to described shadow router, issue optimum route; When if the IP address that described shadow router adopts is the IP address of described active router, determines and to described shadow router, do not issue optimum route.
13. according to the device described in claim 10,11 or 12, it is characterized in that,
The parameter of described shadow router comprises the independent IP address of described shadow router,
Or,
The parameter of described shadow router comprises the IP address of described active router and the sign of described shadow router,
Or,
The parameter of described shadow router comprises the IP address of described active router and the tcp port number of described shadow router.
14. devices according to claim 13, is characterized in that, described session establishment module comprises:
The first session establishment unit, being used for receiving bgp session sets up after request, according to the parameter of source parameter and described shadow router in described bgp session foundation request, when definite source of initiating described bgp session foundation request is described shadow router, according to the IP address of the parameter of described shadow router and described router client and described shadow router, set up bgp session;
The first session identification unit, if comprise the independent IP address of described shadow router, if adopt the independent IP address of described shadow router to identify described shadow router for described source parameter; If described source parameter comprises the IP address of described active router and the sign of described shadow router, adopt shadow router described in the IP address of described active router and the mark for marking of described shadow router; If described source parameter comprises the IP address of described active router and the tcp port number of described shadow router, adopt the IP address of described active router and the tcp port number of described shadow router to identify described shadow router.
15. according to the device described in claim 13 or 14, it is characterized in that, described session establishment module comprises:
The second session establishment unit, be used for according to the parameter of the described shadow router of described active router transmission, to described shadow router, send the bgp session foundation request that comprises the parameter of described router client and the parameter of described shadow router, so that described shadow router, according to the parameter ZhongIP address of the parameter of described shadow router and described router client, is set up bgp session with described router client;
The second session identification unit, if comprise the independent IP address of described shadow router for the parameter of described shadow router, adopts the independent IP address of described shadow router to identify described shadow router; If the parameter of described shadow router comprises the IP address of described active router and the sign of described shadow router, adopt shadow router described in the IP address of described active router and the mark for marking of described shadow router; If the parameter of described shadow router comprises the IP address of described active router and the tcp port number of described shadow router, adopt the IP address of described active router and the tcp port number of described shadow router to identify described shadow router.
16. 1 kinds of route transmission devices, is characterized in that, comprising:
Session establishment module, for according to the parameter of the parameter of shadow router and router client, sets up bgp session with router client;
Release module, for the bgp session with described router client foundation, to the described router client issue non-optimum route corresponding with the route plane at described shadow router place.
17. devices according to claim 16, is characterized in that, also comprise:
Receiver module, for the bgp session with described router client foundation, receives the optimum route of described router client issue.
18. devices according to claim 17, is characterized in that, when described receiver module is not the IP address of described active router specifically for the IP address adopting at described shadow router, receive the optimum route of described router client issue; When the IP address adopting at described shadow router is the IP address of described active router, do not receive the optimum route of described router client issue.
19. according to the device described in claim 16,17 or 18, it is characterized in that,
The parameter of described shadow router comprises the independent IP address of described shadow router,
Or,
The parameter of described shadow router comprises the IP address of described active router and the sign of described shadow router,
Or,
The parameter of described shadow router comprises the IP address of described active router and the tcp port number of described shadow router.
20. devices according to claim 19, is characterized in that, described session establishment module comprises:
The first session establishment unit, be used for according to the parameter of described router client, the bgp session that sends the parameter that comprises shadow router to described router client is set up request, so that described router client is by the parameter of shadow router and the parameter ZhongIP address of router client, set up bgp session with described shadow router; And/or,
The second session establishment unit, for receiving the bgp session of the parameter that comprises router client of described router client transmission and the parameter of described shadow router, set up request, the parameter ZhongIP address of parameter and described router client by described shadow router, sets up bgp session with described router client.
21. 1 kinds of route transmission systems, it is characterized in that, comprise: the route transmission device as described in claim 10 to 15 any one, the route transmission device as described in claim 16 to 20 any one, and for optimum route being provided and the active router of the parameter of shadow router being provided to router client.
CN201210223026.3A 2012-06-29 2012-06-29 Route transmission method and apparatus and system Active CN103516601B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210223026.3A CN103516601B (en) 2012-06-29 2012-06-29 Route transmission method and apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210223026.3A CN103516601B (en) 2012-06-29 2012-06-29 Route transmission method and apparatus and system

Publications (2)

Publication Number Publication Date
CN103516601A true CN103516601A (en) 2014-01-15
CN103516601B CN103516601B (en) 2016-08-03

Family

ID=49898673

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210223026.3A Active CN103516601B (en) 2012-06-29 2012-06-29 Route transmission method and apparatus and system

Country Status (1)

Country Link
CN (1) CN103516601B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103973558A (en) * 2014-05-21 2014-08-06 杭州华三通信技术有限公司 Route advertisement method and device
CN104734977A (en) * 2015-03-10 2015-06-24 中国人民解放军信息工程大学 Shadow router
CN110753921A (en) * 2019-01-11 2020-02-04 Oppo广东移动通信有限公司 Query request processing method and device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080101385A1 (en) * 2006-10-30 2008-05-01 At&T Knowledge Ventures, L.P. System and method for filtering routing updates
US20100220736A1 (en) * 2009-02-27 2010-09-02 Cisco Technology, Inc Advertising alternate paths at border gateway protocol route reflectors
CN101924684A (en) * 2009-06-12 2010-12-22 华为技术有限公司 Routing processing method and system as well as router
CN102281199A (en) * 2011-08-16 2011-12-14 华为数字技术有限公司 Route equipment, route reflector and route information processing method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080101385A1 (en) * 2006-10-30 2008-05-01 At&T Knowledge Ventures, L.P. System and method for filtering routing updates
US20100220736A1 (en) * 2009-02-27 2010-09-02 Cisco Technology, Inc Advertising alternate paths at border gateway protocol route reflectors
CN101924684A (en) * 2009-06-12 2010-12-22 华为技术有限公司 Routing processing method and system as well as router
CN102281199A (en) * 2011-08-16 2011-12-14 华为数字技术有限公司 Route equipment, route reflector and route information processing method and system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103973558A (en) * 2014-05-21 2014-08-06 杭州华三通信技术有限公司 Route advertisement method and device
CN103973558B (en) * 2014-05-21 2017-09-15 新华三技术有限公司 A kind of route advertising method and device
CN104734977A (en) * 2015-03-10 2015-06-24 中国人民解放军信息工程大学 Shadow router
CN104734977B (en) * 2015-03-10 2018-03-02 中国人民解放军信息工程大学 Shadow router
CN110753921A (en) * 2019-01-11 2020-02-04 Oppo广东移动通信有限公司 Query request processing method and device, computer equipment and storage medium
CN110753921B (en) * 2019-01-11 2023-08-29 Oppo广东移动通信有限公司 Query request processing method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN103516601B (en) 2016-08-03

Similar Documents

Publication Publication Date Title
JP6491745B2 (en) Method and system for interface elements between a virtual network function pool and a control entity
US10027574B2 (en) Redundant pathways for network elements
CN103209108B (en) A kind of route generating method based on DVPN and equipment
CN104980528A (en) Method, system and apparatus for realizing communication between nodes
WO2014047784A1 (en) Method for determining packet forwarding path, network device and control device
CN113572835B (en) Data processing method, network element equipment and readable storage medium
CN111615812B (en) Configuration method intended to be implemented in a network using dynamic routing protocols
CN103986638A (en) Method and device for binding multiple public network links for ADVPN tunnel
CN104038427A (en) Router renewing method and device
WO2016070566A1 (en) Cloud terminal upgrade method and system, network management server and proxy server
WO2015081785A1 (en) Method and device for virtualized access
CN103516601A (en) Method, device and system for route transmission
WO2022083422A1 (en) Cross sr/srv6 path issuing method and device, and storage medium and electronic device
CN113891358A (en) Load balancing method and device of cloud network and storage medium
CN108512679B (en) Gateway equipment management method and device
CN108289044B (en) Data forwarding method, link state method for determining static route and network equipment
WO2018001253A1 (en) Multi-sub-network element hierarchical management method and device
US10887207B2 (en) System and method for determining branch gateway device availability in computer networks
WO2018077313A1 (en) Connection capability notification method and device
CN109983734B (en) Subgroup of remote computing devices with relay device
JP2018508161A (en) SCTP connection reestablishing method and apparatus, and storage medium
JP2011124710A (en) Device and method for selecting connection destination
US11095514B2 (en) System and method for propagating anima network objective changes
CN111478937B (en) Load balancing method and device
CN113271252B (en) Communication establishment method, system and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant