CN103312611B - Message processing method, device label processing method and equipment - Google Patents
Message processing method, device label processing method and equipment Download PDFInfo
- Publication number
- CN103312611B CN103312611B CN201310216416.2A CN201310216416A CN103312611B CN 103312611 B CN103312611 B CN 103312611B CN 201310216416 A CN201310216416 A CN 201310216416A CN 103312611 B CN103312611 B CN 103312611B
- Authority
- CN
- China
- Prior art keywords
- equipment
- label
- entry
- message
- device label
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4633—Interconnection of networks using encapsulation techniques, e.g. tunneling
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the present invention provides a kind of message processing method, device label processing method and equipment, this message processing method includes: outlet provider edge PE equipment receives entry PE equipment by the broadcast of how point-to-multipoint MP2MP tunnel transmission, unknown unicast, multicast BUM message, described BUM message comprises tunnel label and the device label of described entry PE equipment, wherein, described tunnel label is the label in described MP2MP tunnel;Described outlet PE equipment, according to the device label of described entry PE equipment, determines that described BUM message is derived from described entry PE equipment.The method that the present embodiment provides, comprising the device label of entry PE equipment in BUM message, this device label can uniquely identify entry PE equipment, and outlet PE equipment is after receiving this BUM message, can determine that this message is derived from entry PE equipment according to the device label in BUM message.
Description
Technical field
The present invention relates to communication technology, particularly relate to a kind of message processing method, device label processing method and equipment.
Background technology
The most point-to-multipoint (Multi-Point to Multi-Point is called for short MP2MP) business is in communication network
Individual important service type.MP2MP business can realize based on Ethernet at present, wherein, and Virtual Private Network (Virtual
Private Network, is called for short VPN) business is to realize one of MP2MP business typical case's application based on Ethernet.VPN can be
(Virtual Private LAN Service is called for short one VPLS of multiple VPN (virtual private network) composition
VPLS), VPLS can provide the business of similar LAN, can be that user is concurrently accessed net from multiple geographical position spaced point
Network, mutually accesses, just as these access points are directly connected to LAN.
In prior art, it is achieved MP2MP mostly uses multiprotocol label switching (Multi Protocol Label
Switch, is called for short MPLS) technology, as it is shown in figure 1, Fig. 1 is the schematic diagram of VPLS network in prior art, the client of different geographical
Website is connected on multiple provider edge PE of MPLS network constitute a VPLS, in Fig. 1, PE1, PE2, PE3 equipment
Forming a MP2MP tree, this MP2MP tree is used for carrying the data of 2 VPLS network, i.e. VPLS A and VPLS B.Each PE equipment
Between entirely connected by pseudo-wire (Pseudo Wire, be called for short PW), by virtual switch instance VSI corresponding on PE equipment
(Virtual Switch Instance) carries out message forwarding, and VSI is similar to a virtual bridge, and (Virtual Bridge is called for short
VB), the PW of network side is connected the interface of CE with user side can regard the port of this VB as, in figure on each PE equipment
Having two VSI, VSI A and VSI B, VSI A is used for forwarding VPLS A data message, and VSI B is used for forwarding VPLS B data report
Literary composition.On the one hand, PE equipment to complete the mac learning to local terminal website and remote station by datum plane, to local terminal in VSI
The MAC address learning of website is consistent with conventional switch mode, and the MAC address learning to remote station is then according to from network side
The packaging information entrained by data message received is set up the corresponding relation of message source MAC with PW and is completed.On the other hand, PE
VSI on equipment will broadcast, unknown unicast, multicast (Broadcast, Unknown Unicast, Multicast are called for short BUM)
Message is sent to belong to the different websites of same VPLS across bearer network.
Fig. 2 is to use MP2MP tunnel to forward the uplink traffic schematic diagram of BUM message in prior art, and Fig. 3 is prior art
Middle use MP2MP tunnel forwards the downlink traffic schematic diagram of BUM message.As shown in Figures 2 and 3, by three provider edges
(Provider Edge is called for short PE), equipment set up a MP2MP tree with provider's P equipment, and this MP2MP tree can be used to carry
The data of multiple VPLS network, PE equipment is connected (for illustrating in figure) with customer edges (Customer Edge is called for short CE), Fig. 2
With in Fig. 3, in this MP2MP number, PE1 (uses in figure as child node as root node (representing with source in figure), PE2 and PE3
Receive represents).
In MP2MP tree, BUM message may enter from multiple entrances, mails to the outlet of multiple purpose.As in figure 2 it is shown, work as
When BUM message originates from PE1, after PE1 receives the message that CE sends, from inside to outside to message packaging V PLS label (Label)
Turn in messages with MP2MP tunnel label (MP2MP Tree Lable) L3 envelope, be sent to P equipment, after P equipment receives message,
Eject label L3, message is replicated two parts, by being sent in the message of PE2 plus label L1, be sent in the message of PE3 add
Label L2.As it is shown on figure 3, after message originates from the message that PE3, PE3 receive CE transmission, from inside to outside to message packaging V PLS
Label (Label) and MP2MP tunnel label L6 envelope turn in message 1, are sent to P equipment, after P equipment receives message, eject mark
Sign L6, message is replicated two parts, by being sent in the message of PE2 plus label L1, be sent in the message of PE3 plus label
L4.Comparison diagram 2 and Fig. 3 understands, and for PE2, receives the message originated from PE1 and the message that originates from PE3
Tunnel label is all L1, and according to outer layer tunnel label None-identified entry PE equipment, therefore, PE2 cannot be according to entrained by message
Outer layer MP2MP tunnel label add internal layer VPLS label to set up the corresponding relation of message source MAC Yu PW, thus cannot complete remote
The MAC(of end station point i.e. message source MAC) study.
Summary of the invention
The embodiment of the present invention provides a kind of message processing method, device label processing method and equipment, makes outlet PE equipment
Can know which entry PE equipment the BUM message received is derived from.
First aspect present invention provides a kind of message processing method, including:
Outlet provider edge PE equipment receive broadcast that entry PE equipment sent by how point-to-multipoint MP2MP tunnel,
Unknown unicast, multicast BUM message, described BUM message comprises tunnel label and, wherein, described tunnel label is described
The device label of entry PE equipment described in the label in MP2MP tunnel;
Described outlet PE equipment, according to the device label of described entry PE equipment, determines that described BUM message enters described in being derived from
Mouth PE equipment.
In the first possible implementation of first aspect present invention, described outlet PE equipment receives entry PE equipment
By before the BUM message that MP2MP tunnel sends, also include:
Described outlet PE equipment receive tag control equipment send described entry PE equipment device label with described enter
Corresponding relation between mouth PE equipment;
Described outlet PE equipment, according to the device label of described entry PE equipment, determines that described BUM message enters described in being derived from
Mouth PE equipment, including:
Described outlet PE equipment, according to the device label of described entry PE equipment and described corresponding relation, determines described BUM
Message is derived from described entry PE equipment.
In the implementation that the second of first aspect present invention is possible, described outlet PE equipment is according to described entry PE
The device label of equipment, determines that described BUM message is derived from described entry PE equipment, including:
Described outlet PE equipment is according to the device label of described entry PE equipment and the equipment of PE equipment that is pre-configured with
Corresponding relation between label and PE equipment, determines that described BUM message is derived from described entry PE equipment.
In conjunction with the first implementation possible with the second of first aspect present invention and first aspect present invention, at this
In the third possible implementation of invention first aspect, the source media also comprising described BUM message in described BUM message connect
Enter to control MAC Address and VPLS VPLS label, described determine that described BUM message is derived from described entry PE
After equipment, also include:
Described outlet PE equipment determines pseudo-wire PW between described access device according to described VPLS label, sets up described
Corresponding relation between source MAC and described PW.
Second aspect present invention provides a kind of message processing method, including:
Entrance provider edge PE equipment receives the broadcast of customer edge CE equipment transmission, unknown unicast, multicast BUM report
Literary composition;
Described entry PE equipment is by tunnel label, the device label of described entry PE equipment and virtual special local area network industry
Business VPLS Tag Packaging is in described BUM message, and wherein, described tunnel label is the label in how point-to-multipoint MP2MP tunnel;
Described entry PE equipment sends the BUM message after encapsulating by described MP2MP tunnel to outlet PE equipment, so that institute
State the outlet PE equipment device label according to described entry PE equipment, determine that described BUM message is derived from described entry PE equipment.
In the first possible implementation of second aspect present invention, described entry PE equipment is by tunnel label, institute
State the device label of entry PE equipment and VPLS Tag Packaging in described BUM message before, also include:
Described entry PE equipment obtains the device label of described entry PE equipment to tag control equipment application.
In the implementation that the second of second aspect present invention is possible, described entry PE equipment is by tunnel label, institute
State the device label of entry PE equipment and VPLS Tag Packaging in described BUM message, including:
Described tunnel label, the device label of described entry PE equipment that is pre-configured with are encapsulated in by described entry PE equipment
In described BUM message.
Third aspect present invention provides a kind of device label processing method, including:
Tag control equipment receives the device label allocation request message that first provider's edge PE equipment sends;
Described tag control equipment is according to described device label allocation request message, for a described PE equipment distributing equipment
Label;
Described tag control equipment sends, to a described PE equipment, the device label that distributes, and to a described PE
Equipment has message and forwards other PE equipment of relation to send the corresponding pass between a described PE equipment and described device label
System.
Fourth aspect present invention provides one to export provider's edge PE equipment, including:
Message receiver module, is used for receiving entrance provider edge PE equipment and is sent by how point-to-multipoint MP2MP tunnel
Broadcast, unknown unicast, multicast BUM message, described BUM message comprises tunnel label and the equipment of described entry PE equipment
Label, wherein, described tunnel label is the label in described MP2MP tunnel;
Entry PE equipment determines module, for the device label according to described entry PE equipment, determines described BUM message source
From described entry PE equipment.
In the first possible implementation of fourth aspect present invention, described equipment, also include:
Device label receiver module, for receive tag control equipment send described entry PE equipment device label with
Corresponding relation between described entry PE equipment;
Described entry PE equipment determine module specifically for, according to device label and the described correspondence of described entry PE equipment
Relation, determines that described BUM message is derived from described entry PE equipment.
In the implementation that the second of fourth aspect present invention is possible, described entry PE equipment determines that module is specifically used
In, right according between the device label of described entry PE equipment and device label and the PE equipment of PE equipment that are pre-configured with
Should be related to, determine that described BUM message is derived from described entry PE equipment.
In conjunction with the first implementation possible with the second of fourth aspect present invention and fourth aspect present invention, at this
In the third possible implementation of invention fourth aspect, the source media also comprising described BUM message in described BUM message connect
Entering to control MAC Address and VPLS VPLS label, described equipment also includes:
According to described VPLS label, MAC address learning module, for determining that described outlet PE equipment sets with described entry PE
Pseudo-wire PW between Bei, sets up the corresponding relation between described source MAC and described PW.
Fifth aspect present invention provides a kind of entrance provider edge PE equipment, including:
Message receiver module, for receiving the broadcast of customer edge CE equipment transmission, unknown unicast, multicast BUM message;
Message package module, for by tunnel label, the device label of described entry PE equipment and virtual private local
Network service VPLS Tag Packaging is in described BUM message, and wherein, described tunnel label is the mark in how point-to-multipoint MP2MP tunnel
Sign;
Message sending module, for sending the BUM message after encapsulating by described MP2MP tunnel to outlet PE equipment, with
Make described outlet PE equipment according to the device label of described entry PE equipment, determine that described BUM message is derived from described entry PE and sets
Standby.
In the first possible implementation of fifth aspect present invention, described equipment, also include:
Device label acquisition module, for obtaining the device label of described entry PE equipment to tag control equipment application.
In the implementation that the second of fifth aspect present invention is possible, described message package module specifically for, will
Described tunnel label, the device label of the described entry PE equipment being pre-configured with and VPLS Tag Packaging are at described BUM message
In.
Sixth aspect present invention provides a kind of tag control equipment, including:
Receiver module, for receiving the device label allocation request message that provider edge the oneth PE equipment sends;
Device label distribution module, for according to described device label allocation request message, divides for a described PE equipment
Join device label;
Sending module, for sending, to a described PE equipment, the device label distributed, and sets to a described PE
Message of getting everything ready forwards other PE equipment of relation to send the corresponding relation between a described PE equipment and described device label.
In the first possible implementation of sixth aspect present invention, described equipment be provider's edge PE equipment,
Router Reflector or Centralized Controller.
The embodiment of the present invention provides a kind of Message processing, device label processing method and equipment, and the embodiment of the present invention provides
Message processing method, BUM message comprises the device label of entry PE equipment, this device label can uniquely identify entry PE
Equipment, outlet PE equipment is after receiving this BUM message, it is possible to according to the device label in BUM message, determines that this message is derived from
Entry PE equipment.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, also may be used
To obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic diagram of VPLS network in prior art;
Fig. 2 is to use MP2MP tunnel to forward the uplink traffic schematic diagram of BUM message in prior art;
Fig. 3 is to use MP2MP tunnel to forward the downlink traffic schematic diagram of BUM message in prior art;
Fig. 4 is the flow chart of message processing method embodiment one of the present invention;
Fig. 5 is the flow chart of message processing method embodiment two of the present invention;
Fig. 6 is the flow chart of present device label processing method embodiment three;
Fig. 7 is the PE equipment schematic diagram to tag control equipment application device label;
Fig. 8 is the message schematic diagram of device label allocation request message;
Fig. 9 is that tag control equipment sends the schematic diagram of device label to each PE;
Figure 10 is the message schematic diagram of device label assignment response message;
Figure 11 is that in MP2MP tunnel establishment procedure, downlink tunnel label issues schematic diagram;
Figure 12 is the encapsulation format schematic diagram of LDP Mapping message;
Figure 13 is that in MP2MP tunnel establishment procedure, uplink tunnel label issues schematic diagram;
Figure 14 is the flow chart of message processing method embodiment four of the present invention;
Figure 15 is that VPLS uses MP2MP tunnel to forward the schematic diagram of BUM flow;
Figure 16 is the encapsulation format of the BUM message forwarded between each PE in the present invention;
Figure 17 is that VPLS uses MP2MP tunnel to forward the schematic diagram of BUM flow;
Figure 18 is the flow chart of outlet PE apparatus embodiments five of the present invention;
Figure 19 is the flow chart of outlet PE apparatus embodiments six of the present invention;
Figure 20 is the flow chart of entry PE apparatus embodiments seven of the present invention;
Figure 21 is the structural representation of tag control apparatus embodiments eight of the present invention;
Figure 22 is the structural representation of outlet PE apparatus embodiments nine of the present invention;
Figure 23 is the structural representation of entry PE apparatus embodiments ten of the present invention;
Figure 24 is the structural representation of tag control apparatus embodiments 11 of the present invention.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
The a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under not making creative work premise, broadly falls into the scope of protection of the invention.
Fig. 4 is the flow chart of message processing method embodiment one of the present invention, as shown in Figure 4, and the method that the present embodiment provides
Comprise the following steps:
Step 101, outlet PE equipment receive the BUM message that entry PE equipment is sent by MP2MP tunnel, in BUM message
Comprising the device label of tunnel label and entry PE equipment wherein, tunnel label is the label in MP2MP tunnel.
Arriving after entry PE equipment for broadcast, unknown unicast, multicast message, entry PE equipment is according to having built up
The tunnel that MP2MP tree is corresponding, on other outlet PE equipment being forwarded in MP2MP tree by BUM message.In the present embodiment, entrance
The BUM message that PE equipment receives includes the source MAC of this BUM message, entry PE equipment after receiving BUM message,
Not only by tunnel label and VPLS Tag Packaging at BUM message, also the device label of entry PE equipment is encapsulated in BUM message,
This device label can uniquely identify a PE equipment.Outlet PE equipment receives what entry PE equipment was sent by MP2MP tunnel
BUM message, comprises the source matchmaker of tunnel label, the device label of entry PE equipment, VPLS label and BUM message in BUM message
Body Access Control (Media Access Control is called for short MAC) address, wherein, this tunnel label is the mark in MP2MP tunnel
Sign.
Step 102, outlet PE equipment, according to the device label of entry PE equipment, determine that BUM message is derived from entry PE equipment.
After outlet PE equipment receives BUM message, resolve the device label obtaining the entry PE equipment comprised in message, root
According to this device label, determine that this BUM message originates from entry PE equipment.
Specifically, outlet PE equipment can identify according to the access device carried in BUM message, and self storage
Corresponding relation between device label and the entry PE equipment of entry PE equipment determines that BUM message originates from entry PE equipment.
In a kind of implementation, the corresponding relation between device label and the entry PE equipment of entry PE equipment can be in advance
Configuration, is one device label of static configuration, each PE in this network on each PE equipment in network when initial networking
Equipment all preserves the mapping table of the device label that each PE is used, component devices label and PE equipment, each PE equipment
The mapping table of upper preservation is all identical.After outlet PE equipment receives BUM message, according to the equipment mark of entry PE equipment
Corresponding relation between device label and the PE equipment of the PE equipment signed and be pre-configured with, determines that BUM message is derived from entry PE
Equipment.
In another kind of implementation, the corresponding relation between device label and the entry PE equipment of entry PE equipment is dynamic
Configuration, before outlet PE equipment receives the BUM message that entry PE equipment is sent by MP2MP tunnel, reception tag control equipment
Corresponding relation between device label and the entry PE equipment of the entry PE equipment sent;Then, outlet PE equipment is according to entrance
The device label of PE equipment and corresponding relation, determine that BUM message is derived from entry PE equipment.In this fashion, by tag control
Equipment unified management device label, each PE equipment is using before device label to tag control equipment application equipment mark
Signing, tag control equipment, in addition to this device label is sent to the PE equipment of application, also turns to having message with this PE equipment
Other PE equipment of the relation of sending out sends the corresponding relation between this PE equipment and device label.So, can on each PE equipment
Preserve the corresponding relation between this PE equipment and device label, so that outlet device is according to this device label, and PE
Corresponding relation between equipment and device label determines that this BUM message is derived from entry PE equipment.
The method that the present embodiment provides, comprises the device label of entry PE equipment in BUM message, this device label can be only
One mark entry PE equipment, outlet PE equipment is after receiving this BUM message, it is possible to according to the device label in BUM message, really
This message fixed is derived from entry PE equipment.
Further, after step 102, i.e. outlet PE equipment determines that BUM message also may be used after being derived from entry PE equipment
To comprise the following steps: outlet PE equipment determines the PW between entry PE equipment according to VPLS label, set up source MAC with
Corresponding relation between PW, in the present embodiment, also comprises source media MAC Address and VPLS label in BUM message, outlet PE sets
For determining that the PW between this outlet PE equipment and entry PE equipment, the PW according to determining set up source MAC according to VPLS label
And the relation between PW.First simply introduce PW, all entirely connected by pseudo-wire between each PE in MP2MP tree, and pass through PE
VSI corresponding on equipment carries out message forwarding, and a MP2MP tree can carry multiple VPLS, a corresponding VSI of VPLS,
VSI carry out message forward time be according to PE equipment between set up PW communication, the PW between each PE equipment is different.Cause
This, outlet PE equipment is firstly the need of determining which entry PE equipment BUM message is derived from, and then determines outlet PE equipment and entry PE
Pseudo-wire between equipment, owing to can set up a plurality of PW between two PE equipment, every PW is for one VPLS of transmission, so outlet
PE equipment also needs to determine the PW of correspondence according to the VPLS label carried.Specifically, outlet PE is determining that BUM message is derived from entrance
After PE equipment, resolve VPLS label and the source MAC obtaining this message, and determine outlet PE equipment according to VPLS label
And the pseudo-wire between entry PE equipment, sets up the corresponding relation between source MAC and PW.Outlet PE equipment also needs to inquiry originally
The mac address table that ground preserves, according to purpose MAC of BUM message, forwards this message.
Fig. 5 is the flow chart of message processing method embodiment two of the present invention, and the method that the present embodiment provides, including following step
Rapid:
Step 201, entry PE equipment receive the BUM message that CE equipment sends.
PE equipment can connect with one or more CE equipment, receives CE equipment and sends the BUM message of coming, this BUM message
In comprise source MAC.
Tunnel label, the device label of entry PE equipment and VPLS Tag Packaging are existed by step 202, entry PE equipment
In BUM message.
Entry PE equipment is after receiving the BUM message that CE equipment sends, according to the MP2MP tunnel having built up, by tunnel
Road Tag Packaging is at the outermost layer of message, and this tunnel note is the label in MP2MP tunnel, and by self device label and
VPLS Tag Packaging is in BUM message, specifically, by VPLS Tag Packaging at the internal layer of tunnel label, is encapsulated by device label
Internal layer at VPLS label.
Step 203, entry PE equipment send the BUM message after encapsulating by MP2MP tunnel to outlet PE equipment, to use
Mouth PE equipment, according to the device label of entry PE equipment, determines that BUM message is derived from entry PE equipment.
BUM message after encapsulation by after packaged for message, sent to outlet PE by MP2MP tunnel and sets by entry PE equipment
Standby, this BUM message carries the label of entry PE equipment, so that outlet PE equipment is after receiving this BUM message, it is possible to
Determine that this message is derived from entry PE equipment.
One premise of the present embodiment is, entry PE equipment needs to prestore the device label of self and VPLS label,
Thus after receiving the BUM message that CE equipment sends, by self device label and VPLS Tag Packaging in BUM message.
Wherein, VPLS label is when MP2MP tree is set up in triggering, root node each PE equipment distributing and being handed down in MP2MP tree, this is
Prior art, repeats no more here, mainly introduces how entry PE equipment obtains device label.
In a kind of implementation, the device label of entry PE equipment is pre-configured with, and is every in network when initial networking
All one device label of static configuration on individual PE equipment, in this network, each PE equipment preserves the equipment mark that each PE is used
Signing, component devices label and the mapping table of PE equipment, the mapping table that each PE equipment preserves is identical.Enter
Jaws equipment is after receiving the BUM message that CE equipment sends, by tunnel label, the device label of entry PE equipment that is pre-configured with
And VPLS Tag Packaging is in BUM message.
In another kind of implementation, the corresponding relation between device label and the entry PE equipment of entry PE equipment is dynamic
Configuration.Specifically, tunnel label, the device label of entry PE equipment and VPLS Tag Packaging are reported by entry PE equipment at BUM
Before in literary composition, obtain the device label of entry PE equipment to tag control equipment application.Then, entry PE equipment is at encapsulation BUM
During message, the device label of self is encapsulated in BUM message, is sent to outlet PE equipment, in this fashion, by label tube
Reason equipment unified management device label, each PE equipment all set to tag control equipment application one before using device label
Standby label, tag control equipment, in addition to this device label is sent to the PE equipment of application, also has report to this PE equipment
Other PE equipment of literary composition forwarding relation sends the corresponding relation between this PE equipment and device label.So, on each PE equipment
The corresponding relation between this PE equipment and device label will be preserved, so that outlet device is according to this device label, with
And the corresponding relation between PE equipment and device label determines that this BUM message is derived from entry PE equipment.
Fig. 6 is the flow chart of present device label processing method embodiment three, and as shown in Figure 6, the present embodiment provides
Method, comprises the following steps:
Step 301, tag control equipment receive the device label allocation request message that a PE equipment sends.
Tag control equipment i.e. Label Manager, under existing network framework, can be the route of a platform independent deployment
Reflector (Route Reflector is called for short RR) realizes, or the PE equipment being also served as RR by one.At the self-defined net of software
Under network (Software-Defined Network is called for short SDN) framework, tag control equipment can be by the concentration control of SDN
Device processed (Controller) is played the part of.
Tag control equipment is PE equipment control and label of allocating a device, and this device label can uniquely identify one
PE equipment.Complete application and the maintenance of device label by controlling passage between tag control equipment and each PE.
First, PE equipment sends device label allocation request message to tag control equipment, for tag control equipment
Applying for a device label, Fig. 6 is the PE equipment schematic diagram to tag control equipment application device label, as shown in Figure 6, PE1
Equipment, PE2 equipment, PE3 equipment and P equipment one VPLS of composition, the PE equipment being positioned at this VPLS net all has the most unique
IP address, the IP of PE1 equipment be the IP address of 192.168.0.1, PE2 equipment be 192.168.0.2, PE3 equipment IP ground
Location be the IP address of 192.168.0.3, P equipment be 192.168.0.4.
Fig. 7 is the PE equipment schematic diagram to tag control equipment application device label, and in Fig. 7, the direction of arrow indication represents
PE1 equipment sends device label allocation request message to tag control equipment.The device label allocation request message tool of PE equipment
Body can be realized by following message format, and Fig. 8 is the message schematic diagram of device label allocation request message, as shown in Figure 8, and should
Message includes that type of message i.e. Message Type, applicant Requester identify, alternatively, it is also possible to carry VPN mark
(VPN ID), type of message is tag request Label Request, and applicant is designated PE device identification i.e. PE '
Identifier, PE device identification can be the IP address of PE, due to a PE equipment inherently router, has route and turns
Sending out function, therefore, PE device identification can be router id, and router id is specifically for identifying this PE during routing forwarding
Equipment, can also use other to identify certainly.With reference to Fig. 8, in the present embodiment, applicant is designated the IP address of PE1
192.168.0.1。
Step 302, tag control equipment, according to device label allocation request message, are a PE equipment distributing equipment mark
Sign.
Step 303, tag control equipment send, to a PE equipment, the device label that distributes, and to a PE equipment
Having message forwards other PE equipment of relation to send the corresponding relation between a PE equipment and device label.
After tag control equipment is a PE equipment distributing equipment label, to a PE equipment transmission device label, and to
Having message with a PE equipment forwards other PE equipment of relation to send the corresponding pass between a PE equipment and device label
System.Specifically, the label distributed is carried and is sent to each PE in note assignment response message by tag control equipment.Label tube
Reason equipment every time receive PE equipment send device label allocation request message after, all can record this PE equipment mark and
The device label sent for this PE equipment, in order to receive the device label allocation request message that other PE equipment sends next time
After, the device label of this PE equipment distribution all it is sent as to all PE equipment preserved.Such as, tag control equipment connects for the first time
Receive the device label allocation request message that PE1 equipment sends, record PE1 equipment and the device label sent for PE1 equipment,
And the device label of distribution is sent to PE1 equipment;When tag control equipment second time receives the device label that PE2 equipment sends
Allocation request message, record PE2 equipment and the device label sent for PE2 equipment, and send setting of distribution to PE2 equipment
Standby label, sends PE2 equipment to PE1 equipment simultaneously and is the corresponding relation of device label of PE2 equipment, and looks into according to record
Ask the device label not sending PE1 equipment and PE1 equipment to PE2 equipment, then by the equipment mark of PE1 equipment Yu PE1 equipment
Label are also sent to PE2.By that analogy, tag control equipment is receiving the labeling apparatus allocation request message that PE equipment sends
After, according to the most recorded PE equipment, all send this PE equipment to the most recorded all PE equipment corresponding with device label
Relation.
Fig. 9 is that tag control equipment sends the schematic diagram of device label to each PE.As it is shown in figure 9, tag control equipment is
The device label of PE1 equipment distribution is L7, and is carried by this device label and send respectively in device label assignment response message
To PE1 equipment, PE2 equipment and PE3 equipment.Figure 10 is the message schematic diagram of device label assignment response message, as shown in Figure 10,
This message includes type of message i.e. Message Type, and label owner (Owner) identifies, distribute to PE device label (PE '
Label), the device label of label owner is i.e. distributed to, alternatively, it is also possible to carry VPN ID.Wherein, type of message is mark
Signing request Label Request, label owner mark identifies identical, if label divides with the application in label allocation request message
Join in request message and carry VPN ID, then in label assignment response message, also carry VPN ID.
With reference to Fig. 9, in the present embodiment, applicant is designated the IP address 192.168.0.1 of PE1, and therefore, owner identifies
Also it is the IP address 192.168.0.1 of PE1.PE1, PE2 and PE3 are receiving the device label distribution that tag control equipment sends
After response message, record and preserve the IP address of PE1 and the corresponding relation of the device label L7 of PE1, owing to setting up MP2MP tunnel
Behind road, each PE knows the most mutually the IP address of the other side, and therefore, PE2 equipment and PE3 equipment are after receiving message, according to IP ground
Location knows that the owner of device label is PE1 equipment.Wherein PE2 equipment and PE3 equipment are also required to send to tag control equipment
Label allocation request message, obtains the device label of self, and device label management equipment is by PE2 equipment and the equipment of PE3 equipment
Label is also sent respectively to PE1 equipment, PE2 equipment and PE3 equipment.So, on each PE equipment, all preserve PE1 equipment,
PE2 equipment and the device label of PE3 equipment.
The method that the present embodiment provides, tag control equipment is unified is each PE equipment distributing equipment label, and will be every
Corresponding relation between device label and the equipment of individual PE equipment distribution is sent to have message with this PE equipment and forwards relation
Other PE equipment, so that the device label encapsulation of self when envelope turns BUM message of entry PE equipment is entered, outlet PE equipment root
According to PE equipment and the corresponding relation of device label of the device label carried in message and self storage, determine that message is derived from and that
Individual PE equipment.
Hereinafter device label how will be used to carry out message by object lesson explanation outlet PE equipment and entry PE equipment
Forwarding, before introducing message repeating process, first simply introduce the process of setting up in MP2MP tunnel, in the present embodiment, false
If VPLS business has been deployed complete, the most only describes MP2MP tunnel establishment procedure and VPLS uses MP2MP tunnel carrying BUM
The detailed process of flow.
Figure 11 is that in MP2MP tunnel establishment procedure, downlink tunnel label issues schematic diagram, the MP2MP set up in the present embodiment
Tree, is that PE2 equipment, PE3 equipment and P equipment are as child node, in MP2MP tunnel, flow using PE1 equipment as root node
I.e. can flow into from root node, it is also possible to flow into from other child nodes, therefore, in the present invention, PE1 equipment, PE2 equipment, PE3 set
Standby both can be as entry PE equipment, it is also possible to as outlet PE equipment.The uplink and downlink mentioned in the present embodiment are respectively
Say for direction of the traffic, and direction of the traffic is as a reference point with root node PE1.
As shown in figure 11, each PE equipment issue downlink tunnel label process is as follows: PE2 equipment is to receive BUM from network side
Message, distributes downlink tunnel label, such as a L1, by tag distribution protocol (Label Distribution
Protocol, is called for short LDP) Mapping message informing is to P equipment, and PE3 equipment is to receive BUM message from network side, distributes one
Downlink tunnel label, such as L2, preserved by LDP Mapping message informing set from PE2 equipment and PE3 to P equipment, P equipment
The standby downlink tunnel label information received, distributes a downlink tunnel label for PE1 equipment.Such as L3, passes through LDP
Mapping message informing is to PE1 equipment.The form of the LDP Mapping message mentioned in the present embodiment as shown in figure 12, Figure 12
For the encapsulation format schematic diagram of LDP Mapping message, two type, length that this message include the most only are briefly described
Degree, value (Type, Length, Value are called for short TLV), one is forwarding equivalence class (Forwarding Equivalence
Class, is called for short FEC) TLV, it is used for representing the similar or same feature of a series of packet, it may be transported in the same way
Send, forward during i.e. it may be bound to identical MPLS label.Universal tag (Generic Label TLV) is expressed as accordingly
Forwarding equivalence class distribution label.It is tag types and root node IP address, i.e. Type=in figure with reference to Figure 11, FEC TVL
MP2MP down represents that this label is MP2MP downstream label, and the root node IP address of this MP2MP tree is 192.168.0.1,
Label represents the tunnel label of distribution, and in figure, the downlink tunnel label to PE1 distribution is the downlink tunnel mark that L2 distributes to PE2
Signing is L1, is L3 to the downlink tunnel label of PE3 distribution distribution.
Figure 13 is that in MP2MP tunnel establishment procedure, upstream label tunnel issues schematic diagram, and as shown in figure 13, each PE equipment is sent out
Cloth uplink tunnel label process is as follows: PE1 equipment is to receive BUM message from network side, distributes a uplink tunnel label, such as
L4, is preserved the upstream label information received from PE1 equipment by LDP Mapping message informing to P equipment, P equipment, and is
PE2 equipment and PE3 equipment respectively distribute a uplink tunnel label, and for example, PE2 equipment distribution uplink tunnel label L5, for PE3
Equipment row tunnel label L6, is notified to PE2 equipment and PE3 equipment respectively by LDP mapping message.
Through process processed as above, just establish the complete MP2MP tunnel with PE1 as root, much the most point-to-multipoint
Label switched path (MP2MP LSP).VPLS business forwards BUM flow just can utilize MP2MP tunnel to network side.For
Each PE equipment needs to safeguard two tunnel labels, as a example by PE2 equipment, when PE2 equipment is as entry PE equipment, receives network
The BUM message of side, and when being transmitted to PE1 and PE3, the uplink tunnel label L5 of use, when PE2 equipment is as outlet PE equipment,
When receiving the BUM message originating from PE1 equipment or PE3 equipment of P device forwards, what the message received used is all descending tunnel
Road label L1.
After MP2MP tunnel has been set up, each PE equipment also needs to, to tag control equipment application device label, specifically may be used
With reference to the description in embodiment four, repeat no more here, the present embodiment is assumed PE1 equipment application to device label be L7,
PE2 equipment application to device label be L8, PE3 equipment application to device label be L3.Certainly the said equipment label also may be used
With static configuration, it is not necessary to PE equipment application.
After MP2MP tunnel label and device label all distribute, it is possible to use this MP2MP tunnel to forward BUM flow
?.
Figure 14 is the flow chart of message processing method embodiment four of the present invention, and Figure 15 is that VPLS uses MP2MP tunnel to forward
The schematic diagram of BUM flow, with reference to Figure 14 and Figure 15, in embodiment, message flow originates from PE1, and therefore PE1 is as access device,
PE2 equipment and PE3 equipment are all as outlet device.The method that the present embodiment provides comprises the following steps:
Step 401, PE1 equipment receive the BUM message that network side sends.
The BUM message that PE1 equipment receives comprises source MAC.
Step 402, PE1 equipment by tunnel label L3, device label L7 and VPLS Tag Packaging in BUM message, and
Message after encapsulation is sent to P equipment.
In the present embodiment, it is the BUM report forwarded between each PE in the present invention that message encapsulation format can refer to Figure 16, Figure 16
The encapsulation format of literary composition, as shown in figure 16, BUM message includes: MP2MP Tree Label, VPLS Label, PE Label, C-
Eth Header, Payload, each field explain as shown in Table 1:
Table one
Field name | Field meanings |
MP2MP Tree Label | MP2MP tunnel label |
VPLS Label | VPLS label |
PE Label | Device label |
C-Eth Header | The Ethernet heading of user network encapsulation |
Payload | User data |
Wherein, C-Eth Header comprises source MAC and the target MAC (Media Access Control) address of BUM message, and Ethernet bearing
Upper layer data type, one VPLS of VPLS labeled marker, compare with the BUM message of prior art, the message in this enforcement is many
One layer of PE Label, PE Label are the device label of entry PE equipment.Concrete, it is that device label is encapsulated L7 by PE1
Vpn label, is i.e. encapsulated in MP2MP tunnel label and the internal layer of VPLS label.As shown in figure 14, the direction of arrow instruction in figure,
Being the flow direction of message, tunnel label L3 is encapsulated in outermost layer by PE1, and device label L7 is encapsulated as by followed by VPLS label
Vpn label.
After step 403, P equipment receive the BUM message that PE1 sends, eject tunnel label L3, message replicated two parts,
A encapsulation tunnel label L1, another part of encapsulation tunnel label L2.
After P equipment receives the message that PE1 sends, eject outermost label, i.e. MP2MP tunnel label, and by message
Replicate two parts, Reseal tunnel label, do not resolve VPLS label and device label, therefore, the device label L7 of PE1 equipment
Also carry in message after replication.
The message of encapsulation tunnel label L1 is sent to PE2 by step 404, P equipment, is sent out by the message of encapsulation tunnel label L2
Give PE3 equipment.
P equipment, by the message after Reseal, according to respective tunnel label, is respectively sent to the PE equipment of correspondence.
Step 405, PE1 equipment and PE2 equipment receive the BUM message that P equipment sends, according to setting of comprising in BUM message
Standby label L7, determines that BUM message is derived from PE1 equipment.
PE1 equipment and PE2 equipment receive the BUM message that P equipment sends respectively, comprise tunnel label, VPLS in BUM message
Label, the device label of entry PE equipment and the source MAC of BUM message.Such as, PE2 equipment is according to carrying in message
Device label L7, and determine that this BUM message is derived from PE1 and sets according to self the PE1 equipment of storage and the corresponding relation of device label
Standby.
As a example by PE2 equipment, after determining that BUM message is derived from PE1 equipment, determine PE1 equipment and PE2 according to VPLS label
Between equipment carry this VPLS business time used PW, such as MP2MP tree carrying two VPLS, be respectively with VPLSA with
VPLSB represents, the PW used when forwarding the message of VPLSA between PE1 and PE2 is designated 100, makes when forwarding VPLSB message
PW be designated 200, PE2, according to the VPLS label carried in message, determines that message belongs to VPLSA or VPLSB, and then really
The fixed PW used, sets up the corresponding relation between the source MAC of BUM message and this PW, completes of the MAC Address of remote station
Practise.
Figure 17 is that VPLS uses MP2MP tunnel to forward the schematic diagram of BUM flow, and as shown in figure 17, BUM message originates from
PE3 equipment, then PE3 equipment receives network side as access device, PE1 equipment and PE2 equipment send out as outlet device, PE3
After the BUM message sent, tunnel label L6, VPLS label and device label L9 are encapsulated in messages, is sent to P equipment, P equipment
After receiving message, eject tunnel label L6, message is replicated two parts, encapsulation tunnel label L1 in a message, and be sent to
PE2 equipment, encapsulation tunnel label L4 in another part of message, it is sent to PE1 equipment.PE1 and PE3 after receiving BUM message, root
Determine that this message is derived from PE3 equipment according to the device label L9 carried in message.
Relatively Figure 15 and Figure 17 understands, and the BUM message tunnel label that PE2 receives is all L1, but originates from PE1 equipment
Different with the device label carried in the BUM message of PE3 equipment, PE2 equipment can determine BUM message source according to this device label
From that PE equipment.And after determining that BUM message is derived from entry PE equipment, according to VPLS label determine with entry PE equipment it
Between PW, set up the corresponding relation between source MAC and PW.
The method that the present embodiment provides, entry PE equipment is after receiving the BUM message that network side sends, by device label
It is also encapsulated in message, is sent to outlet PE equipment, so that outlet PE equipment is according to the device label carried in message, really
This BUM message fixed is derived from entry PE equipment, and determines the PW between outlet PE equipment and entry PE equipment according to VPLS label, builds
Vertical corresponding relation between source MAC and PW, completes the study of the MAC Address to remote station.
Figure 18 is the flow chart of outlet PE apparatus embodiments five of the present invention, as shown in figure 18, and the equipment that the present embodiment provides
Including: message receiver module 51 and entry PE equipment determine module 52.
Wherein, message receiver module 51, passes through the wide of how point-to-multipoint MP2MP tunnel transmission for receiving entry PE equipment
Broadcast, unknown unicast, multicast BUM message, BUM message comprises tunnel label and the device label of entry PE equipment, wherein,
Tunnel label is the label in MP2MP tunnel;
Entry PE equipment determines module 52, for the device label according to entry PE equipment, determines that BUM message is derived from entrance
PE equipment.
In one implementation, entry PE equipment determine module 52 specifically for, according to the equipment mark of entry PE equipment
Corresponding relation between device label and the PE equipment of the PE equipment signed and be pre-configured with, determines that BUM message is derived from entry PE
Equipment.In this fashion, each PE device label is pre-configured, between device label and the entry PE equipment of entry PE equipment
Corresponding relation can be pre-configured with, be one equipment mark of static configuration on each PE equipment in network when initial networking
Signing, in this network, each PE equipment preserves the device label that each PE is used, and component devices label is corresponding with PE equipment
Relation table, the mapping table that each PE equipment preserves is identical.Entry PE equipment determines module 52, according to entry PE
Corresponding relation between the device label of equipment and device label and the PE equipment of PE equipment that are pre-configured with, determines that BUM reports
Literary composition is derived from entry PE equipment.
In the present embodiment, BUM message also comprises source MAC and the VPLS label of BUM message, this outlet PE equipment
MAC address learning module can also be included, for determining that module 52 determines that BUM message is derived from entry PE equipment at entry PE equipment
After, determine the PW between outlet PE equipment and entry PE equipment according to VPLS label, that sets up between source MAC with PW is corresponding
Relation.Thus complete the study to remote station MAC Address, set up point-to-point between outlet PE equipment and entry PE equipment
Connect, connect communication by the PW between outlet PE equipment and entry PE equipment.
The method that the present embodiment provides can be used for performing the scheme that embodiment of the method one provides, specific implementation and technology
Type of effect, repeats no more here.
Figure 19 is the flow chart of outlet PE apparatus embodiments six of the present invention, as shown in figure 19, and the equipment that the present embodiment provides
Including: message receiver module 61, entry PE equipment determine module 62, device label receiver module 63 and MAC address learning mould
Block 64.
Wherein, message receiver module 61, for receiving broadcast, the unknown list that entry PE equipment is sent by MP2MP tunnel
Broadcast, multicast BUM message, BUM message comprises tunnel label and the device label of entry PE equipment.
Entry PE equipment determines module 62, for the device label according to entry PE equipment, determines that BUM message is derived from entrance
PE equipment.
Device label receiver module 63, is used for the device label receiving the entry PE equipment that tag control equipment sends and enters
Corresponding relation between mouth PE equipment.
In the present embodiment, BUM message also comprises source MAC and VPLS label, the MAC address learning of BUM message
Module 64, for determining pseudo-wire PW between outlet PE equipment and entry PE equipment according to VPLS label, set up source MAC with
Corresponding relation between PW.
Entry PE equipment determine module specifically for, according to the device label of described entry PE equipment with described corresponding close
System, determines that described BUM message is derived from described entry PE equipment.
In the present embodiment, the corresponding relation between device label and the entry PE equipment of entry PE equipment dynamically configures, and enters
Mouth PE equipment determines the module 62 device label according to entry PE equipment, before determining that BUM message is derived from entry PE equipment, and equipment
Label receiver module 63 receive tag control equipment send entry PE equipment device label and entry PE equipment between right
Should be related to, then entry PE equipment determine module 62 specifically for, according to device label and the corresponding relation of entry PE equipment, determine
BUM message is derived from entry PE equipment.After entry PE equipment determines that module 62 determines that BUM message is derived from entry PE equipment, MAC
Address learning module 64, according to the VPLS label carried in message, determines the PW between entry PE equipment and outlet PE equipment, builds
Vertical mapping relations between source MAC and this PW, thus complete the study to remote station MAC Address, set up outlet PE
The connection of point-to-point between equipment and entry PE equipment, connects communication by the PW between outlet PE equipment and entry PE equipment.
In this fashion, tag control equipment being managed collectively device label, each PE equipment is using equipment mark
All to tag control equipment application device label before label, tag control equipment except being sent to the PE of application by this device label
Outside equipment, also to this PE equipment, there is message and forward other PE equipment of relation to send between this PE equipment and device label
Corresponding relation.So, each PE equipment can be preserved the corresponding relation between this PE equipment and device label, so that
Outlet device according to the corresponding relation between this device label, and PE equipment and device label determine this BUM message be derived from into
Mouth PE equipment.
The outlet PE equipment that the present embodiment provides, can be used for performing embodiment of the method one and the technical side of embodiment four offer
Case, specific implementation and technique effect type, repeat no more here.
Figure 20 is the flow chart of entry PE apparatus embodiments seven of the present invention, as shown in figure 20, and the equipment that the present embodiment provides
Including: message receiver module 71, message package module 72, message sending module 73.
Wherein, message receiver module 71, for receiving the broadcast of customer edge CE equipment transmission, unknown unicast, multicast BUM
Message;
Message package module 72, for by tunnel label, the device label of entry PE equipment and virtual special local area network
Business VPLS Tag Packaging is in BUM message;
Message after encapsulation includes tunnel label, the device label of entry PE equipment and VPLS label, also includes this
The information such as the source MAC of BUM message, wherein, tunnel label is the tunnel label of how point-to-multipoint MP2MP.
Message sending module 73, for sending the BUM message after encapsulating by MP2MP tunnel to outlet PE equipment, so that
Outlet PE equipment, according to the device label of entry PE equipment, determines that BUM message is derived from entry PE equipment.
One premise of the present embodiment is, entry PE equipment needs to obtain in advance the device label of self, a kind of realization side
In formula, the device label of each PE equipment is pre-configured with, and each PE equipment is all preserved a PE device label corresponding with equipment
Relation table, the mapping table that each PE equipment preserves is the most identical.Therefore, message package module 72 specifically for, by tunnel mark
The device label of the entry PE equipment sign, being pre-configured with and VPLS Tag Packaging are in BUM message.Another kind of implementation
In, entry PE equipment needed before message package module encapsulated message, to one device label of tag control equipment application, because of
This, entry PE equipment also includes: device label acquisition module, for obtaining setting of entry PE equipment to tag control equipment application
Standby label.
The entry PE equipment that the present embodiment provides can be used for performing embodiment of the method two and the technical side of embodiment four offer
Case, specific implementation is similar with technique effect, repeats no more here.
Figure 21 is the structural representation of tag control apparatus embodiments eight of the present invention, and as shown in figure 21, the present embodiment provides
Equipment include: receiver module 81, device label distribution module 82, sending module 83.
Receiver module 81, for receiving the device label allocation request message that first provider's edge PE equipment sends;
Device label distribution module 82, is used for according to device label allocation request message, is a PE equipment distributing equipment
Label;
Sending module 83, for sending the device label distributed to a PE equipment, and has to a PE equipment
Message forwards other PE equipment of relation to send the corresponding relation between a PE equipment and device label.
Each PE equipment, after network establishes, can send label allocation request message to tag control equipment, be used for
Request is allocated a device label, and the receiver module 81 of tag control equipment receives the device label distribution that a PE equipment sends
Request message, by device label distribution module 82 according to device label allocation request message, is a PE equipment distributing equipment mark
Sign, and the device label distributed is sent to initiate a PE equipment of application by sending module 83, simultaneously in network
Other PE equipment all send the corresponding relation between a PE equipment and device label, so that other PE equipment are receiving this
When oneth PE equipment sends the BUM message come, determine this report according to the corresponding relation between PE equipment and the device label preserved
Literary composition is derived from a PE equipment.
The equipment that the present embodiment provides, can be used for the technical scheme that executive mode embodiment three provides, specific implementation
Similar with technique effect, repeat no more here.
In the present embodiment, tag control equipment can be provider's edge PE equipment, Router Reflector or, centralized Control
Device.Specifically, under existing network framework, the Router Reflector can disposed by a platform independent is played the part of, or by one
Platform also serves as the PE equipment of Router Reflector and plays the part of.Under the SDN(network architecture, Label Manager can be by SDN
Centralized Controller is played the part of.
Figure 22 is the structural representation of outlet PE apparatus embodiments nine of the present invention, the outlet PE equipment that the present embodiment provides
900 include: processor 91, memorizer 92, emitter 93 and receptor 94.Memorizer 92, emitter 93 and receptor 94 can
To be connected by bus with processor 91.Wherein, memorizer 92 storage performs instruction, when outlet PE equipment 900 runs, processes
Communicating between device 91 with memorizer 92, processor 91 performs instruction and makes outlet PE equipment 900 perform what the present invention provided
Message processing method.In the present embodiment, processor 91 is used for performing following operation:
Receptor 94, for receiving broadcast, the unknown list that entry PE equipment is sent by how point-to-multipoint MP2MP tunnel
Broadcast, multicast BUM message, BUM message comprises tunnel label and the device label of entry PE equipment, wherein, tunnel label is
The label in MP2MP tunnel;
Processor 91, for the device label according to entry PE equipment, determines that BUM message is derived from entry PE equipment.
Before receptor 94 receives the BUM message that entry PE equipment is sent by MP2MP tunnel, it is additionally operable to receive label tube
Corresponding relation between device label and the entry PE equipment of the entry PE equipment that reason equipment sends;And this corresponding relation is stored
In memorizer 92, then processor 91 is specifically for the device label according to entry PE equipment and the device label of entry PE equipment
And the corresponding relation between entry PE equipment, determines that BUM message is derived from entry PE equipment.
In the present embodiment, the corresponding relation between device label and the PE equipment of PE equipment can also be pre-configured with, storage
In memorizer 92, then processor 91 is specifically for the device label according to entry PE equipment and the PE equipment that is pre-configured with
Corresponding relation between device label and PE equipment, determines that BUM message is derived from entry PE equipment.
Also including source MAC and VPLS label in BUM message, processor 91 determines that BUM message is derived from entry PE and sets
For afterwards, it is additionally operable to determine pseudo-wire PW between entry PE equipment according to VPLS label, sets up between source MAC and PW
Corresponding relation, i.e. completes the study to far-end MAC Address.
The method that the present embodiment provides, may be used for performing said method embodiment, specific implementation and technique effect
Similar, repeat no more here.
Figure 23 is the structural representation of entry PE apparatus embodiments ten of the present invention, and as shown in figure 23, the present embodiment provides
Entry PE equipment 100 includes: processor 11, memorizer 12, emitter 13 and receptor 14, emitter 13 and receptor 14 and
Memorizer 12 can be connected with processor 11 by bus.Wherein, memorizer 11 storage performs instruction, when entry PE equipment is transported
During row, communicating between processor 11 with memorizer 12, processor 11 performs described execution instruction and makes entry PE equipment perform basis
The message processing method that inventive embodiments provides.
Receptor 14, for receiving the broadcast of customer edge CE equipment transmission, unknown unicast, multicast BUM message;
Processor 11, for the BUM message received according to receptor 14, by tunnel label, the equipment of entry PE equipment
Label and VPLS VPLS Tag Packaging are in BUM message, and wherein, how point-to-multipoint tunnel label be
The label in MP2MP tunnel;
Emitter 13, for sending the BUM message after processor 11 encapsulates by MP2MP tunnel to outlet PE equipment, with
Make outlet PE equipment according to the device label of entry PE equipment, determine that BUM message is derived from entry PE equipment.
Processor 11 be additionally operable to by tunnel label, the device label of entry PE equipment and VPLS Tag Packaging at BUM
Before in message, obtain the device label of entry PE equipment to tag control equipment application, and device label is stored in storage
In device 12.
In one implementation, processor 92 need not obtain device label, equipment mark to tag control equipment application
Label are pre-configured with, then processor 92 specifically for the device label of entry PE equipment by tunnel label, being pre-configured with and
VPLS Tag Packaging is in BUM message.
The entry PE equipment that the present embodiment provides, can be used for performing the technical scheme that said method embodiment provides, specifically
Implementation is similar with technique effect, repeats no more here.
Figure 24 is the structural representation of tag control apparatus embodiments 11 of the present invention, and as shown in figure 24, the present embodiment carries
The tag control equipment 1100 of confession includes: processor 110, memorizer 120, emitter 130 and receptor 140, emitter 130 He
Receptor 140 and memorizer 120 can be connected with processor 110 by bus.Wherein, memorizer 120 stores execution and refers to
Order, when tag control equipment runs, communicates between processor 110 with memorizer 120, and processor 110 performs described execution and refers to
Order makes tag control equipment 1100 perform the device label processing method that the embodiment of the present invention provides.
Receptor 140, for receiving the device label allocation request message that first provider's edge PE equipment sends;
Processor 110, is used for according to described device label allocation request message, is a PE equipment distributing equipment label;
Emitter 120, for sending the device label distributed to a PE equipment, and has report to a PE equipment
Other PE equipment of literary composition forwarding relation sends the corresponding relation between a PE equipment and described device label.
In the present embodiment, tag control equipment be provider's edge PE equipment, Router Reflector or, Centralized Controller.
Each PE equipment, after network establishes, can send label allocation request message to tag control equipment, be used for
Request is allocated a device label, and the receptor 140 of tag control equipment receives the device label distribution that a PE equipment sends
Request message, by processor 110 according to device label allocation request message, is a PE equipment distributing equipment label, and passes through
The device label distributed is sent to initiate a PE equipment of application, simultaneously other PE equipment in network by emitter 130
All send the corresponding relation between a PE equipment and device label, so that other PE equipment are receiving a PE equipment
When sending the BUM message come, according to the corresponding relation between PE equipment and the device label preserved determine this message be derived from this
One PE equipment.
One of ordinary skill in the art will appreciate that: all or part of step realizing above-mentioned each method embodiment can be led to
The hardware crossing programmed instruction relevant completes.Aforesaid program can be stored in a computer read/write memory medium.This journey
Sequence upon execution, performs to include the step of above-mentioned each method embodiment;And aforesaid storage medium includes: ROM, RAM, magnetic disc or
The various media that can store program code such as person's CD.
Last it is noted that various embodiments above is only in order to illustrate technical scheme, it is not intended to limit;To the greatest extent
The present invention has been described in detail by pipe with reference to foregoing embodiments, it will be understood by those within the art that: it depends on
So the technical scheme described in foregoing embodiments can be modified, or the most some or all of technical characteristic is entered
Row equivalent;And these amendments or replacement, do not make the essence of appropriate technical solution depart from various embodiments of the present invention technology
The scope of scheme.
Claims (17)
1. a message processing method, it is characterised in that including:
Outlet provider edge PE equipment receives broadcast, the unknown that entry PE equipment is sent by how point-to-multipoint MP2MP tunnel
Clean culture, multicast BUM message, comprise tunnel label and the device label of described entry PE equipment in described BUM message, wherein,
Described tunnel label is the label in described MP2MP tunnel, and the device label of described entry PE equipment uniquely identifies described entry PE
Equipment;
Described outlet PE equipment according to the device label of the device label of described entry PE equipment and described entry PE equipment with
Corresponding relation between described entry PE equipment, determines that described BUM message is derived from described entry PE equipment.
Method the most according to claim 1, it is characterised in that described outlet PE equipment receives entry PE equipment to be passed through
Before the BUM message that MP2MP tunnel sends, also include:
Described outlet PE equipment receives the device label of the described entry PE equipment that tag control equipment sends and described entry PE
Corresponding relation between equipment;
Described outlet PE equipment according to the device label of the device label of described entry PE equipment and described entry PE equipment with
Corresponding relation between described entry PE equipment, determines that described BUM message is derived from described entry PE equipment, including:
Described outlet PE equipment according to the device label of described entry PE equipment and described tag control equipment send described right
Should be related to, determine that described BUM message is derived from described entry PE equipment.
Method the most according to claim 1, it is characterised in that described outlet PE equipment setting according to described entry PE equipment
Corresponding relation between standby label and the device label of described entry PE equipment and described entry PE equipment, determines described BUM
Message is derived from described entry PE equipment, including:
Described outlet PE equipment is according to the device label of described entry PE equipment and the device label of PE equipment that is pre-configured with
And the corresponding relation between PE equipment, determines that described BUM message is derived from described entry PE equipment, wherein, it is pre-configured with described in
Corresponding relation between device label and the PE equipment of PE equipment includes: the device label of described entry PE equipment and described entrance
Corresponding relation between PE equipment.
4. according to the method according to any one of claims 1 to 3, it is characterised in that described BUM message also comprises described
The source MAC address of BUM message and VPLS VPLS label, described determine described BUM
After message is derived from described entry PE equipment, also include:
Described outlet PE equipment determines pseudo-wire PW between described entry PE equipment according to described VPLS label, sets up described source
Corresponding relation between MAC Address and described PW.
5. a message processing method, it is characterised in that including:
Entrance provider edge PE equipment receives the broadcast of customer edge CE equipment transmission, unknown unicast, multicast BUM message;
Described entry PE equipment is by tunnel label, the device label of described entry PE equipment and VPLS
VPLS Tag Packaging is in described BUM message, and wherein, described tunnel label is the label in how point-to-multipoint MP2MP tunnel, described
The device label of entry PE equipment uniquely identifies described entry PE equipment;
Described entry PE equipment by described MP2MP tunnel to outlet PE equipment send encapsulation after BUM message so that described in go out
Mouth PE equipment is according to the device label of described entry PE equipment and the device label of described entry PE equipment and described entry PE
Corresponding relation between equipment, determines that described BUM message is derived from described entry PE equipment.
Method the most according to claim 5, it is characterised in that described entry PE equipment is by tunnel label, described entry PE
Before the device label of equipment and VPLS Tag Packaging are in described BUM message, also include:
Described entry PE equipment obtains the device label of described entry PE equipment to tag control equipment application.
Method the most according to claim 5, it is characterised in that described entry PE equipment is by tunnel label, described entry PE
The device label of equipment is encapsulated in described BUM message, including:
The device label of described entry PE equipment that described entry PE equipment by described tunnel label, is pre-configured with and VPLS mark
Sealing is contained in described BUM message.
8. a device label processing method, it is characterised in that including:
Tag control equipment receives the device label allocation request message that first provider's edge PE equipment sends;
Described tag control equipment is according to described device label allocation request message, for a described PE equipment distributing equipment mark
Signing, wherein, described device label uniquely identifies a described PE equipment;
Described tag control equipment sends, to a described PE equipment, the device label that distributes, and to a described PE equipment
Having message forwards other PE equipment of relation to send the corresponding relation between a described PE equipment and described device label.
9. an outlet provider edge PE equipment, it is characterised in that including:
Message receiver module, passes through the wide of how point-to-multipoint MP2MP tunnel transmission for receiving entrance provider edge PE equipment
Broadcast, unknown unicast, multicast BUM message, described BUM message comprises tunnel label and the equipment mark of described entry PE equipment
Signing, wherein, described tunnel label is the label in described MP2MP tunnel, and the device label of described entry PE equipment uniquely identifies institute
State entry PE equipment;
Entry PE equipment determines module, for according to the device label of described entry PE equipment and setting of described entry PE equipment
Standby corresponding relation between label and described entry PE equipment, determines that described BUM message is derived from described entry PE equipment.
Equipment the most according to claim 9, it is characterised in that also include:
Device label receiver module, for receiving the device label of the described entry PE equipment that tag control equipment sends with described
Corresponding relation between entry PE equipment;
Described entry PE equipment determine module specifically for, according to device label and the described tag control of described entry PE equipment
The described corresponding relation that equipment sends, determines that described BUM message is derived from described entry PE equipment.
11. equipment according to claim 9, it is characterised in that described entry PE equipment determine module specifically for, according to
Corresponding relation between the device label of described entry PE equipment and device label and the PE equipment of PE equipment that are pre-configured with,
Determine that described BUM message is derived from described entry PE equipment, wherein, described in the device label of PE equipment that is pre-configured with and PE equipment
Between corresponding relation include: the corresponding relation between device label and the described entry PE equipment of described entry PE equipment.
12. according to described equipment arbitrary in claim 9-11, it is characterised in that also comprises described BUM in described BUM message
The source MAC address of message and VPLS VPLS label, described equipment also includes:
MAC address learning module, for according to described VPLS label determine described outlet PE equipment and described entry PE equipment it
Between pseudo-wire PW, set up the corresponding relation between described source MAC and described PW.
13. 1 kinds of entrance provider edge PE equipment, it is characterised in that including:
Message receiver module, for receiving the broadcast of customer edge CE equipment transmission, unknown unicast, multicast BUM message;
Message package module, for by tunnel label, the device label of described entry PE equipment and virtual special local area network industry
Business VPLS Tag Packaging is in described BUM message, and wherein, described tunnel label is the label in how point-to-multipoint MP2MP tunnel, institute
The device label stating entry PE equipment uniquely identifies described entry PE equipment;
Message sending module, for sending the BUM message after encapsulating by described MP2MP tunnel to outlet PE equipment, so that institute
State outlet PE equipment according to the device label of described entry PE equipment and the device label of described entry PE equipment with described enter
Corresponding relation between mouth PE equipment, determines that described BUM message is derived from described entry PE equipment.
14. equipment according to claim 13, it is characterised in that also include:
Device label acquisition module, for obtaining the device label of described entry PE equipment to tag control equipment application.
15. equipment according to claim 13, it is characterised in that described message package module specifically for, by described tunnel
Road label, the device label of the described entry PE equipment being pre-configured with and VPLS Tag Packaging are in described BUM message.
16. 1 kinds of tag control equipment, it is characterised in that including:
Receiver module, for receiving the device label allocation request message that first provider's edge PE equipment sends;
Device label distribution module, for according to described device label allocation request message, setting for a described PE equipment distribution
Standby label, wherein, described device label uniquely identifies a described PE equipment;
Sending module, for sending, to a described PE equipment, the device label distributed, and has to a described PE equipment
Message is had to forward other PE equipment of relation to send the corresponding relation between a described PE equipment and described device label.
17. equipment according to claim 16, it is characterised in that described equipment is provider's edge PE equipment, route instead
Emitter or Centralized Controller.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310216416.2A CN103312611B (en) | 2013-06-03 | 2013-06-03 | Message processing method, device label processing method and equipment |
PCT/CN2014/074573 WO2014194711A1 (en) | 2013-06-03 | 2014-04-01 | Packet processing method, device label processing method, and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310216416.2A CN103312611B (en) | 2013-06-03 | 2013-06-03 | Message processing method, device label processing method and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103312611A CN103312611A (en) | 2013-09-18 |
CN103312611B true CN103312611B (en) | 2016-12-28 |
Family
ID=49137410
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310216416.2A Active CN103312611B (en) | 2013-06-03 | 2013-06-03 | Message processing method, device label processing method and equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103312611B (en) |
WO (1) | WO2014194711A1 (en) |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103312611B (en) * | 2013-06-03 | 2016-12-28 | 华为技术有限公司 | Message processing method, device label processing method and equipment |
CN104579959B (en) * | 2013-10-18 | 2017-12-01 | 上海贝尔股份有限公司 | The method and apparatus for establishing the label switched path of SDN streams in an mpls network |
WO2015078002A1 (en) * | 2013-11-29 | 2015-06-04 | 华为技术有限公司 | Message processing method, device and system |
CN105099846B (en) * | 2014-04-30 | 2018-10-19 | 华为技术有限公司 | The method and supplier edge device of data message transmission |
CN106453144B (en) * | 2015-08-10 | 2020-01-31 | 华为技术有限公司 | Message processing method and device in software defined network |
CN106936713B (en) * | 2015-12-30 | 2020-02-21 | 华为技术有限公司 | Label management method, data stream processing method and equipment |
CN106302176B (en) * | 2016-08-15 | 2019-10-22 | 华为技术有限公司 | It is a kind of for controlling the method and apparatus of multicast transmission |
WO2018047943A1 (en) * | 2016-09-09 | 2018-03-15 | 日本電気株式会社 | Communication system, edge node, communication method and program |
CN109587059B (en) * | 2017-09-28 | 2021-07-09 | 华为技术有限公司 | SR-BE inner layer tunnel label configuration method, device and communication system |
CN110224942B (en) * | 2018-03-01 | 2023-08-04 | 中兴通讯股份有限公司 | Message processing method, device and storage medium |
CN112119615A (en) * | 2019-07-01 | 2020-12-22 | 深圳市大疆创新科技有限公司 | Message flow display method and device, unmanned system and movable platform |
CN110572322B (en) * | 2019-08-16 | 2021-07-13 | 苏州工业职业技术学院 | Method for improving multicast forwarding efficiency by modifying search key words |
CN111740907A (en) * | 2020-05-29 | 2020-10-02 | 新华三信息安全技术有限公司 | Message transmission method, device, equipment and machine readable storage medium |
CN114430393B (en) * | 2020-10-16 | 2022-12-06 | 华为技术有限公司 | Message processing method, device and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101155130A (en) * | 2006-09-30 | 2008-04-02 | 华为技术有限公司 | Method for learning MAC address and system and equipment for conveying VPLS client data |
CN101170514A (en) * | 2007-12-04 | 2008-04-30 | 华为技术有限公司 | Method and device for access control between access circuit interfaces |
CN101667954A (en) * | 2009-10-14 | 2010-03-10 | 中兴通讯股份有限公司 | Network of multilayer virtual private LAN (local area network) service and data processing method thereof |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103312611B (en) * | 2013-06-03 | 2016-12-28 | 华为技术有限公司 | Message processing method, device label processing method and equipment |
-
2013
- 2013-06-03 CN CN201310216416.2A patent/CN103312611B/en active Active
-
2014
- 2014-04-01 WO PCT/CN2014/074573 patent/WO2014194711A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101155130A (en) * | 2006-09-30 | 2008-04-02 | 华为技术有限公司 | Method for learning MAC address and system and equipment for conveying VPLS client data |
CN101170514A (en) * | 2007-12-04 | 2008-04-30 | 华为技术有限公司 | Method and device for access control between access circuit interfaces |
CN101667954A (en) * | 2009-10-14 | 2010-03-10 | 中兴通讯股份有限公司 | Network of multilayer virtual private LAN (local area network) service and data processing method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN103312611A (en) | 2013-09-18 |
WO2014194711A1 (en) | 2014-12-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103312611B (en) | Message processing method, device label processing method and equipment | |
CN105871721B (en) | Segment routing processing method, processing device and sending device | |
CN105245452B (en) | Multi-protocol label switching traffic engineering tunnel establishing method and equipment | |
CN105099846B (en) | The method and supplier edge device of data message transmission | |
CN109995654B (en) | Method and device for transmitting data based on tunnel | |
CN103748835B (en) | The dynamic renewal of label switched path | |
CN106302206B (en) | Message forwarding processing method, device and system | |
CN101155130B (en) | Method for learning MAC address and system and equipment for conveying VPLS client data | |
CN106656794B (en) | Message transmission method and device | |
US8861547B2 (en) | Method, apparatus, and system for packet transmission | |
CN103391296B (en) | A kind of controller, transponder and Path Setup method and system | |
CN104378292B (en) | A kind of method and device of forwarding MPLS packets | |
CN104365066B (en) | Method and apparatus for ether Virtual Private Network | |
CN106603413B (en) | Method and device for transmitting flow through designated path | |
CN102437931A (en) | Detection method and device of service path | |
CN110224934A (en) | A kind of method and device carrying out Message processing using unified SR label stack | |
CN106941437A (en) | A kind of information transferring method and device | |
CN102546349B (en) | A kind of message forwarding method and equipment | |
CN103326918A (en) | Message forwarding method and message forwarding equipment | |
CN102571375B (en) | Multicast forwarding method and device as well as network device | |
CN108512755B (en) | Method and device for learning routing information | |
CN105553810A (en) | Method and device for forwarding special line service packet | |
CN109861897A (en) | A kind of method, apparatus and system obtaining forwarding-table item | |
CN104780090B (en) | Method, apparatus, the PE equipment of VPN multicast transmissions | |
CN101286918A (en) | Virtual private network system and data processing method thereof |
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 |