CN103516601B - Route transmission method and apparatus and system - Google Patents

Route transmission method and apparatus and system Download PDF

Info

Publication number
CN103516601B
CN103516601B CN201210223026.3A CN201210223026A CN103516601B CN 103516601 B CN103516601 B CN 103516601B CN 201210223026 A CN201210223026 A CN 201210223026A CN 103516601 B CN103516601 B CN 103516601B
Authority
CN
China
Prior art keywords
router
shadow
parameter
client
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210223026.3A
Other languages
Chinese (zh)
Other versions
CN103516601A (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

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the present invention provides a kind of route transmission method and apparatus and system.Wherein, a kind of method includes: the message of the parameter including shadow router that the active router of router client reception offer optimum route sends, and automatically sets up the message of bgp session function to active router transmission support and shadow router;Shadow router is for providing the router of non-optimal route;Router client, according to the parameter of shadow router, sets up bgp session with shadow router;Router client, on the bgp session set up with shadow router, receives the non-optimal route that the route plane with shadow router place that shadow router issues is corresponding, and/or, issue optimum route to shadow router.The embodiment of the present invention is not necessary for the bgp session of each router client manual configuration and shadow router, decreases configuration workload, improves the efficiency disposing shadow router.

Description

Route transmission method and apparatus and system
Technical field
The present embodiments relate to communication technology, particularly relate to a kind of route transmission method and apparatus and system.
Background technology
Border Gateway Protocol (BorderGatewayProtocol is called for short BGP) is a kind of Exterior Gateway Protocol communicated between different autonomous system (AutonomousSystem is called for short AS).Bgp protocol be mainly used in exchanging between autonomous system up to routing iinformation, build the propagation path between AS territory, prevent the generation of route loop, and at some routing policies of AS level applications.Thereafter through the multi-protocols extension to BGP, BGP is widely used in the control signaling of all kinds of VPN (virtualprivatenetwork, Virtual Private Network) business.BGP uses increment, the routing update of triggering property, is greatly saved the bandwidth shared by routing update, it is adaptable to propagate substantial amounts of routing iinformation on internet.BGP uses multiple means to avoid the generation of route loop, between AS, BGP by carry as_path information labelling by way of AS, the route with local No. AS will be dropped, thus avoid and produce loop between territory;Inside AS, the route that BGP acquires in AS will not forward in AS, it is to avoid produces loop in AS.BGP monitors the connection of bgp session also by periodically transmission " keep-alive " (Keepalive) signal.The router establishing bgp session connection is referred to as peer-to-peer (peersorneighbors).
Only support due to BGP between bgp peer, issue an optimum route, may result in and series of problems occurs, such as, route oscillation, lack route stand-by during fault, and lack load balancing route etc..For solving above-mentioned technical problem, at present under the networking scene of Router Reflector or routing server, it is proposed that increase the quantity that route is issued and the technical scheme being not required to revise bgp protocol.This technical scheme introduces the shadow Router Reflector (RouteReflector is called for short RR) of different route reflection plane inside AS, constitutes multiple Router Reflector plane.Between AS, introduce shadow routing server (RouterServer is called for short RS), constitute multiple RS plane.Wherein, shadow RR is also referred to as non-optimal route plane RR, and shadow RS is also referred to as non-optimal route plane RS.Shadow RR can be the bgp router being newly added, it is also possible to be logic RR on former RR equipment.New bgp session is set up between RR client and shadow RR, the non-optimal route drawn according to routing rule or configuration is issued to RR client by the shadow RR being in different route reflection plane, such as, the main RR reflection optimum route of the first plane, the shadow RR of the second plane reflects hypo-optimal route, shadow route reflection the 3rd route of the 3rd plane, the rest may be inferred, makes RR client be obtained in that a plurality of route.Equally, for example, shadow RS may also be the bgp router being newly added, it is also possible to be logic RS on former RS.Shadow RS is similar with the treatment mechanism of shadow RR.
When technique scheme adds shadow RR in a network, new bgp session need to be set up at shadow RR with RR client by manual configuration shadow RR and RR client.But, when disposing shadow RR in fairly large network, owing to needing the quantity carrying out configuration operation and RR client in each RR client more, therefore, configuration workload is relatively big, configuration error the most easily occurs.Equally, new bgp session need to be set up by manual configuration shadow RS and RS client at shadow RS and RS client, there is also configuration workload relatively big, the defect of configuration error easily occurs.
Summary of the invention
A kind of route transmission method and apparatus of embodiment of the present invention offer and system, need to be set up bgp session in shadow router and router client by manual configuration and configure the defect that workload is bigger in order to solve prior art after introducing the shadow router providing non-optimal route.
On the one hand, the embodiment of the present invention provides a kind of route transmission method, including:
The message of the parameter including shadow router that the active router of router client reception offer optimum route sends, automatically sets up the message of bgp session function to the transmission support of described active router and described shadow router;Described shadow router is for providing the router of non-optimal route;
Described router client, according to the parameter of described shadow router, sets up bgp session with described shadow router;
Described router client, on the bgp session set up with described shadow router, receives the non-optimal route that the route plane with described shadow router place that described shadow router issues is corresponding, and/or, issue optimum route to described shadow router.
On the one hand, the embodiment of the present invention provides a kind of route transmission device, including:
Receiver module, is used for receiving the message of the parameter including shadow router of the active router transmission of offer optimum route, automatically sets up the message of bgp session function to the transmission support of described active router and described shadow router;Described shadow router is for providing the router of non-optimal route;
Session establishment module, for the parameter according to described shadow router, sets up bgp session with described shadow router;
Route receiver module, at the bgp session set up with described shadow router, receiving the non-optimal route that the route plane with described shadow router place of described shadow router issue is corresponding.Further, described device also includes: release module, at the bgp session set up with described shadow router, issuing optimum route to described shadow router.
On the other hand, the embodiment of the present invention provides another kind of route transmission method, including:
The shadow router of non-optimal route is provided, according to parameter and the parameter of router client of shadow router, sets up bgp session with router client;
Described shadow router, on the bgp session set up with described router client, the non-optimal route corresponding with the route reflection plane at described shadow router place is issued to described router client, or, receive the optimum route that described router client is issued.
On the other hand, the embodiment of the present invention provides a kind of route transmission device, including:
Session establishment module, for the parameter according to shadow router and the parameter of router client, sets up bgp session with router client;
Release module, at the bgp session set up with described router client, issuing the non-optimal route corresponding with the route plane at described shadow router place to described router client.
Further, described device also includes: receiver module, at the bgp session set up with described router client, receiving the optimum route that described router client is issued.
Another aspect, the embodiment of the present invention also provides for a kind of route transmission system, including two kinds of route transmission devices as above and for providing optimum route and the active router of the parameter to router client offer shadow router.
The route transmission method and apparatus of embodiment of the present invention offer and system, in the interaction of the active router that router client route with offer optimum, get the parameter of shadow router, the parameter of the shadow router provided by active router and shadow router set up bgp session, on the bgp session set up, receive the non-optimal route of shadow router transmission afterwards, or issue optimum route to shadow router.Further, when router client determines the IP address that the IP address of shadow router is active router, this client no longer issues optimum route to shadow router, therefore, the method that the present embodiment provides, it is achieved that automatically set up the purpose of bgp session between router client and shadow router, it is not necessary to for the bgp session of each router client manual configuration Yu shadow router, decrease configuration workload, improve the efficiency disposing shadow RR.Such as, it is achieved that between shadow RR and RR client, or shadow RS and RS client set up the purpose of bgp session automatically, it is not necessary to for client or the client manual configuration bgp session of shadow RS of each shadow RR.
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-optimal 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 structure schematic diagram that Fig. 9 provides for the embodiment of the present invention.
Detailed description of the invention
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 includes:
11: the message of the parameter including shadow router that the active router of router client reception offer optimum route sends, the message of bgp session function is automatically set up to the transmission support of described active router and described shadow router.
Wherein, described shadow router is for providing the router of non-optimal route, for example, can be the router logic on active router, it is also possible to for independent router, specifically, shadow router can be shadow RR, and router client is RR client, and active router is main RR;Or, shadow router is shadow RS, and router client is RS client, and active router is main RS.Shadow RR can be in the Router Reflector of the secondary route plane of reflection, it is also possible to is in the Router Reflector of the 3rd route reflection plane, for providing less than optimum route and the route of hypo-optimal route, it is also possible to be 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 is main RR, C1, C2, C3 be RR client, RR1 ' and RR2 ' be constitute the secondary route plane of reflection shadow RR.As a example by Figure 1B, 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-optimal route on the bgp session set up.
Active router sends message to router client, provides the parameter of shadow router for router client.At router client-side, if supporting automatically to set up bgp session function with shadow router, router client is sent to active router by carrying the message supporting automatically to set up bgp session function with shadow router.The parameter of described shadow router includes the separate tP address of described shadow router, or, the parameter of described shadow router includes IP address and the mark of described shadow router of the active router of described shadow router, or, the parameter of described shadow router includes IP address and the tcp port number of described shadow router of the active router of described shadow router.By mark or the tcp port number of shadow router of shadow router, can distinguish router is which logic shadow router on active router.Therefore, the embodiment of the present invention can not be the IP address of logic shadow configuration of routers independence, decreases the waste to configuration resource.
For example, when shadow router is shadow RR, above-mentioned 11 include: RR client receives the message including shadow RR parameter that main RR sends, and automatically set up the message of bgp session function to described main RR transmission support and shadow RR.Main RR sends message to RR client, provides shadow RR parameter for RR client.At RR client-side, if supporting automatically to set up bgp session function with shadow RR, RR client is sent to main RR by carrying the message supporting automatically to set up bgp session function with shadow RR.Illustrate, when main RR Yu RR client carries out capability negotiation, the parameter of shadow RR in network i.e. shadow RR parameter is supplied to RR client.When RR client and main RR carry out capability negotiation, if supporting automatically to set up bgp session function with shadow RR, it is sent to main RR by carrying the capability negotiation message supporting automatically to set up bgp session function with shadow RR.After main RR and RR client receives the capability negotiation message of the other side, the success of both sides' capability negotiation.
If shadow RR is independent RR, shadow RR parameter is the separate tP address of described shadow RR.If shadow RR is logic RR on main RR.Described shadow RR parameter is IP address and the mark of described shadow RR of the main RR of described shadow RR, or, described shadow RR parameter is IP address and the tcp port number of described shadow RR of the main RR of described shadow RR.By mark or the tcp port number of shadow RR of shadow RR, can distinguish this RR is which logic RR on main RR.Therefore, the embodiment of the present invention can not be the IP address that the configuration of logic RR is independent, decreases the waste to configuration resource.
When shadow router is shadow RS, above-mentioned 11 include that RS client receives the message including shadow RS parameter that main RS sends, and automatically set up the message of bgp session function to described main RS transmission support and shadow RS.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 repeats them here.
12: router client, by the parameter of described shadow router, sets up bgp session with described shadow router.
For example, after capability negotiation success, the parameter of the shadow router that router client is provided by active router, actively can set up bgp session with shadow router, it is possible to set up bgp session according to the parameter coordination shadow router of shadow router.
13: router client, on the bgp session set up with described shadow router, receives the non-optimal route that the route plane with described shadow router place that described shadow router issues is corresponding, and/or, issue optimum route to described shadow router.
For example, router client, on the bgp session set up with described shadow router, receives the non-optimal route that described shadow router is issued, makes RR client can get more routing iinformation.Such as, when shadow router is the router of secondary route plane, client receives the hypo-optimal route that shadow router is issued.
The most for example, on the bgp session that router client and described shadow router are set up, router client can issue optimum route to this shadow router.For example, router client is before issuing optimum route to this shadow router, may determine that and oneself set up that whether the IP address that the shadow router of bgp session uses is the IP address of active router, IP address if not main RR, determining that this shadow router is independent bgp router, router client issues optimum route to this shadow router;If the IP address that shadow router uses is the IP address of active router, router client determines does not issues optimum route to described shadow router.Because, if it is determined 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, i.e. this shadow router and active router belongs to same bgp router, active router has preserved the optimum route that this router client is issued, need not issue optimum route to this shadow router again, thus can reduce bandwidth and the waste of process resource.
As a example by shadow RR and RR client, RR client, on the bgp session set up with shadow RR, issues optimum route to shadow RR.For example, before RR client issues optimum route to shadow RR, may determine that and oneself set up that whether the IP address that the shadow RR of bgp session uses is the IP address of main RR, IP address if not main RR, determining that this shadow RR is independent bgp router, RR client issues optimum route to this shadow RR;If the IP address of main RR, determine that this shadow RR is logic RR on main RR, i.e. this shadow RR and main RR belongs to same bgp router, main RR has preserved the optimum route that this RR client is issued, need not issue optimum route to this shadow RR again, thus can reduce bandwidth and the waste of process resource.
The method that the embodiment of the present invention provides, in the interaction of the active router that router client route with offer optimum, get the parameter of shadow router, the parameter of the shadow router provided by active router and shadow router set up bgp session, on the bgp session set up, receive the non-optimal route of shadow router transmission afterwards, and/or issue optimum route to shadow router.Further, when router client determines the IP address that the IP address of shadow router is active router, this client no longer issues optimum route to shadow router, therefore, the method that the present embodiment provides, it is achieved that automatically set up the purpose of bgp session between router client and shadow router, it is not necessary to for the bgp session of each router client manual configuration Yu shadow router, decrease configuration workload, improve the efficiency disposing shadow RR.Such as, it is achieved that between shadow RR and RR client, or shadow RS and RS client set up the purpose of bgp session automatically, it is not necessary to for client or the client manual configuration bgp session of shadow RS of each shadow RR.
The another kind of route transmission method flow diagram that Fig. 2 provides for the embodiment of the present invention.The present embodiment illustrates route transmission method from the angle of shadow router.As in figure 2 it is shown, the method that the present embodiment provides includes:
21: the shadow router of the non-optimal route parameter according to the shadow router of described shadow router and the parameter of router client are provided, set up bgp session with router client.
For example, the present embodiment can be the parameter of shadow configuration of routers each router client in advance, the IP address etc. of such as router client, owing in network, the quantity of shadow router is far fewer than the quantity of router client, therefore less to the configuration workload of shadow router.Shadow router is according to the parameter of described shadow router and the parameter of the router client of configuration, actively initiate to set up the request of bgp session to router client, router client, by having got the parameter of this shadow router with the capability negotiation of active router, can coordinate this shadow router to set up bgp session.For example, shadow router is according to the parameter of described router client, the bgp session sending the parameter including shadow router to described router client sets up request, so that described router client sets up bgp session according to IP address in the parameter of shadow router and the parameter of router client and described shadow router.
The most for example, shadow router also can passively receive the request setting up bgp session that client is initiated, and according to parameter and the router client parameter of shadow router, fit end sets up bgp session.Specifically, described shadow router receives the bgp session of the parameter including router client of described router client transmission and the parameter of described shadow router and sets up request, IP address in parameter according to described shadow router and the parameter of described router client, sets up bgp session with described router client.
22: described shadow router, on the bgp session set up with described router client, the non-optimal route corresponding with the route plane at described shadow router place is issued to described router client, and/or, receive the optimum route that described router client is issued.
For example, shadow router, on the bgp session set up with described router client, receives the optimum route that described router client is issued.Specifically, when the IP address that the IP address that described shadow router uses is not described active router, the optimum route that described shadow router receiving router client is issued.When the IP address that the IP address that described shadow router uses is described active router, described shadow router does not receive the optimum route that described router client is issued.
The method that the present embodiment provides, shadow router is according to the parameter of shadow router and the parameter of router client, bgp session can be automatically set up with router client, it is not necessary for the bgp session of each router client manual configuration and shadow router, decrease configuration workload, improve the efficiency disposing shadow router.
Another route transmission method flow diagram that Fig. 3 provides for the embodiment of the present invention.The present embodiment illustrates the transmission method of non-optimal route as a example by shadow RR and RR client, is actively initiated bgp session by shadow RR to RR client and set up request in the present embodiment.As it is shown on figure 3, the method that the present embodiment provides includes:
31A: main RR includes the capability negotiation message of shadow RR parameter to the transmission of RR client.
31B:RR client sets up the capability negotiation message of BGP function automatically to main RR transmission support and shadow RR.
Above-mentioned 31A and above-mentioned 31B does not has sequencing.
32: shadow RR, according to the RR client parameter being pre-configured with, sends bgp session to RR client and sets up request.
In main RR and RR client after being transmitted across 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.Shadow RR and RR client any of which one can actively be initiated bgp session and set up request.The bgp session request of setting up can be OPEN message, including 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 includes the IP address of this shadow RR, and destination parameter includes the IP address of RR client.If shadow RR is independent bgp router, this shadow RR initiates bgp session with independent IP address and sets up request;If shadow RR is logic RR on main RR, shadow RR can use tcp port number corresponding for this shadow RR to initiate bgp session and set up request, and tcp port number corresponding for this shadow RR can carry in BGP message, it is also possible to TCP header outside BGP message.The most for example, if shadow RR is logic RR on main RR, the bgp session that shadow RR initiates sets up the mark that may also include this shadow RR in request in source parameter.The embodiment of the present invention can not be the IP address that the configuration of logic RR is independent, decreases the waste to configuration resource.
33:RR client sets up source parameter and shadow RR parameter in request according to bgp session, determines that when the source that initiation bgp session foundation is asked is shadow RR, bgp session is set up in IP address and shadow RR by shadow RR parameter and RR client.
After RR client receives bgp session request, shadow RR parameter source parameter therein provided in capability negotiation procedure with main RR is mated, if unanimously, it is determined that it is shadow RR that this bgp session sets up the initiator of request.RR client determines that when the source of initiation bgp session foundation request is shadow RR, bgp session is set up in IP address and shadow RR by this shadow RR parameter and this RR client.
34: if source parameter includes the separate tP address of shadow RR, RR client uses the separate tP address mark shadow RR of shadow RR;If source parameter includes IP address and the mark of shadow RR of main RR, RR client uses IP address and the mark for marking shadow RR of shadow RR of main RR;If source parameter includes IP address and the tcp port number of shadow RR of main RR, RR client uses the IP address of main RR and the tcp port number of shadow RR to identify shadow RR.
If shadow RR initiates bgp session with independent IP address and sets up request, during i.e. this bgp session sets up request, source parameter includes the separate tP address of this shadow RR, RR client uses the separate tP address of this shadow RR to identify this shadow RR, the peer-to-peer (peer) on bgp session that namely mark and this shadow RR set up, peer-to-peer herein is this shadow RR.If shadow RR initiates bgp session with the IP address of main RR and the mark of this shadow RR to RR client and sets up request, during i.e. this bgp session sets up request, source parameter includes the IP address of the main RR of this shadow RR and the mark of this shadow RR, RR client uses the IP address of the main RR of this shadow RR and the mark of this shadow RR, identifies 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, during i.e. this bgp session sets up request, source parameter includes the tcp port number that the IP address of main RR of this shadow RR is corresponding with this shadow RR, RR client uses the IP address of the main RR of this shadow RR and the tcp port number of this shadow RR, identifies this shadow RR.By above-mentioned identification method, RR client can avoid the bgp session by the bgp session set up with main RR with each shadow RR foundation to be considered as the bgp session conflicted.
35: at RR client and shadow RR on the bgp session set up, RR client receives the non-optimal route that the route reflection plane at the shadow RR place that shadow RR issues is corresponding.
If shadow RR is logic RR on main RR, the embodiment of the present invention can not be the IP address that this shadow RR configuration is independent, and uses IP address and the mark of shadow RR of main RR, or uses IP address and the tcp port number of shadow RR of main RR, identify this shadow RR, decrease the waste to configuration resource.
Another non-optimal route transmission method flow diagram that Fig. 4 provides for the embodiment of the present invention.The present embodiment is actively initiated bgp session to shadow RR by RR client and sets up request.As shown in Figure 4, the method that the present embodiment provides includes:
41A: main RR includes the capability negotiation message of shadow RR parameter to the transmission of RR client.
41B:RR client sets up the capability negotiation message of bgp session function automatically to main RR transmission support and shadow RR.
Above-mentioned 41A and above-mentioned 41B does not has sequencing.
The shadow RR parameter that 42:RR client provides according to main RR, sends to shadow RR and includes that the bgp session of shadow RR parameter and this RR client parameter sets up request.
For example, in the bgp session request that RR client is initiated, destination parameter is the shadow RR parameter that main RR provides, and source parameter includes the IP address of RR client.If shadow RR is independent bgp router, the separate tP address that shadow RR parameter is this shadow RR that main RR provides;If shadow RR is logic RR on main RR, the IP address of the main RR that shadow RR parameter is this shadow RR that main RR provides and the tcp port number of this shadow RR, or, the IP address of the main RR of this shadow RR and the mark of this shadow RR.
43: shadow RR sets up bgp session according to IP address in shadow RR parameter and described RR client parameter and described RR client.
44: if the shadow RR parameter that main RR provides includes the separate tP address of this shadow RR, RR client uses the separate tP address of shadow RR to identify this shadow RR;If the shadow RR parameter that main RR provides includes IP address and the mark of shadow RR of main RR, RR client uses IP address and mark for marking this shadow RR of shadow RR of main RR;If the shadow RR parameter that main RR provides includes IP address and the tcp port number of shadow RR of main RR, RR client uses the IP address of main RR and the tcp port number of shadow RR to identify this shadow RR.
45:RR client judges that whether IP address that shadow RR uses is the IP address of main RR.If not performing step 46, the most do not perform step 46.
When 46: the shadow RR IP address used is not the IP address of main RR, in RR client with on the bgp session of shadow RR foundation, RR client issues optimum route to shadow RR.
When the IP address that shadow RR uses is the IP address of main RR, RR client does not issues 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.Router client in the device concretely embodiment of the method that the present embodiment provides.As shown in Figure 5A, the device that the present embodiment provides includes: receiver module 51 and session establishment module 52 and route receiver module 53.
Receiver module 51, is used for receiving the message of the parameter including shadow router of the active router transmission of offer optimum route, automatically sets up the message of bgp session function to the transmission support of described active router and described shadow router;Described shadow router is for providing the router of non-optimal route.
Wherein, for example, the parameter of described shadow router includes the separate tP address of described shadow router, or, the parameter of described shadow router includes IP address and the mark of described shadow router of the active router of described shadow router, or, the parameter of described shadow router includes IP address and the tcp port number of described shadow router of the active router of described shadow router.
Session establishment module 52, for the parameter according to described shadow router, sets up bgp session with described shadow router.
Route receiver module 53, is additionally operable on the bgp session set up with described shadow router, receives the non-optimal route that the route plane with described shadow router place of described shadow router issue is corresponding.
As shown in Figure 5 B, on the basis of Fig. 5 A, may also include release module 54.
Release module 54, at the bgp session set up with described shadow router, issuing optimum route to described shadow router.For example, whether the IP address that release module 54 uses specifically for judging described shadow router is the IP address of the active router of described shadow router;If the IP address that described shadow router uses is not the IP address of described active router, issue optimum route to described shadow router;If the IP address that described shadow router uses is the IP address of described active router, determines and do not issue optimum route to described shadow router.
In the interaction of the active router that the device that the present embodiment provides route with offer optimum, get the parameter of shadow router, the parameter of the shadow router provided by active router and shadow router set up bgp session, on the bgp session set up, receive the non-optimal route of shadow router transmission afterwards, or issue optimum route to shadow router.Further, when router client determines the IP address that the IP address of shadow router is active router, this client no longer issues optimum route to shadow router, therefore, the method that the present embodiment provides, it is achieved that automatically set up the purpose of bgp session between router client and shadow router, it is not necessary to for the bgp session of each router client manual configuration Yu shadow router, decrease configuration workload, improve the efficiency disposing shadow RR.
As shown in Figure 6, session establishment module 52 includes: first session establishment unit the 521, first session identification unit 522, the second session establishment unit 523 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, it is also possible to only includes the second session establishment unit 523 and the second session identification 524.
First session establishment unit 521, after receiving bgp session foundation request, the parameter of the described shadow router that source parameter and described active router provide in request is set up according to described bgp session, determine when the source that initiation described bgp session foundation is asked is described shadow router, set up bgp session by the parameter of described shadow router and the IP address of described router client with described shadow router;
First session identification unit 522, if include the separate tP address of described shadow router for described source parameter, uses the separate tP address of described shadow router to identify described shadow router;If described source parameter includes IP address and the mark of described shadow router of the active router of described shadow router, use shadow router described in the IP address of the active router of described shadow router and the mark for marking of described shadow router;If described source parameter includes IP address and the tcp port number of described shadow router of the active router of described shadow router, use the IP address of the active router of described shadow router and the tcp port number of described shadow router to identify described shadow router.
Second session establishment unit 523, the parameter of the described shadow router for providing according to described active router, include that to the transmission of described shadow router the bgp session of the parameter of described router client and the parameter of described shadow router sets up request, so that described shadow router is by IP address in the parameter of described shadow router and the parameter of described router client, set up bgp session with described router client.
Second session identification unit 524, if the parameter being used for described shadow router includes the separate tP address of described shadow router, uses the separate tP address of described shadow router to identify described shadow router;If the parameter of described shadow router includes IP address and the mark of described shadow router of described active router, use 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 includes IP address and the tcp port number of described shadow router of described active router, use 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 not be that the shadow RR on active router distributes independent 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 includes session establishment module 71 and release module 72.
Session establishment module 71, for the parameter according to shadow router and the parameter of router client, sets up bgp session with router client.Wherein, for example, the parameter of described shadow router includes the separate tP address of described shadow router, or, the parameter of described shadow router includes IP address and the mark of described shadow router of described active router, or, the parameter of described shadow router includes IP address and the tcp port number of described shadow router of described active router.
Release module 72, at the bgp session set up with described router client, issuing the non-optimal route corresponding with the route plane at described shadow router place to described router client.
As shown in Figure 7 B, the basis at Fig. 7 A may also include receiver module 73.
Receiver module 73, at the bgp session set up with described router client, receiving the optimum route that described router client is issued.For example, when receiver module is specifically for IP address that the IP address used at described shadow router is not described active router, the optimum route that described router client is issued is received.When the IP address that the IP address that described shadow router uses is described active router, described router client does not issue optimum route.
As shown in Figure 8, session establishment module 71 includes: the first session establishment unit 711 and/or the second session establishment unit 712.
First session establishment unit 711, for the parameter according to described router client, the bgp session sending the parameter including shadow router to described router client sets up request, so that described router client is according to IP address in the parameter of shadow router and the parameter of router client, set up bgp session with described shadow router;
Second session establishment unit 712, bgp session for the parameter of the parameter including router client and described shadow router that receive the transmission of described router client sets up request, by IP address in the parameter of described shadow router and the parameter of described router client, set up bgp session with described router client.
The device that the present embodiment provides, by parameter and the parameter of router client of shadow router, bgp session can be automatically set up with router client, it is not necessary for the bgp session of each router client manual configuration and shadow router, decrease configuration workload, improve the efficiency disposing shadow router.
A kind of route transmission system structure schematic diagram that Fig. 9 provides for the embodiment of the present invention.As it is shown in figure 9, the system that the present embodiment provides includes: as the first via of router client by transmitting device 91, as the secondary route transmitting device 92 of shadow router and active router 93.The first via can be for 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 for 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 realizing said method embodiment can be completed by the hardware that programmed instruction is relevant, aforesaid program can be stored in a computer read/write memory medium, this program upon execution, performs to include the step of said method embodiment;And aforesaid storage medium includes: the various media that can store program code such as ROM, RAM, magnetic disc or CDs.
Last it is noted that above example is only in order to illustrate technical scheme, it is not intended to limit;Although the present invention being described in detail with reference to previous embodiment, it will be understood by those within the art that: the technical scheme described in foregoing embodiments still can be modified by it, or wherein portion of techniques feature is carried out equivalent;And these amendments 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, it is characterised in that including:
The message of the parameter including shadow router that the active router of router client reception offer optimum route sends, automatically sets up the message of bgp session function to the transmission support of described active router and described shadow router;Described shadow router is for providing the router of non-optimal route;
Described router client, according to the parameter of described shadow router, sets up bgp session with described shadow router;
Described router client, on the bgp session set up with described shadow router, receives the non-optimal route that the route plane with described shadow router place that described shadow router issues is corresponding, and/or, issue optimum route to described shadow router.
Method the most according to claim 1, it is characterised in that
The parameter of described shadow router includes the separate tP address of described shadow router,
Or,
The parameter of described shadow router includes IP address and the mark of described shadow router of the active router of described shadow router,
Or,
The parameter of described shadow router includes IP address and the tcp port number of described shadow router of the active router of described shadow router.
Method the most according to claim 1 and 2, it is characterised in that described router client, according to the parameter of described shadow router, sets up bgp session with described shadow router, including:
After described router client receives bgp session foundation request, source parameter and the parameter of described shadow router in request is set up according to described bgp session, determine when the source that initiation described bgp session foundation is asked is described shadow router, set up bgp session by the parameter of described shadow router and the IP address of described router client with described shadow router;
If described source parameter includes the separate tP address of described shadow router, described router client uses the separate tP address of described shadow router to identify described shadow router;If described source parameter includes IP address and the mark of described shadow router of described active router, described router client uses shadow router described in the IP address of described active router and the mark for marking of described shadow router;If described source parameter includes IP address and the tcp port number of described shadow router of described active router, described router client uses the IP address of described active router and the tcp port number of described shadow router to identify described shadow router.
Method the most according to claim 1 and 2, it is characterised in that described router client, according to described shadow Router Parameters, sets up bgp session with described shadow router, including:
Described router client is according to the parameter of described shadow router, include that to the transmission of described shadow router the bgp session of the parameter of router client and the parameter of described shadow router sets up request, so that described shadow router is according to IP address in the parameter of described shadow router and the parameter of described router client, set up bgp session with described router client;
If the parameter of described shadow router includes the separate tP address of described shadow router, described router client uses the separate tP address of described shadow router to identify described shadow router;If the parameter of described shadow router includes IP address and the mark of described shadow router of described active router, described router client uses 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 includes IP address and the tcp port number of described shadow router of described active router, described router client uses the IP address of described active router and the tcp port number of described shadow router to identify described shadow router.
Method the most according to claim 1 and 2, it is characterised in that described route to described shadow router issue optimum includes:
Described router client judges that whether IP address that described shadow router uses is the IP address of described active router;
If the IP address that described shadow router uses is not the IP address of described active router, described router client issues optimum route to described shadow router;
If the IP address that described shadow router uses is the IP address of described active router, described router client determines does not issues optimum route to described shadow router.
6. a route transmission method, it is characterised in that including:
The shadow router of non-optimal route is provided, according to parameter and the parameter of router client of described shadow router, sets up bgp session with router client;
Described shadow router, on the bgp session set up with described router client, the non-optimal route corresponding with the route plane at described shadow router place is issued to described router client, and/or, receive the optimum route that described router client is issued.
Method the most according to claim 6, it is characterised in that
The parameter of described shadow router includes the separate tP address of described shadow router,
Or,
The parameter of described shadow router includes IP address and the mark of described shadow router of active router,
Or,
The parameter of described shadow router includes IP address and the tcp port number of described shadow router of active router.
8., according to the method described in claim 6 or 7, it is characterised in that the shadow router of the non-optimal route of described offer, according to parameter and the parameter of router client of shadow router, set up bgp session with described router client and include:
Described shadow router is according to the parameter of described router client, the bgp session sending the parameter including described shadow router to described router client sets up request, so that described router client is according to IP address in the parameter of described shadow router and the parameter of described router client, set up bgp session with described shadow router;Or,
Described shadow router receives the bgp session of the parameter including described router client of described router client transmission and the parameter of described shadow router and sets up request, IP address in parameter according to described shadow router and the parameter of described router client, sets up bgp session with described router client.
Method the most according to claim 8, it is characterised in that described shadow router receives the optimum route of described router client issue and includes:
When the IP address that the IP address that described shadow router uses is not active router, described shadow router receives the optimum route that described router client is issued.
10. a route transmission device, it is characterised in that including:
Receiver module, is used for receiving the message of the parameter including shadow router of the active router transmission of offer optimum route, automatically sets up the message of bgp session function to the transmission support of described active router and described shadow router;Described shadow router is for providing the router of non-optimal route;
Session establishment module, for the parameter according to described shadow router, sets up bgp session with described shadow router;
Route receiver module, at the bgp session set up with described shadow router, receiving the non-optimal route that the route plane with described shadow router place of described shadow router issue is corresponding.
11. devices according to claim 10, it is characterised in that also include:
Release module, at the bgp session set up with described shadow router, issuing optimum route to described shadow router.
12. devices according to claim 11, it is characterised in that whether the IP address that described release module uses specifically for judging described shadow router is the IP address of described active router;If the IP address that described shadow router uses is not the IP address of described active router, issue optimum route to described shadow router;If the IP address that described shadow router uses is the IP address of described active router, determines and do not issue optimum route to described shadow router.
13. according to the device described in claim 10,11 or 12, it is characterised in that
The parameter of described shadow router includes the separate tP address of described shadow router,
Or,
The parameter of described shadow router includes IP address and the mark of described shadow router of described active router,
Or,
The parameter of described shadow router includes IP address and the tcp port number of described shadow router of described active router.
14. devices according to claim 13, it is characterised in that described session establishment module includes:
First session establishment unit, after receiving bgp session foundation request, source parameter and the parameter of described shadow router in request is set up according to described bgp session, determine when the source that initiation described bgp session foundation is asked is described shadow router, set up bgp session according to the parameter of described shadow router and the IP address of router client with described shadow router;
First session identification unit, if include the separate tP address of described shadow router for described source parameter, uses the separate tP address of described shadow router to identify described shadow router;If described source parameter includes IP address and the mark of described shadow router of described active router, use shadow router described in the IP address of described active router and the mark for marking of described shadow router;If described source parameter includes IP address and the tcp port number of described shadow router of described active router, use 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 characterised in that described session establishment module includes:
Second session establishment unit, the parameter of the described shadow router for sending according to described active router, include that to the transmission of described shadow router the bgp session of the parameter of router client and the parameter of described shadow router sets up request, so that described shadow router is according to IP address in the parameter of described shadow router and the parameter of described router client, set up bgp session with described router client;
Second session identification unit, if the parameter being used for described shadow router includes the separate tP address of described shadow router, uses the separate tP address of described shadow router to identify described shadow router;If the parameter of described shadow router includes IP address and the mark of described shadow router of described active router, use 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 includes IP address and the tcp port number of described shadow router of described active router, use 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, it is characterised in that including:
Session establishment module, for parameter and the parameter of router client of the shadow router according to the non-optimal route of offer, sets up bgp session with router client;
Release module, at the bgp session set up with described router client, issuing the non-optimal route corresponding with the route plane at described shadow router place to described router client.
17. devices according to claim 16, it is characterised in that also include:
Receiver module, at the bgp session set up with described router client, receiving the optimum route that described router client is issued.
18. devices according to claim 17, it is characterised in that when described receiver module is specifically for IP address that the IP address used at described shadow router is not active router, receive the optimum route that described router client is issued;When the IP address that the IP address that described shadow router uses is active router, do not receive the optimum route that described router client is issued.
19. according to the device described in claim 16,17 or 18, it is characterised in that
The parameter of described shadow router includes the separate tP address of described shadow router,
Or,
The parameter of described shadow router includes IP address and the mark of described shadow router of active router,
Or,
The parameter of described shadow router includes IP address and the tcp port number of described shadow router of active router.
20. devices according to claim 19, it is characterised in that described session establishment module includes:
First session establishment unit, for the parameter according to described router client, the bgp session sending the parameter including shadow router to described router client sets up request, so that described router client is by IP address in the parameter of shadow router and the parameter of router client, set up bgp session with described shadow router;And/or,
Second session establishment unit, bgp session for the parameter of the parameter including router client and described shadow router that receive the transmission of described router client sets up request, by IP address in the parameter of described shadow router and the parameter of described router client, set up bgp session with described router client.
21. 1 kinds of route transmission systems, it is characterized in that, including: the route transmission device as described in any one of claim 10 to 15, the route transmission device as described in claim 16 to 20 any one, and for providing optimum route and the active router of the parameter to router client offer shadow router.
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 CN103516601A (en) 2014-01-15
CN103516601B true 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)

Families Citing this family (3)

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

Family Cites Families (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
US8320361B2 (en) * 2009-02-27 2012-11-27 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
CN102281199B (en) * 2011-08-16 2015-05-06 北京华为数字技术有限公司 Route equipment, route reflector and route information processing method and system

Also Published As

Publication number Publication date
CN103516601A (en) 2014-01-15

Similar Documents

Publication Publication Date Title
US7945680B2 (en) Method and apparatus for peer to peer link establishment over a network
CN112448877B (en) SBFD session establishment method, device and system
EP3163799B1 (en) Network device and method for sending bgp information
CN101573940A (en) System and method for TCP high availability
EP2866395B1 (en) Maximum transmission unit negotiation method and data terminal
KR101938623B1 (en) Openflow communication method, system, controller, and service gateway
WO2014047784A1 (en) Method for determining packet forwarding path, network device and control device
CN104980528A (en) Method, system and apparatus for realizing communication between nodes
CN111615812B (en) Configuration method intended to be implemented in a network using dynamic routing protocols
CN103209108A (en) Dynamic virtual private network (DVPN)-based route generation method and equipment
US20190342200A1 (en) Methods, systems, and computer readable media for multiple bidirectional forwarding detection (bfd) session optimization
WO2013152718A1 (en) Path computation element communication protocol session establishment method and device
CN103516601B (en) Route transmission method and apparatus and system
WO2014000226A1 (en) Network path control method, device, and system
EP2566139B1 (en) Method and device for obtaining remote ip address
CN103491011A (en) BGP conversation changing method and device
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
WO2022184100A1 (en) Path establishment method and apparatus, storage medium and electronic apparatus
EP4089982A1 (en) Method and apparatus for controlling network traffic path
WO2018077313A1 (en) Connection capability notification method and device
CN105991629B (en) TCP connection method for building up and device
CN102263808A (en) Session control service method, device and system
CN114338508A (en) Method, equipment and system for detecting routing loop
WO2018028499A1 (en) Method and device for configuring ospf area number

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