CN102882760A - Method, module, equipment and system for message processing in virtual private local area network service network - Google Patents

Method, module, equipment and system for message processing in virtual private local area network service network Download PDF

Info

Publication number
CN102882760A
CN102882760A CN2012103697668A CN201210369766A CN102882760A CN 102882760 A CN102882760 A CN 102882760A CN 2012103697668 A CN2012103697668 A CN 2012103697668A CN 201210369766 A CN201210369766 A CN 201210369766A CN 102882760 A CN102882760 A CN 102882760A
Authority
CN
China
Prior art keywords
message
multicast
ipv4
address
equipment
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
CN2012103697668A
Other languages
Chinese (zh)
Other versions
CN102882760B (en
Inventor
杨德华
周正斌
杨旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201210369766.8A priority Critical patent/CN102882760B/en
Publication of CN102882760A publication Critical patent/CN102882760A/en
Application granted granted Critical
Publication of CN102882760B publication Critical patent/CN102882760B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method, a module, equipment and a system for message processing in a virtual private local area network service network and belongs to the field of communication. The method includes: receiving an Ethernet message sent by CE (customer edge) equipment and determining a VSI (virtual switching instance) of the Ethernet message; judging whether output interfaces of the VSI include one output interface to correspond to a target MAC (media access control) address in the Ethernet message or not; when no output interface corresponds to the target MAC address in the Ethernet message, packaging the Ethernet message into a multicast data message, and sending the multicast data message to an IPv4 (internet protocol version 4) multicast address corresponding to the VSI, so that the multicast data message is sent to PE (provider edge) equipment where a member of a multicast group with the IPv4 multicast address located. By the method, an unknown unicast message is packaged to the multicast data message which is sent to the specific IPv4 multicast address, and accordingly the multicast data message is sent to the member of the multicast group with the IPv4 multicast address, and the bandwidth of the VPLS (virtual private LAN service) network is effectively saved.

Description

Message processing method in the virtual private LAN service network, assembly, equipment and system
Technical field
The present invention relates to communication technical field, particularly a kind of VPLS(Virtual Private LAN Service, virtual special local area network service) message processing method, assembly, equipment and system in the network.
Background technology
VPLS is a kind of point-to-multipoint L2VPN(Level 2 Virtual Private Network that provide in common network, Layer 2 virtual private network) business.It can pass through PSN(Packet Switched Network, packet switching network) connect a plurality of ethernet local area networks, thereby make a plurality of ethernet local area networks of isolating on the region can be as a LAN(Local Area Network, local area network (LAN)) work like that.
In a VPLS network, as PE(Provider Edge, Provider Edge) equipment is received CE(Customer Edge, customer edge) after the Ethernet message that equipment is sent, can determine first which VSI(Virtual Switching Instance is this Ethernet message belong to, virtual switch instance), then according to the purpose MAC(Media Access Control in this Ethernet message, medium access control) address, search the outgoing interface corresponding with this target MAC (Media Access Control) address, if find corresponding outgoing interface, then this Ethernet message is transmitted from this corresponding outgoing interface.If do not find the outgoing interface corresponding with this target MAC (Media Access Control) address (to represent that this Ethernet message is the Ethernet message of unknown unicast address, multicast address or broadcast address, hereinafter, this class Ethernet message is called as the unknown unicast message), then adopt the inundation mode, this Ethernet message is copied many parts, respectively from all of the port related with local VSI and PW(Pseudo Wire, pseudo-line) send.
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art:
In the full VPLS network that connects of PW logic, all there is PW between any two PE equipment, when the target MAC (Media Access Control) address None-identified in the Ethernet message, PE need to copy Ethernet message many piece of data and transmit at PW, causes the waste of bandwidth in the VPLS network.
Summary of the invention
In order to solve the problem of prior art, the embodiment of the invention provides message processing method, assembly, the equipment and system in a kind of VPLS network.Described technical scheme is as follows:
On the one hand, the embodiment of the invention provides the message processing method in a kind of VPLS network, and described method comprises:
Receive Ethernet message and the affiliated virtual switch instance of definite described Ethernet message that CE equipment sends;
Judge in the outgoing interface of described VSI whether exist the target MAC (Media Access Control) address in the corresponding described Ethernet message whether to have corresponding outgoing interface;
During the outgoing interface of the purpose Media Access Control address in not having corresponding described Ethernet message, described Ethernet message is packaged into multicast data message, and described multicast data message is sent to the IPv4(Internet Protocol Version 4 of corresponding described VSI, Internet protocol the 4th edition) multicast address, thereby the members that described multicast data message is sent to the multicast group with described IPv4 multicast address PE equipment, the member of described multicast group comprise described VSI and with the VSI of described VSI in same VPLS.
Particularly, described described Ethernet message is packaged into multicast data message, comprises:
For described Ethernet message encapsulates MPLS(Multi Protocol Label Switching, multiprotocol label switching successively) tag head, GRE(Generic Routing Encapsulation, generic route encapsulation) heading and IPv4 heading.
Further, described method also comprises:
Set up described multicast group.
Further, describedly set up described multicast group, comprising:
The provider edge equipment of the virtual switch instance in the same virtual special local area network service, join message to IPv4 multicast equipment timed sending PIM multicast group, described multicast group joins message and carries IPv4 multicast address corresponding to described virtual switch instance, thereby the described IPv4 network equipment joins message according to the described multicast group of receiving, safeguards the multicast forwarding relation.
On the other hand, the embodiment of the invention provides the message processing method in a kind of VPLS network, and described method comprises:
The receiving multicast data message, described multicast data message is formed by the Ethernet message encapsulation;
Described multicast data message is carried out decapsulation process, obtain described Ethernet message;
According to IPv4 address, source and the IPv4 multicast address in the described multicast data message, determine to send virtual switch instance and the local virtual exchange example outgoing interface corresponding with the described virtual switch instance that sends described multicast data message of described multicast data message;
Set up source Media Access Control address in the described Ethernet message and the corresponding relation of described outgoing interface.
Particularly, describedly described multicast data message carried out decapsulation process, comprising:
Successively decapsulation IPv4 heading, GRE heading and MPLS tag head.
Further, described described multicast data message is carried out the decapsulation processing, obtain after the described Ethernet message, described method also comprises:
Described Ethernet message is sent to target MAC (Media Access Control) address in the described Ethernet message.
Further, described method also comprises:
Preserve the multicast information of local VSI, described multicast information comprises the IPv4 address of the sign of VSI, the IPv4 multicast address corresponding with VSI, opposite end VSI and to the outgoing interface of opposite end VSI.
Another aspect, the embodiment of the invention provide the message processing components in a kind of VPLS network, and described assembly comprises:
Receiver is used for receiving the Ethernet message that CE equipment sends;
Determination module is used for the affiliated virtual switch instance of described Ethernet message of determining that described receiver receives;
Judge module, whether the outgoing interface of the described VSI that is used for judging that described determination module is determined exists the outgoing interface of the target MAC (Media Access Control) address in the described Ethernet message that corresponding described receiver receives;
Package module when being used for the outgoing interface when the purpose Media Access Control address of the described Ethernet message that does not exist corresponding described receiver to receive, is packaged into multicast data message with described Ethernet message;
Transmitter, be used for the multicast data message that described package module obtains is sent to the IPv4 multicast address of corresponding described VSI, thereby the members that described multicast data message is sent to the multicast group with described IPv4 multicast address PE equipment, the member of described multicast group comprise described VSI and with the VSI of described VSI in same VPLS.
Particularly, described package module is used to described Ethernet message to encapsulate successively MPLS tag head, GRE heading and IPv4 heading.
Further, described assembly also comprises:
Multicast group is set up module, is used for setting up described multicast group.
Further, described multicast group is set up module and is comprised:
Transmitting element, be used for joining message to IPv4 multicast equipment timed sending PIM multicast group, described multicast group joins message and carries IPv4 multicast address corresponding to described virtual switch instance, thereby the described IPv4 network equipment joins message according to the described multicast group of receiving, safeguards the multicast forwarding relation.
Another aspect, the embodiment of the invention provide the message processing components in a kind of VPLS network, and this assembly comprises:
Receiver is used for the receiving multicast data message, and described multicast data message is formed by the Ethernet message encapsulation;
Decapsulation module is used for that the multicast data message that described receiver receives is carried out decapsulation and processes, and obtains described Ethernet message;
Determination module is used for IPv4 address, source and IPv4 multicast address according to described multicast data message, determines to send the virtual switch instance of described multicast data message and the outgoing interface corresponding with described virtual switch instance of local virtual exchange example;
Corresponding relation building module is used for setting up the source Media Access Control address of described Ethernet message and the corresponding relation of the outgoing interface that described determination module is determined.
Particularly, described decapsulation module is used for successively decapsulation IPv4 heading, GRE heading and MPLS tag head.
Further, described assembly also comprises:
Transmitter is used for the Ethernet message that described decapsulation module obtains is sent to the purpose Media Access Control address of described Ethernet message.
Further, described assembly also comprises:
Memory is used for preserving the multicast information of local VSI, and described multicast information comprises the IPv4 address of the sign of VSI, the IPv4 multicast address corresponding with virtual switch instance, opposite end VSI and to the outgoing interface of opposite end VSI.
Another aspect, the embodiment of the invention provide the PE equipment in a kind of VPLS network, and described equipment comprises aforementioned two kinds of message processing components.
Again on the one hand, the embodiment of the invention provides the message handling system in a kind of VPLS network, and described system comprises P(Provider, supplier) equipment, aforementioned PE equipment and CE equipment.
The beneficial effect that the technical scheme that the embodiment of the invention provides is brought is:
The embodiment of the invention is by being encapsulated as multicast data message with the unknown unicast message, and this multicast data message sent to specific IPv4 multicast address, and then this multicast data message is sent to the member of the multicast group with this multicast address, needing in the prior art to have avoided this unknown unicast message is copied many parts of situations about sending respectively, effectively saved the VPLS bandwidth of network.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention, the accompanying drawing of required use was done to introduce simply during the below will describe embodiment, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the flow chart of the message processing method in the VPLS network that provides of the embodiment of the invention one;
Fig. 2 is the flow chart of the message processing method in the VPLS network that provides of the embodiment of the invention two;
Fig. 3 is the flow chart of the message processing method in the VPLS network that provides of the embodiment of the invention three;
Fig. 4 is the structural representation of the message processing components in the VPLS network that provides of the embodiment of the invention four;
Fig. 5 is the structural representation of the message processing components in the VPLS network that provides of the embodiment of the invention five;
Fig. 6 is the structural representation of the message processing components in the VPLS network that provides of the embodiment of the invention six;
Fig. 7 is the structural representation of the message processing components in the VPLS network that provides of the embodiment of the invention seven;
Fig. 8 is the structural representation of the PE equipment in the VPLS network that provides of the embodiment of the invention eight;
Fig. 9 is the structural representation of the message handling system in the VPLS network that provides of the embodiment of the invention nine;
Figure 10 is VPLS network of network Organization Chart.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
The embodiment of the invention for convenience of description, below first in conjunction with Figure 10, simply introduce VPLS network of network framework.As shown in figure 10, generally include a plurality of PE equipment and CE equipment in the VPLS network, a PE equipment can connect one or more CE equipment.In same VPLS, all there is PW between any two PE equipment.PE equipment receives the Ethernet message that CE equipment sends, and the Ethernet message of receiving is carried out VPLS by VSI transmit.Can dispose one or more VSI on the PE equipment, the VSI among the same VPLS can be configured on a plurality of PE equipment, and a VSI can corresponding one or more CE equipment.As shown in figure 10, all disposing two different VSI(on three PE equipment is VSI1 and VSI2), be configured in VSI1 on the different PE equipment and belong to VSI among the same VPLS, be configured in VSI2 on the different PE equipment and also belong to VSI among the same VPLS, CE equipment on the same PE equipment can corresponding VSI, also can corresponding different VSI.
Embodiment one
The embodiment of the invention provides the Ethernet message processing method in a kind of VPLS network, and referring to Fig. 1, the method comprises:
Step 101: receive Ethernet message and the affiliated VSI of definite this Ethernet message that CE equipment sends.
Step 102: judge in the outgoing interface of the VSI under this Ethernet message whether have the outgoing interface to the target MAC (Media Access Control) address in should Ethernet message.
Wherein, outgoing interface represent that local VSI is used for and opposite end VSI between the port of forwarding data.
Particularly, can dispose a plurality of VSI on the PE equipment, corresponding each VSI is provided with a mac address table, records the corresponding relation of MAC Address and outgoing interface in this mac address table.So this step can realize by following steps:
Whether inquiry exists the outgoing interface corresponding with this target MAC (Media Access Control) address in the mac address table corresponding with VSI in the step 101.
Step 103: when the outgoing interface that do not exist the target MAC (Media Access Control) address in should Ethernet message, this Ethernet message is packaged into multicast data message, and this multicast data message sent to IPv4 multicast address that should VSI, thereby the members that this multicast data message is sent to the multicast group with this IPv4 multicast address PE equipment, the member of multicast group comprise aforementioned VSI and with the VSI of aforementioned VSI in same VPLS.
Particularly, this multicast data message is sent to a plurality of PE equipment at the VSI place among the same VPLS after, determine the VSI that this multicast data message is corresponding by each PE equipment according to this IPv4 multicast address.
In specific implementation, the interface that can send multicast data message and multicast protocol message for one of VSI configuration is specifically designed at PE equipment or a virtual interfaces special are for the treatment of multicast data message and multicast protocol message.
The embodiment of the invention is by being encapsulated as multicast data message with the unknown unicast message, and this multicast data message sent to specific IPv4 multicast address, and then this multicast data message is sent to the member of the multicast group with this multicast address, needing in the prior art to have avoided this unknown unicast message is copied many parts of situations about sending respectively, effectively saved the VPLS bandwidth of network.In addition, the embodiment of the invention is lower to the P equipment in the network and PE equipment requirement, only needs it can support common multicast forwarding, gets final product the message of normal transmission multicast encapsulation.
Embodiment two
The embodiment of the invention provides the message processing method in a kind of VPLS network, the method is corresponding with the message processing method that embodiment one provides, and (message processing method among the embodiment one is used for transmitting terminal, message processing method among the embodiment two is used for receiving terminal), referring to Fig. 2, the method comprises:
Step 201: the receiving multicast data message, this multicast data message is formed by the Ethernet message encapsulation.
Particularly, this multicast data message is formed by the encapsulation of unknown unicast message usually.
Step 202: multicast data message is carried out decapsulation process, obtain Ethernet message.
Step 203: according to IPv4 address, source and the IPv4 multicast address in the multicast data message, determine to send VSI and the local VSI outgoing interface corresponding with this VSI of this multicast data message.
Step 204: set up source MAC in this Ethernet message and the corresponding relation of this outgoing interface.
The multicast data message that the embodiment of the invention is packaged into by receiving the unknown unicast message, with this multicast data message decapsulation, and according to IPv4 address, source and IPv4 multicast address in the Ethernet message after the decapsulation, thereby can carry out rapidly and accurately MAC address learning, the VPLS of being convenient to follow-up Ethernet message transmits.In addition, the embodiment of the invention is lower to the P equipment in the network and PE equipment requirement, only needs it can support common multicast forwarding, gets final product the message of normal transmission multicast encapsulation.
Embodiment three
The embodiment of the invention three provides the message processing method in a kind of VPLS network, this embodiment comprises the complete message handling process from the transmitting terminal to the receiving terminal, in the present embodiment, the PE equipment of transmitting terminal (namely receive from the Ethernet message of CE equipment and transmit the PE equipment of this Ethernet message) is called as a PE equipment, and the PE equipment of receiving terminal (the PE equipment of the multicast data message that the PE equipment that receives sends) is called as the 2nd PE equipment.Referring to Fig. 3, the method comprises:
Step 301: for the VSI among the same VPLS sets up multicast group.
Particularly, as previously mentioned, the VSI among the same VPLS is configured on the different PE equipment usually.
Particularly, this step can comprise:
For the VSI among the same VPLS arranges identical IPv4 multicast address;
The PE equipment at the VSI place among the same VPLS, join message to IPv4 multicast equipment timed sending PIM multicast group, this PIM multicast group joins message and carries IPv4 multicast address corresponding to this VSI, thereby this IPv4 network equipment joins message according to the PIM multicast group of receiving, safeguards the multicast forwarding relation.
Further, this IPv4 multicast equipment can be P(Provider, supplier) equipment, also can be PE equipment.
After multicast group was set up, the method for the present embodiment also comprised:
Preserve the multicast information of local VSI, multicast information comprises the IPv4 address of the sign of VSI, the IPv4 multicast address corresponding with VSI, opposite end VSI and to the outgoing interface of opposite end VSI.
Particularly, can preserve with the form of table one multicast information of local VSI.
Table one, multicast information table
The IPv4 multicast address The sign of VSI The IP address of opposite end VSI Outgoing interface to opposite end VSI
238.0.0.1 VSI1 192.0.0.1 Port1
192.0.0.2 Port2
192.0.0.3 Port3
238.0.0.2 VSI2 192.0.0.2 Port4
192.0.0.3 Port5
Step 302: a PE equipment receives Ethernet message and definite VSI corresponding to this Ethernet message that CE equipment sends.
Further, PE equipment can be according to the VLAN(Virtual Local Area Network under the physical interface that receives Ethernet message and this physical interface, VLAN) determine that this Ethernet message is to belong to which VSI, this text field technical staff knows, and omits at this and describes in detail.
Particularly, comprise source MAC and target MAC (Media Access Control) address in this Ethernet message.
Step 303: a PE equipment judges in the outgoing interface of the VSI under this Ethernet message, whether has the outgoing interface to the target MAC (Media Access Control) address in should Ethernet message, if namely described Ethernet message is the known unicast message, then execution in step 304; If not, namely described Ethernet message is the unknown unicast message, and then execution in step 305.
Wherein, outgoing interface represent that local VSI is used for and opposite end VSI between the port of forwarding data.
Particularly, can dispose a plurality of VSI on the PE equipment, corresponding each VSI is provided with a mac address table, records the corresponding relation of MAC Address and outgoing interface in this mac address table.So this step 303 can realize by following steps:
Whether inquiry exists the outgoing interface corresponding with this target MAC (Media Access Control) address in the mac address table corresponding with VSI in the step 302.
Step 304: a PE equipment sends this Ethernet message from the outgoing interface corresponding with target MAC (Media Access Control) address this Ethernet message.
Step 305: a PE equipment is packaged into multicast data message with this Ethernet message.
Particularly, this step comprises: for this Ethernet message encapsulates MPLS tag head, GRE heading and IPv4 heading successively.
Further, the source address of IPv4 heading is: local VSI and the far-end VSI employed IPv4 address that connects, the destination address of IPv4 heading is IPv4 multicast group address corresponding to this VSI.Wherein, local VSI and far-end VSI are the VSI among the same VPLS.
Step 306: a PE equipment sends to the IPv4 multicast address corresponding with this VSI with this multicast data message, thereby multicast data message is sent to the PE equipment corresponding to member of the multicast group with this IPv4 multicast address, the member of this multicast group comprise this VSI and with the VSI of described VSI in same VPLS.
Need to prove, when the VSI under this Ethernet message when a plurality of CE equipment should be arranged, the one PE equipment also needs this Ethernet message is copied, send to affiliated other CE equipment corresponding to VSI of this Ethernet message, namely except the CE equipment that sends this Ethernet message, the CE equipment corresponding with this VSI, this knows for those skilled in the art, omits at this and describes in detail.
Step 307: the PE equipment that each member VSI of multicast group is corresponding (i.e. the 2nd PE equipment) receives this multicast data message.
Step 308: the 2nd PE equipment carries out decapsulation to the multicast data message of receiving to be processed, and obtains Ethernet message.
Particularly, this step comprises: PE equipment is IPv4 heading, GRE heading and the MPLS tag head of decapsulation multicast data message successively, obtains Ethernet message.
Step 309: the 2nd PE equipment determines to send VSI and the local VSI outgoing interface corresponding with this VSI of this multicast data message according to IPv4 address, source and IPv4 multicast address in the multicast data message.
Particularly, can find corresponding VSI according to the IPv4 multicast address in the IPv4 heading first, then according to the IPv4 address, source in VSI and the IPv4 heading, find this VSI outgoing interface corresponding with the VSI that sends this multicast data message.
In specific implementation, can be according to aforementioned table one, search the VSI corresponding with IPv4 multicast address in the multicast data message and this VSI outgoing interface corresponding with the VSI that sends this multicast data message.
Step 310: the 2nd PE equipment is set up source MAC in the Ethernet message and the corresponding relation of outgoing interface.
Particularly, the corresponding relation of the source MAC in the Ethernet message and outgoing interface is added or be updated in the mac address table of corresponding VSI on the PE equipment.
Further, the interpolation here comprises that the renewal here refers to upgrade the ageing time of MAC Address in the mac address table with MAC Address and corresponding ageing time adding mac address table thereof.
Step 311: the 2nd PE equipment is sent to target MAC (Media Access Control) address in this Ethernet message with this Ethernet message.
Particularly, this step 311 comprises:
This Ethernet message is carried out follow-up AC(Attachment Circuit, place in circuit) the side forward process, this Ethernet message is sent to the target MAC (Media Access Control) address in this Ethernet message the most at last.
Need to prove, step 310-310 and step 311 do not have sequencing, can carry out simultaneously.
The embodiment of the invention is by being encapsulated as multicast data message with the unknown unicast message, and this multicast data message sent to specific IPv4 multicast address, and then this multicast data message is sent to the member of the multicast group with this multicast address, needing in the prior art to have avoided this unknown unicast message is copied many parts of situations about sending respectively, effectively saved the VPLS bandwidth of network.In addition, the embodiment of the invention is lower to the P equipment in the network and PE equipment requirement, only needs it can support common multicast forwarding, gets final product the message of normal transmission multicast encapsulation.In addition, by the source address in the multicast data message and IPv4 multicast address, can learn accurately the corresponding relation of MAC Address and outgoing interface, when the Ethernet message received take this MAC Address as target MAC (Media Access Control) address, namely can transmit this Ethernet message by the original unicast message forwarding process of VSI, improve efficiency of transmission.
Embodiment four
The embodiment of the invention provides the message processing components in a kind of VPLS network, is applicable to realize the message processing method among the embodiment one, and referring to Fig. 4, this assembly comprises:
Receiver 401 is for the Ethernet message of the PE equipment transmission that receives VSI;
Determination module 402 is used for the affiliated VSI of Ethernet message that determines that receiver 401 receives;
Judge module 403 is used for judging whether existing the outgoing interface of the target MAC (Media Access Control) address of the Ethernet message that corresponding receiver 401 receives;
Package module 404 when being used for the outgoing interface when the target MAC (Media Access Control) address of the Ethernet message that does not exist corresponding receiver 401 to receive, is packaged into multicast data message with Ethernet message;
Transmitter 405, be used for the multicast data message that package module 404 obtains is sent to IPv4 multicast address that should VSI, thereby the members that multicast data message is sent to the multicast group with this IPv4 multicast address PE equipment, the member of this multicast group comprise this VSI and with the VSI of this VSI in same VPLS.
Particularly, for the ease of conveniently administering and maintaining, this transmitter 404 can for being configured in the virtual interface on the PE equipment, be specifically designed to the transmission multicast data message.
Particularly, package module 403 is used to this Ethernet message to encapsulate successively MPLS tag head, GRE heading and IPv4 heading.
Further, transmitter 404 also is used for this Ethernet message is sent from the outgoing interface corresponding with the target MAC (Media Access Control) address of this Ethernet message.
The embodiment of the invention is by being encapsulated as multicast data message with the unknown unicast message, and this multicast data message sent to specific IPv4 multicast address, and then this multicast data message is sent to the member of the multicast group with this multicast address, needing in the prior art to have avoided this unknown unicast message is copied many parts of situations about sending respectively, effectively saved the VPLS bandwidth of network.In addition, the embodiment of the invention is lower to the P equipment in the network and PE equipment requirement, only needs it can support common multicast forwarding, gets final product the message of normal transmission multicast encapsulation.
Embodiment five
The embodiment of the invention provides the message processing components in a kind of VPLS network, be applicable to realize the step 301-306 of the message processing method among the embodiment three, as shown in Figure 5, the message processing components structure of the message processing components of the present embodiment and embodiment four is basic identical, difference is, the message processing components of the present embodiment also comprises:
Multicast group is set up module 506, is used for setting up aforementioned multicast group.
Further, this multicast group is set up module 506 and is comprised:
Setting unit is used to the VSI among the same VPLS that identical IPv4 multicast address is set;
Transmitting element, be used for joining message to IPv4 multicast equipment timed sending PIM multicast group, this message carries IPv4 multicast address corresponding to described virtual switch instance, thereby the described IPv4 network equipment joins message according to the described multicast group of receiving, safeguards the multicast forwarding relation.
The embodiment of the invention is by being encapsulated as multicast data message with the unknown unicast message, and this multicast data message sent to specific IPv4 multicast address, and then this multicast data message is sent to the member of the multicast group with this multicast address, needing in the prior art to have avoided this unknown unicast message is copied many parts of situations about sending respectively, effectively saved the VPLS bandwidth of network.In addition, the embodiment of the invention is lower to the P equipment in the network and PE equipment requirement, only needs it can support common multicast forwarding, gets final product the message of normal transmission multicast encapsulation.
Embodiment six
The embodiment of the invention provides the message processing components in a kind of VPLS network, is applicable to realize the message processing method among the embodiment two, and as shown in Figure 6, this assembly comprises:
Receiver 601 is used for the receiving multicast data message, and this multicast data message is formed by the Ethernet message encapsulation;
Decapsulation module 602 is used for that the multicast data message that receiver 601 receives is carried out decapsulation and processes, and obtains Ethernet message;
Determination module 603 is used for IPv4 address, source and IPv4 multicast address according to multicast data message, determines to send VSI and the local VSI outgoing interface corresponding with the VSI that sends this multicast data message of this multicast data message;
Corresponding relation building module 604 is used for setting up the source MAC of Ethernet message and the corresponding relation of the outgoing interface that determination module 704 is determined.
Particularly, decapsulation module 602 is used for successively decapsulation IPv4 heading, GRE heading and MPLS tag head.
The multicast data message that the embodiment of the invention is packaged into by receiving the unknown unicast message, with this multicast data message decapsulation, and according to IPv4 address, source and IPv4 multicast address in the Ethernet message after the decapsulation, thereby can carry out rapidly and accurately MAC address learning, the VPLS of being convenient to follow-up Ethernet message transmits.In addition, the embodiment of the invention is lower to the P equipment in the network and PE equipment requirement, only needs it can support common multicast forwarding, gets final product the message of normal transmission multicast encapsulation.
Embodiment seven
The embodiment of the invention provides the message processing components in a kind of VPLS network, be applicable to realize the step 307-311 of the message processing method among the embodiment three, as shown in Figure 7, the message processing components structure of the message processing components of the present embodiment and embodiment six is basic identical, difference is, the message processing components of the present embodiment also comprises:
Transmitter 705 is used for the Ethernet message that decapsulation module 602 obtains is sent to the target MAC (Media Access Control) address of this Ethernet message.
Alternatively, the message processing components of the present embodiment also comprises:
Memory 706 is used for preserving the multicast information of local VSI, and described multicast information comprises the IP address of the sign of VSI, the IPv4 multicast address corresponding with VSI, opposite end VSI and to the outgoing interface of opposite end VSI.
The multicast data message that the embodiment of the invention is packaged into by receiving the unknown unicast message, with this multicast data message decapsulation, and according to IPv4 address, source and IPv4 multicast address in the Ethernet message after the decapsulation, thereby can carry out rapidly and accurately MAC address learning, the VPLS of being convenient to follow-up Ethernet message transmits.In addition, the embodiment of the invention is lower to the P equipment in the network and PE equipment requirement, only needs it can support common multicast forwarding, gets final product the message of normal transmission multicast encapsulation.
Embodiment eight
The embodiment of the invention provides the PE equipment in a kind of VPLS network, referring to Fig. 8, this equipment comprises the first message processing components 801 and the second message processing components 802, wherein, the message processing components that the first message processing components provides for embodiment four or five, the message processing components that the second message processing components provides for embodiment seven or eight.
In specific implementation, because PE equipment possible configuration has a plurality of VSI, and may there be the opposite end of full connection in each VSI.In order conveniently to administer and maintain, can be separately special virtual interface of each VSI configuration of PE equipment, be used for the sending and receiving multicast data message.
The embodiment of the invention is by being encapsulated as multicast data message with the unknown unicast message, and this multicast data message sent to specific IPv4 multicast address, and then this multicast data message is sent to the member of the multicast group with this multicast address, needing in the prior art to have avoided this unknown unicast message is copied many parts of situations about sending respectively, effectively saved the VPLS bandwidth of network.And, the multicast data message that the embodiment of the invention is packaged into by receiving the unknown unicast message, with this multicast data message decapsulation, and according to IPv4 address, source and IPv4 multicast address in the Ethernet message after the decapsulation, thereby can carry out rapidly and accurately MAC address learning, the VPLS of being convenient to follow-up Ethernet message transmits.In addition, the embodiment of the invention is lower to the P equipment in the network and PE equipment requirement, only needs it can support common multicast forwarding, gets final product the message of normal transmission multicast encapsulation.
Embodiment nine
The embodiment of the invention provides the message handling system in a kind of VPLS network, and referring to Fig. 9, this system comprises: P equipment 901, PE equipment 902 and CE equipment 903.Wherein, PE equipment 901 is the PE equipment among the embodiment eight.
The embodiment of the invention is by being encapsulated as multicast data message with the unknown unicast message, and this multicast data message sent to specific IPv4 multicast address, and then this multicast data message is sent to the member of the multicast group with this multicast address, needing in the prior art to have avoided this unknown unicast message is copied many parts of situations about sending respectively, effectively saved the VPLS bandwidth of network.And, the multicast data message that the embodiment of the invention is packaged into by receiving the unknown unicast message, with this multicast data message decapsulation, and according to IPv4 address, source and IPv4 multicast address in the Ethernet message after the decapsulation, thereby can carry out rapidly and accurately MAC address learning, the VPLS of being convenient to follow-up Ethernet message transmits.In addition, the embodiment of the invention is lower to the P equipment in the network and PE equipment requirement, only needs it can support common multicast forwarding, gets final product the message of normal transmission multicast encapsulation.
Need to prove: the message processing components in the VPLS network that above-described embodiment provides, PE equipment and message handling system are when processing Ethernet message, only the division with above-mentioned each functional module is illustrated, in the practical application, can as required the above-mentioned functions distribution be finished by different functional modules, the internal structure that is about to assembly, equipment is divided into different functional modules, to finish all or part of function described above.In addition, the message processing method embodiment in the message processing components in the VPLS network that above-described embodiment provides, PE equipment and message handling system and the VPLS network belongs to same design, and its specific implementation process sees embodiment of the method for details, repeats no more here.
The invention described above embodiment sequence number does not represent the quality of embodiment just to description.
The all or part of step that one of ordinary skill in the art will appreciate that realization above-described embodiment can be finished by hardware, also can come the relevant hardware of instruction to finish by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (18)

1. the message processing method in the virtual private LAN service network is characterized in that, described method comprises:
Receive Ethernet message and the affiliated virtual switch instance of definite described Ethernet message that customer edge sends;
Judge in the outgoing interface of described virtual switch instance whether have the outgoing interface of the purpose Media Access Control address in the corresponding described Ethernet message;
During the outgoing interface of the purpose Media Access Control address in not having corresponding described Ethernet message, described Ethernet message is packaged into multicast data message, and described multicast data message is sent to the IPv4 multicast address of corresponding described virtual switch instance, thereby the members that described multicast data message is sent to the multicast group with described IPv4 multicast address operator edge device, the member of described multicast group comprise described virtual switch instance and with the virtual switch instance of described virtual switch instance in same virtual special local area network service.
2. method according to claim 1 is characterized in that, described described Ethernet message is packaged into multicast data message, comprising:
For described Ethernet message encapsulates multi-protocol label switching (T-MPLS) label head, generic routing encapsulation message head and IPv4 heading successively.
3. method according to claim 1 and 2 is characterized in that, described method also comprises:
Set up described multicast group.
4. method according to claim 3 is characterized in that, describedly sets up described multicast group, comprising:
The provider edge equipment at the virtual switch instance place in the same virtual special local area network service, join message to IPv4 multicast equipment timed sending Protocol Independent Multicast PIM multicast group, described multicast group joins message and carries IPv4 multicast address corresponding to described virtual switch instance, thereby the described IPv4 network equipment joins message according to the described multicast group of receiving, safeguards the multicast forwarding relation.
5. the message processing method in the virtual private LAN service network is characterized in that, described method comprises:
The receiving multicast data message, described multicast data message is formed by the Ethernet message encapsulation;
Described multicast data message is carried out decapsulation process, obtain described Ethernet message;
According to IPv4 address, source and the IPv4 multicast address in the described multicast data message, determine to send virtual switch instance and the local virtual exchange example outgoing interface corresponding with the described virtual switch instance that sends described multicast data message of described multicast data message;
Set up source Media Access Control address in the described Ethernet message and the corresponding relation of described outgoing interface.
6. method according to claim 5 is characterized in that, describedly described multicast data message is carried out decapsulation processes, and comprising:
Successively decapsulation IPv4 heading, generic routing encapsulation message head and multi-protocol label switching (T-MPLS) label head.
7. according to claim 5 or 6 described methods, it is characterized in that, described multicast data message is carried out decapsulation process described, obtain after the described Ethernet message, described method also comprises:
Described Ethernet message is sent to purpose Media Access Control address in the described Ethernet message.
8. the described method of any one is characterized in that according to claim 5-7, and described method also comprises:
Preserve the multicast information of local virtual exchange example, described multicast information comprises the IPv4 address of the sign of virtual switch instance, the IPv4 multicast address corresponding with virtual switch instance, opposite end virtual switch instance and to the outgoing interface of opposite end virtual switch instance.
9. the message processing components in the virtual private LAN service network is characterized in that, described assembly comprises:
Receiver is used for receiving the Ethernet message that customer edge sends;
Determination module is used for the affiliated virtual switch instance of described Ethernet message of determining that described receiver receives;
Judge module, whether the outgoing interface of the described virtual switch instance that is used for judging that described determination module is determined exists the outgoing interface of the purpose Media Access Control address in the described Ethernet message that corresponding described receiver receives;
Package module when being used for the outgoing interface when the purpose Media Access Control address of the described Ethernet message that does not exist corresponding described receiver to receive, is packaged into multicast data message with described Ethernet message;
Transmitter, be used for the multicast data message that described package module obtains is sent to the IPv4 multicast address of corresponding described virtual switch instance, thereby the members that described multicast data message is sent to the multicast group with described IPv4 multicast address operator edge device, the member of described multicast group comprise described virtual switch instance and with the virtual switch instance of described virtual switch instance in same virtual special local area network service.
10. assembly according to claim 9 is characterized in that, described package module is used to described Ethernet message to encapsulate successively multi-protocol label switching (T-MPLS) label head, generic routing encapsulation message head and IPv4 heading.
11. according to claim 9 or 10 described assemblies, it is characterized in that, described assembly also comprises:
Multicast group is set up module, is used for setting up described multicast group.
12. assembly according to claim 11 is characterized in that, described multicast group is set up module and is comprised:
Transmitting element, be used for joining message to IPv4 multicast equipment timed sending Protocol Independent Multicast PIM multicast group, described multicast group joins message and carries IPv4 multicast address corresponding to described virtual switch instance, thereby the described IPv4 network equipment joins message according to the described multicast group of receiving, safeguards the multicast forwarding relation.
13. the message processing components in the virtual private LAN service network is characterized in that, described assembly comprises:
Receiver is used for the receiving multicast data message, and described multicast data message is formed by the Ethernet message encapsulation;
Decapsulation module is used for that the multicast data message that described receiver receives is carried out decapsulation and processes, and obtains described Ethernet message;
Determination module is used for IPv4 address, source and IPv4 multicast address according to described multicast data message, determines to send the virtual switch instance of described multicast data message and the outgoing interface corresponding with described virtual switch instance of local virtual exchange example;
Corresponding relation building module is used for setting up the source Media Access Control address of described Ethernet message and the corresponding relation of the outgoing interface that described determination module is determined.
14. assembly according to claim 13 is characterized in that, described decapsulation module is used for successively decapsulation IPv4 heading, generic routing encapsulation message head and multi-protocol label switching (T-MPLS) label head.
15. according to claim 13 or 14 described assemblies, it is characterized in that, described assembly also comprises:
Transmitter is used for the Ethernet message that described decapsulation module obtains is sent to the purpose Media Access Control address of described Ethernet message.
16. the described assembly of any one is characterized in that according to claim 13-15, described assembly also comprises:
Memory, be used for to preserve the multicast information of local virtual exchange example, described multicast information comprises the IPv4 address of the sign of virtual switch instance, the IPv4 multicast address corresponding with virtual switch instance, opposite end virtual switch instance and to the outgoing interface of opposite end virtual switch instance.
17. the provider edge equipment in the virtual private LAN service network is characterized in that described equipment comprises such as each described assembly of claim 9-12 with such as each described assembly of claim 13-16.
18. the message handling system in the virtual private LAN service network, described system comprises vendor equipment, provider edge equipment and customer edge, it is characterized in that, described provider edge equipment is the described equipment of claim 17.
CN201210369766.8A 2012-09-27 2012-09-27 Method, module, equipment and system for message processing in virtual private local area network service network Expired - Fee Related CN102882760B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210369766.8A CN102882760B (en) 2012-09-27 2012-09-27 Method, module, equipment and system for message processing in virtual private local area network service network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210369766.8A CN102882760B (en) 2012-09-27 2012-09-27 Method, module, equipment and system for message processing in virtual private local area network service network

Publications (2)

Publication Number Publication Date
CN102882760A true CN102882760A (en) 2013-01-16
CN102882760B CN102882760B (en) 2015-05-06

Family

ID=47483912

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210369766.8A Expired - Fee Related CN102882760B (en) 2012-09-27 2012-09-27 Method, module, equipment and system for message processing in virtual private local area network service network

Country Status (1)

Country Link
CN (1) CN102882760B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103179043A (en) * 2013-03-06 2013-06-26 杭州华三通信技术有限公司 Method and equipment for forwarding multicast messages
CN105530189A (en) * 2014-09-29 2016-04-27 华为技术有限公司 Method for forwarding messages in TRILL network, and routing bridge
CN105553810A (en) * 2015-12-14 2016-05-04 中国联合网络通信集团有限公司 Method and device for forwarding special line service packet
WO2016095571A1 (en) * 2014-12-15 2016-06-23 华为技术有限公司 Method and device for establishing a multicast channel

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1996934A (en) * 2005-12-31 2007-07-11 华为技术有限公司 Implementation method and switching device of multi-point to multi-point service
CN101534209A (en) * 2009-04-20 2009-09-16 杭州华三通信技术有限公司 A method and device for sending multicast messages
CN101616014A (en) * 2009-07-30 2009-12-30 中兴通讯股份有限公司 A kind of method that realizes cross-virtual private local area network multicast
US7804790B1 (en) * 2004-08-30 2010-09-28 Juniper Networks, Inc. Aggregate multicast trees for virtual private local area network (LAN) service multicast
CN102035729A (en) * 2010-11-22 2011-04-27 杭州华三通信技术有限公司 Multicast data forwarding method and device thereof
CN102148745A (en) * 2010-02-08 2011-08-10 中兴通讯股份有限公司 Method and system for increasing forwarding efficiency of virtual private LAN service network
US20120120952A1 (en) * 2003-08-01 2012-05-17 Foundry Networks, Llc Method for providing scalable multicast service in a virtual private lan service

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120120952A1 (en) * 2003-08-01 2012-05-17 Foundry Networks, Llc Method for providing scalable multicast service in a virtual private lan service
US7804790B1 (en) * 2004-08-30 2010-09-28 Juniper Networks, Inc. Aggregate multicast trees for virtual private local area network (LAN) service multicast
CN1996934A (en) * 2005-12-31 2007-07-11 华为技术有限公司 Implementation method and switching device of multi-point to multi-point service
CN101534209A (en) * 2009-04-20 2009-09-16 杭州华三通信技术有限公司 A method and device for sending multicast messages
CN101616014A (en) * 2009-07-30 2009-12-30 中兴通讯股份有限公司 A kind of method that realizes cross-virtual private local area network multicast
CN102148745A (en) * 2010-02-08 2011-08-10 中兴通讯股份有限公司 Method and system for increasing forwarding efficiency of virtual private LAN service network
CN102035729A (en) * 2010-11-22 2011-04-27 杭州华三通信技术有限公司 Multicast data forwarding method and device thereof

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103179043A (en) * 2013-03-06 2013-06-26 杭州华三通信技术有限公司 Method and equipment for forwarding multicast messages
CN103179043B (en) * 2013-03-06 2016-07-06 杭州华三通信技术有限公司 A kind of method for forwarding multicast message and equipment
CN105530189A (en) * 2014-09-29 2016-04-27 华为技术有限公司 Method for forwarding messages in TRILL network, and routing bridge
WO2016095571A1 (en) * 2014-12-15 2016-06-23 华为技术有限公司 Method and device for establishing a multicast channel
CN105553810A (en) * 2015-12-14 2016-05-04 中国联合网络通信集团有限公司 Method and device for forwarding special line service packet

Also Published As

Publication number Publication date
CN102882760B (en) 2015-05-06

Similar Documents

Publication Publication Date Title
CN102801625B (en) A kind of method of heterogeneous network double layer intercommunication and equipment
US9525563B2 (en) Forwarding packets in an edge device
CN101242285B (en) Switching hub and lan system
CN101674249B (en) Method for forwarding provider backbone bridge (PBB) traffic and device thereof
CN102413059B (en) Multicast forwarding method based on SPB (Shortest Path Bridging) network and SPBM (MAC-in-MAC SPB) bridge
CN107040469A (en) The network equipment and method
CN103312611B (en) Message processing method, device label processing method and equipment
US9819574B2 (en) Concerted multi-destination forwarding in a joint TRILL fabric and VXLAN/IP fabric data center
CN103841023A (en) Data forwarding method and device
CN100531138C (en) Operator's boundary notes, virtual special LAN service communication method and system
EP2549688A1 (en) Access method and apparatus for multi-protocol label switching layer 2 virtual private network
CN105812259A (en) Packet forwarding method and device
CN104065582A (en) Message transmission method and gateway device
CN103944826A (en) Entry aggregation method in SPBM (shortest path bridging MAC mode) network and equipment
CN102098202B (en) Virtual private topology control method, device and system
CN103326918A (en) Message forwarding method and message forwarding equipment
CN102868614A (en) Packet forwarding method in TRILL (transparent interconnection of lots of links) network and routing bridge
CN102316028A (en) Method and apparatus for sending internet protocol packet
CN102932499A (en) Method and device for learning media access control (MAC) addresses in virtual private lan service (VPLS) networks
CN103326940A (en) Method for forwarding message in network and edge device of operator
CN102571375B (en) Multicast forwarding method and device as well as network device
CN102882760B (en) Method, module, equipment and system for message processing in virtual private local area network service network
CN105187311A (en) Message forwarding method and message forwarding device
CN104780090B (en) Method, apparatus, the PE equipment of VPN multicast transmissions
CN102136981B (en) Method for realizing E-Tree (Ethernet tree) service in Ethernet and related device

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150506

Termination date: 20180927

CF01 Termination of patent right due to non-payment of annual fee