CN103209125A - Label information transmission method and device - Google Patents

Label information transmission method and device Download PDF

Info

Publication number
CN103209125A
CN103209125A CN2013101177023A CN201310117702A CN103209125A CN 103209125 A CN103209125 A CN 103209125A CN 2013101177023 A CN2013101177023 A CN 2013101177023A CN 201310117702 A CN201310117702 A CN 201310117702A CN 103209125 A CN103209125 A CN 103209125A
Authority
CN
China
Prior art keywords
equipment
import
attribute information
vpn instance
bgp
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013101177023A
Other languages
Chinese (zh)
Other versions
CN103209125B (en
Inventor
田钧宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201310117702.3A priority Critical patent/CN103209125B/en
Publication of CN103209125A publication Critical patent/CN103209125A/en
Application granted granted Critical
Publication of CN103209125B publication Critical patent/CN103209125B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a label information transmission method and device. The label information transmission method includes that a first PE (Provider Edge) device receives Import RT (Route Target) attribute information from a second PE device; the first PE device confirms VPN (Virtual Private Network) cases which are corresponding to the Import RT attribute information in all VPN cases; and the first PE device sends label information of the VPN cases which are corresponding to the Import RT attribute information to the second PE device through a BGP (Border Gateway Protocol) Update message. The label information transmission method and system has the advantages of avoiding transmitting unnecessary BGP Update messages and reducing the transmission number of the BGP Update messages.

Description

A kind of transmission method of label information and equipment
Technical field
The present invention relates to communication technical field, relate in particular to a kind of transmission method and equipment of label information.
Background technology
MPLS(Multiprotocol Label Switching, multiprotocol label switching) L2VPN(Layer 2Virtual Private Network, Layer 2 virtual private network) between the different user node, setting up two layers of connection; Based on MPLS L2VPN technology, the Layer 2 data of operator's transparent transmission different pieces of information link layer on unified MPLS or IP backbone makes the data link layer service can cross over MPLS or IP backbone transmission.Wherein, MPLS L2VPN comprises VPWS(Virtual Private Wire Service, the service of virtual private exchange line road) and VPLS(Virtual Private LAN Service, the virtual special local area network service).
VPWS is the MPLS L2VPN business of the point-to-point that provides in common network, from the user point of view, MPLS or IP backbone are two layers of switching networks, and user's perception is less than the existence of MPLS or IP backbone, just as directly linking to each other by ethernet link between the node.VPLS is that the point that provides in common network is to the MPLS L2VPN business of multiple spot, its essence is that creating a series of virtual switch is leased to the user, make the user can pass through MAN(Metropolitan Area Network, metropolitan area network) or WAN(Wide Area Network, wide area network) realizes self LAN(Local Area Network, local area network (LAN)).
As shown in Figure 1, the networking schematic diagram for MPLS L2VPN network comprises: CE(Customer Edge, customer network edge) equipment, directly the user network side apparatus that links to each other with service provider network; PE(Provider Edge, the service provider network edge) equipment, the service provider network side apparatus that links to each other with CE equipment; P(Provider, service provider network) equipment does not directly link to each other with CE equipment, the P device just will be along the tunnel with message from an end PE device forwards to other end PE equipment.
In the MPLS of Kompella mode L2VPN technology, introduced the concept of VPN, made to connect between the CE equipment belong to same VPN, belonged between the CE equipment of different VPN and can not connect; Distinguished following concept for this reason: (1) CE ID, by a CE equipment in the CE ID unique identification VPN, CE ID can be identical in the different VPN; (2) RD(Route Distinguisher, Route Distinguisher), in order to distinguish the CE equipment that CE ID is identical in the different VPN, can before CE ID, increase RD, by a CE equipment in the RD+CE ID unique identification network; (3) RT(Route Target, route target), this RT is used for distinguishing different VPN, guarantees to belong between the CE equipment of same VPN to connect, and belongs between the CE equipment of different VPN to connect; (4) label information, PE equipment makes each PE equipment to calculate label according to the label information of other PE devices advertise by self distributed labels information announcement being given all the PE equipment in the same VPN.
In the prior art, PE equipment (as: PE1) can be by BGP(Border Gateway Protocol, Border Gateway Protocol) Update(renewal) message announces the label information of local all VPN instance to opposite end PE equipment (as: PE2), and carries RT attribute (the being Export route target(outlet route target) attribute of VPN instance in this BGP Update message); Opposite end PE equipment after receiving this BGP Update message, the Import route target(import route target of more local VPN instance configuration) the RT attribute that carries in attribute and the BGP Update message; If the two coupling, then PE equipment in opposite end can be accepted the label information that carries in the BGP Update message; If the two does not match, then do not handle this label information.
In above-mentioned implementation, PE equipment need be announced the label information of local all VPN instance to opposite end PE equipment by BGP Update message, thereby can cause the waste of BGP Update message; As shown in Figure 1, last all VPN instance of PE1 are that VPN1(Export route target is 100:1) and VPN2(Export route target be 200:1), the last VPN instance of PE2 is that VPN1(Import route target is 100:1); Based on this, as shown in Figure 2, PE1 need send to PE2 with the label information of VPN1 example and the label information of VPN2 example respectively by two BGP Update messages, and the RT attribute that carries in these two BGP Update messages is respectively 100:1 and 200:1; PE2 is after receiving these two BGP Update messages, by Import route target(100:1 relatively) and BGP Update message in the RT attribute that carries, can accept the RT attribute is the BGP Update message of 100:1, and can abandon the BGP Update message that the RT attribute is 200:1, obviously, the RT attribute is that transfer resource has been wasted in the transmission of the BGP Update message of 200:1.
Summary of the invention
The embodiment of the invention provides a kind of transmission method and equipment of label information, to avoid transmitting unnecessary BGP Update message, has reduced the transmission quantity of BGP Update message.
In order to achieve the above object, the embodiment of the invention provides a kind of transmission method of label information, be applied to comprise that this method may further comprise the steps in the multiprotocol label switching MPLS L2VPN L2VPN network of Border Gateway Protocol (BGP) neighbours' each other the first service provider network edge PE equipment and the 2nd PE equipment:
After a described PE equipment and described the 2nd PE equipment were set up bgp neighbor, a described PE equipment received the Import route target RT attribute information from described the 2nd PE equipment;
A described PE equipment is determined on this PE equipment in all virtual private network examples the VPN instance corresponding to described Import RT attribute information;
A described PE equipment sends to described the 2nd PE equipment by BGP Update message with the label information of described VPN instance corresponding to described Import RT attribute information, and has carried the Export RT attribute of described VPN instance in the described BGP Update message.
Before the Import route target RT attribute information of described PE equipment reception from described the 2nd PE equipment, described method also comprises:
After described the 2nd PE equipment and a described PE equipment are set up bgp neighbor, described the 2nd PE equipment is collected the Import RT attribute information of all VPN instance on this 2nd PE equipment, and by BGP Refresh message the Import RT attribute information of all VPN instance is sent to a described PE equipment.
Described the 2nd PE equipment is collected the Import RT attribute information of all VPN instance on this 2nd PE equipment, and by BGP Refresh message the Import RT attribute information of all VPN instance is sent to a described PE equipment, specifically comprises:
Described the 2nd PE equipment is when the BGP Open message of receiving from a described PE equipment, filter label information if carry a described PE equipment support in the described BGP Open message by the RT attribute information, and described the 2nd PE equipment support is filtered label information by the RT attribute information, then described the 2nd PE equipment is collected the Import RT attribute information of all VPN instance on this 2nd PE equipment, and by BGP Refresh message the Import RT attribute information of all VPN instance is sent to a described PE equipment.
A described PE equipment is determined on this PE equipment in all VPN instance specifically to comprise corresponding to the VPN instance of described Import RT attribute information:
A described PE equipment extracts the Import RT attribute information of described the 2nd PE equipment, and the Export RT attribute of all VPN instance on more described Import RT attribute information and this PE equipment;
If have the Export RT attribute of VPN instance and described Import RT attribute information to be complementary, then a described PE equipment determines that this VPN instance is corresponding to described Import RT attribute information.
Described VPN instance is specially: virtual private exchange line road service VPWS example, or, virtual special local area network service VPLS example.
The embodiment of the invention provides a kind of routing device, be applied to comprise that a described PE equipment comprises in the multiprotocol label switching MPLS L2VPN L2VPN network of Border Gateway Protocol (BGP) neighbours' each other a PE equipment and the 2nd PE equipment as the first service provider network edge PE equipment:
Receiver module is used for after a described PE equipment and described the 2nd PE equipment are set up bgp neighbor, and reception is from the Import route target RT attribute information of described the 2nd PE equipment;
Determination module is used for determining that all virtual private network examples are corresponding to the VPN instance of described Import RT attribute information on this PE equipment;
Sending module, be used for by BGP Update message the label information of described VPN instance corresponding to described Import RT attribute information being sent to described the 2nd PE equipment, and carried the Export RT attribute of described VPN instance in the described BGP Update message.
Described determination module, the concrete Import RT attribute information that is used for extracting described the 2nd PE equipment, and the Export RT attribute of all VPN instance on more described Import RT attribute information and PE equipment originally; If have the Export RT attribute of VPN instance and described Import RT attribute information to be complementary, determine that then this VPN instance is corresponding to described Import RT attribute information.
The embodiment of the invention provides a kind of routing device, be applied to comprise that described the 2nd PE equipment comprises in the multiprotocol label switching MPLS L2VPN L2VPN network of Border Gateway Protocol (BGP) neighbours' each other a PE equipment and the 2nd PE equipment as the second service provider network edge PE equipment:
Collection module is used for collecting the Import RT attribute information of all virtual private network examples on the 2nd PE equipment after described the 2nd PE equipment and a described PE equipment are set up bgp neighbor;
Sending module is used for the Import RT attribute information of all VPN instance is sent to a described PE equipment;
Receiver module, be used for behind the VPN instance and transmission of all VPN instance corresponding to described Import RT attribute information on definite this PE equipment of a described PE equipment, receive the label information of the described VPN instance corresponding to described Import RT attribute information that a described PE equipment sends by BGP Update message, and carried the Export RT attribute of described VPN instance in the described BGP Update message.
Described sending module, concrete being used for sends to a described PE equipment by BGP Refresh message with the Import RT attribute information of all VPN instance.
Described collection module, concrete being used for when the BGP Open message of receiving from a described PE equipment, filter label information if carry a described PE equipment support in the described BGP Open message by the RT attribute information, and described the 2nd PE equipment support is filtered label information by the RT attribute information, and the Import RT attribute information of then collecting all VPN instance on this 2nd PE equipment also sends.
Compared with prior art, the embodiment of the invention has the following advantages at least: in the embodiment of the invention, the one PE equipment can be known the Import RT attribute information of the 2nd PE equipment, and by BGP Update message with this Import RT attribute information the label information of corresponding VPN instance send to the 2nd PE equipment, thereby can avoid transmitting unnecessary BGP Update message, and reduce the transmission quantity of BGP Update message.Further, can also reduce the label information quantity that a PE equipment sends to the 2nd PE equipment, thereby reduce facility load and the network burden that the 2nd PE device processes label information causes.
Description of drawings
Fig. 1 is the networking schematic diagram of MPLS L2VPN network in the prior art;
Fig. 2 is the schematic diagram of two BGP Update message transmissions label informations in the prior art;
Fig. 3 is the transmission method schematic flow sheet of a kind of label information of providing of the embodiment of the invention;
Fig. 4 is the schematic diagram that increases optional parameters in the embodiment of the invention in the BGP Open message newly;
Fig. 5 is at the BGP Refresh message format schematic diagram of VPWS example in the embodiment of the invention;
Fig. 6 is at the BGP Refresh message format schematic diagram of VPLS example in the embodiment of the invention;
Fig. 7 is the structural representation of a kind of routing device of providing of the embodiment of the invention;
Fig. 8 is the structural representation of the another kind of routing device that provides of the embodiment of the invention.
Embodiment
At problems of the prior art, the embodiment of the invention provides a kind of transmission method of label information, this method is applied to comprise in the MPLS L2VPN network (this MPLS L2VPN network is specifically as follows the MPLS L2VPN network of Kompella mode) of a PE equipment of bgp neighbor each other and the 2nd PE equipment, be example with application scenarios shown in Figure 1, the one PE equipment is PE1, and the 2nd PE equipment is PE2; Perhaps, a PE equipment is PE2, and the 2nd PE equipment is PE1; Follow-up is PE1 with a PE equipment, and the 2nd PE equipment is that PE2 is that example describes.
Based on above-mentioned application scenarios, as shown in Figure 3, this method may further comprise the steps:
Step 301, successfully set up bgp neighbor (being that the bgp neighbor state machine is that ESTABLISHED(sets up) state at the 2nd PE equipment and a PE equipment) afterwards, the 2nd PE equipment is collected the Import RT attribute information (being Import route target attribute) of all VPN instance on this 2nd PE equipment.
Step 302, the 2nd PE equipment refreshes by BGP Refresh() message sends to a PE equipment with the Import RT attribute information of all VPN instance.
In the embodiment of the invention, can also carry out capability negotiation between the one PE equipment and the 2nd PE equipment, have only when the two all supports by RT attribute information filtration label information (namely supporting the technical scheme that the embodiment of the invention provides), just the technical scheme that can adopt the embodiment of the invention to provide is handled; Otherwise, will handle according to existing execution mode, this processing procedure repeats no more.
Based on this, in a kind of preferred implementation of the embodiment of the invention, a PE equipment sends BGP Open(to the 2nd PE equipment to begin) message, whether the PE equipment that carries in this BGP Open message is supported to filter label information by the RT attribute information; The 2nd PE equipment is when the BGP Open message of receiving from a PE equipment, filter label information if carry a PE equipment support in the BGP Open message by the RT attribute information, and the 2nd PE equipment support is filtered label information by the RT attribute information, then the 2nd PE equipment is collected the Import RT attribute information of all VPN instance on this 2nd PE equipment, and by BGP Refresh message the Import RT attribute information of all VPN instance is sent to a PE equipment.
In specific implementation, can in BGP Open message, increase optional parameters as shown in Figure 4 newly, if carry this optional parameters in the BGP Open message, then show and support to filter label information by the RT attribute information; If do not carry this optional parameters in the BGP Open message, then show and do not support to filter label information by the RT attribute information; Therefore, the 2nd PE equipment is when the BGP Open message of receiving from a PE equipment, if carry this optional parameters in the BGP Open message, but the 2nd PE equipment is not supported to filter label information by the RT attribute information, the merit of then failing to consultations is handled according to existing execution mode; If do not carry this optional parameters in the BGP Open message, the merit of then failing to consultations is handled according to existing execution mode; If carry this optional parameters in the BGP Open message, and the 2nd PE equipment support is filtered label information by the RT attribute information, then consults successfully, handles according to the technical scheme that the embodiment of the invention provides, namely carry out above-mentioned step 301 and 302, and subsequent step.
In the embodiment of the invention, VPN instance is specifically as follows: VPWS example or VPLS example.In optional parameters shown in Figure 4, the Type(type at the VPWS example can be set) field is 111, the type field that arranges at the VPLS example is 112.
In the embodiment of the invention, based on existing BGP Refresh message, can be by in BGP Refresh message, increasing Route Target information TLV(Type Length Value newly, type lengths values), thus make the 2nd PE equipment that the Import RT attribute information of all VPN instance is sent to a PE equipment.
As shown in Figure 5, be the form schematic diagram at the BGP Refresh message of VPWS example; Wherein, the type field is 1 byte, and type definition is 88; The length field is 2 bytes, is defined as the length summation of value value; The value value field is filled in the Import RT attribute information (being Import route target attribute) of the 2nd all VPWS examples of PE equipment; In addition, when the 2nd PE equipment wishes to receive the label information of all VPWS examples of PE equipment, then the value field can be extended this as complete 0.
Under application scenarios shown in Figure 1, because the Import route target attribute that the 2nd PE equipment (PE2) is gone up in all VPWS examples has only 100:1, therefore 100:1 need be filled up to the value field of the Route Target information TLV of BGP Refresh message, and because the value field has only an Import route target value, therefore the length field is filled in 8 bits, as shown in Figure 5.
As shown in Figure 6, be the form schematic diagram at the BGP Refresh message of VPLS example; Wherein, the type field is 1 byte, and type definition is 89; The length field is 2 bytes, is defined as the length summation of value value; The value value field is filled in the Import RT attribute information (being Import route target attribute) of the 2nd all VPLS examples of PE equipment; In addition, when the 2nd PE equipment wishes to receive the label information of all VPLS examples of PE equipment, then the value field can be extended this as complete 0.
Under application scenarios shown in Figure 1, because the Import route target attribute that the 2nd PE equipment (PE2) is gone up in all VPLS examples has only 100:1, therefore 100:1 need be filled up to the value field of the Route Target information TLV of BGP Refresh message, and because the value field has only an Import route target value, therefore the length field is filled in 8 bits, as shown in Figure 6.
Step 303, a PE equipment receive the Import RT attribute information from the 2nd PE equipment, and determine on this PE equipment in all VPN instance the VPN instance corresponding to this Import RT attribute information.
In the embodiment of the invention, a PE equipment is known the Import route target attribute (the Import RT attribute information in the BGP Refresh message) that the 2nd PE equipment needs after the BGP Refresh message of receiving from the 2nd PE equipment; Based on this, a PE equipment need be selected the VPN instance corresponding to this Import RT attribute information in local all VPN instance.
Concrete, a PE equipment extracts the Import RT attribute information of the 2nd PE equipment from BGP Refresh message, and the Export route target attribute of all VPN instance on this Import RT attribute information and the PE equipment relatively; If have the Export route target attribute of VPN instance and Import RT attribute information to be complementary, determine that then this VPN instance is corresponding to this Import RT attribute information.
Under application scenarios shown in Figure 1, the one PE equipment can know from BGP Refresh message that the Import route target attribute that the 2nd PE equipment needs is 100:1, and the Export route target attribute of VPN1 is 100:1 on the PE equipment, the Export route target attribute of VPN2 is 200:1, and namely a PE equipment determines that VPN1 is corresponding to the Import RT attribute information (100:1) in the BGP Refresh message.
Step 304, the label information corresponding to the VPN instance of the Import RT attribute information Import RT attribute information of the 2nd PE equipment (namely from) that the one PE equipment will be determined by BGP Update message sends to the 2nd PE equipment, carries the Export RT attribute of this VPN instance in this BGP Update message.
In the embodiment of the invention, after a PE equipment and the 2nd PE equipment are set up bgp neighbor, the one PE equipment did not send BGP Update message to the 2nd PE equipment before not receiving the BGP Refresh message that carries Route Target information TLV; The one PE equipment is after receiving the BGP Refresh message that carries Route Target information TLV, if the local VPN instance that does not have the Import RT attribute information correspondence of the 2nd PE equipment does not then send BGP Update message to the 2nd PE equipment; If the local VPN instance that the Import RT attribute information correspondence of the 2nd PE equipment is arranged then sends the BGP Update message of this VPN instance correspondence to the 2nd PE equipment; If the value field is complete 0 among the Route Target information TLV, then send the label information of all VPN instance by BGP Update message.
Under application scenarios shown in Figure 1, last all VPN instance of PE1 are that VPN1(Export route target is 100:1) and VPN2(Export route target be 200:1), the last VPN instance of PE2 is that VPN1(Import route target is 100:1); After adopting the technical scheme that the embodiment of the invention provides, PE1 only need send to PE2 with the label information of VPN1 example by a BGP Update message, and the Export RT attribute that carries in this BGP Update message is 100:1; PE2 is after receiving this BGP Update message, by Import route target(100:1 relatively) and BGP Update message in the Export RT attribute that carries, can accept Export RT attribute is the BGP Update message of 100:1; Obviously, said process can avoid transmitting unnecessary BGP Update message, and reduces the transmission quantity of BGP Update message.Further, can reduce by a PE equipment to the label information quantity that the 2nd PE equipment sends, reduce facility load and network burden that the 2nd PE device processes label information causes.
In the embodiment of the invention, after the 2nd PE equipment and a PE equipment are successfully set up bgp neighbor, if increased VPN instance (VPWS example or VPLS example) on the 2nd PE equipment newly, then the 2nd PE equipment need extract the Import RT attribute information (being Import route target attribute) of this newly-increased VPN instance, and by BGP Refresh message (as Fig. 5 or shown in Figure 6) this Import RT attribute information is sent to a PE equipment; By a PE equipment after receiving this BGP Refresh message, determine on this PE equipment in all VPN instance the VPN instance corresponding to this Import RT attribute information, and by BGP Update message the label information of the VPN instance determined is sent to the 2nd PE equipment.
Based on the inventive concept same with said method, a kind of routing device also is provided in the embodiment of the invention, be applied to comprise as the first service provider network edge PE equipment in the multiprotocol label switching MPLS L2VPN L2VPN network of Border Gateway Protocol (BGP) neighbours' each other a PE equipment and the 2nd PE equipment, as shown in Figure 7, a described PE equipment comprises:
Receiver module 11 is used for after a described PE equipment and described the 2nd PE equipment are set up bgp neighbor, and reception is from the Import route target RT attribute information of described the 2nd PE equipment;
Determination module 12 is used for determining that all virtual private network examples are corresponding to the VPN instance of described Import RT attribute information on this PE equipment;
Sending module 13, be used for by BGP Update message the label information of described VPN instance corresponding to described Import RT attribute information being sent to described the 2nd PE equipment, and carried the Export RT attribute of described VPN instance in the described BGP Update message.
In the embodiment of the invention, described determination module 12, the concrete Import RT attribute information that is used for extracting described the 2nd PE equipment, and the Export RT attribute of all VPN instance on more described Import RT attribute information and PE equipment originally; If have the Export RT attribute of VPN instance and described Import RT attribute information to be complementary, determine that then this VPN instance is corresponding to described Import RT attribute information.
Wherein, each module of apparatus of the present invention can be integrated in one, and also can separate deployment.Above-mentioned module can be merged into a module, also can further split into a plurality of submodules.
Based on the inventive concept same with said method, a kind of routing device also is provided in the embodiment of the invention, be applied to comprise as the second service provider network edge PE equipment in the multiprotocol label switching MPLS L2VPN L2VPN network of Border Gateway Protocol (BGP) neighbours' each other a PE equipment and the 2nd PE equipment, as shown in Figure 8, described the 2nd PE equipment comprises:
Collection module 21 is used for collecting the Import RT attribute information of all virtual private network examples on the 2nd PE equipment after described the 2nd PE equipment and a described PE equipment are set up bgp neighbor;
Sending module 22 is used for the Import RT attribute information of all VPN instance is sent to a described PE equipment;
Receiver module 23, be used for behind the VPN instance and transmission of all VPN instance corresponding to described Import RT attribute information on definite this PE equipment of a described PE equipment, receive the label information of the described VPN instance corresponding to described Import RT attribute information that a described PE equipment sends by BGP Update message, and carried the Export RT attribute of described VPN instance in the described BGP Update message.
In the embodiment of the invention, described sending module 22, concrete being used for sends to a described PE equipment by BGP Refresh message with the Import RT attribute information of all VPN instance.
In the embodiment of the invention, described collection module 21, concrete being used for when the BGP Open message of receiving from a described PE equipment, filter label information if carry a described PE equipment support in the described BGP Open message by the RT attribute information, and described the 2nd PE equipment support is filtered label information by the RT attribute information, and the Import RT attribute information of then collecting all VPN instance on this 2nd PE equipment also sends.
Wherein, each module of apparatus of the present invention can be integrated in one, and also can separate deployment.Above-mentioned module can be merged into a module, also can further split into a plurality of submodules.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the module in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of above-described embodiment can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number does not represent the quality of embodiment just to description.
More than disclosed only be several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (10)

1. the transmission method of a label information, be applied to comprise in the multiprotocol label switching MPLS L2VPN L2VPN network of Border Gateway Protocol (BGP) neighbours' each other the first service provider network edge PE equipment and the 2nd PE equipment, it is characterized in that this method may further comprise the steps:
After a described PE equipment and described the 2nd PE equipment were set up bgp neighbor, a described PE equipment received the Import route target RT attribute information from described the 2nd PE equipment;
A described PE equipment is determined on this PE equipment in all virtual private network examples the VPN instance corresponding to described Import RT attribute information;
A described PE equipment sends to described the 2nd PE equipment by BGP Update message with the label information of described VPN instance corresponding to described Import RT attribute information, and has carried the Export RT attribute of described VPN instance in the described BGP Update message.
2. the method for claim 1 is characterized in that, before the Import route target RT attribute information of described PE equipment reception from described the 2nd PE equipment, described method also comprises:
After described the 2nd PE equipment and a described PE equipment are set up bgp neighbor, described the 2nd PE equipment is collected the Import RT attribute information of all VPN instance on this 2nd PE equipment, and by BGP Refresh message the Import RT attribute information of all VPN instance is sent to a described PE equipment.
3. method as claimed in claim 2, it is characterized in that, described the 2nd PE equipment is collected the Import RT attribute information of all VPN instance on this 2nd PE equipment, and by BGP Refresh message the Import RT attribute information of all VPN instance is sent to a described PE equipment, specifically comprise:
Described the 2nd PE equipment is when the BGP Open message of receiving from a described PE equipment, filter label information if carry a described PE equipment support in the described BGP Open message by the RT attribute information, and described the 2nd PE equipment support is filtered label information by the RT attribute information, then described the 2nd PE equipment is collected the Import RT attribute information of all VPN instance on this 2nd PE equipment, and by BGP Refresh message the Import RT attribute information of all VPN instance is sent to a described PE equipment.
4. the method for claim 1 is characterized in that, a described PE equipment is determined on this PE equipment in all VPN instance specifically to comprise corresponding to the VPN instance of described Import RT attribute information:
A described PE equipment extracts the Import RT attribute information of described the 2nd PE equipment, and the Export RT attribute of all VPN instance on more described Import RT attribute information and this PE equipment;
If have the Export RT attribute of VPN instance and described Import RT attribute information to be complementary, then a described PE equipment determines that this VPN instance is corresponding to described Import RT attribute information.
5. as each described method of claim 1-4, it is characterized in that described VPN instance is specially: virtual private exchange line road service VPWS example, or, virtual special local area network service VPLS example.
6. routing device, be applied to comprise as the first service provider network edge PE equipment in the multiprotocol label switching MPLS L2VPN L2VPN network of Border Gateway Protocol (BGP) neighbours' each other a PE equipment and the 2nd PE equipment, it is characterized in that a described PE equipment comprises:
Receiver module is used for after a described PE equipment and described the 2nd PE equipment are set up bgp neighbor, and reception is from the Import route target RT attribute information of described the 2nd PE equipment;
Determination module is used for determining that all virtual private network examples are corresponding to the VPN instance of described Import RT attribute information on this PE equipment;
Sending module, be used for by BGP Update message the label information of described VPN instance corresponding to described Import RT attribute information being sent to described the 2nd PE equipment, and carried the Export RT attribute of described VPN instance in the described BGP Update message.
7. equipment as claimed in claim 6 is characterized in that,
Described determination module, the concrete Import RT attribute information that is used for extracting described the 2nd PE equipment, and the Export RT attribute of all VPN instance on more described Import RT attribute information and PE equipment originally; If have the Export RT attribute of VPN instance and described Import RT attribute information to be complementary, determine that then this VPN instance is corresponding to described Import RT attribute information.
8. routing device, be applied to comprise as the second service provider network edge PE equipment in the multiprotocol label switching MPLS L2VPN L2VPN network of Border Gateway Protocol (BGP) neighbours' each other a PE equipment and the 2nd PE equipment, it is characterized in that described the 2nd PE equipment comprises:
Collection module is used for collecting the Import RT attribute information of all virtual private network examples on the 2nd PE equipment after described the 2nd PE equipment and a described PE equipment are set up bgp neighbor;
Sending module is used for the Import RT attribute information of all VPN instance is sent to a described PE equipment;
Receiver module, be used for behind the VPN instance and transmission of all VPN instance corresponding to described Import RT attribute information on definite this PE equipment of a described PE equipment, receive the label information of the described VPN instance corresponding to described Import RT attribute information that a described PE equipment sends by BGP Update message, and carried the Export RT attribute of described VPN instance in the described BGP Update message.
9. equipment as claimed in claim 8 is characterized in that,
Described sending module, concrete being used for sends to a described PE equipment by BGP Refresh message with the Import RT attribute information of all VPN instance.
10. equipment as claimed in claim 8 is characterized in that,
Described collection module, concrete being used for when the BGP Open message of receiving from a described PE equipment, filter label information if carry a described PE equipment support in the described BGP Open message by the RT attribute information, and described the 2nd PE equipment support is filtered label information by the RT attribute information, and the Import RT attribute information of then collecting all VPN instance on this 2nd PE equipment also sends.
CN201310117702.3A 2013-04-07 2013-04-07 A kind of transmission method of label information and equipment Active CN103209125B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310117702.3A CN103209125B (en) 2013-04-07 2013-04-07 A kind of transmission method of label information and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310117702.3A CN103209125B (en) 2013-04-07 2013-04-07 A kind of transmission method of label information and equipment

Publications (2)

Publication Number Publication Date
CN103209125A true CN103209125A (en) 2013-07-17
CN103209125B CN103209125B (en) 2016-03-02

Family

ID=48756214

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310117702.3A Active CN103209125B (en) 2013-04-07 2013-04-07 A kind of transmission method of label information and equipment

Country Status (1)

Country Link
CN (1) CN103209125B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104980362A (en) * 2014-04-04 2015-10-14 华为技术有限公司 Business tunnel establishment method and business tunnel establishment device
CN105099846A (en) * 2014-04-30 2015-11-25 华为技术有限公司 Method of transmitting data messages and provider edge (PE) devices
CN106789302A (en) * 2016-12-29 2017-05-31 迈普通信技术股份有限公司 A kind of method and device of advertising of route
WO2017113772A1 (en) * 2015-12-30 2017-07-06 华为技术有限公司 Label management method, and method and device for processing data stream
CN107026796A (en) * 2016-02-01 2017-08-08 华为技术有限公司 A kind of VPN route advertising methods, stream compression forwarding method and relevant device
CN109936503A (en) * 2017-12-15 2019-06-25 上海诺基亚贝尔股份有限公司 Netted VPWS system based on EVPN and the method and apparatus for establishing netted VPWS example

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7796607B2 (en) * 2008-05-30 2010-09-14 At&T Intellectual Property I, L.P. Scalable multiprotocol label switching based virtual private networks and methods to implement the same
CN102724118A (en) * 2012-06-06 2012-10-10 华为技术有限公司 Label distribution method and device
CN102804693A (en) * 2009-06-26 2012-11-28 阿瓦雅公司 Method and apparatus for implementing L2 VPNs on an ip network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7796607B2 (en) * 2008-05-30 2010-09-14 At&T Intellectual Property I, L.P. Scalable multiprotocol label switching based virtual private networks and methods to implement the same
CN102804693A (en) * 2009-06-26 2012-11-28 阿瓦雅公司 Method and apparatus for implementing L2 VPNs on an ip network
CN102724118A (en) * 2012-06-06 2012-10-10 华为技术有限公司 Label distribution method and device

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104980362B (en) * 2014-04-04 2019-04-12 华为技术有限公司 A kind of service tunnel method for building up and equipment
CN104980362A (en) * 2014-04-04 2015-10-14 华为技术有限公司 Business tunnel establishment method and business tunnel establishment device
CN105099846B (en) * 2014-04-30 2018-10-19 华为技术有限公司 The method and supplier edge device of data message transmission
CN105099846A (en) * 2014-04-30 2015-11-25 华为技术有限公司 Method of transmitting data messages and provider edge (PE) devices
WO2017113772A1 (en) * 2015-12-30 2017-07-06 华为技术有限公司 Label management method, and method and device for processing data stream
US11233732B2 (en) 2015-12-30 2022-01-25 Huawei Technologies Co., Ltd. Label management method, data stream processing method, and device
US11588730B2 (en) 2015-12-30 2023-02-21 Huawei Technologies Co., Ltd. Label management method, data stream processing method, and device
CN107026796A (en) * 2016-02-01 2017-08-08 华为技术有限公司 A kind of VPN route advertising methods, stream compression forwarding method and relevant device
CN107026796B (en) * 2016-02-01 2021-01-05 华为技术有限公司 VPN route notification method, data flow forwarding method and related equipment
CN106789302A (en) * 2016-12-29 2017-05-31 迈普通信技术股份有限公司 A kind of method and device of advertising of route
CN106789302B (en) * 2016-12-29 2019-09-20 迈普通信技术股份有限公司 A kind of method and device of advertising of route
CN109936503A (en) * 2017-12-15 2019-06-25 上海诺基亚贝尔股份有限公司 Netted VPWS system based on EVPN and the method and apparatus for establishing netted VPWS example
CN109936503B (en) * 2017-12-15 2021-04-23 上海诺基亚贝尔股份有限公司 Mesh VPWS system based on EVPN and method and equipment for establishing mesh VPWS instance

Also Published As

Publication number Publication date
CN103209125B (en) 2016-03-02

Similar Documents

Publication Publication Date Title
CN110266592A (en) The communication means and device of SRV6 network and IP MPLS network
CN103209125A (en) Label information transmission method and device
CN101984598B (en) Message forwarding method and deep packet inspection (DPI) device
CN105379197A (en) Tunnel establishment method, label allocation method, device, and network system
CN102098202B (en) Virtual private topology control method, device and system
CN103748835A (en) Dynamic updating of a label switched path
CN104767680B (en) It route the method and apparatus being switched fast
CN102724118A (en) Label distribution method and device
CN104396197A (en) Selecting between equal cost shortest paths in a 802.1aq network using split tiebreakers
CN103795630B (en) The message transmitting method and device of a kind of label exchange network
US8964749B2 (en) Method, device and system for establishing a pseudo wire
CN103067278B (en) A kind of method for transmission processing of Frame, equipment and system
CN106941437A (en) A kind of information transferring method and device
CN103326915A (en) Method, device and system for achieving three-layer VPN
CN102238057A (en) Ethernet-tree realization method, system, device and network equipment
CN102904814B (en) Data transmission method, source PE, object PE and data transmission system
CN107959611A (en) A kind of method to E-Packet, apparatus and system
CN103200107B (en) Message transmitting method and message transmitting equipment
CN103269300B (en) A kind of method and apparatus of realizing heterogeneous network internetworking
CN103001886A (en) ECT (Equal Cost Tree) smooth moving method and device
CN111385204A (en) Service transmission method, device, equipment and medium
CN102752221B (en) Method and device for sharing load of data message used for L2TP (layer 2 tunneling protocol) networking
CN106034075A (en) Method and device for distributing label for VPN routing
CN102891758B (en) Multicast data transmission method and equipment
CN102739519B (en) Rooted multipoint service implementation method, device and system, and provider edge equipment

Legal Events

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

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address