CN101534209A - A method and device for sending multicast messages - Google Patents

A method and device for sending multicast messages Download PDF

Info

Publication number
CN101534209A
CN101534209A CN200910131044A CN200910131044A CN101534209A CN 101534209 A CN101534209 A CN 101534209A CN 200910131044 A CN200910131044 A CN 200910131044A CN 200910131044 A CN200910131044 A CN 200910131044A CN 101534209 A CN101534209 A CN 101534209A
Authority
CN
China
Prior art keywords
message
vpls
vsi
opposite end
virtual interface
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
CN200910131044A
Other languages
Chinese (zh)
Other versions
CN101534209B (en
Inventor
沈岭
周迪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN2009101310447A priority Critical patent/CN101534209B/en
Publication of CN101534209A publication Critical patent/CN101534209A/en
Application granted granted Critical
Publication of CN101534209B publication Critical patent/CN101534209B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method and device for sending multicast messages and is applied in a local end PE which is connected with at least an opposite end PE through the VPLS network. The method and device include the following steps: the local end PE receives messages sent by the opposite end PE through a virtual interface of the VPLS and sends the messages to a multicast source; the local end PE monitors messages sent through the virtual interface of VPLS, creates a forwarding table and saves the corresponding relations of the virtual interface of VPLS, the virtual switching illustrations VSI of the messages and link identities Link ID of messages from the opposite end PE to the local end PE; the local end PE receives the multicast messages sent to the virtual interface, looks up the forwarding table and obtains the VSI and Link ID of the messages according to the corresponding relations; the local end PE obtains the addresses of the opposite end PE according to VSI and Link ID of the messages and sends the multicast messages to the opposite end PE.

Description

The method and apparatus that a kind of multicast message sends
Technical field
The present invention relates to the communications field, relate in particular to the method and apparatus that a kind of multicast message sends.
Background technology
VPLS (Virtual Private LAN Service, VPLS) is a kind of widely used MPLS (Multiple Protocol Label Switching, multiprotocol label switching) two-layer VPN (Virtual Private Network, VPN (virtual private network)) technology can be at ether online operation MPLS two-layer VPN.
As shown in Figure 1, be the typical networking diagram of VPLS, comprise CE (Customer Edge Router, customer edge), PE (Provider Edge Router, Provider Edge equipment), program request person and multicast source.Wherein, connect by PW (Pseudo Wire, virtual link) between the PE, constitute the public network side, connect by AC (Attachment Circuit, place in circuit) between PE and the CE, constitute private network side, three CE belong to same VSI (Virtual Switch Instance, virtual switch instance).
The multicast message that multicast source sends is after CE arrives PE, and PE searches VPLS and transmits, from VPLS transmits, find with this CE under the corresponding private network tags of VSI, encapsulate this multicast message, forward from public network according to the MAC Address of this multicast message.After opposite end PE receives this multicast, send to the CE of correspondence according to the VSI under this message.When if PE receives the unicast message, multicast message of target MAC (Media Access Control) address the unknown that CE sends or broadcasting packet, PE will be in this VSI all PE and CE flood; If when PE received the unicast message, multicast message of purpose MAC the unknown or broadcasting packet from PW, the AC that then only connects local PE in this VSI flooded, and no longer floods to the PW that connects other far-ends VSI.
In the prior art, when program request person asks the multicast message of multicast source transmission, PE can not write down the routing information of this request, when the multicast message that multicast source sends according to this request arrives PE,, can not obtain the target MAC (Media Access Control) address of multicast message because this PE can't get access to program request person's routing information, therefore, other all PEs and the CE of PE in VSI floods, and broadcasts this multicast message, causes waste of network resources.
Summary of the invention
The invention provides the method and apparatus that a kind of multicast message sends, to realize the routing information by record program request person, the multicast message that PE can be sent to program request person's clean culture forwarding multicasting source to multicast source transmission message.
The invention provides the method that a kind of multicast message sends, be applied to comprise by VPLS VPLS network and the local end PE that at least one opposite end Provider Edge equipment PE is connected:
Local end PE receives the message that opposite end PE sends by the VPLS virtual interface, and described message is sent to multicast source;
The message that described local end PE monitors receives by described VPLS virtual interface, foundation is transmitted, and preserves the virtual switch instance VSI of described VPLS virtual interface, described message and described message is arrived the chain line Link ID of described local end PE by described opposite end PE corresponding relation;
Described local end PE receives the multicast message that sends to described virtual interface, searches described transmitting, and obtains the VSI and the described Link ID of described message according to described corresponding relation;
Described local end PE is searched default VPLS and is transmitted, and the address according to the VSI and the described LinkID of described message obtains described opposite end PE sends described multicast message to described opposite end PE.
The message that described local end PE monitors receives by described VPLS virtual interface, foundation is transmitted, and virtual switch instance VSI and the described message of preserving described VPLS virtual interface, described message are comprised by the corresponding relation that described opposite end PE arrives the chain line Link ID of described local end PE:
Described local end PE configuration IGMP-Snooping function;
Described local end PE utilizes described IGMP-Snooping function to monitor the message that receives by described VPLS virtual interface, obtains the VSI of described message and described message is arrived described local end PE by described opposite end PE Link ID;
Described local end PE is set up described transmitting, and the VSI of described VPLS virtual interface, described message and the corresponding relation of described Link ID are saved in described transmitting.
Described local end PE is searched default VPLS and is transmitted, and the address that obtains described opposite end PE according to the VSI and the described LinkID of described message sends described multicast message and to comprise to described opposite end PE:
The next hop address that described local end PE is searched private network tags and arrived described opposite end PE in described VPLS transmits according to the VSI and the described Link ID of described message;
Described local end PE utilizes described private network tags to encapsulate described multicast message, and the multicast message after the described encapsulation is sent to arriving described opposite end PE next hop address.
Described local end PE receives the message that opposite end PE sends by the VPLS virtual interface, and described message is comprised to the multicast source transmission:
Described local end PE receives the message that described opposite end PE sends by described VPLS virtual interface, and the described message of decapsulation obtains the VSI of described message;
Described local end PE is searched described VPLS and is transmitted, and the next hop address according to the VSI of described message obtains the described multicast source of arrival sends described message to the next hop address that arrives described multicast source.
The message that described local end PE monitors receives by described VPLS virtual interface, foundation is transmitted, and virtual switch instance VSI and the described message of preserving described VPLS virtual interface, described message are also comprised by the corresponding relation that described opposite end PE arrives the chain line Link ID of described local end PE:
When the message that receives by described VPLS virtual interface was two or more, described transmitting preserved described VPLS virtual interface and the VSI of two or more messages and the corresponding relation of Link ID.
Described local end PE receives the multicast message that sends to described virtual interface, search described transmitting, the VSI and the described Link ID that obtain described message according to described corresponding relation comprise: described local end PE is searched described transmitting, and obtains the VSI and the Link ID of two or more messages according to described corresponding relation;
Described local end PE is searched default VPLS and is transmitted, the address that obtains described opposite end PE according to the VSI and the described LinkID of described message, described multicast message is comprised to described opposite end PE transmission: described local end PE is searched default VPLS and is transmitted, VSI and Link ID according to described two or more messages, obtain the address of two or more opposite ends PE, described multicast message is sent to described two or more opposite ends PE.
The invention provides the device that a kind of message sends, be connected with at least one opposite end Provider Edge equipment PE by VPLS VPLS network, comprising as local end PE:
The message receiving element is used for receiving the message that opposite end PE sends by the VPLS virtual interface, and described message is sent to multicast source;
Transmit and set up the unit, be connected with described message receiving element, be used to monitor the message that described message receiving element receives, foundation is transmitted, and preserves the virtual switch instance VSI of described VPLS virtual interface, described message and described message is arrived the chain line Link ID of described local end PE by described opposite end PE corresponding relation;
The link acquiring unit, set up the unit electric connection with described transmitting, be used to receive the multicast message that sends to described virtual interface, search described transmitting and set up transmitting of unit foundation, obtain the VSI and the described Link ID of described message according to described corresponding relation;
Packet sending unit, electrically connect with described link acquiring unit, be used to search default VPLS and transmit, the VSI of the described message that obtains according to described link acquiring unit and the address that described LinkID obtains described opposite end PE send described multicast message to described opposite end PE.
Described transmitting set up the unit and comprised:
The block configuration subelement is used to dispose the IGMP-Snooping function;
Monitor subelement, electrically connect with described block configuration subelement, be used to utilize the IGMP-Snooping function of described block configuration subelement configuration to monitor the message that receives by described VPLS virtual interface, obtain the VSI of described message and described message is arrived described local end PE by described opposite end PE LinkID;
Table is set up subelement, electrically connects with described monitoring subelement, is used to set up described transmitting, and the VSI of described VPLS virtual interface, described message and the corresponding relation of described Link ID are saved in described transmitting.
Described packet sending unit comprises:
Search subelement, be used for transmitting the next hop address of searching private network tags and arriving described opposite end PE at described VPLS according to the VSI and the described Link ID of described message;
Send subelement, electrically connect, be used to utilize and describedly search the private network tags that subelement searches and encapsulate described multicast message, the multicast message after the described encapsulation is sent to the next hop address that arrives described opposite end PE with the described subelement of searching.
Described message receiving element comprises:
The decapsulation subelement is used for receiving the message that described opposite end PE sends by described VPLS virtual interface, and the described message of decapsulation obtains the VSI of described message;
Search subelement, electrically connect with described decapsulation subelement, be used to search described VPLS and transmit, the VSI that obtains according to described decapsulation unit obtains the next hop address that arrives described multicast source, sends described message to the next hop address that arrives described multicast source.
Compared with prior art, the present invention has the following advantages at least:
PE receives the message that opposite end PE sends by the VPLS virtual interface, monitors the message by this VPLS virtual interface, obtains the VSI and the Link ID of message; When PE receiving group source during to multicast message that this VPLS virtual interface sends, obtain the destination address of multicast according to the VSI that obtains and Link ID, send this multicast message to opposite end PE, thereby can realize that Internet resources avoid waste to specifying PE to send multicast message.
Description of drawings
Fig. 1 is the typical networking diagram of VPLS in the prior art;
Fig. 2 is the method flow schematic diagram that message provided by the invention sends;
The method flow schematic diagram that the message that Fig. 3 provides for the present invention's one application scenarios sends;
The method flow schematic diagram that the message that Fig. 4 provides for Another Application scene of the present invention sends;
Fig. 5 is the structural representation of the device of message transmission provided by the invention;
Fig. 6 is another structural representation of the device of message transmission provided by the invention.
Embodiment
Core concept of the present invention is: local end PE monitors opposite end PE enters the message of local end PE by the VPLS virtual interface, sets up forwarding-table item, writes down the routing information of this message; When local end PE receives the multicast message that sends to the VPLS virtual interface, search this and transmit, obtain the address information of opposite end PE, send multicast message, avoid flooding of multicast message to opposite end PE.
The invention provides the method that a kind of multicast message sends, as shown in Figure 2, may further comprise the steps:
Step s201, local end PE receives the message that opposite end PE sends by the VPLS virtual interface, and described message is sent to multicast source;
Step s202, the message that described local end PE monitors receives by described VPLS virtual interface, foundation is transmitted, and preserves the virtual switch instance VSI of described VPLS virtual interface, described message and described message is arrived the chain line Link ID of described local end PE by described opposite end PE corresponding relation;
Step s203, described local end PE receives the multicast message that sends to described virtual interface, searches described transmitting, and obtains the VSI and the described Link ID of described message according to described corresponding relation;
Step s204, described local end PE is searched default VPLS and is transmitted, and the address according to the VSI and the described Link ID of described message obtains described opposite end PE sends described multicast message to described opposite end PE.
By adopting method provided by the invention, PE receives the message that opposite end PE sends by the VPLS virtual interface, monitors the message by this VPLS virtual interface, obtains the VSI and the Link ID of message; When PE receiving group source during to multicast message that this VPLS virtual interface sends, obtain the destination address of multicast according to the VSI that obtains and Link ID, send this multicast message to opposite end PE, thereby can realize that Internet resources avoid waste to specifying PE to send multicast message.
Below in conjunction with a concrete application scenarios method that message provided by the invention sends is introduced, wherein, the IGMP Report message that the message that local end PE receives sends by opposite end PE for program request person, this message is IGMP member's report message, the recipient sends by multicast, is used to announce the multicast group that oneself adds.After local end PE receives this IGMP Report message, opposite end PE is added to and safeguard the multicast forwarding list item, when forwarding multicasting message, search the address that this forwarding-table item obtains opposite end PE, send multicast message to opposite end PE.Concrete, as shown in Figure 3, may further comprise the steps:
Step s301, program request person send IGMP Report message.
In conjunction with shown in Figure 1, after CE sent, CE did not process this message this IGMP Report message, and IGMP Report message is sent to opposite end PE by program request person.Opposite end PE receives IGMP Report message, and it is encapsulated, and comprises the private network tags of the affiliated VSI of package identification program request person and carries out the public network label that public network is transmitted needs, and promptly next jumps PE address (for example address of local end PE); Then, PE sends by the VPLS network this IGMP Report message to local end PE.
If this moment, opposite end PE does not know the position at multicast source place, and promptly this message does not have destination address, then opposite end PE is with the transmission that floods of this message, to the different public network label of IGMP Report message encapsulation, all PE of other in VSI and CE flood, and broadcast this message.Is this a multicast message?
Step s302, local end PE receives IGMP Report message by the VPLS virtual interface, searches VPLS and transmits this message is sent to local terminal CE.
Above-mentioned VPLS virtual interface is produced when disposing the VPLS network software by local end PE, and this VPLS virtual interface at the message through the VPLS Network Transmission, sends to private network side with these messages by the public network side specially, perhaps sends to the public network side by private network side.Concrete, after local end PE received IGMP Report message through the VPLS network, the decapsulation label obtained the VSI information of this message; Local end PE is searched VPLS and is transmitted then, and this message is sent to the local terminal CE corresponding with VSI information by the VPLS virtual interface; If the local terminal CE that is connected with local end PE is a plurality of, then local end PE is to all local terminal CE broadcasting IGMPReport messages.
VPLS transmits pre-configured finishing, comprising the address information of VSI information and all CEs corresponding with VSI information.Local end PE finds the address information of local terminal CE of the VSI information correspondence of message in this is transmitted, message is sent to local terminal CE.
Step s303, local end PE monitors is set up IGMP-Snooping and is transmitted by the IGMP Report message that the VPLS virtual interface receives.
The pre-configured IGMP-Snooping function of local end PE, monitor IGMP Report message and enter local end PE by opposite end PE, IGMP Report message enters private network side between local end PE and the local terminal CE by the VPLS virtual interface by the public network side between opposite end PE and the local end PE in other words, obtains IGMP Report message and arrives the VSI that the link information of local end PE, VPLS virtual interface that this IGMP Report message enters local end PE and local end PE decapsulation label IGMP Report message obtain by opposite end PE.
Local end PE is set up IGMP-Snooping and is transmitted, this IGMP Report message of record enters the VPLS virtual interface of local end PE in this is transmitted, this VPLS virtual interface is added to the host port that sends multicast message, this host port and hereinafter routed port are the different addresses in different VPLS networks, are used for sending to opposite end PE the multicast message of multicast source; During transmitting, this also writes down the VSI of IGMP Report message and this message is arrived the link information Link ID of local end PE by opposite end PE corresponding relation.
Concrete, with the public network side between opposite end PE and the local end PE is virtual net Vlan10, private network side between local end PE and the local terminal CE is virtual net Vlan100, when IGMP Report message enters Vlan100 by Vlan10, be local end PE when receiving IGMP Report message, the IGMP-Snooping that local end PE is set up transmits as shown in table 1.Wherein, message is VPLS virtual interface VPLS V-Port 100 by the interface that Vlan10 enters Vlan100; VSI ID is aaa; The path LinkId of opposite end PE is 1.
Table 1 IGMP-Snooping transmits
VPLS?V-Port VSI?ID LinkId
100 aaa 1
Pass through said process, during the IGMP-Snooping that sets up transmits, VPLS virtual interface (VPLSV-Port100) is set up corresponding relation with the VSI (VSI ID:aaa) and the message of message by the link information Link ID (PEER IP:LinkId 1) that opposite end PE arrives local end PE, VPLS virtual interface and VSI and Link ID are associated, when multicast message need be transmitted by the VPLS virtual interface, searching this transmits, obtain and corresponding VSI ID of this virtual interface and PEER IP, determine the forwarding route of multicast message.Simultaneously, this VPLS virtual interface is added to host port, sends multicast message by this VPLS virtual interface to opposite end PE.
Step s304, local end PE receives the multicast message that local terminal CE sends, and searches IGMP-Snooping and transmits to opposite end PE and send this multicast message.
The multicast message that multicast source sends is sent to local end PE by local terminal CE, local end PE is searched IGMP-Snooping and is transmitted, obtain VSI and the Link ID of IGMP-Snooping in transmitting, local end PE is further searched VPLS according to this VSI and Link ID again and is transmitted then, obtains the next-hop address information of local end PE; Encapsulation is tabled look-up the VSI that obtains as private network tags to this multicast message, and the encapsulation next-hop address information is as the public network label, and the multicast message of finishing after the encapsulation is sent to opposite end PE.
For example, when local end PE receives multicast message, search IGMP-Snooping and transmit VSI and the LinkID that (table 1) obtain multicast message and be:
VSI?ID:aaa?PEER?IP:LinkId?1
Then, local end PE is further searched VPLS according to this VSI ID and PEER IP and is transmitted, and the form of the forwarding-table item during VPLS transmits can be as shown in table 2:
Forwarding-table item during table 2 VPLS transmits
VsiName LinkID Inlabel OutLabel NextHop
Aaa 1 131099 131083 10.10.10.11
Wherein, the name of VsiName sign VSI is distinguished different VSI; Link ID identifies the link between the different PE, the Link ID difference between the different PE of same VSI; When arriving PE, Inlabel sign public network side goes into message label; The outgoing packet label that the Outlabel sign need be encapsulated when the public network side sends message by PE; NextHop identifies next hop address, the i.e. address information of opposite end PE.
Local end PE obtains OutLabel information and NextHop information according to the VSI ID and the LinkID information of searching the acquisition of IGMP-Snooping table in VPLS transmits, local end PE is according to the public network label of this NextHop encapsulation multicast message then, use the private network tags of this OutLabel, the multicast message after the encapsulation is sent to opposite end PE as the encapsulation multicast message.
Should be with in the scene, when if local end PE is searched IGMP-Snooping and is transmitted, find that IGMP-Snooping does not have VSI ID and PEER IP in transmitting, it is the destination address that local end PE can't be obtained multicast message, then local end PE is searched VPLS and is transmitted, and all PE and CE broadcast this multicast message in this VSI.Have a plurality ofly if belong to PE in this VSI, comprise a plurality of forwarding-table items during then VPLS transmits.Local end PE is searched VPLS and is transmitted, and all PE in this VSI send this multicast message, further sends this multicast message by the PE that receives this multicast message at the private network side of this PE.
Should be with in the scene, if when program request person is a plurality of, with two be example, the IGMP-Snooping of foundation transmits as shown in table 3, comprises VPLS virtual interface and corresponding with this virtual interface two VSI ID and LinkId.
Table 3 IGMP-Snooping transmits
Figure A200910131044D00141
At this moment, when local end PE is searched IGMP-Snooping and is transmitted, obtain the corresponding relation of two groups of VSI, Link ID and VPLS virtual interface, utilize these two groups of corresponding relations further to obtain the address that next jumps PE respectively, private network tags according to VSI encapsulation multicast message, according to the public network label of next hop address encapsulation multicast message, the multicast message after the encapsulation is sent to two different opposite end PE.
Be introduced below in conjunction with the sending method of Another Application scene to multicast message provided by the invention, the operation multicast has 2 kinds of situations in the VPLS network:
Be double layer network between the CE of two ends, the IGMP Report message that program request person sends sees through the VPLS network delivery to opposite end CE, obtains the multicast message that multicast source sends; Perhaps, between the CE of two ends three-layer network, operation PIM multicast routing protocol, program request person sends the PIM message and sees through the VPLS network delivery to local terminal CE, and multicast source is replied the multicast message of PIM message form to program request person.
Should be with in the scene, program request person announces the multicast group that oneself adds by sending the PIM message.Concrete, as shown in Figure 4, program request person is by sending the PIM message, and the process of obtaining multicast message may further comprise the steps:
Step s401, program request person sends the PIM message by opposite end PE.
Described in above-mentioned application scenarios, opposite end PE at first needs the private network tags of PIM message package identification VSI and the public network label of next hop address when sending the PIM message.
Step s402, local end PE receives the PIM message by the VPLS virtual interface, searches VPLS and transmits this message is sent to local terminal CE.
After local terminal CE receives this PIM message, further this PIM message is sent to multicast source.
Step s403, local end PE monitors is set up IGMP-Snooping and is transmitted by the PIM message that the VPLS virtual interface receives.
Local end PE configuration IGMP-Snooping function is monitored the routing information by the PIM message of VPLS virtual interface reception, sets up IGMP-Snooping and transmits, and the VPLS virtual interface is added to routed port, sends the multicast message of multicast source to opposite end PE.
When local end PE received the PIM message, the IGMP-Snooping of foundation transmitted as shown in table 4:
Table 4 IGMP-Snooping transmits
VPLS?V-Port VSI?ID LinkId
100 Aaa 1
Step s404, local end PE receives the multicast message that local terminal CE sends, and searches IGMP-Snooping and transmits this multicast message of outside transmission.
The multicast message that multicast source sends is sent to local end PE through CE, when local end PE receives multicast message, transmits to find by IGMP-Snooping and need carry out the VPLS label forwarding, and find VSI and Link ID is:
VSI?ID:aaa?PEER?IP:LinkId1
Then, local end PE is further searched the VPLS routing table, and VPLS route tableau format can be as follows:
Forwarding-table item during table 5 VPLS transmits
VsiName LinkID Inlabel OutLabel NextHop
aaa 1 131099 131083 10.10.10.11
Local end PE obtains OutLabel information and NextHop information according to VSI information and the Link id information of searching the acquisition of IGMP-Snooping table in VPLS transmits, the encapsulation multicast message sends to opposite end PE.
By adopting method provided by the invention, PE receives the message that opposite end PE sends by the VPLS virtual interface, monitors the message by this VPLS virtual interface, obtains the VSI and the LinkID of message; When PE receiving group source during to multicast message that this VPLS virtual interface sends, obtain the destination address of multicast according to the VSI that obtains and Link ID, send this multicast message to opposite end PE, thereby can realize that Internet resources avoid waste to specifying PE to send multicast message.
The invention provides the device that a kind of multicast message sends, be connected with at least one opposite end Provider Edge equipment PE by VPLS VPLS network, as shown in Figure 5, comprising as local end PE:
Message receiving element 51 is used for receiving the message that opposite end PE sends by the VPLS virtual interface, and described message is sent to multicast source; Wherein, the VPLS virtual interface is produced when disposing the VPLS network software by local end PE, and this VPLS virtual interface at the message through the VPLS Network Transmission, sends to private network side with these messages by the public network side specially, perhaps sends to the public network side by private network side.
Transmit and set up unit 52, be connected with message receiving element 51, be used to monitor the message that described message receiving element 51 receives, foundation is transmitted, and preserves the virtual switch instance VSI of described VPLS virtual interface, described message and described message is arrived the chain line Link ID of described local end PE by described opposite end PE corresponding relation;
Link acquiring unit 53 is set up unit 52 and is connected with transmitting, and is used to receive the multicast message that sends to described virtual interface, searches described transmitting and sets up transmitting that unit 52 sets up, and obtains the VSI and the described Link ID of described message according to described corresponding relation;
Packet sending unit 54, be connected with link acquiring unit 53, be used to search default VPLS and transmit, the VSI of the described message that obtains according to described link acquiring unit 53 and the address that described Link ID obtains described opposite end PE send described multicast message to described opposite end PE.
Preferably, as shown in Figure 6, described transmitting set up unit 52 and comprised:
Block configuration subelement 521 is used to dispose the IGMP-Snooping function;
Monitor subelement 522, be connected with described block configuration subelement 521, be used to utilize the IGMP-Snooping function of described block configuration subelement 521 configurations to monitor the message that receives by described VPLS virtual interface, obtain the VSI of described message and described message is arrived described local end PE by described opposite end PE Link ID;
Table is set up subelement 523, is connected with described monitoring subelement 522, is used to set up described transmitting, and the VSI of described VPLS virtual interface, described message and the corresponding relation of described Link ID are saved in described transmitting.
Described packet sending unit 54 comprises:
Search subelement 541, be used for transmitting the next hop address of searching private network tags and arriving described opposite end PE at described VPLS according to the VSI and the described Link ID of described message;
Send subelement 542, be connected, be used to utilize and describedly search the private network tags that subelement 541 searches and encapsulate described multicast message with the described subelement 541 of searching, with the multicast message after the described encapsulation to the next hop address transmission that arrives described opposite end PE.
Described message receiving element 51 comprises:
Decapsulation subelement 511 is used for receiving the message that described opposite end PE sends by described VPLS virtual interface, and the described message of decapsulation obtains the VSI of described message;
Search subelement 512, be connected with described decapsulation subelement 511, be used to search described VPLS and transmit, the VSI that obtains according to described decapsulation subelement 511 obtains the next hop address that arrives described multicast source, sends described message to the next hop address that arrives described multicast source.
By adopting device provided by the invention, PE receives the message that opposite end PE sends by the VPLS virtual interface, monitors the message by this VPLS virtual interface, obtains the VSI and the Link ID of message; When PE receiving group source during to multicast message that this VPLS virtual interface sends, obtain the destination address of multicast according to the VSI that obtains and Link ID, send this multicast message to opposite end PE, thereby can realize that Internet resources avoid waste to specifying PE to send multicast message.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions with so that computer installation (can be personal computer, server, perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
In a word, the above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1, a kind of method of multicast message transmission is applied to it is characterized in that by VPLS VPLS network and the local end PE that at least one opposite end Provider Edge equipment PE is connected, and comprising:
Local end PE receives the message that opposite end PE sends by the VPLS virtual interface, and described message is sent to multicast source;
The message that described local end PE monitors receives by described VPLS virtual interface, foundation is transmitted, and preserves the virtual switch instance VSI of described VPLS virtual interface, described message and described message is arrived the chain line Link ID of described local end PE by described opposite end PE corresponding relation;
Described local end PE receives the multicast message that sends to described virtual interface, searches described transmitting, and obtains the VSI and the described Link ID of described message according to described corresponding relation;
Described local end PE is searched default VPLS and is transmitted, and the address according to the VSI and the described LinkID of described message obtains described opposite end PE sends described multicast message to described opposite end PE.
2, the method for claim 1, it is characterized in that, the message that described local end PE monitors receives by described VPLS virtual interface, foundation is transmitted, and virtual switch instance VSI and the described message of preserving described VPLS virtual interface, described message are comprised by the corresponding relation that described opposite end PE arrives the chain line Link ID of described local end PE:
Described local end PE configuration IGMP-Snooping function;
Described local end PE utilizes described IGMP-Snooping function to monitor the message that receives by described VPLS virtual interface, obtains the VSI of described message and described message is arrived described local end PE by described opposite end PE Link ID;
Described local end PE is set up described transmitting, and the VSI of described VPLS virtual interface, described message and the corresponding relation of described Link ID are saved in described transmitting.
3, the method for claim 1 is characterized in that, described local end PE is searched default VPLS and transmitted, and the address that obtains described opposite end PE according to the VSI and the described Link ID of described message sends described multicast message and to comprise to described opposite end PE:
The next hop address that described local end PE is searched private network tags and arrived described opposite end PE in described VPLS transmits according to the VSI and the described Link ID of described message;
Described local end PE utilizes described private network tags to encapsulate described multicast message, and the multicast message after the described encapsulation is sent to the next hop address that arrives described opposite end PE.
4, the method for claim 1 is characterized in that, described local end PE receives the message that opposite end PE sends by the VPLS virtual interface, and described message is comprised to the multicast source transmission:
Described local end PE receives the message that described opposite end PE sends by described VPLS virtual interface, and the described message of decapsulation obtains the VSI of described message;
Described local end PE is searched described VPLS and is transmitted, and the next hop address according to the VSI of described message obtains the described multicast source of arrival sends described message to the next hop address that arrives described multicast source.
5, the method for claim 1, it is characterized in that, the message that described local end PE monitors receives by described VPLS virtual interface, foundation is transmitted, and virtual switch instance VSI and the described message of preserving described VPLS virtual interface, described message are also comprised by the corresponding relation that described opposite end PE arrives the chain line Link ID of described local end PE:
When the message that receives by described VPLS virtual interface was two or more, described transmitting preserved described VPLS virtual interface and the VSI of two or more messages and the corresponding relation of Link ID.
6, method as claimed in claim 5, it is characterized in that, described local end PE receives the multicast message that sends to described virtual interface, search described transmitting, the VSI and the described Link ID that obtain described message according to described corresponding relation comprise: described local end PE is searched described transmitting, and obtains the VSI and the Link ID of two or more messages according to described corresponding relation;
Described local end PE is searched default VPLS and is transmitted, the address that obtains described opposite end PE according to the VSI and the described LinkID of described message, described multicast message is comprised to described opposite end PE transmission: described local end PE is searched described VPLS and is transmitted, VSI and LinkID according to described two or more messages, obtain the address of two or more opposite ends PE, described multicast message is sent to described two or more opposite ends PE.
7, a kind of device of message transmission is connected with at least one opposite end Provider Edge equipment PE by VPLS VPLS network as local end PE, it is characterized in that, comprising:
The message receiving element is used for receiving the message that opposite end PE sends by the VPLS virtual interface, and described message is sent to multicast source;
Transmit and set up the unit, be connected with described message receiving element, be used to monitor the message that described message receiving element receives, foundation is transmitted, and preserves the virtual switch instance VSI of described VPLS virtual interface, described message and described message is arrived the chain line Link ID of described local end PE by described opposite end PE corresponding relation;
The link acquiring unit, set up the unit electric connection with described transmitting, be used to receive the multicast message that sends to described virtual interface, search described transmitting and set up transmitting of unit foundation, obtain the VSI and the described Link ID of described message according to described corresponding relation;
Packet sending unit, electrically connect with described link acquiring unit, be used to search default VPLS and transmit, the VSI of the described message that obtains according to described link acquiring unit and the address that described Link ID obtains described opposite end PE send described multicast message to described opposite end PE.
8, device as claimed in claim 7 is characterized in that, described transmitting set up the unit and comprised:
The block configuration subelement is used to dispose the IGMP-Snooping function;
Monitor subelement, electrically connect with described block configuration subelement, be used to utilize the IGMP-Snooping function of described block configuration subelement configuration to monitor the message that receives by described VPLS virtual interface, obtain the VSI of described message and described message is arrived described local end PE by described opposite end PE LinkID;
Table is set up subelement, electrically connects with described monitoring subelement, is used to set up described transmitting, and the VSI of described VPLS virtual interface, described message and the corresponding relation of described Link ID are saved in described transmitting.
9, device as claimed in claim 7 is characterized in that, described packet sending unit comprises:
Search subelement, be used for transmitting the next hop address of searching private network tags and arriving described opposite end PE at described VPLS according to the VSI and the described Link ID of described message;
Send subelement, electrically connect, be used to utilize and describedly search the private network tags that subelement searches and encapsulate described multicast message, the multicast message after the described encapsulation is sent to the next hop address that arrives described opposite end PE with the described subelement of searching.
10, device as claimed in claim 7 is characterized in that, described message receiving element comprises:
The decapsulation subelement is used for receiving the message that described opposite end PE sends by described VPLS virtual interface, and the described message of decapsulation obtains the VSI of described message;
Search subelement, electrically connect with described decapsulation subelement, be used to search described VPLS and transmit, the VSI that obtains according to described decapsulation unit obtains the next hop address that arrives described multicast source, sends described message to the next hop address that arrives described multicast source.
CN2009101310447A 2009-04-20 2009-04-20 A method and device for sending multicast messages Active CN101534209B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101310447A CN101534209B (en) 2009-04-20 2009-04-20 A method and device for sending multicast messages

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101310447A CN101534209B (en) 2009-04-20 2009-04-20 A method and device for sending multicast messages

Publications (2)

Publication Number Publication Date
CN101534209A true CN101534209A (en) 2009-09-16
CN101534209B CN101534209B (en) 2011-06-08

Family

ID=41104612

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101310447A Active CN101534209B (en) 2009-04-20 2009-04-20 A method and device for sending multicast messages

Country Status (1)

Country Link
CN (1) CN101534209B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102215172A (en) * 2011-06-21 2011-10-12 中兴通讯股份有限公司 Method and system for realizing across virtual private local area network multicast
CN102308539A (en) * 2011-07-08 2012-01-04 华为技术有限公司 Method and device of fast shift of forwarding port
CN102045250B (en) * 2009-10-26 2012-05-23 杭州华三通信技术有限公司 Forwarding method for multicast message in VPLS, and service provider edge equipment
CN102882760A (en) * 2012-09-27 2013-01-16 华为技术有限公司 Method, module, equipment and system for message processing in virtual private local area network service network
CN102882761A (en) * 2012-10-31 2013-01-16 烽火通信科技股份有限公司 VPLS realization method
CN103179043A (en) * 2013-03-06 2013-06-26 杭州华三通信技术有限公司 Method and equipment for forwarding multicast messages
CN103546385A (en) * 2012-07-10 2014-01-29 杭州华三通信技术有限公司 Flow transmitting control method and equipment
CN103841023A (en) * 2012-11-22 2014-06-04 华为技术有限公司 Data forwarding method and device
CN104579834A (en) * 2014-12-31 2015-04-29 武汉中元华电科技股份有限公司 Method for constructing forwarding routes in power system
US9509609B2 (en) 2012-09-17 2016-11-29 Hewlett Packard Enterprise Development Lp Forwarding packets and PE devices in VPLS
CN113676410A (en) * 2021-08-19 2021-11-19 中国电信股份有限公司 Network multicast method and device, electronic equipment and computer readable storage medium

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102045250B (en) * 2009-10-26 2012-05-23 杭州华三通信技术有限公司 Forwarding method for multicast message in VPLS, and service provider edge equipment
CN102215172A (en) * 2011-06-21 2011-10-12 中兴通讯股份有限公司 Method and system for realizing across virtual private local area network multicast
CN102308539A (en) * 2011-07-08 2012-01-04 华为技术有限公司 Method and device of fast shift of forwarding port
WO2012106877A1 (en) * 2011-07-08 2012-08-16 华为技术有限公司 Method and apparatus for quick switching of forwarding port
US10419241B2 (en) 2012-07-10 2019-09-17 Hewlett Packard Enterprise Development Lp Traffic forwarding
CN103546385A (en) * 2012-07-10 2014-01-29 杭州华三通信技术有限公司 Flow transmitting control method and equipment
US10050808B2 (en) 2012-07-10 2018-08-14 Hewlett Packard Enterprise Development Lp Traffic forwarding
CN103546385B (en) * 2012-07-10 2017-12-15 新华三技术有限公司 Flow transmission control method and equipment
US9509609B2 (en) 2012-09-17 2016-11-29 Hewlett Packard Enterprise Development Lp Forwarding packets and PE devices in VPLS
CN103685022B (en) * 2012-09-17 2016-12-21 杭州华三通信技术有限公司 Message forwarding method and service provider network edge equipment
CN102882760A (en) * 2012-09-27 2013-01-16 华为技术有限公司 Method, module, equipment and system for message processing in virtual private local area network service network
CN102882760B (en) * 2012-09-27 2015-05-06 华为技术有限公司 Method, module, equipment and system for message processing in virtual private local area network service network
CN102882761A (en) * 2012-10-31 2013-01-16 烽火通信科技股份有限公司 VPLS realization method
CN102882761B (en) * 2012-10-31 2015-07-01 烽火通信科技股份有限公司 VPLS realization method
CN103841023B (en) * 2012-11-22 2017-03-08 华为技术有限公司 The method and apparatus of data forwarding
CN103841023A (en) * 2012-11-22 2014-06-04 华为技术有限公司 Data forwarding method and device
CN103179043B (en) * 2013-03-06 2016-07-06 杭州华三通信技术有限公司 A kind of method for forwarding multicast message and equipment
CN103179043A (en) * 2013-03-06 2013-06-26 杭州华三通信技术有限公司 Method and equipment for forwarding multicast messages
CN104579834A (en) * 2014-12-31 2015-04-29 武汉中元华电科技股份有限公司 Method for constructing forwarding routes in power system
CN113676410A (en) * 2021-08-19 2021-11-19 中国电信股份有限公司 Network multicast method and device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN101534209B (en) 2011-06-08

Similar Documents

Publication Publication Date Title
CN101534209B (en) A method and device for sending multicast messages
CN107819677B (en) Message forwarding method and device
CN102035729B (en) Multicast data forwarding method
CN101674249B (en) Method for forwarding provider backbone bridge (PBB) traffic and device thereof
CN102413061B (en) Message transmission method and equipment
CN102075439B (en) Multicast message transmitting method and routing equipment
CN103117935B (en) Be applied to multicast data forwarding method and the device of multi-home networking
KR100886433B1 (en) IPv6 Support Method for Bridge Extension Using Wireless Communications System
CN101146045B (en) Radio LAN and its access method and access device
CN108964940B (en) Message sending method and device and storage medium
CN102143026B (en) Method for avoiding loop circuit in virtual two layer network
CN103685022A (en) Message forwarding method and service provider network edge equipment
CN104022936B (en) A kind of tunnel establishing method and device
CN107317752B (en) Method and device for forwarding data message
KR101694223B1 (en) Method, routing bridge, and system for sending packet
WO2021042445A1 (en) Layer 2 leased line network system, configuration method, and device
CN104954265A (en) Method for sending multicast message and switch
CN102420762B (en) Message forwarding method, message forwarding system, network equipment and firewall wire card
CN101394333A (en) Packet forwarding method, apparatus and network system
CN101355486A (en) Method, equipment and system for switching route
CN105187311A (en) Message forwarding method and message forwarding device
CN101119222B (en) Method, device and system for implementing multicast of HOPE network
CN102857421B (en) A kind of VLL fault detection method and equipment
CN103368806A (en) Method and system for processing data flow and device
CN104009919A (en) Message forwarding method and 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
CP03 Change of name, title or address

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

Patentee after: Xinhua three Technology Co., Ltd.

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

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address