CN104104531A - Method and device for setting L3VPN network side route - Google Patents

Method and device for setting L3VPN network side route Download PDF

Info

Publication number
CN104104531A
CN104104531A CN201310117115.4A CN201310117115A CN104104531A CN 104104531 A CN104104531 A CN 104104531A CN 201310117115 A CN201310117115 A CN 201310117115A CN 104104531 A CN104104531 A CN 104104531A
Authority
CN
China
Prior art keywords
border router
access interface
described object
networking
target route
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
CN201310117115.4A
Other languages
Chinese (zh)
Other versions
CN104104531B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201310117115.4A priority Critical patent/CN104104531B/en
Publication of CN104104531A publication Critical patent/CN104104531A/en
Application granted granted Critical
Publication of CN104104531B publication Critical patent/CN104104531B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and a device for setting an L3VPN network side route. The method comprises steps of traversing a boundary router of a current network by a boundary router selection module, using a current accessing boundary router as an objective boundary router, obtaining the boundary router to be set corresponding to the objective boundary router in the current network, traversing the accessing interface of the boundary router through accessing to an interface selection module, using the accessing interface which is currently visited as an objective accessing interface, and automatically generating objective routes corresponding to the objective accessing interface on the boundary routers to be set by the objective router generation module. As a result, the invention can automatically configure the L3VPN network side static route without the manual configuration, which is simple and easy to achieve, can improve the configuration efficiency and accuracy and, can avoid the leaving out of the configuration caused by the manual configuration.

Description

Method and the device of L3VPN network side route are set
Technical field
The present invention relates to the communications field, be specifically related to a kind of method and device of the L3VPN of setting network side route.
Background technology
L3VPN refers to that the 3rd layer in a kind of osi protocol stack is the VPN technologies that route layer provides for user.It can make enterprise utilize the resource of public network that the administrative body and the client that are dispersed in various places are dynamically coupled together, and network provider, enterprise and end user are benefited simultaneously.At present, the static routing of L3VPN network side is by manual configuration, when border router (PE) is more, configures very complicated, inefficiency and easily omits.
Summary of the invention
The main technical problem to be solved in the present invention is, a kind of fan monitoring apparatus and fan method for supervising are provided, while solving the static routing of existing 3VPN network side by manual configuration, and the problem that configures very complicated, inefficiency and easily omit.
For solving the problems of the technologies described above, the invention provides a kind of method of the L3VPN of setting network side route, described method comprises:
Travel through the border router of current networking, using the border router of current accessed as object border router; And in current networking, obtain the to be established border router corresponding with described object border router;
Travel through the access interface of described object border router, using the access interface of current accessed as object access interface;
Corresponding described object access interface automatically generates target route on described respectively border router to be established.
In an embodiment of the present invention, describedly in current networking, obtain the to be established border router corresponding with described object border router and comprise:
Judge the type of current networking;
If current networking is full-mesh networking, other border routers in current networking be all described in border router to be established;
When current networking is full-mesh networking, corresponding described object access interface generates target route and is on described respectively border router to be established:
Corresponding described object access interface automatically generates target route on described respectively border router to be established, and the destination address of described target route is the described object access interface place network segment, and down hop is the static routing of described object border router.
In an embodiment of the present invention, describedly in current networking, obtain the to be established border router corresponding with described object border router and comprise:
Judge the type of current networking;
If current networking is the networking of quick heavy-route full-mesh, judge that described object border router is whether in main and standby relation, in this way, whether the network segment that judges the access interface of other border routers in described main and standby relation has identical with the network segment of described object access interface, if any, described object access interface is active and standby object access interface, in current networking every other non-current active and standby border router be described in border router to be established; Otherwise, other border routers in current networking be all described in border router to be established;
When current networking is quick heavy-route full-mesh networking, corresponding described object access interface automatically generates target route and is on described respectively border router to be established:
If described object access interface is active and standby object access interface, judge the active and standby attribute of described object border router; If described object border router is main border router, in current networking, on every other non-current active and standby border router, automatically generate primary target route and the second target reason address, the destination address of described primary target route is the described object access interface place network segment, and down hop is the static routing of described object border router; The destination address of described alternate target route is the described object access interface place network segment, and down hop is the static routing of the standby border router corresponding with described object border router;
If described object border router is standby border router, in current networking, on every other non-current active and standby border router, automatically generate primary target route and the second target reason address, the destination address of described primary target route is the described object access interface place network segment, and down hop is the static routing of described object border router; The destination address of described alternate target route is the described object access interface place network segment, and down hop is the static routing of the primary border router corresponding with described object border router;
If described object access interface is not active and standby object access interface,
On other border routers in current networking, automatically generate target route, the destination address of described target route is the described object access interface place network segment, and down hop is the static routing of described object border router.
In an embodiment of the present invention, describedly in current networking, obtain the to be established border router corresponding with described object border router and comprise:
Judge the type of current networking;
If current networking is stratification networking, judge that described object border router is core layer border router or convergence-level border router, core layer border router in this way, other core layer border routers in current networking be described in border router to be established; Convergence-level border router in this way, the core layer border router in current networking be described in border router to be established;
When current networking is stratification networking, corresponding described object access interface automatically generates target route and is on described respectively border router to be established:
When described object border router is core layer border router, on other core layer border routers in current networking, automatically generate target route, the destination address of described target route is the described object access interface place network segment, and down hop is the static routing of described object border router;
When described object border router is convergence-level border router, on core layer border router in current networking, automatically generate target route, the destination address of described target route is the described object access interface place network segment, and down hop is the static routing of described object border router.
In an embodiment of the present invention, described method also comprises:
The described target route generating is formed to target route list.
In order to address the above problem, the present invention also provides a kind of device of the L3VPN of setting network side route, and described method comprises:
Border router is selected module, for traveling through the border router of current networking, using the border router of current accessed as object border router; And in current networking, obtain the to be established border router corresponding with described object border router;
Access interface is selected module, for traveling through the access interface of described object border router, using the access interface of current accessed as object access interface;
Target route generation module automatically generates target route on described respectively border router to be established for the described object access interface of correspondence.
In an embodiment of the present invention, described border router is selected module in current networking, to obtain the to be established border router corresponding with described object border router to comprise:
Judge the type of current networking;
If current networking is full-mesh networking, other border routers in current networking be all described in border router to be established;
Described target route generation module is when current networking is full-mesh networking, and corresponding described object access interface automatically generates target route and is on described respectively border router to be established:
Corresponding described object access interface automatically generates target route on described respectively border router to be established, and the destination address of described target route is the described object access interface place network segment, and down hop is the static routing of described object border router.
In an embodiment of the present invention, described border router is selected module in current networking, to obtain the to be established border router corresponding with described object border router to comprise:
Judge the type of current networking;
If current networking is the networking of quick heavy-route full-mesh, judge that described object border router is whether in main and standby relation, in this way, whether the network segment that judges the access interface of other border routers in described main and standby relation has identical with the network segment of described object access interface, if any, described object access interface is active and standby object access interface, in current networking every other non-current active and standby border router be described in border router to be established; Otherwise, other border routers in current networking be all described in border router to be established;
Described target route generation module is when current networking is quick heavy-route full-mesh networking, and corresponding described object access interface automatically generates target route and is on described respectively border router to be established:
If described object access interface is active and standby object access interface, judge the active and standby attribute of described object border router; If described object border router is main border router, in current networking, on every other non-current active and standby border router, automatically generate primary target route and the second target reason address, the destination address of described primary target route is the described object access interface place network segment, and down hop is the static routing of described object border router; The destination address of described alternate target route is the described object access interface place network segment, and down hop is the static routing of the standby border router corresponding with described object border router;
If described object border router is standby border router, in current networking, on every other non-current active and standby border router, automatically generate primary target route and the second target reason address, the destination address of described primary target route is the described object access interface place network segment, and down hop is the static routing of described object border router; The destination address of described alternate target route is the described object access interface place network segment, and down hop is the static routing of the primary border router corresponding with described object border router;
If described object access interface is not active and standby object access interface,
On other border routers in current networking, automatically generate target route, the destination address of described target route is the described object access interface place network segment, and down hop is the static routing of described object border router.
In an embodiment of the present invention, described border router is selected module in current networking, to obtain the to be established border router corresponding with described object border router to comprise:
Judge the type of current networking;
If current networking is stratification networking, judge that described object border router is core layer border router or convergence-level border router, core layer border router in this way, other core layer border routers in current networking be all described in border router to be established; Convergence-level border router in this way, the core layer border router in current networking be described in border router to be established;
Described target route generation module is when current networking is stratification networking, and corresponding described object access interface automatically generates target route and is on described respectively border router to be established:
When described object border router is core layer border router, on other core layer border routers in current networking, automatically generate target route, the destination address of described target route is the described object access interface place network segment, and down hop is the static routing of described object border router;
When described object border router is convergence-level border router, on core layer border router in current networking, automatically generate target route, the destination address of described target route is the described object access interface place network segment, and down hop is the static routing of described object border router.
In an embodiment of the present invention, described device also comprises list generation module, and described list generation module is for forming target route list by the described target route generating.
The invention has the beneficial effects as follows:
Method and the device that L3VPN network side route is set provided by the invention, selects module to travel through the border router of current networking by border router, using the border router of current access as object border router; And in current networking, obtain the to be established border router corresponding with object border router, then by access interface, select the access interface of module traversal object border router, using the access interface of current accessed as object access interface, target route generation module is to should respectively automatically generating target route on border router to be established by object access interface; Visible, the present invention can realize the static routing of automatic configuration L3VPN network side, but not adopts manual configuration, and be simple and easy to realize, can improve efficiency and the accuracy rate of configuration, particularly under large-scale network environment, the problem that simultaneously also can avoid configuration that manual configuration causes to omit.
Accompanying drawing explanation
Fig. 1 is the apparatus structure schematic diagram that L3VPN network side route is set in the embodiment of the present invention one;
Fig. 2 is the schematic flow sheet that L3VPN network side route is set in the embodiment of the present invention two;
Fig. 3 arranges the schematic flow sheet of L3VPN network side route under Full-Mesh networking in the embodiment of the present invention two;
Fig. 4 is Full-Mesh networking schematic diagram in the embodiment of the present invention two;
Fig. 5 arranges the schematic flow sheet of L3VPN network side route under Full-Mesh FRR networking in the embodiment of the present invention two;
Fig. 6 is Full-Mesh FRR networking schematic diagram in the embodiment of the present invention two;
Fig. 7 arranges the schematic flow sheet of L3VPN network side route under H-L3VPN networking in the embodiment of the present invention two;
Fig. 8 is H-L3VPN networking schematic diagram in the embodiment of the present invention two.
Embodiment
The present invention is traveled through the border router of current networking by border router selection module, using the border router of current access as object border router; And in current networking, obtain the to be established border router corresponding with object border router, then by access interface, select the access interface of module traversal object border router, using the access interface of current accessed as object access interface, target route generation module is to should respectively automatically generating target route on border router to be established by object access interface; Visible, the present invention can realize the static routing of automatic configuration L3VPN network side, but not adopts manual configuration, and efficiency and the accuracy rate of configuration are high, especially under large-scale network environment.Below by embodiment, by reference to the accompanying drawings the present invention is described in further detail.
Embodiment mono-:
For a better understanding of the present invention, below first two described two concepts:
Object border router: the object border router in the present embodiment refers to currently take this border router and the border router of other border routers is set as target;
Border router to be established: the border router to be established in the present embodiment refers to the border router corresponding with current object border router.
Please refer to Fig. 1, this figure is depicted as the composition structural representation that the device of L3VPN network side route is set in the present embodiment, comprising:
Border router is selected module, for traveling through the border router of current networking, using the border router of current accessed as object border router; And in current networking, obtain the to be established border router corresponding with described object border router;
Access interface is selected module, for traveling through the access interface of described object border router, using the access interface of current accessed as object access interface;
Target route generation module automatically generates target route on described respectively border router to be established for the described object access interface of correspondence.
Visible, in the present embodiment, the setting of L3VPN network side route is not adopted manually and arranged, but automatically generated by above-mentioned each functional module cooperating.Below in conjunction with concrete several applicable cases, the present invention is described further, better to understand the present invention.
Be applied to the situation of Full-Mesh networking (being also full-mesh networking):
Under Full-Mesh networking, each border router has connection between any two, so the route that each border router is come from access interface will be published to other border router automatically; Under this networking, border router selection module is obtained the to be established border router corresponding with object border router and is comprised in current networking:
Judge the type of current networking, now judge that current networking is as full-mesh networking, other border routers in current networking are all the border router to be established of object border router;
Now target route generation module to should object access interface automatically generating target route on border router to be established is respectively:
Corresponding object access interface is respectively generating target route on border router to be established automatically, and the destination address of this target route is the object access interface place network segment, and down hop is the static routing of object border router.
Be applied to the situation of Full-Mesh FRR networking (being also the networking of quick heavy-route full-mesh):
Full-Mesh FRR networking is on the basis of Full-Mesh, to add FRR protection.FRR is also quick heavy-route; its protection philosophy is the main and standby relation that first configures a pair of border router; these two border routers have at least an access interface network segment identical; between main border router and standby border router, do not issue the route shielding, other border router configures respectively a main road to main border router by the standby route with to standby border router.As can be seen here, FRR is other protection of a kind of route level.A configurable multipair main and standby relation of L3VPN, also can form multipair FRR route protection.
Under Full-Mesh FRR networking, border router selection module is obtained the to be established border router corresponding with object border router and is comprised in current networking:
Border router selects module to judge the type of current networking, now current networking is the networking of quick heavy-route full-mesh, judge that this object border router is whether in main and standby relation, in this way, whether the network segment that judges the access interface of other border routers in main and standby relation has identical with the network segment of described object access interface, if any, show that this object access interface is active and standby object access interface, in now current networking, every other non-current active and standby border router is border router to be established corresponding to this object border router; Otherwise, judge that other border routers in current networking are all the border router to be established of this object border router;
Now the corresponding object access interface of target route generation module automatically generates target route and is on border router to be established respectively:
If object access interface is active and standby object access interface, the active and standby attribute of judgement object border router; If object border router is main border router, generative process is as follows:
In current networking, on every other non-current active and standby border router, automatically generate primary target route, the destination address of primary target route is the object access interface place network segment, down hop is the static routing of object border router, is also that its attribute is main static routing;
In current networking, on every other non-current active and standby border router, automatically generate alternate target route, the destination address of alternate target route is the object access interface place network segment, down hop is the static routing of the standby border router corresponding with this object border router, is also that its attribute is standby static routing;
If object border router is standby border router, generative process is as follows:
In current networking, on every other non-current active and standby border router, automatically generate primary target route, the destination address of primary target route is the object access interface place network segment, down hop is the static routing of object border router, is also that its attribute is standby static routing;
In current networking, on every other non-current active and standby border router, automatically generate alternate target route, the destination address of alternate target route is the object access interface place network segment, down hop is the static routing of the primary border router corresponding with object border router, is also that its attribute is main static routing;
If object access interface is not active and standby object access interface, generative process is as follows:
On other border routers in current networking, automatically generate target route, the destination address of target route is the object access interface place network segment, and down hop is the static routing of object border router.
Be applied to the situation of H-L3VPN networking (being also stratification networking):
Stratification networking can be described as again H-L3VPN, is divided into core layer border router (NPE) and convergence-level border router (UPE), and core layer border router is specially responsible for routing forwarding, management the whole network route; Convergence-level border router is mainly used to user's access, and management is attached thereto the route of equipment.In level L3VPN networking, can be divided into multilayer in theory, a convergence-level border router that border router is last layer, is again the core layer border router of lower one deck.The present embodiment for simplicity, is only described the most typical two layers of networking.H-L3VPN route issue rules: the access interface between core layer border router, according to full-mesh networking mode issue route, is also published to convergence-level border router simultaneously.The route of the access interface of convergence-level border router is published to all core layer border routers, but can not be published to other convergence-level border router.
Under H-L3VPN networking, border router selection module is obtained the to be established border router corresponding with object border router and is comprised in current networking:
Border router selection module is obtained the to be established border router corresponding with object border router and is comprised in current networking:
Judge the type of current networking, now current networking is stratification networking, judgement object border router is core layer border router or convergence-level border router, core layer border router in this way, and other core layer border routers in current networking are all border router to be established; Convergence-level border router in this way, the core layer border router in current networking is border router to be established;
Now the corresponding object access interface of target route generation module automatically generates target route and is on border router to be established respectively:
When object border router is core layer border router, on other core layer border routers in current networking, automatically generate target route, the destination address of target route is the object access interface place network segment, and down hop is the static routing of object border router;
When object border router is convergence-level border router, on core layer border router in current networking, automatically generate target route, the destination address of target route is the described object access interface place network segment, and down hop is the static routing of object border router.
The device that L3VPN network side route is set in the present embodiment also can comprise list generation module, and this list generation module forms target route list by the target route generating; So that subsequent calls.
Embodiment bis-:
For a better understanding of the present invention, below in conjunction with concrete method flow, be that the present invention is described further for example.
Refer to Fig. 2, the method that L3VPN network side route is set in the present embodiment comprises the following steps:
Step 201: travel through the border router of current networking, using the border router of current accessed as object border router; And in current networking, obtain the to be established border router corresponding with described object border router;
Step 202: travel through the access interface of described object border router, using the access interface of current accessed as object access interface;
Step 203: corresponding described object access interface automatically generates target route on described respectively border router to be established.
Below in conjunction with concrete several applicable cases, the present invention is described further, better to understand the present invention.
Shown in Figure 3, this figure is depicted as the schematic flow sheet that L3VPN network side route is set under Full-Mesh networking, and it comprises:
Step 301: all border routers in traversal networking, the border router of current accessed is made as to object border router, suppose from border router 1;
Step 302: travel through the access interface (AC) under current object border router, and the access interface of current accessed is made as to object access interface, suppose from access interface 1;
Step 303: other border routers except object border router in traversal networking, the also i.e. border router to be established of this object border router;
Step 304: automatically configure target route on other border routers in networking except object border router, the destination address of this target route is the object access interface place network segment, and down hop is the static routing of object border router;
Step 305: judge whether all to have configured target route on other border routers except object border router; As no, go to step 303; In this way, go to step 306;
Step 306: judge that under this object border router, all access interfaces are all accessed, in this way, go to step 307; Otherwise, go to step 302;
Step 307: all border routers in judgement networking are all accessed, in this way, finishes, otherwise, go to step 301.
As shown in Figure 4, this figure is depicted as a kind of schematic diagram of Full-mesh networking, the L3VPN network that VPN1 is comprised of three border routers.The loop-back address of border router 1, border router 2, border router 3 is respectively 1.1.1.1,2.2.2.2,3.3.3.3.Border router 1 has the access interface that an address is 10.10.1.1/24, border router 2 has the access interface that an address is 10.10.2.1/24, and border router 3 has the access interface that access interface that an address is 10.10.3.1/24 and another address are 10.10.4.1/24.
According to above-mentioned flow process, static routing configuration result following (destination is destination address, and nexthop is down hop) after completing:
PE1:
(1)destination:10.10.2.0/24 nexthop:2.2.2.2
(2)destination:10.10.3.0/24 nexthop:3.3.3.3
(3)destination:10.10.4.0/24 nexthop:3.3.3.3
PE2:
(1)destination:10.10.1.0/24 nexthop:1.1.1.1
(2)destination:10.10.3.0/24 nexthop:3.3.3.3
(3)destination:10.10.4.0/24 nexthop:3.3.3.3
PE3:
(1)destination:10.10.1.0/24 nexthop:1.1.1.1
(2)destination:10.10.2.0/24 nexthop:2.2.2.2
Shown in Figure 5, this figure is depicted as the schematic flow sheet that L3VPN network side route is set under Full-Mesh FRR networking, and it comprises:
Step 501: all border routers in traversal networking, the border router of current accessed is made as to object border router, suppose from border router 1;
Step 502: travel through the access interface (AC) under current object border router, and the access interface of current accessed is made as to object access interface, suppose from access interface 1;
Step 503: judge that object border router is whether in main and standby relation; As no, go to step 511; Otherwise, go to step 504;
Step 504: judge whether this object access interface is active and standby object access interface, it is identical with the network segment of described object access interface whether the network segment that also judges the access interface of other border routers in main and standby relation has, and in this way, goes to step 505, otherwise, go to step 511;
Step 505: other border routers in traversal networking except object border router;
Step 506: the active and standby attribute of judgement object border router, as be main, go to step 507, otherwise, go to step 508;
Step 507: automatically configure in a manner described above-mentioned primary target route and alternate target route on other border routers in networking except object border router;
Step 508: automatically configure in a manner described above-mentioned primary target route and alternate target route on other border routers in networking except object border router;
Step 509: judge whether all to have configured target route on other border routers except object border router; As no, go to step 510; In this way, go to step 505;
Step 510: judge that under this object border router, all access interfaces are all accessed, in this way, go to step 511; Otherwise, go to step 502;
Step 511: all border routers in judgement networking are all accessed, in this way, finishes, otherwise, go to step 501.
Step 512: other border routers in traversal networking except object border router; Also the i.e. border router to be established of this object border router;
Step 513: automatically configure target route on other border routers in networking except object border router, the destination address of this target route is the object access interface place network segment, down hop is the static routing of object border router, goes to step 509.
As shown in Figure 6, this figure is depicted as the schematic diagram of a kind of Full-mesh FRR networking, the L3VPN network that VPN2 is comprised of four border routers.The loop-back address of border router 1, border router 2, border router 3, border router 4 is respectively 1.1.1.1,2.2.2.2,3.3.3.3,4.4.4.4.Border router 1 has the access interface that an address is 10.10.1.1/24, border router 2 has the access interface that an address is 10.10.1.2/24, it is 10.10.3.1/24 that border router 3 has an address, and border router 4 has the access interface that an address is 10.10.4.1/24.Frr main and standby relation is PE1-PE2.
According to FullMesh FRR technical scheme, static routing is not issued in the static routing of PE1 and PE2, static routing configuration result following (destination is destination address, and nexthop is down hop) after completing:
PE1:
(1)destination:10.10.3.0/24 nexthop:3.3.3.3
(2)destination:10.10.4.0/24 nexthop:4.4.4.4
PE2:
(1)destination:10.10.3.0/24 nexthop:3.3.3.3
(2)destination:10.10.4.0/24 nexthop:4.4.4.4
PE3:
(1)destination:10.10.1.0/24 nexthop:1.1.1.1
(2)destination:10.10.1.0/24 nexthop:2.2.2.2
(3)destination:10.10.4.0/24 nexthop:4.4.4.4
PE4:
(1)destination:10.10.1.0/24 nexthop:1.1.1.1
(2)destination:10.10.1.0/24 nexthop:2.2.2.2
(3)destination:10.10.3.0/24 nexthop:3.3.3.3
Shown in Figure 7, this figure is depicted as the schematic flow sheet that L3VPN network side route is set under H-L3VPN networking, and it comprises:
Step 701: all core layer border routers in traversal networking, the core layer border router of current accessed is made as to object border router, suppose from core layer border router 1;
Step 702: travel through the access interface (AC) under current object border router, and the access interface of current accessed is made as to object access interface, suppose from access interface 1;
Step 703: all core layer border routers in traversal networking except object border router;
Step 704: automatically configure in a manner described target route on other core layer border routers in networking except object border router;
Step 705: judge whether all to have configured target route on other border routers except object border router; As no, go to step 703; In this way, go to step 706;
Step 706: judge that under this object border router, all access interfaces are all accessed, in this way, go to step 707; Otherwise, go to step 702;
Step 707: all core layer border routers in judgement networking are all accessed, in this way, go to step 708, otherwise, go to step 701;
Step 708: all convergence-level border routers in traversal networking, the convergence-level border router of current accessed is made as to object border router, suppose from convergence-level border router 1;
Step 709: travel through the access interface (AC) under current object border router, and the access interface of current accessed is made as to object access interface, suppose from access interface 1;
Step 710: all core layer border routers in traversal networking;
Step 711: automatically configure in a manner described target route on the core layer border router in networking;
Step 712: judge whether all to have configured target route on the core layer border router in networking; As no, go to step 710; In this way, go to step 713;
Step 713: judge that under this object border router, all access interfaces are all accessed, in this way, go to step 714; Otherwise, go to step 708;
Step 714: all convergence-level border routers in judgement networking are all accessed, in this way, finishes, otherwise, go to step 708.
As shown in Figure 8, this figure is depicted as a kind of schematic diagram of H-L3VPN networking, the L3VPN network that VPN3 is comprised of five border routers.The loop-back address of core layer border router 1, core layer border router 2, core layer border router 3, convergence-level border router 1, convergence-level border router 2 is respectively 1.1.1.1,2.2.2.2,3.3.3.3,4.4.4.4,5.5.5.5.Wherein core layer border router 1 has the access interface that an address is 10.10.1.1/24, core layer border router 2 has the access interface that an address is 10.10.2.1/24, it is 10.10.3.1/24 that core layer border router 3 has an address, core layer border router 4 has the access interface that an address is 10.10.4.1/24, and core layer border router 5 has the access interface that an address is 10.10.5.1/24.
According to above-mentioned flow process, static routing configuration result following (destination is destination address, and nexthop is down hop) after completing:
PE1:
(1)destination:10.10.2.0/24 nexthop:2.2.2.2
(2)destination:10.10.3.0/24 nexthop:3.3.3.3
(3)destination:10.10.4.0/24 nexthop:4.4.4.4
(4)destination:10.10.5.0/24 nexthop:5.5.5.5
PE2:
(1)destination:10.10.1.0/24 nexthop:1.1.1.1
(2)destination:10.10.3.0/24 nexthop:3.3.3.3
(3)destination:10.10.4.0/24 nexthop:4.4.4.4
(4)destination:10.10.5.0/24 nexthop:5.5.5.5
PE3:
(1)destination:10.10.1.0/24 nexthop:1.1.1.1
(2)destination:10.10.2.0/24 nexthop:2.2.2.2
(3)destination:10.10.4.0/24 nexthop:4.4.4.4
(4)destination:10.10.5.0/24 nexthop:5.5.5.5
PE4:
(1)destination:10.10.1.0/24 nexthop:1.1.1.1
(2)destination:10.10.1.0/24 nexthop:2.2.2.2
(3)destination:10.10.3.0/24 nexthop:3.3.3.3
PE5:
(1)destination:10.10.1.0/24 nexthop:1.1.1.1
(2)destination:10.10.1.0/24 nexthop:2.2.2.2
(3)destination:10.10.3.0/24 nexthop:3.3.3.3
Visible, the present invention can realize the static routing of automatic configuration L3VPN network side, but not adopts manual configuration, and be simple and easy to realize, can improve efficiency and the accuracy rate of configuration, particularly under large-scale network environment, the problem that simultaneously also can avoid configuration that manual configuration causes to omit.
Above content is in conjunction with concrete execution mode further description made for the present invention, can not assert that specific embodiment of the invention is confined to these explanations.For general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can also make some simple deduction or replace, all should be considered as belonging to protection scope of the present invention.

Claims (10)

1. the method that L3VPN network side route is set, is characterized in that, described method comprises:
Travel through the border router of current networking, using the border router of current accessed as object border router; And in current networking, obtain the to be established border router corresponding with described object border router;
Travel through the access interface of described object border router, using the access interface of current accessed as object access interface;
Corresponding described object access interface automatically generates target route on described respectively border router to be established.
2. the method that L3VPN network side route is set as claimed in claim 1, is characterized in that,
Describedly in current networking, obtain the to be established border router corresponding with described object border router and comprise:
Judge the type of current networking;
If current networking is full-mesh networking, other border routers in current networking be all described in border router to be established;
When current networking is full-mesh networking, corresponding described object access interface generates target route and is on described respectively border router to be established:
Corresponding described object access interface automatically generates target route on described respectively border router to be established, and the destination address of described target route is the described object access interface place network segment, and down hop is the static routing of described object border router.
3. the method that L3VPN network side route is set as claimed in claim 1, is characterized in that,
Describedly in current networking, obtain the to be established border router corresponding with described object border router and comprise:
Judge the type of current networking;
If current networking is the networking of quick heavy-route full-mesh, judge that described object border router is whether in main and standby relation, in this way, whether the network segment that judges the access interface of other border routers in described main and standby relation has identical with the network segment of described object access interface, if any, described object access interface is active and standby object access interface, in current networking every other non-current active and standby border router be described in border router to be established; Otherwise, other border routers in current networking be all described in border router to be established;
When current networking is quick heavy-route full-mesh networking, corresponding described object access interface automatically generates target route and is on described respectively border router to be established:
If described object access interface is active and standby object access interface, judge the active and standby attribute of described object border router; If described object border router is main border router, in current networking, on every other non-current active and standby border router, automatically generate primary target route and the second target reason address, the destination address of described primary target route is the described object access interface place network segment, and down hop is the static routing of described object border router; The destination address of described alternate target route is the described object access interface place network segment, and down hop is the static routing of the standby border router corresponding with described object border router;
If described object border router is standby border router, in current networking, on every other non-current active and standby border router, automatically generate primary target route and the second target reason address, the destination address of described primary target route is the described object access interface place network segment, and down hop is the static routing of described object border router; The destination address of described alternate target route is the described object access interface place network segment, and down hop is the static routing of the primary border router corresponding with described object border router;
If described object access interface is not active and standby object access interface,
On other border routers in current networking, automatically generate target route, the destination address of described target route is the described object access interface place network segment, and down hop is the static routing of described object border router.
4. the method that L3VPN network side route is set as claimed in claim 1, is characterized in that,
Describedly in current networking, obtain the to be established border router corresponding with described object border router and comprise:
Judge the type of current networking;
If current networking is stratification networking, judge that described object border router is core layer border router or convergence-level border router, core layer border router in this way, other core layer border routers in current networking be described in border router to be established; Convergence-level border router in this way, the core layer border router in current networking be described in border router to be established;
When current networking is stratification networking, corresponding described object access interface automatically generates target route and is on described respectively border router to be established:
When described object border router is core layer border router, on other core layer border routers in current networking, automatically generate target route, the destination address of described target route is the described object access interface place network segment, and down hop is the static routing of described object border router;
When described object border router is convergence-level border router, on core layer border router in current networking, automatically generate target route, the destination address of described target route is the described object access interface place network segment, and down hop is the static routing of described object border router.
5. the method that L3VPN network side route is set as described in claim 1-4 any one, is characterized in that, described method also comprises:
The described target route generating is formed to target route list.
6. the device that L3VPN network side route is set, is characterized in that, described method comprises:
Border router is selected module, for traveling through the border router of current networking, using the border router of current accessed as object border router; And in current networking, obtain the to be established border router corresponding with described object border router;
Access interface is selected module, for traveling through the access interface of described object border router, using the access interface of current accessed as object access interface;
Target route generation module automatically generates target route on described respectively border router to be established for the described object access interface of correspondence.
7. the device that L3VPN network side route is set as claimed in claim 6, is characterized in that,
Described border router selection module is obtained the to be established border router corresponding with described object border router and is comprised in current networking:
Judge the type of current networking;
If current networking is full-mesh networking, other border routers in current networking be all described in border router to be established;
Described target route generation module is when current networking is full-mesh networking, and corresponding described object access interface automatically generates target route and is on described respectively border router to be established:
Corresponding described object access interface automatically generates target route on described respectively border router to be established, and the destination address of described target route is the described object access interface place network segment, and down hop is the static routing of described object border router.
8. the device that L3VPN network side route is set as claimed in claim 6, is characterized in that,
Described border router selection module is obtained the to be established border router corresponding with described object border router and is comprised in current networking:
Judge the type of current networking;
If current networking is the networking of quick heavy-route full-mesh, judge that described object border router is whether in main and standby relation, in this way, whether the network segment that judges the access interface of other border routers in described main and standby relation has identical with the network segment of described object access interface, if any, described object access interface is active and standby object access interface, in current networking every other non-current active and standby border router be described in border router to be established; Otherwise, other border routers in current networking be all described in border router to be established;
Described target route generation module is when current networking is quick heavy-route full-mesh networking, and corresponding described object access interface automatically generates target route and is on described respectively border router to be established:
If described object access interface is active and standby object access interface, judge the active and standby attribute of described object border router; If described object border router is main border router, in current networking, on every other non-current active and standby border router, automatically generate primary target route and the second target reason address, the destination address of described primary target route is the described object access interface place network segment, and down hop is the static routing of described object border router; The destination address of described alternate target route is the described object access interface place network segment, and down hop is the static routing of the standby border router corresponding with described object border router;
If described object border router is standby border router, in current networking, on every other non-current active and standby border router, automatically generate primary target route and the second target reason address, the destination address of described primary target route is the described object access interface place network segment, and down hop is the static routing of described object border router; The destination address of described alternate target route is the described object access interface place network segment, and down hop is the static routing of the primary border router corresponding with described object border router;
If described object access interface is not active and standby object access interface,
On other border routers in current networking, automatically generate target route, the destination address of described target route is the described object access interface place network segment, and down hop is the static routing of described object border router.
9. the device that L3VPN network side route is set as claimed in claim 6, is characterized in that,
Described border router selection module is obtained the to be established border router corresponding with described object border router and is comprised in current networking:
Judge the type of current networking;
If current networking is stratification networking, judge that described object border router is core layer border router or convergence-level border router, core layer border router in this way, other core layer border routers in current networking be all described in border router to be established; Convergence-level border router in this way, the core layer border router in current networking be described in border router to be established;
Described target route generation module is when current networking is stratification networking, and corresponding described object access interface automatically generates target route and is on described respectively border router to be established:
When described object border router is core layer border router, on other core layer border routers in current networking, automatically generate target route, the destination address of described target route is the described object access interface place network segment, and down hop is the static routing of described object border router;
When described object border router is convergence-level border router, on core layer border router in current networking, automatically generate target route, the destination address of described target route is the described object access interface place network segment, and down hop is the static routing of described object border router.
10. the device that L3VPN network side route is set as described in claim 6-9 any one, is characterized in that, described device also comprises list generation module, and described list generation module is for forming target route list by the described target route generating.
CN201310117115.4A 2013-04-07 2013-04-07 The method and device of L3VPN network sides route is set Active CN104104531B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310117115.4A CN104104531B (en) 2013-04-07 2013-04-07 The method and device of L3VPN network sides route is set

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310117115.4A CN104104531B (en) 2013-04-07 2013-04-07 The method and device of L3VPN network sides route is set

Publications (2)

Publication Number Publication Date
CN104104531A true CN104104531A (en) 2014-10-15
CN104104531B CN104104531B (en) 2018-04-17

Family

ID=51672355

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310117115.4A Active CN104104531B (en) 2013-04-07 2013-04-07 The method and device of L3VPN network sides route is set

Country Status (1)

Country Link
CN (1) CN104104531B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016078281A1 (en) * 2014-11-19 2016-05-26 中兴通讯股份有限公司 Generation method for route in three-layer virtual private network and network management system
CN108601055A (en) * 2018-03-23 2018-09-28 烽火通信科技股份有限公司 The method and system of L3VPN are disposed in LTE mobile retransmission networks
WO2018223945A1 (en) * 2017-06-05 2018-12-13 中兴通讯股份有限公司 Method and device for publishing network route

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101321077A (en) * 2008-07-18 2008-12-10 华为技术有限公司 Reliable multicast method, provider edge upper layer device and system
CN102449964A (en) * 2011-07-22 2012-05-09 华为技术有限公司 Three-layer virtual exclusive network routing control method, apparatus and system
WO2013007158A1 (en) * 2011-07-12 2013-01-17 华为技术有限公司 Method for virtual private cloud to access network, network side device and data centre device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101321077A (en) * 2008-07-18 2008-12-10 华为技术有限公司 Reliable multicast method, provider edge upper layer device and system
WO2013007158A1 (en) * 2011-07-12 2013-01-17 华为技术有限公司 Method for virtual private cloud to access network, network side device and data centre device
CN102449964A (en) * 2011-07-22 2012-05-09 华为技术有限公司 Three-layer virtual exclusive network routing control method, apparatus and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016078281A1 (en) * 2014-11-19 2016-05-26 中兴通讯股份有限公司 Generation method for route in three-layer virtual private network and network management system
CN105681202A (en) * 2014-11-19 2016-06-15 中兴通讯股份有限公司 Method for generating route in layer-3 virtual private network and network management system
WO2018223945A1 (en) * 2017-06-05 2018-12-13 中兴通讯股份有限公司 Method and device for publishing network route
CN108601055A (en) * 2018-03-23 2018-09-28 烽火通信科技股份有限公司 The method and system of L3VPN are disposed in LTE mobile retransmission networks
CN108601055B (en) * 2018-03-23 2020-08-04 烽火通信科技股份有限公司 Method and system for deploying L3 VPN in L TE mobile backhaul network

Also Published As

Publication number Publication date
CN104104531B (en) 2018-04-17

Similar Documents

Publication Publication Date Title
CN103546374B (en) A kind of method and apparatus E-Packeted in edge double layer network
CN104253736B (en) Notice the method and PE equipment of the information of PE equipment
CN104184664B (en) Route forwarding table items generation method and device
CN102761493B (en) Multicast routing item updating method and device of multilink transparent internet
CN105991441B (en) The method and apparatus that route forwarding table is issued to BGP Route Selection
US11296997B2 (en) SDN-based VPN traffic scheduling method and SDN-based VPN traffic scheduling system
CN104144143B (en) Method and control device that network is set up
CN104104531A (en) Method and device for setting L3VPN network side route
CN103841026B (en) VPN route managing system and method of router IP protocol stack
CN1968178A (en) LSP establishing method
CN109039916A (en) Message forwarding method, device and storage medium
CN1870634A (en) Double-attach/multi-attach logical packet network method and supplier equipment
CN105915604A (en) Cloud server network system architecture
CN101304337A (en) Method and apparatus for generating access topology of service VPN
CN104038421A (en) Method and device for forwarding messages in VPN (virtual private network)
CN107919975A (en) A kind of service resource allocation method and device
CN102801618B (en) A kind of method and device determining three layer data paths in ethernet ring network
CN102291317B (en) A kind of retransmission method and device of virtual private network packet
CN101222408B (en) VLAN topological generating method and device
CN202353593U (en) Campus network structure
CN103532862B (en) Hierarchical virtual private LAN service network realizes the method and device of multicast
BR112014013267B1 (en) METHOD FOR FORMING A LAYER VIRTUAL PRIVATE NETWORK END-TO-END SERVICE, AND DEVICE FOR FORMING A LAYER VIRTUAL PRIVATE NETWORK END-TO-END SERVICE
CN107528700A (en) Cross-domain edge device, Hierarchical Virtual Private LAN Service network and its broadcast traffic processing method
Wu et al. Research on the application of cross-domain VPN technology based on MPLS BGP
CN103532848A (en) Virtual private local area network service message processing method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant