CN104980347B - A kind of method and device for establishing tunnel - Google Patents

A kind of method and device for establishing tunnel Download PDF

Info

Publication number
CN104980347B
CN104980347B CN201410136003.8A CN201410136003A CN104980347B CN 104980347 B CN104980347 B CN 104980347B CN 201410136003 A CN201410136003 A CN 201410136003A CN 104980347 B CN104980347 B CN 104980347B
Authority
CN
China
Prior art keywords
tunnel
label routing
label
traffic engineering
routing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410136003.8A
Other languages
Chinese (zh)
Other versions
CN104980347A (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 CN201410136003.8A priority Critical patent/CN104980347B/en
Publication of CN104980347A publication Critical patent/CN104980347A/en
Application granted granted Critical
Publication of CN104980347B publication Critical patent/CN104980347B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of method and devices for establishing tunnel, the described method includes: when the first edge equipment of first area is across needing to open a virtual private network business between at least one intermediate region and the second edge equipment of second area, receive the edge device of label routing corresponding with the vpn service, the constraint condition for establishing TE tunnel of traffic engineering that the label routing carries is obtained from the label routing, the traffic engineering tunnel is used for transmission the vpn service;The edge device for receiving the label routing establishes traffic engineering tunnel according to the Border Gateway Protocol label switched path BGP LSP that the constraint condition carried in the label routing is established by the label routing.Method and apparatus user disclosed by the invention only needs to configure the tunnel carrying demand of each business in business, and bearer network can establish the BGP LSP and traffic engineering tunnel of E2E automatically, simplify O&M operating procedure.

Description

A kind of method and device for establishing tunnel
Technical field
The present invention relates to technical field of communication network more particularly to a kind of method and devices for establishing tunnel.
Background technique
The appearance of various powerful mobile terminal devices, so that data service is increasingly becoming the main business of mobile network Type, while technology of eating dishes without rice or wine also continues to develop, bandwidth is also more and more wider, and there have been the growths that many big data quantities are applied for this: Music, video, game and social networks etc..The tremendous growth of data traffic of these application drives.Lead to when 2G/3G It is often used synchronous digital system (Synchronous Digital Hierarchy, SDH) carrying mobile service, but the frame of SDH Structure can not scale support and flow bandwidth growth demand.Mobile carrying could both meet flow increasing using IP and ether technology Long demand, while reducing the networking cost of operator.The whole network runs IP agreement (ALL IP) and has become the generally acknowledged trend of industry, In long term evolution (LTE, the Long Term Evolution) epoch, very big change is had occurred in wireless network architecture, evolution Packet-based core networks (Evolved Packet Core, EPC) have been put into very high position, and a domain EPC can manage many bases It stands, in this way the service provider side of base station side gateway (Cell Site Gateway, the CSG) equipment of connection base station and connection EPC Edge equipment (Provider Edge, PE) is just not necessarily interior in a region (Area) or autonomous system (AS), but base station and EPC Between need to establish S1 service connection, how bearer network preferably carries LTE S1 business, and industry is it is now recognized that seamless more associations Tag switching (Seamless Multiprotocol Label Switch, the Seamless MPLS) scheme of view is one more excellent The based Carrying Scheme of change.
Meanwhile with the sharp increase of mobile bearer network bandwidth and IPization carrying, many operators are in order to save networking Cost carries fixed service and mobile service using same IP network, this makes the business of IP bearer network also more next More complicated, type is more and more, and the access point of business also more and more flexibly, in this way also puts forward higher requirements IP bearer network. The based Carrying Scheme that industry is commonly approved at present is exactly Seamless MPLS scheme, and this scheme business and transmission tunnel layer decouple, Business only needs to be configured in access point, and O&M is fairly simple.But there are also following for current Seamless MPLS solution Some shortcomings:
The whole network is carried using Seamless MPLS solution, and user oriented provides service edge equipment (user Facing provider edge, UPE) between to carry there are many business, different business has different bandwidth and relevant Constraint demand, while operator wishes to make full use of the bandwidth of all links in network, at this moment service bearer just needs to select The tunnel traffic engineering (Traffic Engineer, TE) establishes the tunnel for having constrained path, can fully ensure that business in this way Bandwidth, if using these tunnels of manual configuration, it is also necessary to for each tunnel configuration protection scheme etc., guarantee the reliable of business Property, configuration O&M can be extremely complex.
In the prior art, if first edge equipment (UPE-1) and second edge equipment (UPE-2) is cross-domain establishes a variety of industry When business, it is described it is cross-domain in included region in the corresponding edge device in each region to be built according between UPE-1 and UPE-2 The corresponding Border Gateway Protocol label switched path of vertical business (Border gateway protocol Label Switched Path, BGP LSP) in each domain, traffic engineering tunnel is established in triggering, and after traffic engineering tunnel is successfully established, BGP LSP is iterated in traffic engineering tunnel;So Each business is iterated to again on BGP LSP afterwards.
But by the above-mentioned prior art, tunnel can be established automatically, but a tunnel can only be established according to BGP LSP, Then all business all use same tunnel to carry, so the tunnel establishing method that the prior art provides can not efficiently use chain The bandwidth on road, so that the waste of Internet resources can be caused to a certain extent.
Summary of the invention
The present invention provides a kind of method and device for establishing tunnel, and method and apparatus provided by the present invention solve existing skill The tunnel for having constrained path, the extremely complex problem of configuration O&M are established in art.
In a first aspect, the present invention provides a kind of method for establishing tunnel, which comprises
When first area first edge equipment across the second edge equipment of at least one intermediate region and second area it Between when needing to open a virtual private network business, receive the edge device of label routing corresponding with the vpn service, The constraint condition for establishing TE tunnel of traffic engineering that the label routing carries, the traffic engineering tunnel are obtained from the label routing It is used for transmission the vpn service;
It is the mark that the edge device of the label routing, which is received, according to the constraint condition carried in the label routing Label route established Border Gateway Protocol label switched path BGP LSP and establish traffic engineering tunnel.
With reference to first aspect, in the first possible implementation, when the edge device for receiving the label routing When for the second edge equipment, then the second edge equipment is determined also according to the service identification carried in the label routing The business transmitted required for the traffic engineering tunnel;Wherein, the second edge equipment and the first edge equipment pass through the industry Business mark uniquely indicates a specific business.
With reference to first aspect or the first possible implementation of first aspect, second of possible realization side In formula, the constraint condition includes: the bandwidth of the traffic engineering tunnel, priority, color, clearly routes and forbid one in path Or multiple combination.
With reference to first aspect or the first any into second of possible implementation of first aspect, In three kinds of possible implementations, the method also includes:
The edge device for receiving the label routing also obtains what the label routing carried from the label routing The dependability parameter of the traffic engineering tunnel is established, the dependability parameter includes BFD session parameter, packet loss statistical parameter, time delay system Whether meter parameter, continuity defects detection parameters establish backup tunnel parameter and whether backup tunnel can be Chong Die with main tunnel The combination of one or more of parameter.
With reference to first aspect or the first any into the third possible implementation of first aspect, In four kinds of possible implementations, the pact for establishing the traffic engineering tunnel that the label routing carries is obtained from the label routing Beam condition includes:
The pact for establishing traffic engineering tunnel that the label routing carries is obtained from the elementary path property set of the label routing Beam condition.
Second aspect, the present invention provide another method for establishing tunnel, which comprises
When first area first edge equipment across the second edge equipment of at least one intermediate region and second area it Between when needing to open a virtual private network business, the vpn service that first edge equipment is opened as needed generates corresponding mark Label routing;Wherein, the constraint condition for establishing TE tunnel of traffic engineering is carried in the label routing, the traffic engineering tunnel is used for transmission The vpn service;
The label routing is sent to edge device all in first area, by receiving the label routing The label routing for carrying constraint condition is forwarded to the second edge equipment by edge device, and receives institute by described The edge device for stating label routing is the label routing institute between the second edge equipment and the first edge equipment The Border Gateway Protocol label switched path BGP LSP of foundation establishes the traffic engineering tunnel.
In conjunction with second aspect, in the first possible implementation, the VPN industry that first edge equipment is opened as needed Business generates corresponding label routing
Binary corresponding with the vpn service for needing to open is generated according to the attribute for needing the vpn service opened Group, the binary group include the type of service and service identification of the vpn service for needing to open;
Determine that the binary group is not identical as the binary group for the vpn service opened, then generation is opened with the needs The corresponding label routing comprising constraint condition of vpn service.
The third aspect, the present invention also provides a kind of edge device for establishing tunnel, the edge device includes:
Constraint condition obtains module, for the first edge equipment when first area across at least one intermediate region and second When needing to open a virtual private network business between the second edge equipment in region, the vpn service opened with needs is received Corresponding label routing obtains the constraint for establishing TE tunnel of traffic engineering that the label routing carries from the label routing Condition, the traffic engineering tunnel are used for transmission the vpn service;
Module is established in tunnel, for being established according to the constraint condition carried in the label routing by the label routing Border Gateway Protocol label switched path BGP LSP establish traffic engineering tunnel.
In conjunction with the third aspect, in the first possible implementation, when the edge device is that the second edge is set When standby, the edge device further include:
Business determining module, required for determining the traffic engineering tunnel according to the service identification carried in the label routing The business of transmission;Wherein, the second edge equipment and the first edge equipment are uniquely indicated by the service identification One specific business.
It with reference to first aspect or any in the first possible implementation of first aspect, may at second Implementation in, the constraint condition obtains module and also further obtains from the constraint condition: the band of the traffic engineering tunnel Width, priority, color, the combination for one or more of clearly routing and forbidding path.
With reference to first aspect or the first any into second of possible implementation of first aspect, In three kinds of possible implementations, the edge device further include:
Dependability parameter obtains module, for being obtained described in the foundation that the label routing carries from the label routing The dependability parameter of traffic engineering tunnel, the dependability parameter include BFD session parameter, packet loss statistical parameter, delay statistics parameter, company Whether continuous property defects detection parameter establishes backup tunnel parameter and whether backup tunnel can be with one in main tunnel Overlapping parameters A or multiple combination.
With reference to first aspect or the first any into the third possible implementation of first aspect, In four kinds of possible implementations, the constraint condition obtains module and is also used to the elementary path property set from the label routing The middle constraint condition for establishing traffic engineering tunnel for obtaining the label routing and carrying.
Fourth aspect, the present invention provide a kind of edge device for establishing tunnel, and the edge device is the of first area One edge device, wherein when second edge equipment of the first edge equipment across at least one intermediate region and second area Between when needing to open a virtual private network business, the first edge equipment includes:
Label routing generation module, the vpn service for opening as needed generate corresponding label routing;Wherein, institute The constraint condition for carrying in label routing and establishing TE tunnel of traffic engineering is stated, the traffic engineering tunnel is used for transmission the vpn service;
Forwarding module, for sending the label routing to edge device all in first area, by receiving The label routing for carrying constraint condition is forwarded to the second edge equipment by the edge device of the label routing, and is led to The edge device for receiving the label routing is crossed, is between the second edge equipment and the first edge equipment The Border Gateway Protocol label switched path BGP LSP that the label routing is established establishes the traffic engineering tunnel.
With reference to first aspect, in the first possible implementation, label routing generation module is also used to according to The attribute for the vpn service for needing to open generates binary group corresponding with the vpn service for needing to open, and the binary group includes The type of service and service identification of the vpn service for needing to open;Determine the two of the binary group and the vpn service opened Tuple is not identical, then generates the label routing comprising constraint condition corresponding with the vpn service for needing to open.
One or two of above-mentioned technical proposal at least has the following technical effect that
The above method provided in an embodiment of the present invention can be carried and be established when establishing the traffic engineering tunnel of carrying different business The constraint condition of the corresponding traffic engineering tunnel of business, the constraint condition indicate the business to tunnel requirements, so receiving The edge device of the label routing can establish qualified tunnel according to the constraint condition.So real by invention The tunnel carrying demand that method user provided by example only needs to configure each business in business is applied, bearer network can be built automatically The BGP LSP and traffic engineering tunnel of vertical E2E, and bound with the business at both ends, O&M operating procedure is not only simplified, and can fill Get the link bandwidth of network.
Detailed description of the invention
Fig. 1 is a kind of flow chart for method for establishing tunnel that the embodiment of the present invention one provides;
Fig. 2 is that the applicable Seamless MPLS scenario tunnel deployment architecture of method provided by the embodiment of the present invention one shows It is intended to;
Fig. 3 is that the applicable Seamless MPLS scenario tunnel deployment architecture of method provided by the embodiment of the present invention two shows It is intended to;
Fig. 4 is a kind of flow chart for the method for establishing tunnel provided by Embodiment 2 of the present invention;
Fig. 5 is a kind of flow chart for method for establishing tunnel that the embodiment of the present invention three provides;
Fig. 6 is a kind of structural schematic diagram for edge device for establishing tunnel that the embodiment of the present invention three provides;
Fig. 7 is a kind of structural schematic diagram for edge device for establishing tunnel that the embodiment of the present invention four provides;
Fig. 8 is a kind of structural schematic diagram for edge device for establishing tunnel that the embodiment of the present invention five provides.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
In the prior art, when the first edge equipment of first area is across the second of at least one intermediate region and second area When opening a Virtual Private Network (Virtual Private Network, VPN) business between edge device, because of different business Tunnel can be had different needs, so all business are all carried in a traffic engineering tunnel and are not able to satisfy clearly in the prior art The demand of different business, so in order to solve this problem the embodiment of the present invention provides a kind of method for establishing tunnel, described The attribute that can according to need the tunnel of foundation in method establishes different tunnels, so that the tunnel established can more meet The demand of each business also can more effectively utilize the bandwidth resources in system.A kind of foundation provided by the embodiment of the present invention The method in tunnel, which comprises
When first area first edge equipment across the second edge equipment of at least one intermediate region and second area it Between when needing to open a virtual private network business, receive the edge device of label routing corresponding with the vpn service, The constraint condition for establishing TE tunnel of traffic engineering that the label routing carries, the traffic engineering tunnel are obtained from the label routing It is used for transmission the vpn service;
It is the mark that the edge device of the label routing, which is received, according to the constraint condition carried in the label routing Label route established Border Gateway Protocol label switched path BGP LSP and establish traffic engineering tunnel.
The above method provided in an embodiment of the present invention can be carried and be established when establishing the traffic engineering tunnel of carrying different business The constraint condition of the corresponding traffic engineering tunnel of business, the constraint condition indicate the business to tunnel requirements, so receiving The edge device of the label routing (or routing for BGP label) can be established qualified according to the constraint condition Tunnel.To establish the tunnel for being suitble to various businesses to require, reach the beneficial effect for rationally utilizing system bandwidth resource.
In order to become apparent from method provided by the detailed description embodiment of the present invention, below in conjunction with Figure of description to this hair Method provided by bright embodiment is further described in detail, and is specifically included:
Embodiment one
As shown in Figure 1, the embodiment of the present invention provides a kind of method for establishing tunnel, what method provided by the invention was applicable in The deployment of Seamless MPLS scenario tunnel can be network structure shown in Fig. 2, and the method specifically includes:
Step 101, when second side of the first edge equipment across at least one intermediate region and second area of first area When needing to open a virtual private network business between edge equipment, the side of label routing corresponding with the vpn service is received Edge equipment obtains the constraint condition for establishing TE tunnel of traffic engineering that the label routing carries, institute from the label routing It states traffic engineering tunnel and is used for transmission the vpn service;
The region is the network equipment of an independent network management subset, in particular to setting quantity and specific position Network's coverage area combine the region to be formed.Such as in network structure shown in Fig. 2, first service provider core network side Edge equipment (notework faceing provider edge, NPE identify NPE-1), second service provider core network side Network's coverage area that edge equipment (NPE-2) and the first user oriented provide service edge equipment (UPE-1), which combines, to be formed Region 1.Region 2 is made of NPE-1, NPE-2, NPE-3 and NPE-4, and the 3rd region is formed by NPE-3, NPE-4 and UPE-2.? The edge device being previously mentioned in the embodiment of the present invention refers to, while providing the equipment of service for two regions.Wherein, each area Domain suffers from the independent network topology database in the region and network topological diagram.For each region, network topology structure Outside region be it is sightless, equally, router in each zone is also unknowable to its remaining overseas network structure.
It is can establish between the two endpoints with manifold traffic engineering tunnel, " priority, clearly routes color, forbids The conditions such as path " can constrain the feature that the tunnel established and come out must have, by this constraint, each node device (industry It is engaged in each node being related to described in corresponding BGP LSP) path which will select meet constraint requirements when establishing traffic engineering tunnel, Automatically those undesirable paths are avoided.
So in embodiments of the present invention, since it is desired that different traffic engineering tunnels is established for different business, so described Constraint condition it may be noted that traffic engineering tunnel to be established parameters, the parameters specifically can be in embodiments of the present invention It include: the bandwidth of the traffic engineering tunnel, priority, color, the combination for one or more of clearly routing and forbidding path.
Step 102, the edge device of the label routing is received according to the constraint condition carried in the label routing The Border Gateway Protocol label switched path BGP LSP established by the label routing establishes traffic engineering tunnel.
Because the tunnel established is for bearer service, after traffic engineering tunnel is successfully established, it is also necessary to will be corresponding Business iterates in the traffic engineering tunnel of foundation, so method provided by the embodiment of the present invention further include:
When the edge device for receiving the label routing is second edge equipment the terminal of transmission (i.e. business), then institute State the industry that second edge equipment determines transmission required for the traffic engineering tunnel also according to the service identification carried in the label routing Business;Wherein, the second edge equipment and the first edge equipment by the service identification uniquely indicate one it is specific Business.
When disposing various businesses, in order to allow local (the i.e. described first edge equipment) and far-end PE (the i.e. described second edge Equipment) between can uniformly identify a certain business, can uniquely be indicated with the same service identification in embodiments of the present invention The same business, for example, UPE-1 and UPE-2 in Fig. 2.In embodiments of the present invention, with Virtual Leased Lines (Virtual Leased Line, VLL), it is end-to-end pseudo-line analog (Pseudo Wire Emulation Edge-to-Edge, PWE3), virtual Private local area network (Virtual Private LAN Service, VPLS) and Layer3 Virtual Private Network (Layer3Virtual Private Network, L3VPN) for several business, the service identification that each business uses can be as shown in table 1 below:
Table 1
Forwarding equivalence class (Forwarding Equivalence Class, FEC) mark, will mainly have identical characteristic Message imported into same LSP.
In embodiments of the present invention, in order to enable local and far-end PE can determine same business by a mark, this Ground is when sending VPN routing, it is necessary to service identification corresponding to the business for needing to establish is carried in BGP label routing. In order to which the BGP label routing for allowing the needs to establish can carry the service identification, the side provided by the embodiment of the present invention In method, the elementary path property set of the BGP label routing can be added to using the service identification attribute as an attribute In, specific implementation can be specific structure shown in table 2:
Table 2
In addition, the identical implementation based on above-mentioned service identification, in the embodiment of the present invention into BGP label routing The mode for carrying constraint condition can be the base for being added to the BGP label routing using the constraint condition as an attribute This path attribute is concentrated, and specific implementation can be specific structure shown in table 3:
Table 3
The mode of constraint condition is carried for BGP label shown in table 3, edge device is obtained from BGP label routing The mode for the constraint condition for establishing traffic engineering tunnel for taking BGP label routing to carry may is that
Edge device obtains building for BGP label routing carrying from the elementary path property set that the BGP label routes The constraint condition of vertical traffic engineering tunnel.
In addition, also needing to guarantee tunnel because establishing the traffic engineering tunnel other than needing to specify and establishing the constraint condition in tunnel Reliability, method provided by the embodiment of the present invention may further comprise:
The edge device also obtains the reliability for establishing traffic engineering tunnel of label routing carrying from the label routing Parameter, the dependability parameter include BFD session parameter, packet loss statistical parameter, delay statistics parameter, continuity defects detection ginseng Whether number establishes backup tunnel parameter and whether backup tunnel can be with the group of one or more of main tunnel Overlapping parameters It closes.
Embodiment two
For scheme provided by the more detailed description embodiment of the present invention, below in conjunction with specific network structure (Fig. 3 institute The network structure shown) the specific implementation process of the method for the present invention is described in detail, specific implementation includes (such as Fig. 4 institute Show):
It is illustrated in fig. 3 shown below, BGP label routing publication direction: the second user oriented provides service edge equipment (mark UPE- 2) → third service provider core network network edge device (NPE-3) → first service provider core network edge device (NPE-1) → first user oriented provides service edge equipment (UPE-1)
VPN routing publication: UPE-2 → UPE-1.
It is routed for VPN, Router Reflector (Route Reflector, RR) of the NPE as adjacent UPE, between NPE again The relationship of RR and Client each other, so VPN routing, which can be reflected from distal end UPE through multiple RR, reaches local UPE, it may be assumed that as follows In scene, the VPN routing of UPE-2 can reach UPE-1.The method that tunnel is established specifically includes:
Step 401, UPE-2 foundation issues to NPE-3 for the BGP LSP, UPE-2 of VPN1 and carries service identification attribute (Service Identifier Attribute) and outer layer tunnel constraint condition attribute (Outer Tunnel Constraint Attribute label routing);
Step 402, NPE-3 receives the label routing of UPE-2 publication, about according to the outer layer tunnel of label routing carrying The traffic engineering tunnel (TE3-1) of NPE-3 to UPE-2 is established in beam conditional attribute, driving;Label routing iteration tunnel on NPE-3 TE3-1;
Step 403, the BGP label route next jump is changed to NPE-3 by NPE-3, does not change original service identification attribute It is preceding to be sent to NPE-1 with outer layer tunnel constraint condition attribute;
Step 404, NPE-1 receives the label routing of NPE-3 publication, about according to the outer layer tunnel of label routing carrying The traffic engineering tunnel (TE2-1) of NPE-1 to NPE-3 is established in beam conditional attribute, driving;Label routing iteration tunnel on NPE-1 TE2-1;
Step 405, the next-hop that the BGP label routes is changed to NPE-1 by NPE-1, does not change original service identification category Property and outer layer tunnel constraint condition attribute, it is preceding to be sent to UPE-1;
Step 406, UPE-1 receives the label routing of NPE-1 publication, about according to the outer layer tunnel of label routing carrying The traffic engineering tunnel of UPE-1 to NPE-1: TE1-1 is established in beam conditional attribute, driving;
On UPE-1, which is known as by the E2E BGP LSP(for having been set up UPE-1 to UPE-2: BGP LSP1), from left to right successively driving establishes and iterates to TE1-1, TE2-1, TE3-1.
Step 407, UPE-1 receives the corresponding VPN route of the business VPN 1, and the VPN routing carries Service Identifier Attribute (service identification attribute), VPN route finds corresponding BGP according to the attribute on UPE-1 LSP1 simultaneously iterates to BGP LSP1.
In above-described embodiment, UPE-2) → UPE-1 is by edge device NPE-3 and NPE-1, in the process of specific implementation In, the edge device being multiplexed between adjacent area generally comprise it is multiple, so trans-regional may be selected to be also multiplicity, such as Fig. 3 Shown in structure, UPE-2) → UPE-1 can also pass through edge device second service provider core network edge device (mark ) and the 4th service provider core network network edge device (mark NPE-4) NPE-2.
The above method provided in an embodiment of the present invention can be carried and be established when establishing the traffic engineering tunnel of carrying different business The constraint condition of the corresponding traffic engineering tunnel of business, the constraint condition indicate the business to tunnel requirements, so receiving The edge device of the label routing can establish qualified tunnel according to the constraint condition.So real by invention The tunnel carrying demand that method user provided by example only needs to configure each business in business is applied, bearer network can be built automatically The BGP LSP and traffic engineering tunnel of vertical E2E, and bound with the business at both ends, O&M is not only simplified, and abundant can obtain network Link bandwidth.
Embodiment three
As shown in figure 5, establishing the origination node equipment of vpn service based on initiation, the embodiment of the present invention also provides other one The method that kind establishes tunnel, the method specifically include:
Step 501, when second side of the first edge equipment across at least one intermediate region and second area of first area When needing to open a virtual private network business between edge equipment, the vpn service that first edge equipment is opened as needed is generated Corresponding label routing;Wherein, the constraint condition for establishing TE tunnel of traffic engineering, the traffic engineering tunnel are carried in the label routing It is used for transmission the vpn service;
Step 502, the label routing is sent to edge device all in first area, by receiving the mark The label routing for carrying constraint condition is forwarded to the second edge equipment by the edge device for signing routing, and by described The edge device for receiving the label routing is the mark between the second edge equipment and the first edge equipment Label route established Border Gateway Protocol label switched path BGP LSP and establish the traffic engineering tunnel.
In embodiments of the present invention, since it is desired that different traffic engineering tunnels is established for different business, so on the first side Edge equipment needs the attribute for different business to establish the label routing for carrying various boundary conditions, and specific implementation can be;
Binary corresponding with the vpn service for needing to open is generated according to the attribute for needing the vpn service opened Group, the binary group include the type of service and service identification of the vpn service for needing to open;
Determine that the binary group is not identical as the binary group for the vpn service opened, then generation is opened with the needs The corresponding label routing comprising constraint condition of vpn service.
Because establishing the label routing in the embodiment, and each property parameters are added in the label routing Method be the same as example 1, so related content repeats no more.
Example IV
As shown in fig. 6, also corresponding provide of the embodiment of the present invention a kind of establishes tunnel according to the method that embodiment one provides Edge device 600, which includes:
Constraint condition obtain module 601, for when first area first edge equipment across at least one intermediate region with When needing to open a virtual private network business between the second edge equipment of second area, the VPN opened with needs is received The corresponding label routing of business, obtain that the label routing carries from the label routing establishes TE tunnel of traffic engineering Constraint condition, the traffic engineering tunnel are used for transmission the vpn service;
In embodiments of the present invention, the edge device for sending label routing can add the required constraint condition for establishing tunnel It is added in the elementary path property set of the label routing, so as the edge device for receiving the label routing, then
The constraint condition obtains module 601 and is also used to obtain the mark from the elementary path property set of the label routing The constraint condition for establishing traffic engineering tunnel that label routing carries.
Wherein, the constraint condition obtains module 601 and also further obtains from the constraint condition: the traffic engineering tunnel Bandwidth, priority, color, the combination for one or more of clearly routing and forbidding path.
Module 602 is established in tunnel, for being the label routing institute according to the constraint condition carried in the label routing The Border Gateway Protocol label switched path BGP LSP of foundation establishes traffic engineering tunnel.
In this embodiment, the edge device for receiving the label routing is the required terminal edge device for establishing tunnel (the i.e. described edge device is second edge equipment), then also need handle as the terminal edge device for receiving the label routing Established tunnel is corresponding with needing the business carried to carry out, so in this embodiment when the edge device sets for second edge When standby, the edge device further include:
Business determining module 603, for determining the traffic engineering tunnel institute according to the service identification carried in the label routing The business for needing to transmit;Wherein, the second edge equipment and the first edge equipment pass through the service identification uniquely Indicate a specific business.
In addition, it requires that the tunnel of foundation meets constraint condition to establish the tunnel for meeting the vpn service demand On the basis of, it is further noted that the dependability parameter of institute's built tunnel, then the edge device further include:
Dependability parameter obtains module 604, the foundation carried for obtaining the label routing from the label routing The dependability parameter of the traffic engineering tunnel, the dependability parameter include BFD session parameter, packet loss statistical parameter, delay statistics ginseng Whether number, continuity defects detection parameters establish backup tunnel parameter and whether backup tunnel can be with main tunnel Overlapping parameters One or more of combination.
Embodiment five
As shown in fig. 7, the method embodiment of the present invention provided according to embodiment two also corresponds to offer, another establishes tunnel The edge device 700 in road, the edge device are the first edge equipment of first area, wherein when the first edge equipment When across needing to open a virtual private network business between at least one intermediate region and the second edge equipment of second area, The first edge equipment includes:
Label routing generation module 701, the vpn service for opening as needed generate corresponding label routing;Wherein, The constraint condition for establishing TE tunnel of traffic engineering is carried in the label routing, the traffic engineering tunnel is used for transmission the vpn service;
Forwarding module 702 passes through reception for sending the label routing to edge device all in first area The label routing for carrying constraint condition is forwarded to the second edge equipment by the edge device to the label routing, and Through the edge device for receiving the label routing, between the second edge equipment and the first edge equipment The Border Gateway Protocol label switched path BGP LSP established by the label routing establishes the traffic engineering tunnel.
In embodiments of the present invention, in order to establish the tunnel for being directed to different business according to the characteristic of different business, so Edge device provided by the embodiment of the present invention to each traffic assignments label routing is generated according to the characteristic of each vpn service , so in embodiments of the present invention:
Label routing generation module 701 is also used to be generated and the need according to the attribute of the vpn service for needing to open The corresponding binary group of the vpn service to be opened, the binary group include the type of service and industry of the vpn service for needing to open Business mark;Determine that the binary group is not identical as the binary group for the vpn service opened, then generation is opened with the needs The corresponding label routing comprising constraint condition of vpn service.
Embodiment five
In addition, as shown in figure 8, the present invention also provides another kinds to establish the edge device 80 in tunnel, it is aforementioned each for executing The method for establishing tunnel in a embodiment, including at least one processor 801(such as CPU), at least one network interface 802 Or other communication interfaces, memory 803 and at least one communication bus 804, it is logical for realizing the connection between these devices Letter.Processor 801 is for executing the executable module stored in memory 803, such as computer program.Memory 803 may Include high-speed random access memory (RAM:Random Access Memory), it is also possible to further include non-labile memory (non-volatile memory), for example, at least a magnetic disk storage.It can be by least one network interface 802( Line is wireless) realize communication connection between the system gateway and at least one other network element, internet, wide area can be used Net, local network, Metropolitan Area Network (MAN) etc..
In some embodiments, memory stores program 8031, and program can be executed by processor, this program bag It includes: when the first edge equipment of first area is across open-minded between at least one intermediate region and the second edge equipment of second area When one virtual private network business, label routing corresponding with the vpn service is received, is obtained from the label routing The constraint condition for establishing TE tunnel of traffic engineering that the label routing carries, the traffic engineering tunnel are used for transmission the vpn service; The Border Gateway Protocol tag changeable path established according to the constraint condition carried in the label routing by the label routing Diameter BGP LSP establishes traffic engineering tunnel.
Said one or multiple technical solutions in the embodiment of the present application, at least have the following technical effect that:
The above method provided in an embodiment of the present invention can be carried and be established when establishing the traffic engineering tunnel of carrying different business The constraint condition of the corresponding traffic engineering tunnel of business, the constraint condition indicate the business to tunnel requirements, so receiving The edge device of the label routing can establish qualified tunnel according to the constraint condition.So real by invention The tunnel carrying demand that method user provided by example only needs to configure each business in business is applied, bearer network can be built automatically The BGP LSP and traffic engineering tunnel of vertical E2E, and bound with the business at both ends, O&M is not only simplified, and abundant can obtain network Link bandwidth.
Method of the present invention is not limited to embodiment described in specific embodiment, those skilled in the art according to Technical solution of the present invention obtains other embodiments, also belongs to the scope of the technical innovation of the present invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (14)

1. a kind of method for establishing tunnel, which is characterized in that the described method includes:
When the first edge equipment of first area between at least one intermediate region and the second edge equipment of second area across needing When opening a virtual private network business, Border Gateway Protocol (BGP) label routing corresponding with the vpn service is received Edge device, the constraint item for establishing TE tunnel of traffic engineering that the label routing carries is obtained from the label routing Part, the traffic engineering tunnel are used for transmission the vpn service, and the constraint condition is requirement of the vpn service to traffic engineering tunnel;
It is the label road that the edge device of the label routing, which is received, according to the constraint condition carried in the label routing Traffic engineering tunnel is established by the Border Gateway Protocol label switched path BGP LSP established.
2. the method as described in claim 1, which is characterized in that when the edge device for receiving the label routing is described the When two edge devices, then the second edge equipment determines the TE tunnel also according to the service identification carried in the label routing The business transmitted required for road;Wherein, the second edge equipment and the first edge equipment pass through the service identification only One ground indicates a specific business.
3. method according to claim 1 or 2, which is characterized in that the constraint condition include: the traffic engineering tunnel bandwidth, Priority, color, the combination for one or more of clearly routing and forbidding path.
4. method as claimed in claim 2 or claim 3, which is characterized in that the method also includes:
The edge device for receiving the label routing also obtains the foundation that the label routing carries from the label routing The dependability parameter of the traffic engineering tunnel, the dependability parameter include BFD session parameter, packet loss statistical parameter, delay statistics ginseng Whether number, continuity defects detection parameters establish backup tunnel parameter and whether backup tunnel can be with main tunnel Overlapping parameters One or more of combination.
5. the method as described in Claims 1 to 4 is any, which is characterized in that obtain the label road from the label routing Include: by the constraint condition for establishing the traffic engineering tunnel carried
The constraint item for establishing traffic engineering tunnel that the label routing carries is obtained from the elementary path property set of the label routing Part.
6. a kind of method for establishing tunnel, which is characterized in that the described method includes:
When the first edge equipment of first area between at least one intermediate region and the second edge equipment of second area across needing When opening a virtual private network business, the vpn service that first edge equipment is opened as needed generates corresponding boundary net Close the routing of agreement BGP label;Wherein, the constraint condition for establishing TE tunnel of traffic engineering, the TE are carried in the label routing Tunnel is used for transmission the vpn service, and the constraint condition is requirement of the vpn service to traffic engineering tunnel;
The label routing is sent to edge device all in first area, by the edge for receiving the label routing The label routing for carrying constraint condition is forwarded to the second edge equipment by equipment, and receives the mark by described The edge device for signing routing, is established between the second edge equipment and the first edge equipment by the label routing Border Gateway Protocol label switched path BGP LSP establish the traffic engineering tunnel.
7. method as claimed in claim 6, which is characterized in that the vpn service that first edge equipment is opened as needed generates Corresponding label routing includes:
Binary group corresponding with the vpn service for needing to open, institute are generated according to the attribute for needing the vpn service opened State the type of service and service identification that binary group includes the vpn service for needing to open;
It determines that the binary group is not identical as the binary group for the vpn service opened, then generates and the VPN industry for needing to open It is engaged in the corresponding label routing comprising constraint condition.
8. a kind of edge device for establishing tunnel, which is characterized in that the edge device includes:
Constraint condition obtains module, for the first edge equipment when first area across at least one intermediate region and second area Second edge equipment between when needing to open a virtual private network business, receive corresponding with the vpn service for needing to open Border Gateway Protocol (BGP) label routing, obtain that the label routing carries from the label routing establishes traffic engineering The constraint condition of traffic engineering tunnel, the traffic engineering tunnel are used for transmission the vpn service, and the constraint condition is the vpn service to TE The requirement in tunnel;
Module is established in tunnel, the side for being established according to the constraint condition carried in the label routing by the label routing Boundary gateway protocol label switched path BGP LSP establishes traffic engineering tunnel.
9. edge device as claimed in claim 8, which is characterized in that when the edge device is the second edge equipment When, the edge device further include:
Business determining module, for transmission required for determining the traffic engineering tunnel according to the service identification carried in the label routing Business;Wherein, the second edge equipment and the first edge equipment uniquely indicate one by the service identification Specific business.
10. edge device as claimed in claim 8 or 9, which is characterized in that the constraint condition obtain module also further from Obtained in the constraint condition: the bandwidth of the traffic engineering tunnel, priority, color, clearly route and forbid one in path or Multiple combinations.
11. the edge device as described in claim 9 or 10, which is characterized in that the edge device further include:
Dependability parameter obtains module, establishes the TE tunnel for obtain that the label routing carries from the label routing The dependability parameter in road, the dependability parameter include BFD session parameter, packet loss statistical parameter, delay statistics parameter, continuity Defects detection parameter, whether establish backup tunnel parameter and backup tunnel whether can with one in main tunnel Overlapping parameters or Multiple combinations.
12. the edge device as described in claim 8~11 is any, which is characterized in that the constraint condition obtains module and also uses The constraint condition for establishing traffic engineering tunnel that the label routing carries is obtained in the elementary path property set from the label routing.
13. a kind of edge device for establishing tunnel, which is characterized in that the edge device is that the first edge of first area is set It is standby, wherein when the first edge equipment between at least one intermediate region and the second edge equipment of second area across needing When opening a virtual private network business, the first edge equipment includes:
Label routing generation module, the vpn service for opening as needed generate corresponding Border Gateway Protocol (BGP) label road By;Wherein, the constraint condition for establishing TE tunnel of traffic engineering is carried in the label routing, the traffic engineering tunnel is used for transmission described Vpn service, the constraint condition are requirement of the vpn service to traffic engineering tunnel;
Forwarding module, it is described by receiving for sending the label routing to edge device all in first area The label routing for carrying constraint condition is forwarded to the second edge equipment by the edge device of label routing, and passes through institute The edge device for receiving the label routing is stated, is described between the second edge equipment and the first edge equipment The Border Gateway Protocol label switched path BGP LSP that label routing is established establishes the traffic engineering tunnel.
14. edge device as claimed in claim 13, which is characterized in that label routing generation module is also used to according to the need The attribute of the vpn service to be opened generates binary group corresponding with the vpn service for needing to open, and the binary group includes institute State the type of service and service identification for needing the vpn service opened;Determine the binary of the binary group with the vpn service opened Group is not identical, then generates the label routing comprising constraint condition corresponding with the vpn service for needing to open.
CN201410136003.8A 2014-04-04 2014-04-04 A kind of method and device for establishing tunnel Active CN104980347B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410136003.8A CN104980347B (en) 2014-04-04 2014-04-04 A kind of method and device for establishing tunnel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410136003.8A CN104980347B (en) 2014-04-04 2014-04-04 A kind of method and device for establishing tunnel

Publications (2)

Publication Number Publication Date
CN104980347A CN104980347A (en) 2015-10-14
CN104980347B true CN104980347B (en) 2019-02-12

Family

ID=54276476

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410136003.8A Active CN104980347B (en) 2014-04-04 2014-04-04 A kind of method and device for establishing tunnel

Country Status (1)

Country Link
CN (1) CN104980347B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106330526A (en) * 2015-07-03 2017-01-11 中兴通讯股份有限公司 Method and device for adjusting business bandwidth
US9992105B2 (en) * 2016-03-30 2018-06-05 Juniper Networks, Inc. Label switched path reporting
CN111147370B (en) * 2016-07-08 2021-08-20 华为技术有限公司 Method and control device for determining forwarding path
CN107959611B (en) * 2016-10-17 2021-03-23 华为技术有限公司 Method, device and system for forwarding message
CN109104367B (en) * 2017-06-21 2021-11-30 华为技术有限公司 Method, network equipment and system for establishing tunnel
CN108023830A (en) * 2017-11-21 2018-05-11 新华三技术有限公司 flow transmission method and device
US10826722B2 (en) 2017-12-18 2020-11-03 Futurewei Technologies, Inc. Controller based service policy mapping to establish different tunnels for different applications
CN108924054B (en) * 2018-06-27 2019-04-16 中国人民解放军国防科技大学 Multi-priority cross-domain resource reservation integrated service guarantee method
CN109639600B (en) * 2019-01-25 2022-07-01 新华三技术有限公司 Tunnel speed limiting method and device
CN112566183B (en) * 2020-11-20 2023-04-21 北京直真科技股份有限公司 SDN controller capable of automatically opening 5G transmission circuit
CN114915518A (en) * 2021-02-07 2022-08-16 华为技术有限公司 Message transmission method, system and equipment
CN113542395B (en) * 2021-07-13 2022-07-12 武汉绿色网络信息服务有限责任公司 Message processing method and message processing system
CN113965910B (en) * 2021-11-17 2024-03-15 交控科技股份有限公司 Redundant networking architecture for vehicle-ground communication

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101702665A (en) * 2009-11-13 2010-05-05 中兴通讯股份有限公司 Method of Ethernet service accessing bearing tunnel, operator edge device and system
CN102377630A (en) * 2011-10-13 2012-03-14 华为技术有限公司 Traffic engineering tunnel-based virtual private network implementation method and traffic engineering tunnel-based virtual private network implementation system
CN102833173A (en) * 2012-09-14 2012-12-19 中国联合网络通信集团有限公司 Network device and tunnel adaptation method
CN103475557A (en) * 2013-09-05 2013-12-25 华为技术有限公司 Tunnel setup method and router

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8934867B2 (en) * 2012-07-10 2015-01-13 Symbol Technologies, Inc. On-demand access tunnel between service provider network and wireless communication network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101702665A (en) * 2009-11-13 2010-05-05 中兴通讯股份有限公司 Method of Ethernet service accessing bearing tunnel, operator edge device and system
CN102377630A (en) * 2011-10-13 2012-03-14 华为技术有限公司 Traffic engineering tunnel-based virtual private network implementation method and traffic engineering tunnel-based virtual private network implementation system
CN102833173A (en) * 2012-09-14 2012-12-19 中国联合网络通信集团有限公司 Network device and tunnel adaptation method
CN103475557A (en) * 2013-09-05 2013-12-25 华为技术有限公司 Tunnel setup method and router

Also Published As

Publication number Publication date
CN104980347A (en) 2015-10-14

Similar Documents

Publication Publication Date Title
CN104980347B (en) A kind of method and device for establishing tunnel
CN100473069C (en) Layer-2 VPN equipment supporting pseudo line tag reflection and networking method
CN111385206B (en) Message forwarding method, network system, related equipment and computer storage medium
CN103229468B (en) Packet-switched resources distribution method and equipment
CN100461755C (en) Data message transmitting method and node equipment based on MPLS TE tunnel
CN101141330B (en) Method, system and equipment to establish BFD detection for LSP tunnel
CN105871722A (en) Tag structure and tag message forwarding method and device
WO2015184852A1 (en) Sr information obtainment method and sr network establishment method
US9755957B2 (en) Pseudowire control channel for signaling events
CN104065576B (en) Label switching method in dynamic MPLS satellite network
CN104767680B (en) It route the method and apparatus being switched fast
KR101699643B1 (en) Oam method and device based on multi-protocol label switching
Mehraban et al. Deploy multi protocol label switching (mpls) using virtual routing and forwarding (vrf)
Bensalah et al. Scalability evaluation of VOIP over various MPLS tunneling under OPNET modeler
US20130308617A1 (en) Continuous Virtual Private Local Area Network (LAN) Service (VPLS) Over Wireline and Wireless Networks
CN102487351A (en) Establishment method of end-to-end multicast label switched path, apparatus thereof and system
Akinsipe et al. Comparison of IP, MPLS and MPLS RSVP-TE Networks using OPNET
CN102013990A (en) End to end notification method and system for multi-segment pseudowire fault
Xie et al. An improved ring protection method in MPLS-TP networks
CN102170710A (en) Method and system for realizing leaf node discovery in label switched path
US9893930B2 (en) Method and device for processing data forwarding
Bongale et al. Analysis of link utilization in MPLS enabled network using OPNET IT Guru
CN103560869B (en) A kind of VPLS link switching, auxiliary switching device and method
CN104980362B (en) A kind of service tunnel method for building up and equipment
WO2023207227A1 (en) Router advertisement message processing method, apparatus, storage medium and electronic apparatus

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