CN105991385A - Method and network device for establishing BGP LSP tunnel - Google Patents
Method and network device for establishing BGP LSP tunnel Download PDFInfo
- Publication number
- CN105991385A CN105991385A CN201510040793.4A CN201510040793A CN105991385A CN 105991385 A CN105991385 A CN 105991385A CN 201510040793 A CN201510040793 A CN 201510040793A CN 105991385 A CN105991385 A CN 105991385A
- Authority
- CN
- China
- Prior art keywords
- bgp
- equipment
- tunnel
- network equipment
- traffic engineering
- 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
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides a method and a network device for establishing a BGP LSP tunnel. The method comprises the steps of receiving an indication to establish a BGP LSP tunnel by the network device; acquiring a transmission path from the indication to establish the BGP LSP tunnel, wherein the transmission path is arranged from an ingress device directly to an egress device or from the ingress device to the egress device via an intermediate device; determining an upstream device directly adjacent to the network device on the transmission path; and sending an extended first BGP protocol message to the upstream device, wherein the extended first BGP protocol message contains a BGP label router and a first extended attribute issued by the network device. The first extended attribute indicates the transmission path. According to the technical scheme of the invention, the BGP LSP tunnel is established based on the transmission path. Therefore, the on-demand establishment of the BGP LSP tunnel is realized. Meanwhile, the problem that the BGP LSP tunnel may be wasted can be solved.
Description
Technical field
The present invention relates to communication technical field, especially relate to a kind of method setting up BGPLSP tunnel and
The network equipment.
Background technology
Multiprotocol label switching (English: Multi-Protocol Label Switch, it is called for short: MPLS) be
A kind of retransmission technique based on label, is now widely used in transfer of virtual private network (English: Virtual
PrivateNetwork, is called for short: the VPN) data such as message.In order in an mpls network across autonomous (English
Literary composition: Autonomous System, is called for short: AS) territory transmission data, it usually needs in MPLS network
Set up Border Gateway Protocol (Border Gateway Protocol, BGP) label between the network equipment to hand over
Change path (Label Switch Path, LSP) tunnel.
Current a kind of conventional mode setting up BGP lsp tunnel is, a certain equipment is by the way of broadcast
Issue BGP routing tag to all of neighbor device of this equipment, thus set up out by all of neighbour of this equipment
Occupy equipment respectively to a plurality of BGP lsp tunnel of this equipment.As a example by the MPLS network shown in Fig. 1, limit
Boundary router J can issue BGP routing tag respectively to border router H and border router I, thus
Set up out by border router H and border router I respectively to two BGP LSP of border router J
Tunnel.Set up mode by this at present, BGP can be set up between all devices of MPLS network
Lsp tunnel, after all setting up BGP lsp tunnel between all devices of MPLS network, when needs transmit
The BGP lsp tunnel that during data, recycling is set up carries out data transmission.
But set up mode for above-mentioned, owing to setting up out by all of neighbor device of a certain equipment the most extremely
The a plurality of BGP lsp tunnel of this equipment, and the data transmission that a portion BGP lsp tunnel is later
During likely can't be used, cause the waste of BGP lsp tunnel.And owing to setting up BGP LSP
Need to spend certain system resource during tunnel, such as take Installed System Memory etc., therefore BGP lsp tunnel
Waste actually can cause the waste of system resource.Still as a example by the MPLS network shown in Fig. 1, pass through
The above-mentioned mode setting up BGP lsp tunnel, sets up out by border router H and border router I respectively
To two BGP lsp tunnels of border router J, but in data transmission procedure, border router F
Transfer data to border router J possibly through border router H, and data have not flowed through limit
Boundary router I, hence set up out by the BGP lsp tunnel of border router I to border router J also
Just be not used so that create system resource that this BGP lsp tunnel spent too by
Waste.
Summary of the invention
Present invention solves the technical problem that a kind of method being to provide the BGP of foundation lsp tunnel and network set
Standby, to solve the problem that BGP lsp tunnel is likely wasted, thus save system resource.
To this end, the technical scheme that the present invention solves technical problem is:
First aspect, the invention provides a kind of method setting up BGP lsp tunnel, including:
The network equipment receives the instruction setting up Border Gateway Protocol (BGP) label switching path LSP tunnel;
The described network equipment obtains transmission path, described biography from the described instruction setting up BGP lsp tunnel
Defeated path from access device directly into outlet device, or from described access device through intermediate equipment to institute
State the transmission path of outlet device;
The described network equipment determines on the transmit path, with the upstream of described network equipment direct neighbor
Equipment;
The described network equipment sends the first bgp protocol message of extension, described extension to described upstream equipment
The first bgp protocol message include that BGP label route that the described network equipment issues and the first extension belong to
Property, described first extended attribute indicates described transmission path;
Wherein, the described network equipment is described intermediate equipment or described outlet device.
In the first possible implementation of first aspect, the described network equipment is described intermediate equipment;
The described network equipment receives described BGP lsp tunnel of setting up and indicates, including:
Described intermediate equipment receives on the transmit path, with the downstream of described intermediate equipment direct neighbor
Second bgp protocol message of the extension that equipment sends, the second bgp protocol message of described extension includes institute
Stating BGP label route and the second extended attribute that upstream device is issued, described second extended attribute indicates
Described transmission path.
In conjunction with the first possible implementation of first aspect or first aspect, in the of first aspect
In two kinds of possible implementations, the described network equipment is described intermediate equipment;Described method also includes:
After described intermediate equipment receives the described instruction setting up BGP lsp tunnel, set up described intermediate equipment
TE tunnel of traffic engineering to described upstream device.
In conjunction with the implementation that the second of first aspect is possible, in the third possible reality of first aspect
In existing mode, the second bgp protocol message of described extension also includes the 3rd extended attribute, the described 3rd
What extended attribute indicated traffic engineering tunnel sets up attribute;
Described method also includes:
Described intermediate equipment obtains the foundation of described traffic engineering tunnel from the second bgp protocol message of described extension
Attribute;
Described intermediate equipment sets up the traffic engineering tunnel of described intermediate equipment extremely described upstream device, including:
Described intermediate equipment is based on described traffic engineering tunnel sets up attribute, sets up described intermediate equipment under the most described
The traffic engineering tunnel of trip equipment.
In conjunction with the third possible implementation of first aspect, in the 4th kind of possible reality of first aspect
In existing mode, the attribute of setting up of described traffic engineering tunnel includes: the bandwidth constraint condition of traffic engineering tunnel and/or reliable
Property parameter.
In conjunction with the second of first aspect to the 4th kind of any one possible implementation, in first aspect
In 5th kind of possible implementation, set up described intermediate equipment to described downstream in described intermediate equipment and set
Before standby traffic engineering tunnel, also include:
Described intermediate equipment determines that described intermediate equipment and described upstream device have same Field Number.
In the 6th kind of possible implementation of first aspect, the described network equipment is described outlet device,
Described method also includes:
Described outlet device obtains the virtual private network label routing information of business datum, and by described
VPN label routing iinformation sends to described access device, and described VPN label routing iinformation includes VPN user
Information and VPN label, described VPN user profile is used for indicating the described access device will be on described transmission road
The end-to-end BGP lsp tunnel set up on footpath is associated with described VPN label.
In conjunction with first aspect, first aspect the first to the 6th kind of any one possible implementation,
In 7th kind of possible implementation of first aspect, set up BGP LSP at the described network equipment from described
Before the instruction in tunnel obtains transmission path, also include:
The described network equipment is determined and be there is described transmission path;
Described method also includes:
The described network equipment is determined and be there is not described transmission path, to each neighbours of the described network equipment
Equipment issues BGP label route.
Second aspect, the invention provides a kind of method setting up BGP lsp tunnel, including:
The network equipment receives on the transmit path, sends with the upstream device of described network equipment direct neighbor
The Border Gateway Protocol (BGP) protocol massages of extension, the bgp protocol message of described extension include described under
BGP label route and the first extended attribute that trip equipment is issued, described first extended attribute indicates described
Transmission path, described transmission path is directly into outlet device from access device, or from described access device
Transmission path through intermediate equipment to described outlet device;
Wherein, the described network equipment is described access device.
In the first possible implementation of second aspect, also include:
After the described network equipment receives the bgp protocol message of described extension, set up the described network equipment to institute
State the TE tunnel of traffic engineering of upstream device.
In conjunction with the first possible implementation of second aspect, the reality that the second in second aspect is possible
In existing mode, the bgp protocol message of described extension also includes the second extended attribute, described second extension
What attribute indicated traffic engineering tunnel sets up attribute;
Described method also includes:
The described network equipment obtains the foundation of described traffic engineering tunnel from the bgp protocol message of described extension and belongs to
Property;
The described network equipment sets up the traffic engineering tunnel of the described network equipment extremely described upstream device, including:
The described network equipment is based on described traffic engineering tunnel sets up attribute, sets up the described network equipment under the most described
The traffic engineering tunnel of trip equipment.
In conjunction with the implementation that the second of second aspect is possible, in the third possible reality of second aspect
In existing mode, the attribute of setting up of described traffic engineering tunnel includes: bandwidth constraint condition and/or dependability parameter.
In conjunction with the first implementation that any one is possible to the third of second aspect, in second aspect
In 4th kind of possible implementation, set up the described network equipment to described downstream at the described network equipment and set
Before standby traffic engineering tunnel, also include:
The described network equipment determines that the described network equipment and described upstream device have same Field Number.
In conjunction with second aspect, second aspect the first to the 4th kind of any one possible implementation,
In 5th kind of possible implementation of second aspect, also include:
The described network equipment receives the virtual private network label of the business datum that described outlet device sends
Routing iinformation, described VPN label routing iinformation includes VPN user profile and VPN label;
The end set up on the transmit path, based on described VPN user profile, is arrived by the described network equipment
End BGP label switching path lsp tunnel is associated with described VPN label.
In conjunction with the 5th kind of possible implementation of second aspect, in the 6th kind of possible reality of second aspect
In existing mode, described method also includes:
The described network equipment obtains described business datum;
The described network equipment is by described business datum and described VPN label, by the transmit path
The end-to-end BGP lsp tunnel set up is transmitted.
The third aspect, the invention provides a kind of network equipment, including:
Receive unit, for receiving the finger setting up Border Gateway Protocol (BGP) label switching path LSP tunnel
Show;
Processing unit, for obtaining transmission path from the described instruction setting up BGP lsp tunnel, determines
On the transmit path, with the upstream equipment of described network equipment direct neighbor, described transmission path is
From access device directly into outlet device, or from described access device through intermediate equipment to described outlet
The transmission path of equipment;
Transmitting element, for sending the first bgp protocol message of extension, described expansion to described upstream equipment
First bgp protocol message of exhibition includes that the BGP label route and first that the described network equipment is issued extends
Attribute, described first extended attribute indicates described transmission path;
Wherein, the described network equipment is described intermediate equipment or described outlet device.
In the first possible implementation of the third aspect, the described network equipment is described intermediate equipment;
Described reception unit specifically for receive on the transmit path, phase direct with described intermediate equipment
Second bgp protocol message of the extension that adjacent upstream device sends, the second bgp protocol report of described extension
Literary composition includes that the BGP label that described upstream device is issued route and the second extended attribute, and described second extension belongs to
Property indicates described transmission path.
In conjunction with the first possible implementation of the third aspect or the third aspect, in the of the third aspect
In two kinds of possible implementations, the described network equipment is described intermediate equipment;
Described processing unit is additionally operable to, and described reception unit receives the described instruction setting up BGP lsp tunnel
After, described processing unit sets up the TE tunnel of traffic engineering of described intermediate equipment extremely described upstream device.
In conjunction with the implementation that the second of the third aspect is possible, in the third possible reality of the third aspect
In existing mode, the second bgp protocol message of described extension also includes the 3rd extended attribute, the described 3rd
What extended attribute indicated traffic engineering tunnel sets up attribute;
Described processing unit is additionally operable to, and obtains described TE tunnel from the second bgp protocol message of described extension
Road set up attribute;
When setting up the traffic engineering tunnel of described intermediate equipment extremely described upstream device, described processing unit is specifically used
Set up attribute in based on described traffic engineering tunnel, set up the TE tunnel of described intermediate equipment extremely described upstream device
Road.
In conjunction with the third possible implementation of the third aspect, in the 4th kind of possible reality of the third aspect
In existing mode, the attribute of setting up of described traffic engineering tunnel includes: the bandwidth constraint condition of traffic engineering tunnel and/or reliable
Property parameter.
In conjunction with the second of the third aspect to the 4th kind of any one possible implementation, in the third aspect
In 5th kind of possible implementation, described processing unit is additionally operable to, and is setting up described intermediate equipment to institute
Before stating the traffic engineering tunnel of upstream device, determine that described intermediate equipment and described upstream device have same territory
Numbering.
In the 6th kind of possible implementation of the third aspect, the described network equipment is described outlet device,
Described processing unit is additionally operable to, and obtains the virtual private network label routing information of business datum;
Described transmitting element is additionally operable to, and sends described VPN label routing iinformation to described access device,
Described VPN label routing iinformation includes VPN user profile and VPN label, and described VPN user profile is used
In indicating described access device by the end-to-end BGP lsp tunnel set up on the transmit path with described
VPN label is associated.
In conjunction with the third aspect, the third aspect the first to the 6th kind of any one possible implementation,
In 7th kind of possible implementation of the third aspect, described processing unit is additionally operable to, from described foundation
Before the instruction of BGP lsp tunnel obtains transmission path, determine and there is described transmission path;
Described transmitting element is additionally operable to, and described processing unit is determined and be there is not described transmission path, described
Transmitting element issues BGP label route to each neighbor device of the described network equipment.
Fourth aspect, the invention provides a kind of network equipment, including:
Receive unit, for receiving on the transmit path, set with the downstream of described network equipment direct neighbor
The Border Gateway Protocol (BGP) protocol massages of the extension that preparation is sent;The bgp protocol message of described extension includes
BGP label route and the first extended attribute that described upstream device is issued, described first extended attribute instruction
Going out described transmission path, described transmission path is directly into outlet device from access device, or from described enter
Jaws equipment is through the transmission path of intermediate equipment to described outlet device;
Wherein, the described network equipment is described access device.
In the first possible implementation of fourth aspect, the described network equipment also includes: process single
Unit;
Described processing unit is additionally operable to, after described reception unit receives the bgp protocol message of described extension,
Described processing unit sets up the TE tunnel of traffic engineering of the described network equipment extremely described upstream device.
In conjunction with the first possible implementation of fourth aspect, the reality that the second in fourth aspect is possible
In existing mode, the bgp protocol message of described extension also includes the second extended attribute, described second extension
What attribute indicated traffic engineering tunnel sets up attribute;
Described processing unit is additionally operable to, and obtains described traffic engineering tunnel from the bgp protocol message of described extension
Set up attribute;
When setting up the traffic engineering tunnel of the described network equipment extremely described upstream device, described processing unit is specifically used
Set up attribute in based on described traffic engineering tunnel, set up the TE tunnel of the described network equipment extremely described upstream device
Road.
In conjunction with the implementation that the second of fourth aspect is possible, in the third possible reality of fourth aspect
In existing mode, the attribute of setting up of described traffic engineering tunnel includes: bandwidth constraint condition and/or dependability parameter.
In conjunction with the first implementation that any one is possible to the third of fourth aspect, in fourth aspect
In 4th kind of possible implementation, described processing unit is additionally operable to, and is setting up the described network equipment to institute
Before stating the traffic engineering tunnel of upstream device, determine that the described network equipment and described upstream device have same territory
Numbering.
In conjunction with fourth aspect, fourth aspect the first to the 4th kind of any one possible implementation,
In 5th kind of possible implementation of fourth aspect, described reception unit, it is additionally operable to receive described outlet
The virtual private network label routing information of the business datum that equipment sends, described VPN label route letter
Breath includes VPN user profile and VPN label;
The described network equipment also includes: processing unit, and described processing unit is for based on described VPN user
Information, by the end-to-end BGP label switching path lsp tunnel set up on the transmit path with described
VPN label is associated.
In conjunction with the 5th kind of possible implementation of fourth aspect, in the 6th kind of possible reality of fourth aspect
In existing mode, the described network equipment also includes: processing unit, and described processing unit is additionally operable to, and obtains institute
State business datum, by described business datum and described VPN label, by setting up on the transmit path
End-to-end BGP lsp tunnel be transmitted.
By technique scheme, in the present invention, the network equipment sets up BGP LSP receiving
During the instruction in tunnel, it is no longer to issue BGP label route to all neighbor devices of the described network equipment,
Set up out and there is a possibility that the BGP lsp tunnel taken less than, but from the described finger setting up BGP lsp tunnel
Show middle acquisition from access device directly into outlet device, or from described access device through intermediate equipment to
The transmission path of described outlet device, on the transmit path, with described network equipment direct neighbor
Upstream equipment sends the first bgp protocol message of extension, and this message includes what the described network equipment was issued
BGP label route, thus has been created that the BGP lsp tunnel of the described upstream equipment extremely described network equipment.
The visible present invention is according to described transmission path, and sets up the BGP lsp tunnel of assigned direction, thus real
Show and on-demand set up BGP lsp tunnel, solved the problem that BGP lsp tunnel is likely wasted, from
And saved system resource.
Accompanying drawing explanation
Fig. 1 is a kind of possible network topology of MPLS network;
The schematic flow sheet of a kind of embodiment of the method setting up BGP lsp tunnel that Fig. 2 provides for the present invention;
Fig. 3 is a kind of implementation setting up BGP lsp tunnel in the embodiment shown in Fig. 2;
The flow process signal of the another kind of embodiment of the method setting up BGP lsp tunnel that Fig. 4 provides for the present invention
Figure;
A kind of structural representation of the device embodiment of the network equipment that Fig. 5 provides for the present invention;
The structural representation of the another kind of device embodiment of the network equipment that Fig. 6 provides for the present invention;
The structural representation of the another kind of device embodiment of the network equipment that Fig. 7 provides for the present invention;
The structural representation of the another kind of device embodiment of the network equipment that Fig. 8 provides for the present invention.
Detailed description of the invention
Understand the embodiment of the present invention in order to clearer, below as a example by the network topology shown in Fig. 1, be situated between
The process setting up BGP lsp tunnel that continues and the process utilizing the BGP lsp tunnel set up to carry out data transmission.
MPLS network shown in Fig. 1 includes AS territory 1, territory 3, AS territory 2 and AS, wherein, AS territory 1
Including border router A, border router B and border router C, AS territory 2 include border router D,
Border router E, border router F and border router G, AS territory 3 includes border router H, limit
Boundary router I and border router J.
The direction direction of stream (i.e. control) and BGP lsp tunnel itself is set up due to BGP lsp tunnel
Direction (i.e. the direction of data stream) contrary, therefore set up one from border router A to limit when needs
During the end-to-end BGP lsp tunnel of boundary router J, it is usually and is initiated to set up tunnel by border router J,
Based on controlling to forward in the network separated, it is also possible to controlled border router J by control equipment and set up tunnel
Road.
Process of specifically setting up is: after described border router J begins setting up tunnel, border router J meeting
To all neighbours of described border router J, the most described border router H and described border router I
Issue BGP label route respectively, thus set up out by described border router H and described border router
I is respectively to two BGP lsp tunnels of described border router J.When described border router H and institute
State border router I receive described border router J issue BGP label route after, can respectively to
Respective all neighbours issue BGP label route, set up out the BGP lsp tunnel of correspondence.Each border
Router constantly repeats said process, until described border router B and described border router C is to institute
State border router A and issue BGP label route, set up out from described border router A respectively to described
Border router B and the BGP lsp tunnel of described border router C, thus finally set up out by described
The end-to-end BGP lsp tunnel of border router A to described border router J.Wherein may be appreciated
It is, all neighbor devices of a certain equipment to refer to except issuing BGP label routing device to this equipment
Outside all neighbor devices.
When having set up out the end-to-end BGP LSP from described border router A to described border router J
Behind tunnel, when needs transmit data from described border router A to described border router J, permissible
Utilize the end-to-end BGP lsp tunnel transmission data established.
It should be noted that the direction of BGP lsp tunnel itself, transmit number with described BGP lsp tunnel
According to direction consistent and in opposite direction with setting up of described BGP lsp tunnel.The most in FIG,
BGP route is issued to border router H, i.e. by described border router J to institute by border router J
State border router H and set up described BGP lsp tunnel, the described BGP lsp tunnel finally set up out
Direction is that the most described border router H can from described border router H to described border router J
To utilize this BGP lsp tunnel to transmit data to described border router J.
Set up mode by this at present, BGP LSP can be set up between all devices of MPLS network
Tunnel, after all setting up BGP lsp tunnel between all devices of MPLS network, when needs transmit data
Time recycling set up BGP lsp tunnel carry out data transmission.
But set up mode for above-mentioned, owing to setting up out by all of neighbor device of a certain equipment the most extremely
The a plurality of BGP lsp tunnel of this equipment, and the data transmission that a portion BGP lsp tunnel is later
During likely can't be used, cause the waste of BGP lsp tunnel.And owing to setting up BGP LSP
Need to spend certain system resource during tunnel, such as take Installed System Memory etc., therefore BGP lsp tunnel
Waste actually can cause the waste of system resource.Still as a example by the MPLS network shown in Fig. 1, pass through
The above-mentioned mode setting up BGP lsp tunnel, sets up out by described border router H and described border routing
Two BGP lsp tunnels of device I extremely described border router J respectively, but in data transmission procedure,
Described border router F has transferred data to described border road possibly through described border router H
By device J, and data do not flow through described border router I, hence set up out by described border routing
The BGP lsp tunnel of device I to described border router J is the most just not used, so that create this
The system resource that bar BGP lsp tunnel is spent is wasted too.
And in embodiments of the present invention, it is provided that a kind of method setting up BGP lsp tunnel and the network equipment,
To solve the problem that BGP lsp tunnel is likely wasted, thus save system resource.
Introduce the embodiment of the present invention in order to clearer, first BGP label route is briefly described.
BGP label route refers to carry the BGP route of tag mapping information, according to RFC3107,
The regulation of the standards such as RFC4760, BGP label route is carried at the multiprotocol network layer of bgp protocol message
In field up to information (Multiprotocol Reachable NLRI, i.e. MP_REACH_NLRI), wherein
The field of MP_REACH_NLRI typically carries down hop and Network Layer Reachable Information (Network
Layer Reachable Information, NLRI) etc., NLRI carries label, prefix etc..BGP
Protocol massages typically also includes BGP elementary path property set, this property set include Origin attribute,
AS_Path attribute etc..
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out
Clearly and completely describe, it is clear that described embodiment is only a part of embodiment of the present invention, and
It is not all, of embodiment.Based on the embodiment in the present invention, those skilled in the art are not making wound
The every other embodiment obtained under the property made work premise, broadly falls into the scope of protection of the invention.
Term " first " in description and claims of this specification and above-mentioned accompanying drawing, " second ", "
Three " " the 4th " etc. is for distinguishing similar object, without being used for describing specific order or successively time
Sequence.Should be appreciated that the data of so use can be exchanged in the appropriate case, in order to enforcement described herein
Example can be implemented with the order in addition to the content except here illustrating or describe.Additionally, term " includes "
" have " and their any deformation, it is intended that cover non-exclusive comprising, such as, comprise
The process of series of steps or unit, method, system, product or equipment are not necessarily limited to clearly to list
Those steps or unit, but can include the most clearly listing or for these processes, method,
Product or intrinsic other step of equipment or unit.
Refer to Fig. 2, embodiments provide a kind of embodiment of the method setting up BGP lsp tunnel.
The described method of the present embodiment includes:
Step 201: the network equipment receives the instruction setting up BGP lsp tunnel.
In the embodiment of the present invention, when needing to set up a BGP LSP from other equipment to the described network equipment
During tunnel, the described network equipment can receive the described instruction setting up BGP lsp tunnel.Wherein said build
The instruction of vertical BGP lsp tunnel can be to be sent by control equipment or raw in described network equipments configuration
Become, it is also possible to be to be sent by the neighbor device of the described network equipment.
Step 202: the described network equipment obtains transmission path from the described instruction setting up BGP lsp tunnel.
In embodiments of the present invention, described transmission path is directly into outlet device from access device, or from
Described access device is through the transmission path of intermediate equipment to described outlet device.Such as, when there being business number
According to needs when the first equipment sends to the second equipment, can be by manual type or by controlling equipment
The modes such as calculating, determine one from described first equipment to the end-to-end path of described second equipment, will
This end-to-end path is as described transmission path, and is made by the instruction of the described BGP of foundation lsp tunnel
Obtain the described network equipment and get described transmission path.
It is illustrated as a example by the MPLS network shown in Fig. 3, it is assumed that need from border router A to border
When router J transmits business datum, can be determined according to the topology of MPLS network by described control equipment
Article one, end-to-end path, the most described transmission path includes successively: border router A, border router B,
Border router D, border router F, border router H and border router J.When described transmission road
After footpath determines, need to set up a specific BGP lsp tunnel according to described transmission path.Specifically building
During vertical BGP lsp tunnel, described control equipment can send to described border router J and include described biography
The instruction setting up BGP lsp tunnel in defeated path, described border router J is to described border router H
When issuing BGP label route, by extension bgp protocol, described transmission path can be sent to described limit
Boundary router H.
In embodiments of the present invention, described control equipment can be network manager, SDN controller or
The equipment such as the server of installation application specific software.
Step 203: the described network equipment determines on the transmit path, phase direct with the described network equipment
Adjacent upstream equipment.
In embodiments of the present invention, the described network equipment is receiving the described finger setting up BGP lsp tunnel
Show, BGP label route can't be issued to all neighbor devices of the described network equipment, but determine
The purpose equipment specified, the most on the transmit path, sets with the upstream of described network equipment direct neighbor
Standby, and the described network equipment is only to the described purpose equipment specified issue BGP label route, thus real
Now set up BGP lsp tunnel according to described transmission path.Wherein, described direct neighbor refer in described biography
Direct neighbor on defeated path.
Still it is illustrated as a example by the MPLS network shown in Fig. 3, it is assumed that described transmission path includes successively:
Border router A, border router B, border router D, border router F, border router H
With border router J.Described control equipment can send to described border router J and set up BGP LSP tunnel
The instruction in road, after described border router J receives described instruction, no longer uses side of the prior art
Formula, i.e. issues BGP label route to border router H and border router J, but determines described
With the upstream equipment of border router J direct neighbor on transmission path, i.e. border router H, thus follow-up
Only need to issue BGP label route to described border router H.It is achieved thereby that according to described transmission path,
Set up out from described border router H to the BGP lsp tunnel of described border router J.Other borders
Router sets up BGP lsp tunnel successively also according to similar fashion, finally sets up according to described transmission path
Go out an end-to-end BGP lsp tunnel from described border router A to described border router J.
It should be noted that in embodiments of the present invention, upstream and downstream refers to data transfer direction
Upstream and downstream.The most in figure 3, owing to border router J is by issuing BGP to border router H
Label routing, establishes by the BGP lsp tunnel of border router H to border router J, and utilizing should
BGP lsp tunnel can be by data from border router H transmission to border router J, i.e. transmission side data
To being described border router for border router H to border router J, the most described border router H
The upstream equipment of J, described border router J is the upstream device of described border router H.
In embodiments of the present invention, the described network equipment is described intermediate equipment or described outlet device,
Wherein said intermediate equipment and described outlet device refer to the intermediate equipment in described transmission path and outlet sets
Standby.It should be noted that similar with upstream and downstream, outlet and the entrance of the embodiment of the present invention refer to
The outlet of data transfer direction and entrance.Assume in figure 3, set up out on the transmit path from
The end-to-end BGP lsp tunnel of border router A to border router J, therefore data transfer direction is
Also from border router A to border router J, therefore, described border router A is described transmission path
Access device, border router J is the outlet device in described transmission path, remaining border router
For the intermediate equipment on described transmission path.
204: the described network equipment sends the first bgp protocol message of extension to described upstream equipment, described
First bgp protocol message of extension includes that the BGP label route and first that the described network equipment is issued expands
Exhibition attribute, described first extended attribute indicates described transmission path.
When the described network equipment is determined on described transmission path, with the institute of described network equipment direct neighbor
After stating upstream equipment, by issuing BGP routing tag to described upstream equipment, i.e. it is capable of setting up out
The BGP lsp tunnel of the described upstream equipment extremely described network equipment.Wherein issuing to described upstream equipment
During BGP label route, need bgp protocol is extended thus carry described transmission path, so that
Described upstream equipment can obtain described transmission path.
Wherein, generally comprise due to BGP label route: prefix, down hop and label.Wherein prefix
It is usually IP address or the IP address prefix of the outlet device of end-to-end BGP lsp tunnel, namely
Initiate to set up IP address or the IP address prefix of the equipment of described end-to-end BGP lsp tunnel, next
Jumping the IP address for issuing the equipment that this BGP label route, label is to the route indicated by described prefix
The label of distribution.Therefore, in the BGP label route that the network equipment described in this step is issued, prefix is institute
Stating IP address or the IP address prefix of the outlet device in transmission path, down hop is the described network equipment
IP address, label is the route indicated by the IP address to described outlet device or IP address prefix
The label of distribution.
By technique scheme, in embodiments of the present invention, the described network equipment is receiving
When stating the instruction setting up BGP lsp tunnel, it is no longer to issue to all neighbor devices of the described network equipment
BGP label route, and sets up out and there is a possibility that the BGP lsp tunnel taken less than, but sets up BGP from described
The instruction of lsp tunnel obtains from access device directly into outlet device, or passes through from described access device
The transmission path of intermediate equipment extremely described outlet device, on the transmit path, with the described network equipment
The upstream equipment of direct neighbor sends the first bgp protocol message of extension, and this message includes described network
The BGP label route that equipment is issued, thus it has been created that the BGP of the described upstream equipment extremely described network equipment
Lsp tunnel, it is seen that the embodiment of the present invention is actually according to described transmission path, and sets up assigned direction
BGP lsp tunnel, sets up BGPLSP tunnel it is achieved thereby that on-demand, to realize the BGP in on-demand foundation
Transmit business datum on lsp tunnel, solve the problem that BGP lsp tunnel is likely wasted, thus save
About system resource.Wherein said transmission path can be to transmit the transmission that described business datum is determined
Path, so that the described BGP lsp tunnel set up out is for transmitting described business datum.
Optionally, the described network equipment is when obtaining described transmission path, it is also possible to the most first determines and is
No there is described transmission path, if it is, the flow process of the embodiment of the present invention can be continued, if it does not,
Then illustrating that the described network equipment can not get described transmission path, the most described network equipment may not prop up
Holding the bgp protocol of extension, the most described network equipment can be still according to existing mode broadcast distribution BGP
Label routing.When implementing, before the step 102 of the present embodiment, it is also possible to including: described net
Network equipment is determined and be there is described transmission path;The described method of the present embodiment also includes: described network sets
There is not described transmission path in standby determining, issues BGP mark to each neighbor device of the described network equipment
Sign route.
In embodiments of the present invention, the described network equipment to described upstream equipment issue BGP label route time,
Need bgp protocol is extended thus carry described transmission path, when implementing, can pass through
The code of bgp protocol is modified, a newly-increased bgp attribute in described first bgp protocol message,
I.e. first extended attribute, described first extended attribute indicates described transmission path.Wherein, described first
Extended attribute specifically can add in BGP elementary path property set.
The most exemplary implementation introducing a kind of described first extended attribute.
Described first extended attribute newly-increased in described first bgp protocol message is specifically as follows BGP end and arrives
End LSP node listing attribute (BGP E2E LSP Node List Attribute).Wherein, described BGP
The encapsulation format of E2E LSP Node List Attribute can be as shown in table 1.
Table 1
Primary nodal point attribute |
Secondary nodal point attribute |
…… |
Last nodal community |
Described primary nodal point attribute in described table 1, described secondary nodal point attribute ..., described finally
One nodal community refers to the nodal community that in described transmission path, each network equipment is corresponding.The most every
One nodal community can be provided with corresponding definition, such as table 2 and gives a kind of exemplary explanation.
Table 2
Address-Family Identifier |
Reserved bit |
Subaddressing race identifies |
The length of follow-up field |
Local address |
Target base address |
In described table 2, local address refers to the address of the network equipment corresponding to described table 2, mesh
Mark neighbor address refers to the network equipment corresponding to described table 2, direct neighbor on the transmit path
The address of upstream equipment.Visible by Tables 1 and 2, can indicate that on described transmission path, each
The upstream equipment of individual node.
In embodiments of the present invention, the described network equipment can be described transmission path intermediate equipment or
Outlet device.It is described in detail separately below.
One, the described network equipment is the outlet device in described transmission path.
The described instruction setting up BGP lsp tunnel that described outlet device receives, specifically can be set by control
Preparation is sent, and includes described transmission path in the wherein said BGP of foundation lsp tunnel.Such as, with Fig. 3
As a example by, when transmitting to border router J from border router A when there being business datum to need, described control
According to the topology of MPLS network, equipment can determine that an end-to-end path, the most described transmission path depend on
Secondary include: border router A, border router B, border router D, border router F, border
Router H and border router J.Described control equipment sends to described border router J and includes described biography
The instruction setting up BGP lsp tunnel in defeated path.It should be noted that the embodiment of the present invention is in described biography
Set up BGP lsp tunnel on defeated path and mainly control plane, and on the BGP lsp tunnel built up
Transmission data are then at Forwarding plane.
After described outlet device receives the described instruction setting up BGP lsp tunnel, can be to described transmission path
On, the first bgp protocol message with the upstream equipment of described outlet device direct neighbor sends extension, is somebody's turn to do
Message includes that the BGP label that described outlet device is issued route and the first extended attribute, thus sets up out
The BGP lsp tunnel of described upstream equipment extremely described outlet device.The BGP that wherein said outlet device is issued
In label routing, prefix is IP address or the IP address prefix of described outlet device, and down hop is institute
Stating the IP address of outlet device, label is the IP address to described outlet device or IP address prefix institute
The label of the route assignment of instruction.Wherein said first extended attribute indicates described transmission path, is used for
The upstream equipment making described outlet device can the first bgp protocol Receive message institute based on described extension
State transmission path.
Optionally, described outlet device can also obtain the VPN label routing iinformation of business datum, and will
Described VPN label routing iinformation is sent to described access device by modes such as bgp protocols.Wherein, institute
Stating VPN label routing iinformation to include: VPN label and VPN user profile, described VPN user profile is used for
Indicate described access device by the end-to-end BGPLSP tunnel set up on the transmit path and described VPN
Label is associated, such as, if described VPN is two layers of (Layer 2, i.e. L2) VPN, the most described VPN
User profile can include access link (Attachment Circuit, i.e. AC) mark (Identifier,
I.e. ID);If described VPN is three layers of (Layer 3, i.e. L3) VPN, the most described VPN user profile
Route target (Route Target, i.e. RT) can be included.In embodiments of the present invention, described end arrives
End BGP lsp tunnel be associated with described VPN label, refer to described end-to-end BGP lsp tunnel and
Described VPN label has corresponding relation, so that described access device can utilize described end-to-end BGP
Lsp tunnel, transmits the business datum that described VPN label is corresponding.The described one being associated is achieved in that,
Described access device preserves the corresponding relation in described end-to-end BGPLSP tunnel and described VPN label.
Such as in Fig. 3, border router A receives the BGP label road that border router B issues
By: after 1.1.1.1,5.5.5.5, L5, preserve the label L5 in this BGP label route and described VPN label
Corresponding relation, i.e. achieve described end-to-end BGPLSP tunnel and be associated with described VPN label.
Wherein, described VPN label is used for identifying user service data, can include virtual process identifications (English
Literary composition: Virtual Network Identifier, be called for short: VNI), Virtual Private Network routing forwarding mark
(Virtual Routing Forwarding Identifier is called for short: VRF) label etc..Due to
MPLS network is currently and sets up BGPLSP tunnel in a broadcast manner, therefore when transmitting data, in order to
Making data arrive purpose equipment, each intermediate equipment is required for using complicated policy definition to go out active and standby
Path, the most easily makes mistakes but also O&M is the most relatively difficult.And not only in described biography in the embodiment of the present invention
Establish an end-to-end BGP lsp tunnel on defeated path, and by this end-to-end BGP lsp tunnel with
The VPN label of business datum is associated, so that described business datum is by this end-to-end BGP LSP
Tunnel is transmitted, it is not necessary to define active-standby path in each intermediate equipment, not only realize simple but also
O&M is also relatively easy to.
It should be noted that owing in embodiments of the present invention, described outlet device is to described transmission road
On footpath, when issuing BGP label route with the upstream equipment of described outlet device direct neighbor, in order to will be by
Described transmission path is also sent along with described BGP label route, needs to be extended bgp protocol,
Angle from described intermediate equipment is described in detail below.
Two, the described network equipment is the intermediate equipment in described transmission path.
The described instruction setting up BGP lsp tunnel that described intermediate equipment receives, the most described transmission road
Second bgp protocol message of the extension sent with the upstream device of described intermediate equipment direct neighbor on footpath.
Second bgp protocol message of wherein said extension include BGP label route that described upstream device issues and
Second extended attribute, described second extended attribute indicates described transmission path.
It is to say, the second bgp protocol message that the embodiment of the present invention is by described extension, described downstream
Equipment can indicate described biography by described second extended attribute while issuing BGP label route
Defeated path.The most described intermediate equipment is receiving the 2nd BGP of the described extension that described upstream device sends
After protocol massages, can further determine that whether carrying BGP E2E LSP Node List in this message belongs to
Property, if there being this attribute, the nodal community of the address finding local address to be described intermediate equipment, according to
The target base address of this nodal community, it is thus achieved that the address of the upstream equipment of described intermediate equipment, by
Described upstream equipment issues BGP label route, thus sets up out described upstream equipment to described intermediate equipment
BGP lsp tunnel.Wherein, for the implementation of described second extended attribute, the present invention is referred to
Described in embodiment, the related content of the first extended attribute, repeats no more here.
The BGP label route that described intermediate equipment is issued is described below.
Described intermediate equipment issue BGP label route in, prefix be described outlet device IP address or
Person's IP address prefix, down hop is the IP address of described intermediate equipment, and label is to described outlet device
IP address or IP address prefix indicated by the label of route assignment.The most in figure 3, described
Border router H receives the BGP label route that described border router J issues: 1.1.1.1,
1.1.1.1, L1, down hop therein is revised as the IP address 2.2.2.2 of described border router H,
And redistribute label L2, thus get the BGP label route 1.1.1.1 that described intermediate equipment is issued,
2.2.2.2, L2.By this BGP label route is issued to described border router F, thus set up out
The BGP lsp tunnel of described border router F to described border router H.The most described border routing
Device H also preserves the IP address 1.1.1.1 of described border router J and described border router H's
Corresponding relation, and described label L1 and the corresponding relation of described label L2, for forwarding described industry
Use during business data.
In embodiments of the present invention, each intermediate equipment in described transmission path, could set up out
On described transmission path, with the BGP LSP of the upstream equipment of this intermediate equipment direct neighbor to this intermediate equipment
Tunnel, add described outlet device set up described transmission path on described outlet device direct neighbor
Upstream equipment to the BGP lsp tunnel of described outlet device, set up out the most on the transmit path
Article one, end-to-end BGP lsp tunnel.
It should be noted that in order to realize transmitting data in same territory, except setting up BGP LSP tunnel
Outside road, (English: Traffic Engineer is called for short: TE) typically to also need to set up traffic engineering
(English: Label Distribution Protocol is called for short: LDP) for tunnel or tag distribution protocol
Lsp tunnel.The most same territory is generally referred to as same AS territory.And setting up LDP lsp tunnel at present
During with traffic engineering tunnel, it is all before setting up BGPLSP tunnel, in territory, has the most established LDP LSP
Tunnel and traffic engineering tunnel.And in embodiments of the present invention, additionally provide a kind of mode setting up traffic engineering tunnel,
While now setting up BGP lsp tunnel in fact, set up traffic engineering tunnel.Wherein, LDP lsp tunnel refers to
It it is the lsp tunnel utilizing LDP transmission label to generate.
Specifically, after described intermediate equipment receives the described instruction setting up BGP lsp tunnel, set up described
The traffic engineering tunnel of intermediate equipment extremely described upstream device.Such as shown in Fig. 3, described intermediate equipment is receiving
After second bgp protocol message of described extension, send path request (RSVP to described upstream device hop-by-hop
PATH MSG), after described upstream device receives described RSVP PATH MSG, to described intermediate equipment
Hop-by-hop sends path and retains request (RSVP RESV MSG), and described intermediate equipment receives described RSVP RESV
MSG, represents that described traffic engineering tunnel is successfully established.In the visible embodiment of the present invention, when described intermediate equipment connects
After receiving the second bgp protocol message of described extension, just begin setting up described traffic engineering tunnel.Further, described
Intermediate equipment can also send described extension to described upstream equipment after determining and setting up described traffic engineering tunnel
The first protocol massages.
Wherein, the second bgp protocol message of described extension can indicate that the described traffic engineering tunnel of foundation
Set up attribute.Specifically, the second bgp protocol message of described extension also includes the 3rd extended attribute,
What described 3rd extended attribute indicated traffic engineering tunnel sets up attribute;The described method of the present embodiment also includes:
Described intermediate equipment obtains the foundation of described traffic engineering tunnel from the second bgp protocol message of described extension and belongs to
Property;Described intermediate equipment sets up the traffic engineering tunnel of described intermediate equipment extremely described upstream device, may include that
Described intermediate equipment is based on described traffic engineering tunnel sets up attribute, sets up described intermediate equipment to described downstream and sets
Standby traffic engineering tunnel.Wherein, described 3rd extended attribute specifically can add in BGP elementary path property set
Add.
The most exemplary implementation introducing a kind of described 3rd extended attribute.
Described 3rd extended attribute newly-increased in described second bgp protocol message is specifically as follows outer layer tunnel
Constraints attribute (Outer Tunnel Constraint Attribute).Wherein, described Outer
Tunnel Constraint Attribute specifically can have multiple implementation, such as table 3 to give one
Plant exemplary explanation.
Table 3
Bandwidth |
Dependability parameter |
From table 3 it can be seen that the attribute of setting up of described traffic engineering tunnel may include that the bandwidth of traffic engineering tunnel about
Bundle condition and/or dependability parameter.
Wherein, described intermediate equipment set up described intermediate equipment to described upstream device traffic engineering tunnel it
Before, it is also possible to including: it is same that described intermediate equipment determines that described intermediate equipment and described upstream device have
One Field Number.When the most described intermediate equipment and described upstream device have same Field Number, just set up described
Traffic engineering tunnel, and when both do not have same Field Number, then without setting up described traffic engineering tunnel.Wherein determine and be
No have same Field Number, and can be determined by BGP label route is Internal BGP (i.e. IBGP)
Route-type or the realization of External BGP EBGP route-type, specifically, described intermediate equipment
After receiving the BGP label route that described upstream device is issued, if it is determined that go out described BGP label route
It is IBGP route-type, represents that dispose between described intermediate equipment and described upstream device is that IBGP is adjacent
Occupy relation, namely described intermediate equipment has same Field Number with described upstream device, then set up described TE
Tunnel;If it is determined that described BGP label route be EBGP route-type, represent described intermediate equipment with
Dispose between described upstream device is ebgp neighbor relation, namely described intermediate equipment sets with described downstream
Standby do not have same Field Number, then without setting up described traffic engineering tunnel.Wherein said Field Number is generally referred to as
AS Field Number.
Above the outlet device in described transmission path and intermediate equipment are described, this is described below
The access device in described transmission path in inventive embodiments.
Refer to Fig. 4, embodiments provide the another kind of embodiment of the method setting up BGP lsp tunnel.
The described method of the present embodiment includes:
Step 401: the network equipment receives on the transmit path, with the downstream of described network equipment direct neighbor
The bgp protocol message of the extension that equipment sends.
Wherein, the described network equipment is the access device in described transmission path.Such as in Fig. 3, this enforcement
The described network equipment in example is border router A.
In the embodiment of the present invention, the bgp protocol message of described extension includes the BGP that described upstream device is issued
Label routing and the first extended attribute, described first extended attribute indicates described transmission path, described biography
Defeated path is directly into outlet device from described access device, or sets through centre from described access device
The transmission path of the most described outlet device.Wherein, the implementation of described first extended attribute specifically may be used
To see in said method embodiment the introduction to described first extended attribute, repeat no more here.
By technique scheme, in the present embodiment, described access device, receiving described downstream
After the bgp protocol message of the extension that equipment sends, i.e. realize establishing an end on the transmit path
BGP lsp tunnel to end.
Optionally, the present embodiment is it is also possible that state the VPN in end-to-end BGPLSP tunnel and business datum
Label is associated, so that described business datum is transmitted by this end-to-end BGPLSP tunnel,
Without defining active-standby path in each intermediate equipment, not only simply but also O&M is also relatively easy in realization.
When implementing, the present embodiment can also include step 402 and step 403.
Step 402: the described network equipment receives the VPN mark of the described business datum that described outlet device sends
Signing routing iinformation, described VPN label routing iinformation includes VPN user profile and VPN label.Wherein institute
State the end-to-end BGP that VPN user profile will be set up on the transmit path for indicating described access device
Lsp tunnel is associated with described VPN label.Such as, if described VPN is L2VPN, the most described VPN
User profile can include ACID;If described VPN is L3VPN, the most described VPN user profile is permissible
Including RT, described VPN label is used for identifying user service data, can include VNI, VRF label etc..
Step 403: the described network equipment, based on described VPN user profile, will be built on the transmit path
Vertical end-to-end BGP lsp tunnel is associated with described VPN label.
In embodiments of the present invention, described end-to-end BGP lsp tunnel is associated with described VPN label,
Refer to described end-to-end BGP lsp tunnel, with described VPN label, there is corresponding relation, so that institute
State access device and can utilize described end-to-end BGP lsp tunnel, transmit the institute that described VPN label is corresponding
State business datum.The described specific implementation being associated refers to the associated description of said method embodiment,
Here repeat no more.
The present embodiment can also include that the described network equipment obtains described business datum;The described network equipment will
Described business datum and described VPN label, by the end-to-end BGP LSP set up on the transmit path
Tunnel is transmitted.
It should be noted that in order to realize transmitting data in same territory, except setting up BGP LSP tunnel
Outside road, typically also need to set up traffic engineering tunnel or LDP lsp tunnel.And in embodiments of the present invention,
Additionally provide a kind of mode setting up traffic engineering tunnel, while now setting up BGP lsp tunnel in fact, set up
Traffic engineering tunnel.
Optionally, the present embodiment may include that the described network equipment receives the bgp protocol report of described extension
Wen Hou, sets up the traffic engineering tunnel of the described network equipment extremely described upstream device.
Further alternative, the bgp protocol message of described extension also includes the second extended attribute, described
What the second extended attribute indicated traffic engineering tunnel sets up attribute;The present embodiment can also include the described network equipment
Obtain described traffic engineering tunnel from the bgp protocol message of described extension sets up attribute;The present embodiment described
The network equipment sets up the traffic engineering tunnel of the described network equipment extremely described upstream device, including: the described network equipment
Based on described traffic engineering tunnel set up attribute, set up the described network equipment to the traffic engineering tunnel of described upstream device.
Wherein, the attribute of setting up of described traffic engineering tunnel includes: bandwidth constraint condition and/or dependability parameter.
Further alternative, the TE of the described network equipment extremely described upstream device is set up at the described network equipment
Before tunnel, also include: the described network equipment determines that the described network equipment has with described upstream device
Same Field Number.
For mode of specifically setting up and the implementation of described second extended attribute of described traffic engineering tunnel, specifically
Refer to the described traffic engineering tunnel in said method embodiment and the related content of described 3rd extended attribute, this
In repeat no more.
Above the embodiment of the method setting up BGP lsp tunnel in the embodiment of the present invention is described,
Below by from the angle of the modular functionality entity device embodiment to the network equipment in the embodiment of the present invention
It is described.
Refer to Fig. 5, embodiments provide a kind of device embodiment of the network equipment 500.
The described network equipment 500 of the present embodiment includes receiving unit 501, processing unit 502 and sending single
Unit 503.
Described reception unit 501 is for receiving the instruction setting up BGP lsp tunnel.
In the embodiment of the present invention, when needing to set up one from other equipment to the BGP of the described network equipment 500
During lsp tunnel, described reception unit 501 can receive the described instruction setting up BGP lsp tunnel.Wherein
The instruction of the described BGP of foundation lsp tunnel can be to be sent or at the described network equipment by control equipment
Configuration generates, it is also possible to be to be sent by the neighbor device of the described network equipment 500.
Described processing unit 502 is used for, and obtains transmission road from the described instruction setting up BGP lsp tunnel
Footpath.
In embodiments of the present invention, described transmission path is directly into outlet device from access device, or from
Described access device is through the transmission path of intermediate equipment to described outlet device.Such as, when there being business number
According to needs when the first equipment sends to the second equipment, can be by manual type or by controlling equipment
The modes such as calculating, determine one from described first equipment to the end-to-end path of described second equipment, will
This end-to-end path is as described transmission path, and is made by the instruction of the described BGP of foundation lsp tunnel
Obtain the described network equipment 500 and get described transmission path.
It is illustrated as a example by the MPLS network shown in Fig. 3, it is assumed that need from border router A to border
When router J transmits business datum, can be true according to the topology of described MPLS network by described control equipment
Making an end-to-end path, the most described transmission path includes successively: border router A, border routing
Device B, border router D, border router F, border router H and border router J.When described
After transmission path determines, need to set up a specific BGP lsp tunnel according to described transmission path.?
When specifically setting up BGP lsp tunnel, described control equipment can send to described border router J and include
The instruction setting up BGP lsp tunnel in described transmission path, described border router J is to described border
When router H issues BGP label route, can be by extension bgp protocol by described transmission path
Send to described border router H.
In embodiments of the present invention, described control equipment can be network manager, SDN controller or
The equipment such as the server of installation application specific software.
Described processing unit 502 is additionally operable to, and determines on the transmit path, with the described network equipment 500
The upstream equipment of direct neighbor.
In embodiments of the present invention, described reception unit 501 receives described BGP lsp tunnel of setting up
After instruction, described transmitting element 503 can't be issued to all neighbor devices of the described network equipment 500
BGP label route, but is determined the purpose equipment specified by described processing unit 502, i.e. described
On transmission path, and the upstream equipment of the described network equipment 500 direct neighbor, and described transmitting element 503
Only issue BGP label route to the described purpose equipment specified, thus realize building according to described transmission path
Vertical BGP lsp tunnel.Wherein, the direct neighbor on the transmit path that described direct neighbor refers to.
It should be noted that in embodiments of the present invention, upstream and downstream refers to data transfer direction
Upstream and downstream.In embodiments of the present invention, the described network equipment 500 is described intermediate equipment or institute
State outlet device.Similar with upstream and downstream, the outlet of the embodiment of the present invention and entrance refer to data and pass
The outlet in defeated direction and entrance.
Described transmitting element 503 is used for, and sends the first bgp protocol message of extension to described upstream equipment,
First bgp protocol message of described extension includes BGP label route that the described network equipment issues and the
One extended attribute, described first extended attribute indicates described transmission path.
When described processing unit 502 is determined on described transmission path, direct with the described network equipment 500
After adjacent described upstream equipment, issue BGP route mark by transmitting element 503 to described upstream equipment
Sign, be i.e. capable of setting up out the BGP lsp tunnel of the described upstream equipment extremely described network equipment 500.
Wherein to described upstream equipment issue BGP label route time, need bgp protocol is extended thus
Carry described transmission path, so that described upstream equipment can obtain described transmission path.
Wherein, generally comprise due to BGP label route: prefix, down hop and label.Described network
In the BGP label route that equipment 500 is issued, prefix is the IP address of the outlet device in described transmission path
Or IP address prefix, down hop is the IP address of the described network equipment 500, label for described go out
The label of the route assignment indicated by the IP address of jaws equipment or IP address prefix.
By technique scheme, in embodiments of the present invention, described reception unit 501 is receiving
During to the described instruction setting up BGP lsp tunnel, described transmitting element 503 is no longer to set to described network
All neighbor devices of standby 500 issue BGP label route, set up out and there is a possibility that the BGP LSP taken less than
Tunnel, but obtain from described access device directly into institute from the instruction of the described BGP of foundation lsp tunnel
State outlet device, or from described access device through the transmission of described intermediate equipment to described outlet device
Path, on the transmit path, sends with the upstream equipment of the described network equipment 500 direct neighbor and expands
First bgp protocol message of exhibition, this message includes the BGP label road that the described network equipment 500 is issued
By, thus it has been created that the BGP lsp tunnel of the described upstream equipment extremely described network equipment 500, it is seen that
The embodiment of the present invention is actually according to described transmission path, and sets up the BGP lsp tunnel of assigned direction,
Set up BGP lsp tunnel it is achieved thereby that on-demand, upload with the BGP lsp tunnel realized in on-demand foundation
Defeated business datum, solves the problem that BGP lsp tunnel is likely wasted, thus has saved system money
Source.Wherein said transmission path can be to transmit the transmission path that described business datum is determined, thus
Make the described BGP lsp tunnel set up out for transmitting described business datum.
Optionally, described processing unit 502 is when obtaining described transmission path, it is also possible to the most really
Determine whether there is described transmission path, if it is, can continue to obtain described transmission path, if it does not,
Then illustrate that described processing unit 502 can not get described transmission path, the most described network equipment 500
May not support the bgp protocol of extension, the most described transmitting element 503 can be still according to existing side
Formula broadcast distribution BGP label route.When implementing, described processing unit 502 can be also used for,
Before obtaining transmission path from the described instruction setting up BGP lsp tunnel, determine and there is described transmission
Path;Described transmitting element 503 is additionally operable to, and described processing unit 502 is determined and be there is not described transmission
Path, described transmitting element 503 issues BGP label to each neighbor device of the described network equipment 500
Route.
In embodiments of the present invention, the described network equipment to described upstream equipment issue BGP label route time,
Need bgp protocol is extended thus carry described transmission path, when implementing, can pass through
The code of bgp protocol is modified, a newly-increased bgp attribute in described first bgp protocol message,
I.e. first extended attribute, described first extended attribute indicates described transmission path.Wherein said first expands
Exhibition attribute, refers to the related content in said method embodiment, repeats no more here.
In embodiments of the present invention, the described network equipment 500 can be the intermediate equipment in described transmission path
Or outlet device.It is described in detail separately below.
One, the described network equipment 500 is the outlet device in described transmission path.
The described instruction setting up BGP lsp tunnel that described reception unit 501 receives, specifically can be by controlling
Control equipment sends, and includes described transmission path in the wherein said BGP of foundation lsp tunnel.Such as, with
As a example by Fig. 3, when transmitting to border router J from border router A when there being business datum to need, described
Control equipment can determine an end-to-end path, the most described biography according to the topology of described MPLS network
Defeated path includes successively: border router A, border router B, border router D, border router
F, border router H and border router J.Described control equipment sends bag to described border router J
Include the instruction setting up BGP lsp tunnel in described transmission path.It should be noted that the embodiment of the present invention
Set up BGP lsp tunnel on the transmit path and mainly control plane, and at the BGP LSP built up
Tunnel transmitting data is then at Forwarding plane.
Described reception unit 501 is receiving the described instruction setting up BGP lsp tunnel, described transmission list
Unit 503 can issue BGP with the upstream equipment of described outlet device direct neighbor on described transmission path
Label routing, thus set up out the BGP lsp tunnel of described upstream equipment extremely described outlet device.Wherein
In the BGP label route that described outlet device is issued, prefix is IP address or the IP of described outlet device
Address prefix, down hop is the IP address of described outlet device, the label IP to described outlet device
The label of the route assignment indicated by address or IP address prefix.
Optionally, described processing unit 502 can be also used for obtaining the VPN label road of described business datum
By information, described transmitting element 503 can be also used for being assisted described VPN label routing iinformation by BGP
The modes such as view send to described access device.Wherein, described VPN label routing iinformation includes: VPN label
With VPN user profile, described VPN user profile is used for indicating the described access device will be on described transmission road
The end-to-end BGPLSP tunnel set up on footpath is associated with described VPN label, such as, if described VPN
Being L2VPN, the most described VPN user profile can include ACID;If described VPN is L3VPN, then
Described VPN user profile can include RT.In embodiments of the present invention, described end-to-end BGPLSP tunnel
Road is associated with described VPN label, refers to described end-to-end BGP lsp tunnel and described VPN label
There is corresponding relation, so that described access device can utilize described end-to-end BGP lsp tunnel,
Transmit the described business datum that described VPN label is corresponding.The described one being associated is achieved in that,
The corresponding relation of described end-to-end BGP lsp tunnel and described VPN label is preserved on described access device.
Wherein, described VPN label is used for identifying user service data, can include VNI, VRF label etc.
Deng.BGP lsp tunnel is set up in a broadcast manner, therefore in transmission data owing to MPLS network is currently
Time, so that data arrive purpose equipment, each intermediate equipment is required for using complicated strategy fixed
Justice goes out active-standby path, the most easily makes mistakes but also O&M is the most relatively difficult.And in the embodiment of the present invention not only
Establish an end-to-end BGP lsp tunnel on the transmit path, and by this end-to-end BGP LSP
Tunnel is associated with the VPN label of business datum, so that described business datum is by this end-to-end BGP
Lsp tunnel is transmitted, it is not necessary to define active-standby path in each intermediate equipment, not only realize simple and
And O&M is also relatively easy to.
It should be noted that owing in embodiments of the present invention, described transmitting element 503 is to described biography
On defeated path, when issuing BGP label route with the upstream equipment of described outlet device direct neighbor, in order to
Described transmission path is also sent along with described BGP label route, need bgp protocol is expanded
Exhibition, the angle from described intermediate equipment is described in detail below.
Two, the described network equipment 500 is the intermediate equipment in described transmission path.
Described reception unit 501 is specifically for receiving on described transmission path, direct with described intermediate equipment
Second bgp protocol message of the extension that adjacent upstream device sends, the second bgp protocol of described extension
Message includes that the BGP label that described upstream device is issued route and the second extended attribute, described second extension
Attribute indicates described transmission path.
It is to say, the second bgp protocol message that the embodiment of the present invention is by described extension, described downstream
Equipment can indicate described biography by described second extended attribute while issuing BGP label route
Defeated path.The most described reception unit 501 is receiving the second of the described extension that described upstream device sends
After bgp protocol message, described processing unit 502 can further determine that whether carry BGP E2E in this message
LSP Node List attribute, if there being this attribute, the address finding local address to be described intermediate equipment
Nodal community, according to the target base address of this nodal community, it is thus achieved that the upstream equipment of described intermediate equipment
Address, issue BGP label by described transmitting element 503 to described upstream equipment and route, thus build
Found out the BGP lsp tunnel of described upstream equipment extremely described intermediate equipment.Wherein, expand for described second
The implementation of exhibition attribute, refers to the related content of the first extended attribute described in the embodiment of the present invention,
Here repeat no more.
In the BGP label route that described intermediate equipment is issued, prefix is to export described in described transmission path
The IP address of equipment or IP address prefix, down hop is the IP address of described intermediate equipment, and label is
Label to the route assignment indicated by the IP address of described outlet device or IP address prefix.
In embodiments of the present invention, each intermediate equipment in described transmission path, could set up out
On described transmission path, with the BGP LSP of the upstream equipment of this intermediate equipment direct neighbor to this intermediate equipment
Tunnel, adds on the described transmission path that described outlet device is set up, phase direct with described outlet device
Adjacent upstream equipment, to the BGP lsp tunnel of described outlet device, is set up the most on the transmit path
Go out an end-to-end BGP lsp tunnel.
It should be noted that in order to realize transmitting data in same territory, except setting up BGP LSP tunnel
Outside road, typically also need to set up traffic engineering tunnel or LDP lsp tunnel.And setting up LDP tunnel at present
During with traffic engineering tunnel, it is all before setting up BGP lsp tunnel, in territory, has the most established LDP LSP
Tunnel and traffic engineering tunnel.And in embodiments of the present invention, additionally provide a kind of mode setting up traffic engineering tunnel,
While now setting up BGP lsp tunnel in fact, set up traffic engineering tunnel.
Specifically, described processing unit 502 is additionally operable to, and described reception unit 501 receives described sets up BGP
After the instruction of lsp tunnel, described processing unit 502 sets up described intermediate equipment to described upstream device
Traffic engineering tunnel.Such as shown in Fig. 3, described reception unit 501 is receiving the 2nd BGP association of described extension
After view message, described processing unit 502 is sent out to described upstream device hop-by-hop by described transmitting element 503
Send RSVP PATH MSG, after described upstream device receives described RSVP PATH MSG, to described centre
Equipment hop-by-hop sends RSVP RESV MSG, and described reception unit 501 receives described RSVP RESV MSG,
Represent that described traffic engineering tunnel is successfully established.In the visible embodiment of the present invention, when described reception unit 501 receives
After the second bgp protocol message of described extension, described processing unit 502 just begins setting up described TE tunnel
Road.Further, described processing unit 502 can also be after determining and setting up described traffic engineering tunnel, described transmission
Unit 503 issues BGP label route to described upstream equipment.
Wherein, the second bgp protocol message of described extension can indicate that the described traffic engineering tunnel of foundation
Set up attribute.Specifically, the second bgp protocol message of described extension also includes the 3rd extended attribute,
What described 3rd extended attribute indicated traffic engineering tunnel sets up attribute;Described processing unit 502 is additionally operable to, from
Obtain described traffic engineering tunnel in second bgp protocol message of described extension sets up attribute;When set up described in
Between equipment to the traffic engineering tunnel of described upstream device time, described processing unit 502 is specifically for based on described
Traffic engineering tunnel set up attribute, set up described intermediate equipment to the traffic engineering tunnel of described upstream device.Described TE
The attribute of setting up in tunnel may include that bandwidth constraint condition and/or the dependability parameter of traffic engineering tunnel.Wherein,
Described 3rd extended attribute, specifically can participate in the relevant part of said method embodiment, the most superfluous
State.
Wherein, described processing unit 502 can be also used for, and is setting up described intermediate equipment to described downstream
Before the traffic engineering tunnel of equipment, determine that described intermediate equipment and described upstream device have same Field Number.
When the most described intermediate equipment and described upstream device have same Field Number, just set up traffic engineering tunnel, and both
When not there is same Field Number, then without setting up traffic engineering tunnel.Where it is determined whether have same Field Number,
Can be determined by BGP label route be Internal BGP (i.e. IBGP) route-type or outside
Portion's Border Gateway Protocol (i.e. EBGP) route-type realizes, and specifically refers to said method embodiment, this
In repeat no more.
Above the outlet device in described transmission path and intermediate equipment are described, this is described below
The access device in described transmission path in inventive embodiments.
Referring to Fig. 6, the embodiment of the present invention additionally provides a kind of device embodiment of the network equipment 600.
The described network equipment 600 of the present embodiment includes receiving unit 601.
Described reception unit 601 is for receiving on the transmit path, with the described direct phase of the network equipment 600
The bgp protocol message of the extension that adjacent upstream device sends.
Wherein, the described network equipment 600 is the access device in described transmission path.Such as in Fig. 3, this
The described network equipment 600 in embodiment is border router A.
In the embodiment of the present invention, the bgp protocol message of described extension includes the BGP that described upstream device is issued
Label routing and the first extended attribute, described first extended attribute indicates described transmission path, described biography
Defeated path is directly into outlet device from access device, or from described access device through intermediate equipment to
The transmission path of described outlet device.Wherein, the implementation of described first extended attribute specifically can be joined
See the introduction to described first extended attribute in said method embodiment, repeat no more here.
By technique scheme, in the present embodiment, the access device on described transmission path, i.e. institute
State the network equipment 600 receive described upstream device send extension bgp protocol message after, the most in fact
A BGP lsp tunnel end to end is established on presently described transmission path.
Optionally, the present embodiment is it is also possible that state the VPN of end-to-end BGP lsp tunnel and business datum
Label is associated, so that described business datum is transmitted by this end-to-end BGP lsp tunnel,
Without defining active-standby path in each intermediate equipment, not only simply but also O&M is also relatively easy in realization.
When implementing, the present embodiment can also include processing unit.Described reception unit 601 is additionally operable to,
Receive the VPN label routing iinformation of the described business datum that described outlet device sends, described VPN label
Routing iinformation includes VPN user profile and VPN label.Wherein said VPN user profile is used for indicating institute
State access device by the end-to-end BGPLSP tunnel set up on the transmit path and described VPN label
It is associated, specifically can include that RT and RD, described VPN label are used for identifying user service data, permissible
Including VNI, VRF label etc..Described processing unit is used for based on described VPN user profile, will be in institute
State the end-to-end BGP lsp tunnel set up on transmission path to be associated with described VPN label.In the present invention
In embodiment, described end-to-end BGP lsp tunnel is associated with described VPN label, refers to described end
With described VPN label, there is corresponding relation to end BGP lsp tunnel, so that described access device energy
Enough utilize described end-to-end BGP lsp tunnel, transmit the described business datum that described VPN label is corresponding.
The described specific implementation being associated refers to the associated description of said method embodiment, the most superfluous
State.
Wherein, described processing unit can be also used for, and obtains described business datum, by described business datum
With described VPN label, passed by the end-to-end BGP lsp tunnel set up on the transmit path
Defeated.
It should be noted that in order to realize transmitting data in same territory, except setting up BGP LSP tunnel
Outside road, typically also need to set up traffic engineering tunnel or LDP lsp tunnel.And in embodiments of the present invention,
Additionally provide a kind of mode setting up traffic engineering tunnel, while now setting up BGP lsp tunnel in fact, set up
Traffic engineering tunnel.
Optionally, the present embodiment can also include processing unit, and described processing unit may be used for, described
After receiving the bgp protocol message that unit 601 receives described extension, described processing unit sets up described network
Equipment 600 is to the traffic engineering tunnel of described upstream device.
Further alternative, the bgp protocol message of described extension also includes the second extended attribute, described
What the second extended attribute indicated traffic engineering tunnel sets up attribute;Described processing unit is additionally operable to, from described extension
Bgp protocol message in obtain described traffic engineering tunnel set up attribute;When set up the described network equipment 600 to
During the traffic engineering tunnel of described upstream device, described processing unit is specifically for foundation based on described traffic engineering tunnel
Attribute, sets up the described network equipment 600 to the traffic engineering tunnel of described upstream device.Wherein, described TE tunnel
The attribute of setting up in road includes: bandwidth constraint condition and/or dependability parameter.
Further alternative, described processing unit is additionally operable to, and is setting up the described network equipment 600 to described
Before the traffic engineering tunnel of upstream device, determine that the described network equipment 600 has same with described upstream device
Field Number.
For mode of specifically setting up and the implementation of described second extended attribute of described traffic engineering tunnel, specifically
Refer to the described traffic engineering tunnel in said method embodiment and the related content of described 3rd extended attribute, this
In repeat no more.
From the angle of modular functionality entity, the device of the network equipment the embodiment of the present invention is implemented above
Example is described.Below by from the angle of the hardware handles device to the network equipment in the embodiment of the present invention
Embodiment is described.
Refer to Fig. 7, one embodiment of the present of invention provides a kind of network equipment 700, this network equipment 700
It can be micro-process computer.Such as: this network equipment 700 can be general purpose computer, customization
One in the portable equipments such as machine, mobile phone terminal or purl machine.This network equipment 700 includes: processor
704, memorizer 706, communication interface 702 and bus 708.Processor 704, memorizer 706 with communicate
Interface 702 is connected by bus 708 and is completed mutual communication.
Described bus 708 can be industry standard architecture (Industry Standard
Architecture, referred to as ISA) bus or external equipment interconnection (Peripheral Component,
Referred to as PCI) bus or extended industry-standard architecture (Extended Industry Standard
Architecture, referred to as EISA) bus etc..Described bus can be divided into address bus, data total
Line, one or more controlled in bus.For ease of representing, Fig. 7 only represents with a thick line, but
It is not offered as only a bus or a type of bus.
Memorizer 706 is used for storing executable program code, and this program code includes computer-managed instruction.
When the network equipment 700 performs this program code, the described network equipment 700 can complete shown in Fig. 2
The step 201 of embodiment~204, it is also possible to realize the network equipment 500 described in the embodiment shown in Fig. 5
All functions.Memorizer 706 can comprise high-speed RAM (Ramdom Access Memory) memorizer.
Alternatively, memorizer 706 can also also include nonvolatile memory (non-volatile memory).
Such as memorizer 706 can include disk memory.
Processor 704 can be that (Central Processing Unit is referred to as a central processing unit
Or processor 704 can be with specific integrated circuit (Application Specific CPU),
Integrated Circuit, referred to as ASIC), or processor 704 can be arranged to implement this
One or more integrated circuits of inventive embodiments.
Communication interface 702, for performing the embodiment shown in Fig. 2 and the reception in the embodiment shown in Fig. 5
Set up the operation of the instruction of BGP lsp tunnel.
Processor 704, for reading the instruction of storage in memorizer 706, thus performs the reality shown in Fig. 2
Execute obtaining from the described instruction setting up BGP lsp tunnel in the embodiment shown in example and Fig. 5 and transmit road
Footpath, determine the operation with the upstream equipment of the described network equipment 700 direct neighbor on described transmission path.
Described communication interface 702, is additionally operable to perform in the embodiment shown in Fig. 2 and the embodiment shown in Fig. 5
, the operation of the first bgp protocol message of extension, the first of described extension is sent to described upstream equipment
Bgp protocol message includes that the BGP label that the described network equipment 700 is issued route and the first extended attribute,
Described first extended attribute indicates described transmission path.
Wherein, the described network equipment 700 is described intermediate equipment or described outlet device.Described transmission
Path is directly into outlet device from access device, or from described access device through intermediate equipment to institute
State the transmission path of outlet device.
What deserves to be explained is, each functional unit of the described network equipment 700 that the present embodiment provides, permissible
It is the concrete of the function that possessed based on the device embodiment shown in the embodiment of the method shown in Fig. 2 and Fig. 5
Realize, the definition of term and explanation and the embodiment of the method shown in Fig. 2 and the device embodiment shown in Fig. 5
Keeping consistent, here is omitted.
Above the outlet device in described transmission path and intermediate equipment are described, this is described below
The access device in described transmission path in inventive embodiments.
Refer to Fig. 8, one embodiment of the present of invention provides a kind of network equipment 800, this network equipment 800
It can be micro-process computer.Such as: this network equipment 800 can be general purpose computer, customization
One in the portable equipments such as machine, mobile phone terminal or purl machine.This network equipment 800 includes: processor
804, memorizer 806, communication interface 802 and bus 808.Processor 804, memorizer 806 with communicate
Interface 802 is connected by bus 808 and is completed mutual communication.
Described bus 808 can be industry standard architecture (Industry Standard
Architecture, referred to as ISA) bus or external equipment interconnection (Peripheral Component,
Referred to as PCI) bus or extended industry-standard architecture (Extended Industry Standard
Architecture, referred to as EISA) bus etc..Described bus can be divided into address bus, data total
Line, one or more controlled in bus.For ease of representing, Fig. 8 only represents with a thick line, but
It is not offered as only a bus or a type of bus.
Memorizer 806 is used for storing executable program code, and this program code includes computer-managed instruction.
When the network equipment 800 performs this program code, the described network equipment 800 can complete shown in Fig. 4
The step 401 of embodiment, it is also possible to realize all of the network equipment 600 described in the embodiment shown in Fig. 6
Function.Memorizer 806 can comprise high-speed RAM (Ramdom Access Memory) memorizer.Optional
Ground, memorizer 806 can also also include nonvolatile memory (non-volatile memory).Example
As memorizer 806 can include disk memory.
Processor 804 can be that (Central Processing Unit is referred to as a central processing unit
Or processor 804 can be with specific integrated circuit (Application Specific CPU),
Integrated Circuit, referred to as ASIC), or processor 804 can be arranged to implement this
One or more integrated circuits of inventive embodiments.
Communication interface 802, for performing the embodiment shown in Fig. 4 and the reception in the embodiment shown in Fig. 6
On the transmit path, the bgp protocol of the extension that the upstream device with described network equipment direct neighbor sends
The operation of message.
Wherein, the bgp protocol message of described extension includes the BGP label route that described upstream device is issued
With the first extended attribute, described first extended attribute indicates described transmission path, and described transmission path is
From access device directly into outlet device, or from described access device through intermediate equipment to described outlet
The transmission path of equipment;The described network equipment 800 is described access device.
What deserves to be explained is, each functional unit of the described network equipment 800 that the present embodiment provides, permissible
It is the concrete of the function that possessed based on the device embodiment shown in the embodiment of the method shown in Fig. 4 and Fig. 6
Realize, the definition of term and explanation and the embodiment of the method shown in Fig. 4 and the device embodiment shown in Fig. 6
Keeping consistent, here is omitted.
Those skilled in the art is it can be understood that arrive, and for convenience and simplicity of description, above-mentioned retouches
The specific works process of the system stated, device and unit, is referred to the correspondence in preceding method embodiment
Process, does not repeats them here.
In several embodiments provided herein, it should be understood that disclosed system, device and
Method, can realize by another way.Such as, device embodiment described above is only shown
Meaning property, such as, the division of described unit, be only a kind of logic function and divide, actual can when realizing
There to be other dividing mode, the most multiple unit or assembly can in conjunction with or be desirably integrated into another
System, or some features can ignore, or do not perform.Another point, shown or discussed each other
Coupling direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit
Or communication connection, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, makees
The parts shown for unit can be or may not be physical location, i.e. may be located at a place,
Or can also be distributed on multiple NE.Can select according to the actual needs part therein or
The whole unit of person realizes the purpose of the present embodiment scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit,
Can also be that unit is individually physically present, it is also possible to two or more unit are integrated in a list
In unit.Above-mentioned integrated unit both can realize to use the form of hardware, it would however also be possible to employ software function list
The form of unit realizes.
If described integrated unit realizes and as independent production marketing using the form of SFU software functional unit
Or when using, can be stored in a computer read/write memory medium.Based on such understanding, this
The part that the most in other words prior art contributed of technical scheme of invention or this technical scheme
Completely or partially can embody with the form of software product, this computer software product is stored in one
In storage medium, including some instructions with so that computer equipment (can be personal computer,
Server, or the network equipment etc.) perform completely or partially walking of method described in each embodiment of the present invention
Suddenly.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc.
The various media that can store program code.
The above, above example only in order to technical scheme to be described, is not intended to limit;
Although being described in detail the present invention with reference to previous embodiment, those of ordinary skill in the art should
Work as understanding: the technical scheme described in foregoing embodiments still can be modified by it, or to it
Middle part technical characteristic carries out equivalent;And these amendments or replacement, do not make appropriate technical solution
Essence depart from various embodiments of the present invention technical scheme spirit and scope.
Claims (28)
1. the method setting up BGPLSP tunnel, it is characterised in that including:
The network equipment receives the instruction setting up Border Gateway Protocol (BGP) label switching path LSP tunnel;
The described network equipment obtains transmission path, described biography from the described instruction setting up BGPLSP tunnel
Defeated path is directly into outlet device from access device, or from described access device through intermediate equipment to
The transmission path of described outlet device;
The described network equipment determines on the transmit path, with the upstream of described network equipment direct neighbor
Equipment;
The described network equipment sends the first bgp protocol message of extension, described extension to described upstream equipment
The first bgp protocol message include that BGP label route that the described network equipment issues and the first extension belong to
Property, described first extended attribute indicates described transmission path;
Wherein, the described network equipment is described intermediate equipment or described outlet device.
Method the most according to claim 1, it is characterised in that the described network equipment is described centre
Equipment;
The described network equipment receives described BGPLSP tunnel of setting up and indicates, including:
Described intermediate equipment receives on the transmit path, with the downstream of described intermediate equipment direct neighbor
Second bgp protocol message of the extension that equipment sends, the second bgp protocol message of described extension includes institute
Stating BGP label route and the second extended attribute that upstream device is issued, described second extended attribute indicates
Described transmission path.
Method the most according to claim 1 and 2, it is characterised in that the described network equipment is described
Intermediate equipment;Described method also includes:
After described intermediate equipment receives the described instruction setting up BGPLSP tunnel, set up described intermediate equipment
TE tunnel of traffic engineering to described upstream device.
Method the most according to claim 3, it is characterised in that the second bgp protocol of described extension
Message also including, what the 3rd extended attribute, described 3rd extended attribute indicated traffic engineering tunnel sets up attribute;
Described method also includes:
Described intermediate equipment obtains the foundation of described traffic engineering tunnel from the second bgp protocol message of described extension
Attribute;
Described intermediate equipment sets up the traffic engineering tunnel of described intermediate equipment extremely described upstream device, including:
Described intermediate equipment is based on described traffic engineering tunnel sets up attribute, sets up described intermediate equipment under the most described
The traffic engineering tunnel of trip equipment.
Method the most according to claim 4, it is characterised in that described traffic engineering tunnel set up attribute
Including: the bandwidth constraint condition of traffic engineering tunnel and/or dependability parameter.
6. according to the method described in any one of claim 3 to 5, it is characterised in that set in described centre
Before the standby traffic engineering tunnel setting up described intermediate equipment extremely described upstream device, also include:
Described intermediate equipment determines that described intermediate equipment and described upstream device have same Field Number.
Method the most according to claim 1, it is characterised in that the described network equipment is described outlet
Equipment, described method also includes:
Described outlet device obtains the virtual private network label routing information of business datum, and by described
VPN label routing iinformation sends to described access device, and described VPN label routing iinformation includes VPN user
Information and VPN label, described VPN user profile is used for indicating the described access device will be on described transmission road
The end-to-end BGPLSP tunnel set up on footpath is associated with described VPN label.
8. the method setting up BGPLSP tunnel, it is characterised in that including:
The network equipment receives on the transmit path, sends with the upstream device of described network equipment direct neighbor
The Border Gateway Protocol (BGP) protocol massages of extension, the bgp protocol message of described extension include described under
BGP label route and the first extended attribute that trip equipment is issued, described first extended attribute indicates described
Transmission path, described transmission path is directly into outlet device from access device, or from described access device
Transmission path through intermediate equipment to described outlet device;
Wherein, the described network equipment is described access device.
Method the most according to claim 8, it is characterised in that also include:
After the described network equipment receives the bgp protocol message of described extension, set up the described network equipment to institute
State the TE tunnel of traffic engineering of upstream device.
Method the most according to claim 9, it is characterised in that the bgp protocol report of described extension
Literary composition also including, what the second extended attribute, described second extended attribute indicated traffic engineering tunnel sets up attribute;
Described method also includes:
The described network equipment obtains the foundation of described traffic engineering tunnel from the bgp protocol message of described extension and belongs to
Property;
The described network equipment sets up the traffic engineering tunnel of the described network equipment extremely described upstream device, including:
The described network equipment is based on described traffic engineering tunnel sets up attribute, sets up the described network equipment under the most described
The traffic engineering tunnel of trip equipment.
11. methods according to claim 10, it is characterised in that the foundation of described traffic engineering tunnel belongs to
Property includes: bandwidth constraint condition and/or dependability parameter.
12. according to the method described in any one of claim 9 to 11, it is characterised in that at described network
Before equipment sets up the traffic engineering tunnel of the described network equipment extremely described upstream device, also include:
The described network equipment determines that the described network equipment and described upstream device have same Field Number.
13. according to Claim 8 to the method described in 12 any one, it is characterised in that also include:
The described network equipment receives the virtual private network label of the business datum that described outlet device sends
Routing iinformation, described VPN label routing iinformation includes VPN user profile and VPN label;
The end set up on the transmit path, based on described VPN user profile, is arrived by the described network equipment
End BGP label switching path lsp tunnel is associated with described VPN label.
14. methods according to claim 13, it is characterised in that described method also includes:
The described network equipment obtains described business datum;
The described network equipment is by described business datum and described VPN label, by the transmit path
The end-to-end BGPLSP tunnel set up is transmitted.
15. 1 kinds of network equipments, it is characterised in that including:
Receive unit, for receiving the finger setting up Border Gateway Protocol (BGP) label switching path LSP tunnel
Show;
Processing unit, for obtaining transmission path from the described instruction setting up BGPLSP tunnel, determines
On the transmit path, with the upstream equipment of described network equipment direct neighbor, described transmission path is
From access device directly into outlet device, or from described access device through intermediate equipment to described outlet
The transmission path of equipment;
Transmitting element, for sending the first bgp protocol message of extension, described expansion to described upstream equipment
First bgp protocol message of exhibition includes that the BGP label route and first that the described network equipment is issued extends
Attribute, described first extended attribute indicates described transmission path;
Wherein, the described network equipment is described intermediate equipment or described outlet device.
16. network equipments according to claim 15, it is characterised in that the described network equipment is institute
State intermediate equipment;
Described reception unit specifically for receive on the transmit path, phase direct with described intermediate equipment
Second bgp protocol message of the extension that adjacent upstream device sends, the second bgp protocol report of described extension
Literary composition includes that the BGP label that described upstream device is issued route and the second extended attribute, and described second extension belongs to
Property indicates described transmission path.
17. according to the network equipment described in claim 15 or 16, it is characterised in that described network sets
Standby for described intermediate equipment;
Described processing unit is additionally operable to, and described reception unit receives the described instruction setting up BGPLSP tunnel
After, described processing unit sets up the TE tunnel of traffic engineering of described intermediate equipment extremely described upstream device.
18. network equipments according to claim 17, it is characterised in that the 2nd BGP of described extension
Protocol massages also including, the 3rd extended attribute, described 3rd extended attribute indicate the foundation genus of traffic engineering tunnel
Property;
Described processing unit is additionally operable to, and obtains described TE tunnel from the second bgp protocol message of described extension
Road set up attribute;
When setting up the traffic engineering tunnel of described intermediate equipment extremely described upstream device, described processing unit is specifically used
Set up attribute in based on described traffic engineering tunnel, set up the TE tunnel of described intermediate equipment extremely described upstream device
Road.
19. network equipments according to claim 18, it is characterised in that building of described traffic engineering tunnel
Vertical attribute includes: the bandwidth constraint condition of traffic engineering tunnel and/or dependability parameter.
20. according to the network equipment described in any one of claim 17 to 19, it is characterised in that described
Processing unit is additionally operable to, and before setting up the traffic engineering tunnel of described intermediate equipment extremely described upstream device, determines
Go out described intermediate equipment, with described upstream device, there is same Field Number.
21. network equipments according to claim 15, it is characterised in that the described network equipment is institute
State outlet device,
Described processing unit is additionally operable to, and obtains the virtual private network label routing information of business datum;
Described transmitting element is additionally operable to, and sends described VPN label routing iinformation to described access device,
Described VPN label routing iinformation includes VPN user profile and VPN label, and described VPN user profile is used
In indicating described access device by the end-to-end BGPLSP tunnel set up on the transmit path with described
VPN label is associated.
22. 1 kinds of network equipments, it is characterised in that including:
Receive unit, for receiving on the transmit path, set with the downstream of described network equipment direct neighbor
The Border Gateway Protocol (BGP) protocol massages of the extension that preparation is sent;The bgp protocol message of described extension includes
BGP label route and the first extended attribute that described upstream device is issued, described first extended attribute instruction
Going out described transmission path, described transmission path is directly into outlet device from access device, or from described enter
Jaws equipment is through the transmission path of intermediate equipment to described outlet device;
Wherein, the described network equipment is described access device.
23. the network equipment according to claim 22, it is characterised in that the described network equipment also wraps
Include: processing unit;
Described processing unit is additionally operable to, after described reception unit receives the bgp protocol message of described extension,
Described processing unit sets up the TE tunnel of traffic engineering of the described network equipment extremely described upstream device.
24. network equipments according to claim 23, it is characterised in that the BGP association of described extension
View message also including, the second extended attribute, described second extended attribute indicate the foundation genus of traffic engineering tunnel
Property;
Described processing unit is additionally operable to, and obtains described traffic engineering tunnel from the bgp protocol message of described extension
Set up attribute;
When setting up the traffic engineering tunnel of the described network equipment extremely described upstream device, described processing unit is specifically used
Set up attribute in based on described traffic engineering tunnel, set up the TE tunnel of the described network equipment extremely described upstream device
Road.
25. network equipments according to claim 24, it is characterised in that building of described traffic engineering tunnel
Vertical attribute includes: bandwidth constraint condition and/or dependability parameter.
26. according to the network equipment described in any one of claim 23 to 25, it is characterised in that described
Processing unit is additionally operable to, and before setting up the traffic engineering tunnel of the described network equipment extremely described upstream device, determines
Go out the described network equipment, with described upstream device, there is same Field Number.
27. according to the network equipment described in any one of claim 22 to 26, it is characterised in that
Described reception unit, is additionally operable to receive the Virtual Private Network of the business datum that described outlet device sends
VPN label routing iinformation, described VPN label routing iinformation includes VPN user profile and VPN label;
The described network equipment also includes: processing unit, and described processing unit is for based on described VPN user
Information, by the end-to-end BGP label switching path lsp tunnel set up on the transmit path with described
VPN label is associated.
28. network equipments according to claim 27, it is characterised in that the described network equipment also wraps
Including: processing unit, described processing unit is additionally operable to, and obtains described business datum, by described business datum
With described VPN label, passed by the end-to-end BGPLSP tunnel set up on the transmit path
Defeated.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510040793.4A CN105991385B (en) | 2015-01-27 | 2015-01-27 | A kind of method that establishing BGP lsp tunnel and the network equipment |
PCT/CN2015/088976 WO2016119461A1 (en) | 2015-01-27 | 2015-09-06 | Method and network device for establishing bgp lsp tunnel |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510040793.4A CN105991385B (en) | 2015-01-27 | 2015-01-27 | A kind of method that establishing BGP lsp tunnel and the network equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105991385A true CN105991385A (en) | 2016-10-05 |
CN105991385B CN105991385B (en) | 2019-03-26 |
Family
ID=56542325
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510040793.4A Active CN105991385B (en) | 2015-01-27 | 2015-01-27 | A kind of method that establishing BGP lsp tunnel and the network equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105991385B (en) |
WO (1) | WO2016119461A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113630320A (en) * | 2020-05-06 | 2021-11-09 | 瞻博网络公司 | Method for creating tunnel in computer network, entrance network device and storage medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114915518A (en) * | 2021-02-07 | 2022-08-16 | 华为技术有限公司 | Message transmission method, system and equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020196737A1 (en) * | 2001-06-12 | 2002-12-26 | Qosient Llc | Capture and use of service identifiers and service labels in flow activity to determine provisioned service for datagrams in the captured flow activity |
CN1716904A (en) * | 2004-06-30 | 2006-01-04 | 华为技术有限公司 | Group broadcast realizing method based on multiple service transmission platform |
CN101150491A (en) * | 2006-09-22 | 2008-03-26 | 华为技术有限公司 | An optimization method for multicast tree in multi-protocol label switching network |
EP1976319A1 (en) * | 2007-03-28 | 2008-10-01 | NTT DoCoMo, Inc. | Method and apparatus for performing a seamless handover of a multicast source |
CN102487351A (en) * | 2010-12-01 | 2012-06-06 | 中兴通讯股份有限公司 | Establishment method of end-to-end multicast label switched path, apparatus thereof and system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7751405B1 (en) * | 2007-09-26 | 2010-07-06 | Juniper Networks, Inc. | Automatic configuration of label switched path tunnels using BGP attributes |
US8593973B2 (en) * | 2010-03-09 | 2013-11-26 | Juniper Networks, Inc. | Communicating network path and status information in multi-homed networks |
US20130022041A1 (en) * | 2011-07-18 | 2013-01-24 | Sriganesh Kini | Signaling a label switched path (lsp) tunneling model |
CN103475557B (en) * | 2013-09-05 | 2017-02-08 | 华为技术有限公司 | Tunnel setup method and router |
-
2015
- 2015-01-27 CN CN201510040793.4A patent/CN105991385B/en active Active
- 2015-09-06 WO PCT/CN2015/088976 patent/WO2016119461A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020196737A1 (en) * | 2001-06-12 | 2002-12-26 | Qosient Llc | Capture and use of service identifiers and service labels in flow activity to determine provisioned service for datagrams in the captured flow activity |
CN1716904A (en) * | 2004-06-30 | 2006-01-04 | 华为技术有限公司 | Group broadcast realizing method based on multiple service transmission platform |
CN101150491A (en) * | 2006-09-22 | 2008-03-26 | 华为技术有限公司 | An optimization method for multicast tree in multi-protocol label switching network |
EP1976319A1 (en) * | 2007-03-28 | 2008-10-01 | NTT DoCoMo, Inc. | Method and apparatus for performing a seamless handover of a multicast source |
CN102487351A (en) * | 2010-12-01 | 2012-06-06 | 中兴通讯股份有限公司 | Establishment method of end-to-end multicast label switched path, apparatus thereof and system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113630320A (en) * | 2020-05-06 | 2021-11-09 | 瞻博网络公司 | Method for creating tunnel in computer network, entrance network device and storage medium |
CN113630320B (en) * | 2020-05-06 | 2023-03-24 | 瞻博网络公司 | Method for creating tunnel in computer network, entrance network device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2016119461A1 (en) | 2016-08-04 |
CN105991385B (en) | 2019-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105939257B (en) | Communication means and router | |
CN101120552B (en) | Loop prevention method for MPLS using service labels and network node | |
CN103841022B (en) | For setting up the method and device in tunnel | |
CN106656794B (en) | Message transmission method and device | |
CN100372337C (en) | Route selection method for implementing cross-domain constraint-based routing | |
CN104378292B (en) | A kind of method and device of forwarding MPLS packets | |
EP3780514B1 (en) | Tunnel setup method, apparatus, and system | |
CN101047636B (en) | Method and system for end-to-end pseudo-line simulation virtual leased line access virtual special network | |
CN105933228A (en) | Traffic engineering for bit indexed explicit replication | |
CN106603413B (en) | Method and device for transmitting flow through designated path | |
CN108337157A (en) | The method and node of transmitting message in a kind of network | |
CN105871722A (en) | Tag structure and tag message forwarding method and device | |
CN103475581B (en) | A kind of network tab distribution, equipment and system | |
CN103354988A (en) | System and method for computing point-to-point label switched path crossing multiple domains | |
CN105991437A (en) | Massage forwarding processing method, massage forwarding processing device, controller and routing forwarding device | |
CN102377630A (en) | Traffic engineering tunnel-based virtual private network implementation method and traffic engineering tunnel-based virtual private network implementation system | |
CN103828310B (en) | A kind of method of link discovery, system and equipment | |
CN102724118A (en) | Label distribution method and device | |
CN107483338A (en) | A kind of method, apparatus and system for determining cross-domain label switched path tunnel | |
CN104219098A (en) | Hard pipe building method, packet forwarding method and device in network | |
CN110140331A (en) | Path calculation method and device | |
CN100493022C (en) | Method for securing service quality in skeletal network of two-stage virtual special network | |
EP2648382B1 (en) | Method, device and system for establishing lsp | |
CN104092611A (en) | Method and device for determining label switching route with restrained cross region | |
CN105763439A (en) | Data center interconnection (DCI) method and device in transparent interconnection of lots of links (TRILL) network |
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 |