CN107612809A - A kind of multicast list synchronous method and equipment - Google Patents

A kind of multicast list synchronous method and equipment Download PDF

Info

Publication number
CN107612809A
CN107612809A CN201711045010.7A CN201711045010A CN107612809A CN 107612809 A CN107612809 A CN 107612809A CN 201711045010 A CN201711045010 A CN 201711045010A CN 107612809 A CN107612809 A CN 107612809A
Authority
CN
China
Prior art keywords
multicast
multicast list
list item
software
list
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
CN201711045010.7A
Other languages
Chinese (zh)
Other versions
CN107612809B (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 Information Technologies Co Ltd
Original Assignee
New 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201711045010.7A priority Critical patent/CN107612809B/en
Publication of CN107612809A publication Critical patent/CN107612809A/en
Application granted granted Critical
Publication of CN107612809B publication Critical patent/CN107612809B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The application is related to data communication technology field, more particularly to a kind of multicast list synchronous method and equipment, for in VTEP equipment synchronization multicast list item synchronize, multicast packet flooding on VXLAN networks is avoided, while and can ensures that all multicast members can receive the multicast packet transmitted by any multicast source.The multicast list of synchronization is stored as the first software multicast list item;Receive the multicast data message from direct-connected multicast source;The software multicast list item is stored as the first hardware multicast list item;Multicast data message is packaged by VXLAN tunnels corresponding to the VXLAN tunnel faces in the first hardware multicast list item;The multicast data message of VXLAN encapsulation is sent by the VXLAN tunnel faces in the first hardware multicast list item.

Description

A kind of multicast list synchronous method and equipment
Technical field
The application is related to data communication technology field, more particularly to a kind of multicast list synchronous method and equipment.
Background technology
Ethernet VPN (Ethernet Virtual Private Network, EVPN) is a kind of two layers of void Intend dedicated network (Virtual Private Network, VPN) technology.Current EVPN networks mainly include:Virtual extended office Domain net (Virtual Extensible Local Area Network, VXLAN endpoint of a tunnels (VXLAN Tunnel End Point, VTEP) and VXLAN tunnels;Wherein, VTEP is EVPN edge device, for performing EVPN relevant treatment; VXLAN tunnels are the logical tunnels of the point-to-point between two VTEP, for realizing the data transfer between VTEP.User network The main frame being distributed in multiple VTEP of diverse geographic location may be included, can utilize VXLAN tunnels will on backbone network These VTEP are connected, and two layers of VPN (Irtual Private are provided for the main frame in these user networks Network, VPN), a VXLAN network is formed, the VXLAN networks are also known as EVPN examples.VXLAN networks can use single Broadcast, the communication mode of multicast or multicast enters row data communication.
Multicast data communication depends on Internet Group Management Protocol (Internet Group Management Protocol, IGMP).When certain main frame wants to add some multicast group, actively there can be internet group management association to operation The VTEP equipment for discussing (Internet Group Management Protocol, IGMP) requestor sends IGMP member relation reports Message is accused to state to add the multicast group.If off-duty igmp querying device in the VTEP equipment being directly connected to main frame, with IGMP membership report's messages transmitted by the main frame can be flooded to other VTEP and set by the VTEP equipment that main frame is directly connected to Standby upper, other VTEP equipment can generate corresponding multicast list;If run in the VTEP equipment being directly connected to main frame pair The igmp querying device answered, then the IGMP membership reports message transmitted by the main frame will not be flooded to other VTEP equipment On, cause not generating corresponding multicast list in other VTEP equipment.
Multicast packet transmission when, each as multicast source main frame after multicast packet is sent, if with Corresponding multicast list is not generated in the VTEP equipment that multicast source is directly connected to, multicast packet can be all connected with the main frame VTEP is flooded on other VTEP, and by way of configuring unknown multicast data message discard on other VTEP, is made Obtaining multicast packet can be received by the member host of all multicast groups, cause can have substantial amounts of multicast number in VXLAN networks Flooded according to message, cause the waste of the bandwidth of VXLAN networks;If there is corresponding group with the VTEP equipment that multicast source is directly connected to List item is broadcast, then multicast packet can be forwarded according to multicast list, and the member host that may cause partaof group can not receive To multicast packet.
The content of the invention
The embodiment of the present application provides a kind of multicast list synchronous method and equipment, can in VTEP equipment synchronization multicast List item, multicast packet flooding on VXLAN networks is avoided, while and can enough ensures that all multicast members can receive To the multicast packet transmitted by any multicast source.
First aspect, there is provided a kind of multicast list synchronous method, this method include:
The multicast list of synchronization is stored as the first software multicast list item;
Receive the multicast data message from direct-connected multicast source;
The software multicast list item is stored as the first hardware multicast list item;
By VXLAN tunnels corresponding to the VXLAN tunnel faces in the first hardware multicast list item to multicast data message It is packaged;
The multicast data message of VXLAN encapsulation is sent by the VXLAN tunnel faces in the first hardware multicast list item.
Second aspect, there is provided a kind of multicast list synchronizer, the equipment include:
Software list item memory module, the multicast list of synchronization is stored as the first software multicast list item;
Receiving module, receive the multicast data message from direct-connected multicast source;
Hardware table item memory module, the software multicast list item is stored as the first hardware multicast list item;
Forwarding module, by VXLAN tunnels corresponding to the VXLAN tunnel faces in the first hardware multicast list item to multicast Data message is packaged;
Sending module, the VXLAN multicast data messages encapsulated are passed through into the VXLAN tunnels in the first hardware multicast list item Road junction is sent.
The multicast list synchronous method that the embodiment of the present application is provided, when VTEP equipment receives IGMP membership reports After message, multicast list sync message can be generated according to multicast list and default multicast list sync message form, and will Multicast list sync message is sent to other VTEP equipment;When local terminal VTEP equipment receives software transmitted by the VTEP equipment of distal end Multicast list;After the multicast list sync message of reception, the multicast list of synchronization can be stored as first and arrived from direct-connected During the multicast data message of multicast source, software multicast list item is stored as the first hardware multicast list item, then pass through the first hardware group The VXLAN tunnel faces broadcast in list item send multicast data message, during this, the VTEP equipment direct-connected with multicast source Multicast packet need not be flooded away, but can be forwarded according to the first hardware multicast list item, to avoid multicast packet from existing Flooding on VXLAN networks;Simultaneously as its multicast list can be synchronized to distal end VTEP equipment by all VTEP equipment, often Multicast list in one VTEP equipment is all complete, is not lacked, therefore can ensure all multicast member main frames The multicast packet transmitted by any multicast source can be received.
Brief description of the drawings
, below will be to the application in order to clearly illustrate the embodiment of the present application or technical scheme of the prior art Accompanying drawing required in embodiment or description of the prior art does simple introduction.It should be evident that drawings in the following description Only some embodiments described in the application, for those of ordinary skill in the art, can also be according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is a kind of schematic diagram of EVPN networks in the prior art;
Fig. 2 is a kind of method flow diagram for multicast list synchronous method that the embodiment of the present application provides;
Fig. 3 is the tool of multicast list corresponding to a kind of determination IGMP membership report's messages of the embodiment of the present application offer Body method flow chart;
Fig. 4 is a kind of specific example for multicast list sync message form that the embodiment of the present application provides;
Fig. 5 is a kind of type of message Multicast Entry route for MP-BGP EVPN that the embodiment of the present application provides Specific example;
Fig. 6 is the method flow diagram for another multicast list synchronous method that the embodiment of the present application provides;
Fig. 7 is the method flow diagram for another multicast list synchronous method that the embodiment of the present application provides;
Fig. 8 is a kind of dynamic member end according to multicast list sync message to multicast list that the embodiment of the present application provides The method flow diagram for the specific method that message breath is updated;
Fig. 9 is a kind of structural representation for multicast list synchronizer that the embodiment of the present application provides;
Figure 10 is a kind of structural representation for multicast list synchronizer that the embodiment of the present application provides.
Embodiment
Fig. 1 shows a kind of schematic diagram of EVPN networks in the prior art.Include three VTEP in the EVPN networks to set It is standby, i.e. VTEP A, VTEP B and VTEP C, and three VTEP equipment enable internet group management protocol listening (IGMP Snooping) function.A is a main frame being connected by ethernet segment (Ethernet Segment, ES) with VTEP A, and b is One main frame being connected by ES with VTEP B, VTEP C are connected with multicast source by ES.
, it is necessary to actively to igmp querying device corresponding to the multicast group actively when main frame a wants to add some multicast group IGMP membership report's messages are sent, the multicast group that main frame a wants to add is carried in IGMP membership report's messages Multicast group address.Igmp querying device corresponding with multicast group is run in some VTEP equipment in EVPN networks.In one kind In the case of, can be according to multicast group after the VTEP equipment that operation has igmp querying device receives IGMP membership report's messages Address generates corresponding with multicast group multicast list, and received the ports of IGMP membership report's messages as dynamically into Member port is added in exit port list corresponding with multicast list.
In another case, when the distal end VTEP equipment of off-duty igmp querying device receives IGMP membership reports After message, multicast list corresponding with multicast group is being generated according to multicast group address, and received IGMP membership reports , can also be by IGMP while the port of message is added in exit port list corresponding with multicast list as dynamic member port Membership report's message is flooded in other VTEP equipment being connected with the VTEP equipment, to cause other VTEP equipment Generation multicast list corresponding with multicast group.
Based on this treatment mechanism, it is assumed that VTEP A operations have igmp querying device, when main frame a wants that adding multicast group address is During multicast group 224.0.0.1, IGMP membership report's messages actively can be sent to VTEP A, now can turn into should by main frame a The member host of multicast group;VTEP A can be generated and group when receiving IGMP membership report's messages transmitted by main frame a Multicast list corresponding to the multicast group that group address is 224.0.0.1 is broadcast, and the port that it is connected with main frame a is as dynamic member Port, it is added in exit port list corresponding to multicast list;But because VTEP A operations have igmp querying device, in this Shen Please before technology realize in, VTEP A are exactly the final purpose end of IGMP membership report's messages, and VTEP A will not be again IGMP membership report's messages are flooded to other VTEP equipment, not so other VTEP equipment are not due to knowing the IGMP member Relation report message, which carrys out self-operating, the VTEP A of igmp querying device, can also return to IGMP membership report's messages VTEP A.Therefore, VTEP B and VTEP C are will not to receive IGMP membership report's messages transmitted by main frame a, Multicast list corresponding with multicast group will not be generated on VTEP B and VTEP C.If the group being now connected with VTEP C Broadcast source to multicast group address be 224.0.0.1 multicast member send multicast packet, due to VTEP C on and be not present and this Multicast list corresponding to multicast group, therefore multicast data sending can be delivered into VTEP A and VTEP B in a manner of flooding.VTEP Multicast list corresponding with multicast group on A be present, according to the multicast list, give transmitting multicast data to main frame a;On VTEP B not , therefore, can be by the position multicast packet packet loss function being pre-configured with the presence of multicast list corresponding with multicast group, will be general Flood to the multicast packet on VTEP B abandons.This, which is resulted in, can have substantial amounts of multicast data message in VXLAN networks and flood, and make Into the waste of the bandwidth of VXLAN networks.
When main frame b wants to add the multicast group that the multicast group address is 224.0.0.1, actively can equally be sent to VTEP B IGMP membership report's messages.For VTEP B after IGMP membership report's messages are received, generation is corresponding with multicast group Multicast list, simultaneously as VTEP B off-duty igmp querying devices, therefore IGMP membership report's messages can be flooded to VTEP A and VTEP C.VTEP A can generate multicast corresponding with multicast group after IGMP membership report's messages are received List item, and using its port with VTEP B connections as dynamic member port added to the corresponding exit port list of multicast list In;VTEP C can generate multicast list corresponding with multicast group after IGMP membership report's messages are received, and by its with The port of VTEP B connections is added in exit port list corresponding to multicast list as dynamic member port.Now, if group Broadcast source and send multicast packet again, can be according to the multicast due to multicast list corresponding with multicast group on VTEP C be present List item forwards to multicast packet;Again due to having only included itself and VTEP in exit port list corresponding to VTEP C multicast lists The port of B connections, therefore multicast packet can only be transmitted to VTEP B;And exit port list corresponding to the multicast list on VTEP B In, its port being connected with main frame b is only included, therefore multicast packet can only be transmitted to main frame b, ultimately cause same with main frame b Main frame a in same multicast group can not receive multicast packet.
Unlike the prior art, in the embodiment of the present application, when any one VTEP equipment is received transmitted by main frame After IGMP membership report's messages, multicast list corresponding with membership report's message can be locally generated, and by multicast List item is synchronized to other VTEP equipment, now between all VTEP equipment multicast list synchronization, to avoid multicast packet in VXLAN Flooding on network, while and can enough ensures that all multicast member main frames can be received transmitted by any multicast source Multicast packet.
It is below in conjunction with the accompanying drawings and specific real to enable the above-mentioned purpose of the application, feature and advantage more obvious understandable Mode is applied to be further described in detail the application.It should be noted that the multicast list that the embodiment of the present application is provided is same One step process can operate in any one and enable in the VTEP equipment of igmp snooping function.
In an EVPN network, Layer2 switching clothes are provided including at least one for VXLAN in each VTEP equipment The virtual switch instance (Virtual Switch Instance, VSI) of business;VSI can be regarded as the stylobate in VTEP equipment The virtual switch of two layers of forwarding is carried out in VXLAN.VSI and VXLAN is corresponded.
Below, so that executive agent is VTEP equipment as an example, VTEP equipment is received transmitted by the main frame being attached thereto After IGMP membership report's messages, generate multicast list and multicast list is synchronized to distal end VTEP process and be illustrated:
Shown in Figure 2, the multicast list synchronous method that a kind of embodiment of the application is provided comprises the following steps:
S201:VTEP equipment is after IGMP membership report's messages are received, it is determined that being reported with IGMP membership reports Second software multicast list item corresponding to the second multicast group address carried in text.
When specific implementation, when any one VTEP equipment receive IGMP transmitted by connected main frame into During member's relation report message, the second multicast group address corresponding second with being carried in IGMP membership report's messages can determine whether Software multicast list item.
Herein, it should be noted that may not it be directly connected between main frame and VTEP equipment, but via route The equipment such as device, interchanger connect.
It is shown in Figure 3, there is provided a kind of VTEP equipment is after IGMP membership report's messages are received, it is determined that and IGMP The specific method of multicast list corresponding to membership report's message, including:
S301:According to the second multicast group address, detect whether to exist with carried in IGMP membership report's messages the Second software multicast list item corresponding to two multicast group address.
Herein, when receiving IGMP membership report's messages, VTEP equipment parses non-member main frame from the message The second multicast group address to be added, and local terminal is detected according to second multicast group address and whether there is and the second multicast group address Corresponding second software multicast list item.
S302:If in the presence of corresponding second software of the second multicast group address with being carried in IGMP membership report's messages Multicast list, then update the dynamic member port information in the second software multicast list item.
Herein, specifically included during the dynamic member port information for updating the second software multicast list item:
Whether detect in the exit port list of the second software multicast list item is included with receiving IGMP membership reports report The consistent dynamic member port in literary port;
If including resetting ageing timer corresponding with dynamic member port;
If do not included, the port for receiving the IGMP membership reports message is added to the exit port and arranged In table, and start ageing timer corresponding with the port.
It is all in VTEP equipment to receive the universal group polling message ports of IGMP when specific implementation, all it is maintained as Dynamic router port.These ports are recorded in dynamic router port list, and there is an aging timing each port Device.Before ageing timer time-out, if dynamic router port have received the universal group polling messages of IGMP, (source address is non- 0.0.0.0), the ageing timer will be reset;Otherwise, the port will be deleted from dynamic router port list.
Therefore, if multicast list corresponding to the existing multicast group, but exit port list corresponding with multicast list In do not include the receiving port, then be added to the receiving port as dynamic member port in exit port list, and start should The ageing timer of receiving port;If the multicast list corresponding to the existing multicast group, and go out corresponding to the multicast list The receiving port is included in port list, then resets its ageing timer.
It should be noted that dynamic router port list is different lists from exit port list.Dynamic routing port All relevant informations for being maintained as dynamic router port have been recorded in list;Each exit port list is then and a group It is corresponding to broadcast list item, and is corresponding with a multicast group;VTEP equipment is when receiving multicast packet corresponding with some multicast group, energy It is enough that multicast list corresponding with multicast packet is obtained according to multicast group address entrained in multicast packet, and by multicast packet Sent from all dynamic member ports being recorded in exit port list corresponding with multicast list.
Herein, it should be noted that the dynamic member port in exit port list, remembered as dynamic router port Record is in dynamic router port list;It is recorded in dynamic router port in dynamic router port list not necessarily Dynamic member port in exit port list.
S303:It is if corresponding second soft in the absence of the second multicast group address with being carried in IGMP membership report's messages Part multicast list, then newly-built second software multicast list item.
Herein, the second software multicast table is generated based on the second multicast group address that IGMP membership reports message carries , and the receiving port of the IGMP member relations message is recorded as to the exit port of the second software multicast list item.
S202:According to the second software multicast list item and default multicast list sync message form, the second multicast is generated List item sync message;Second multicast list sync message includes:Second multicast group address and the 2nd RD.
When specific implementation, EVPN uses Border Gateway Protocol (BGP) (Border Gateway in control plane Protocol multi-protocols extension (Multiprotocol Extensions for BGP-4, MP-BGP) notice EVPN routes) Information, therefore can be by increasing a kind of MP-BGP EVPN type of message newly, and by the distal end of off-duty igmp querying device The MP-BGP messages that VTEP equipment sends the message for carrying the MP-BGP EVPN carry out synchronization multicast list item, and the MP-BGP messages are For multicast list sync message.Such as newly-increased MP-BGP EVPN type of message can be referred to as:Multicast entrance is route (Multicast Entry route)。
Herein, when multicast list sync message is generated, Multicast Entry can be obtained from multicast list The multicast information that route should include, fill into Multicast Entry route message.
Further, can be according to each group determined in preset time when multicast list sync message is generated Broadcast list item and all generate a Multicast Entry route message, carried in a MP-BGP EVPN message multiple Multicast Entry route message.
Fig. 4 provides a kind of specific example of multicast list sync message form;Include in this example, route-type (Route Type) is used for the type for identifying multicast list, and it can use the MP-BGP messages of current other species untapped Value is identified to the type of multicast list;For example, when Route Type value is 8, Layer 2 Multicast list item is identified, when Route Type value is 9 three layers of multicast list of mark.Length (Length) is used to illustrate whole multicast list sync message Length;Route-type feature (Route Type specific) is the data division of multicast list sync message, for filling Multicast Entry route message.
Fig. 5 provides a kind of type of message Multicast Entry route of MP-BGP EVPN specific example; The example includes:Route-distinguisher (Route Distinguisher, RD) is used to receive multicast list sync message VTEP equipment obtains the VXLAN tunnel ports between its VTEP equipment with sending multicast list sync message;Multicast group address (Multicast IP Address)。
S203:Second multicast list sync message is sent respectively to each opposite end VTEP equipment of same EVPN examples.
The multicast list synchronous method that the embodiment of the present application is provided, when often thering is the new main frame to be added to certain multicast group, meeting Actively IGMP membership report's messages are sent to the VTEP equipment being attached thereto;VTEP equipment receives IGMP member relation reports After accusing message, multicast list sync message can be generated according to multicast list and default multicast list sync message form, and Multicast list sync message is sent to other distal ends VTEP equipment, realizes the synchronization of multicast list between all VTEP equipment, When any one VTEP equipment receives the multicast packet of data source, due to multicast table corresponding with multicast packet be present , therefore multicast packet will not be flooded away, but can be forwarded according to multicast list, to avoid multicast packet from existing Flooding on VXLAN networks;Simultaneously as its multicast list can be synchronized to other distal ends VTEP equipment by VTEP equipment, it is each Multicast list in individual VTEP equipment is all complete, is not lacked, therefore can ensure that all multicast member main frames are equal The multicast packet transmitted by any multicast source can be received.
Below to VTEP equipment after multicast list sync message is received, perform the synchronous process of multicast list and said It is bright:
Shown in Figure 6, the multicast list synchronous method that another embodiment of the application is provided comprises the following steps:
S601:The multicast list of synchronization is stored as the first software multicast list item;
S602:Receive the multicast data message from direct-connected multicast source;
S603:The first software multicast list item is stored as the first hardware multicast list item;
S604:By VXLAN tunnels corresponding to the VXLAN tunnel faces in the first hardware multicast list item to multicast packet Message is packaged;
S605:The VXLAN multicast data messages encapsulated are passed through into the VXLAN tunnel faces in the first hardware multicast list item Send.
Detailed description to multicast list synchronous method is as follows:
Shown in Figure 7, the multicast list synchronous method that another embodiment of the application is provided comprises the following steps:
S701:Receive the first multicast list sync message transmitted by the VTEP equipment of distal end;First multicast list is synchronously reported What text was generated for distal end VTEP equipment based on default multicast list sync message form, wrapped in the first multicast list sync message Include:First multicast group address and RD corresponding with the first multicast group address.
When specific implementation, the concrete methods of realizing that distal end VTEP equipment generates the first multicast list sync message can Referring to embodiment corresponding to above-mentioned Fig. 1-Fig. 5, will not be repeated here.
S702:Local terminal is searched according to the first multicast group address and whether there is the first software corresponding with the first multicast group address Multicast list;If it is present jump to S703;If it does not exist, then jump to S704.
When specific implementation, the first multicast list that VTEP equipment receives transmitted by the VTEP equipment of distal end is synchronously reported Wen Hou, the first wherein entrained multicast group address can be parsed, then according to the first multicast group address, from local terminal In all multicast lists, the first software multicast list item corresponding with first multicast group address has been detected whether.
Specifically, multicast list sync message also includes:Route-type.
Local terminal is searched according to the first multicast group address and whether there is the first software multicast corresponding with the first multicast group address List item, specifically include:
According to route-type, obtain that local terminal is corresponding with route-type all to have established multicast list.
Searched and established in multicast list with the presence or absence of corresponding with the first multicast group address according to the first multicast group address First software multicast list item.
S703:The dynamic member port information of the first software multicast list item is carried out according to the first multicast list sync message Renewal.
Shown in Figure 8 when specific implementation, the embodiment of the present application also provides a kind of same according to the first multicast list The specific method that step message is updated to the dynamic member port information of the first software multicast list item, this method include:
S801:According to the first RD of EVPN examples, the VXLAN tunnel ports between distal end VTEP equipment and local terminal are obtained, And search whether the VXLAN tunnel ports have been included in the exit port list of the first software multicast list item.
When specific implementation, EVPN networks are when establishing, each VTEP equipment being in EVPN networks Connected other will be preserved and be in the VXLAN tunnel port information of the VTEP equipment in same EVPN networks together, its Include the RD of EVPN examples, and the RD of EVPN examples is used for the VXLAN tunnels end between unique mark and other VTEP equipment Mouthful, namely in VXLAN unique mark VTEP equipment.When VTEP equipment is resolved to from multicast list sync message the RD of EVPN examples Afterwards, VXLAN corresponding with the RD of the EVPN examples can be obtained from the local connection VXLAN tunnel port information preserved Tunnel port, then it can be searched from the exit port list of multicast list, whether the VXLAN tunnel ports are already contained in this In the exit port list of multicast list.
S802:If the VXLAN tunnel ports included in the exit port list of the first software multicast list item, are reset Ageing timer corresponding with VXLAN tunnel ports;
S803:If the VXLAN tunnel ports are not included in the exit port list of the first software multicast list item, should VXLAN tunnel ports are added in the exit port list of the multicast list.
S704:First software multicast list item is established according to the first multicast list sync message, and obtained according to the first RD Virtual extended LAN VXLAN tunnel ports between distal end VTEP equipment and local terminal, VXLAN tunnel ports are write what is established In the exit port list of first software multicast list item.
Specifically, by taking the EVPN networks in Fig. 1 as an example, when main frame a adds multicast group, multicast table that VTEP A are established In the exit port list of item, include VTEP A and main frame a connectivity port;When multicast list is synchronized on VTEP C by VTEP A When, in the exit port list for the multicast list that VTEP C are established, include VTEP C and VTEP A connectivity port.VTEP C with VTEP A connectivity port is the VXLAN tunnel ports between the VTEP A and local terminal that VTEP C are obtained.
S705:First software multicast list item of foundation is stored in internal memory.
When specific implementation, VTEP equipment includes primary processor and is connected with other VTEP equipment and main frame Port;Retransmission unit is also associated with port;When message forwards, VTEP equipment by with main frame or other VTEP equipment Between port receiving multicast data message, multicast data message is delivered to the retransmission unit with being connected;Retransmission unit is from group Multicast group address is parsed in multicast data message, and is based on multicast group address, is obtained in the hardware table item preserved in retransmission unit Hardware multicast list item corresponding with multicast group address, retransmission unit is by multicast group message by going out end corresponding to hardware multicast list item Dynamic member port in mouth list is sent.
In message transmission process, because the cost of memory capacity identical retransmission unit is much larger than internal memory, therefore in order to Cost is saved, the memory space of retransmission unit is general all than relatively limited, therefore in this application, and VTEP equipment is by the multicast of synchronization After list item is stored as the first software multicast list item, hardware will not be issued to immediately, but in the multicast for receiving direct-connected multicast source After data message, just the first software multicast list item corresponding with multicast data message can be stored as the first hardware multicast list item, Multicast data message is packaged by VXLAN tunnels corresponding to the VXLAN tunnel faces in the first hardware multicast list item;Will The multicast data message of VXLAN encapsulation is sent by the VXLAN tunnel faces in the first hardware multicast list item.
The multicast list synchronous method that the embodiment of the present application is provided, VTEP equipment are received transmitted by the VTEP equipment of distal end Multicast list sync message after, can by synchronization multicast list be stored as the first software multicast list item, come from receiving After the multicast data message of direct-connected multicast source, the first software multicast list item is stored as the first hardware multicast list item, is then based on The first hardware multicast list item forwards to multicast group data message, therefore when any one VTEP equipment receives the group of data source During multicast data, due to multicast list corresponding with multicast packet be present, therefore multicast packet will not be flooded away, but It can be forwarded according to multicast list, to avoid multicast packet flooding on VXLAN networks;Simultaneously as VTEP equipment meetings Its multicast list is synchronized to other all VTEP equipment, the multicast list in each VTEP equipment is complete, is not had Missing, therefore can ensure that all multicast member main frames can receive the multicast packet transmitted by any multicast source.
Based on same application design, additionally provide in the embodiment of the present application it is synchronous with multicast list corresponding to multicast list it is same Equipment is walked, because the equipment in the embodiment of the present application solves the principle side synchronous with the above-mentioned multicast list of the embodiment of the present application of problem Method is similar, therefore the implementation of equipment may refer to the implementation of method, repeats part and repeats no more.
Shown in Figure 9, the embodiment of the present application provides a kind of multicast list synchronizer, and the equipment includes:
List item synchronization module 910, the multicast list of synchronization is stored as the first software multicast list item;
Data message receiving module 920, for receiving the multicast data message from direct-connected multicast source;
Hardware table item memory module 930, for software multicast list item to be stored as into the first hardware multicast list item;
Package module 940, for passing through VXLAN tunnels pair corresponding to the VXLAN tunnel faces in the first hardware multicast list item Multicast data message is packaged;
Sending module 950, for the multicast data message that VXLAN is encapsulated to be passed through in the first hardware multicast list item VXLAN tunnel faces are sent.
Alternatively, list item synchronization module 910, is specifically used for:Receive the first multicast list sync message;Identification sends first The opposite end VTEP of multicast list sync message;Whether lookup internal memory, which have recorded, is matched with the carrying of the first multicast list sync message First software multicast list item of the first multicast address;If found, the tunnel in the opposite end VTEP of identification VXLAN tunnels will be connected Road junction is recorded as the first software multicast list item found.
Alternatively, list item synchronization module 910, is additionally operable to not find in internal memory and is matched with the first of the first multicast address During software multicast list item, the first software multicast list item is created in internal memory, the opposite end VTEP of identification VXLAN tunnels will be connected Tunnel face is recorded as the exit port of the first software multicast list item created.
Alternatively, the first multicast list sync message also carries route-distinguisher;
List item synchronization module 910, specifically for being known based on the route-distinguisher carried in the first multicast list sync message Not Fa Song multicast list sync message opposite end VTEP.
Alternatively, in addition to:Message synchronization module, for receiving Internet Group Management Protocol IGMP membership reports Message,
Second software multicast list item is generated based on the second multicast group address that IGMP membership reports message carries, and will The receiving port of IGMP member relation messages is recorded as the exit port of the second software multicast list item;
Second multicast table is generated according to the second multicast address of the second software multicast list item and the route-distinguisher of this equipment Item sync message;
Second multicast list sync message is sent respectively to each of same Ethernet VPN EVPN examples Opposite end VTEP equipment.
The embodiment of the present invention additionally provides a kind of multicast list synchronizer, as shown in Figure 10, multicast list synchronizer 1010:Memory 1011, processor 1012, retransmission unit 1013 and it is stored on the memory 1011 and device can be managed in this place 1012 and retransmission unit 1013 on the computer program that runs, wherein, above-mentioned processor 1012 is used for:By the multicast list of synchronization It is stored as the first software multicast list item;Retransmission unit 1013 is used for:Receive the multicast data message from direct-connected multicast source;By institute State the first software multicast list item and be stored as the first hardware multicast list item;Pass through the VXLAN tunnels in the first hardware multicast list item VXLAN tunnels are packaged to multicast data message corresponding to road junction;The multicast data message of VXLAN encapsulation is passed through described the VXLAN tunnel faces in one hardware multicast list item are sent.
Alternatively, processor 1012 is specifically used for:Receive the first multicast list sync message;
Identification sends the opposite end VTEP of the first multicast list sync message;
Whether lookup internal memory, which have recorded, is matched with the first multicast address that the first multicast list sync message carries The first software multicast list item;
If found, the tunnel face in the VXLAN tunnels for the opposite end VTEP for connecting identification is recorded as finding described in First software multicast list item.
Alternatively, processor 1012 is specifically used for:The institute for being matched with the first multicast address is not found in the internal memory When stating the first software multicast list item, the first software multicast list item is created in the internal memory, the described right of identification will be connected The tunnel face in end VTEP VXLAN tunnels is recorded as the exit port of the first software multicast list item created.
Alternatively, the first multicast list sync message also carries route-distinguisher;
Retransmission unit 1013 can be realized by forwarding chip, be specifically used for:Specifically for same based on first multicast list The route-distinguisher identification carried in step message sends the opposite end VTEP of the multicast list sync message.
Alternatively, processor 1012 is specifically used for:Internet Group Management Protocol IGMP membership report's messages are received,
Second software multicast list item is generated based on the second multicast group address that the IGMP membership reports message carries, And the receiving port of the IGMP member relations message is recorded as to the exit port of the second software multicast list item;
According to the route-distinguisher of second multicast address of the second software multicast list item and this equipment generation the Two multicast list sync messages;
The second multicast list sync message is sent respectively to same Ethernet VPN EVPN examples Each opposite end VTEP equipment.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, is stored on the computer-readable recording medium There is computer program, the computer program performs corresponding multicast list in any of the above-described embodiment when being run by processor synchronous The step of method.
Specifically, the storage medium can be general storage medium, such as mobile disk, hard disk, in the storage medium Computer program when being run, be able to carry out above-mentioned multicast list synchronous method, so as to solve current partaof list item without The problem of method is synchronous between VTEP equipment, so can in VTEP equipment synchronization multicast list item, reach and avoid multicast packet Flooding on VXLAN networks, while and can enough ensures that all multicast members can receive any multicast source and be sent out The effect of the multicast packet sent.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description With the specific work process of equipment, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, the technical scheme of the application is substantially in other words The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be People's computer, server, or network equipment etc.) perform each embodiment methods described of the application all or part of step. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
Described above, the only embodiment of the application, but the protection domain of the application is not limited thereto is any Those familiar with the art can readily occur in change or replacement in the technical scope that the application discloses, and should all contain Cover within the protection domain of the application.Therefore, the protection domain of the application described should be defined by scope of the claims.

Claims (10)

1. a kind of multicast list synchronous method, it is characterised in that this method includes:
The multicast list of synchronization is stored as the first software multicast list item;
Receive the multicast data message from direct-connected multicast source;
The first software multicast list item is stored as the first hardware multicast list item;
By VXLAN tunnels corresponding to the virtual extended LAN VXLAN tunnel faces in the first hardware multicast list item to group Multicast data message is packaged;
The multicast data message of VXLAN encapsulation is sent by the VXLAN tunnel faces in the first hardware multicast list item.
2. according to the method for claim 1, it is characterised in that the multicast list by synchronization is stored as the first software group Broadcasting list item includes:
Receive the first multicast list sync message;
Identification sends the opposite end virtual extended LAN endpoint of a tunnel VTEP of the first multicast list sync message;
Whether lookup internal memory, which have recorded, is matched with the described of the first multicast address that the first multicast list sync message carries First software multicast list item;
If found, the tunnel face in the VXLAN tunnels for the opposite end VTEP for connecting identification is recorded as described first found Software multicast list item.
3. according to the method for claim 2, it is characterised in that methods described also includes:
If do not found, the first software multicast list item is created in the internal memory, the opposite end of identification will be connected The tunnel face in VTEP VXLAN tunnels is recorded as the exit port of the first software multicast list item created.
4. according to the method for claim 2, it is characterised in that the first multicast list sync message also carries route Specificator;The opposite end VTEP that the identification sends the first multicast list sync message refers to:It is same based on the multicast list Walk the opposite end VTEP that the route-distinguisher identification that message carries sends the multicast list sync message.
5. according to the method for claim 1, it is characterised in that also include:
Internet Group Management Protocol IGMP membership report's messages are received,
Second software multicast list item is generated based on the second multicast group address that the IGMP membership reports message carries, and will The receiving port of the IGMP member relations message is recorded as the exit port of the second software multicast list item;
Second group is generated according to second multicast address of the second software multicast list item and the route-distinguisher of this equipment Broadcast list item sync message;
The second multicast list sync message is sent respectively to each of same Ethernet VPN EVPN examples Opposite end VTEP equipment.
6. a kind of multicast list synchronizer, it is characterised in that the equipment includes:
List item synchronization module, for the multicast list of synchronization to be stored as into the first software multicast list item;
Data message receiving module, for receiving the multicast data message from direct-connected multicast source;
Hardware table item memory module, for the first software multicast list item to be stored as into the first hardware multicast list item;
Package module, for by VXLAN tunnels corresponding to the VXLAN tunnel faces in the first hardware multicast list item to multicast Data message is packaged;
Sending module, for the multicast data message that VXLAN is encapsulated to be passed through into the VXLAN tunnels in the first hardware multicast list item Road junction is sent.
7. according to the method for claim 6, it is characterised in that the list item synchronization module, be specifically used for:
Receive the first multicast list sync message;Identification sends the opposite end VTEP of the first multicast list sync message;Search Whether internal memory have recorded first software for being matched with the first multicast address that the first multicast list sync message carries Multicast list;If found, the tunnel face in the VXLAN tunnels for the opposite end VTEP for connecting identification is recorded as finding described in First software multicast list item.
8. according to the method for claim 7, it is characterised in that the list item synchronization module, be additionally operable in the internal memory When not finding the first software multicast list item for being matched with the first multicast address, it is soft that described first is created in the internal memory Part multicast list, described first that the tunnel face in the VXLAN tunnels for the opposite end VTEP for connecting identification is recorded as creating are soft The exit port of part multicast list.
9. according to the method for claim 7, it is characterised in that the first multicast list sync message also carries route Specificator;
The list item synchronization module, specifically for being known based on the route-distinguisher carried in the first multicast list sync message The opposite end VTEP of the multicast list sync message is not sent.
10. equipment according to claim 6, it is characterised in that also include:Message synchronization module, for receiving Yin Te Net igmpinternet IGMP membership report's messages,
Second software multicast list item is generated based on the second multicast group address that the IGMP membership reports message carries, and will The receiving port of the IGMP member relations message is recorded as the exit port of the second software multicast list item;
Second group is generated according to second multicast address of the second software multicast list item and the route-distinguisher of this equipment Broadcast list item sync message;
The second multicast list sync message is sent respectively to each of same Ethernet VPN EVPN examples Opposite end VTEP equipment.
CN201711045010.7A 2017-10-31 2017-10-31 Multicast table item synchronization method and equipment Active CN107612809B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711045010.7A CN107612809B (en) 2017-10-31 2017-10-31 Multicast table item synchronization method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711045010.7A CN107612809B (en) 2017-10-31 2017-10-31 Multicast table item synchronization method and equipment

Publications (2)

Publication Number Publication Date
CN107612809A true CN107612809A (en) 2018-01-19
CN107612809B CN107612809B (en) 2021-01-01

Family

ID=61085536

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711045010.7A Active CN107612809B (en) 2017-10-31 2017-10-31 Multicast table item synchronization method and equipment

Country Status (1)

Country Link
CN (1) CN107612809B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108494691A (en) * 2018-06-22 2018-09-04 新华三技术有限公司 A kind of multicast forward method, device and VTEP
CN108718278A (en) * 2018-04-13 2018-10-30 新华三技术有限公司 A kind of message transmitting method and device
CN109194560A (en) * 2018-08-29 2019-01-11 迈普通信技术股份有限公司 Method of multicasting and VTEP
CN109194559A (en) * 2018-08-29 2019-01-11 迈普通信技术股份有限公司 Method of multicasting and VTEP equipment
CN109639556A (en) * 2019-01-07 2019-04-16 新华三技术有限公司 A kind of report method and VTEP equipment of forwarding-table item
CN111585900A (en) * 2020-04-30 2020-08-25 平安科技(深圳)有限公司 Multicast method based on SDN controller in host overlay network
CN111988213A (en) * 2020-07-16 2020-11-24 浪潮思科网络科技有限公司 Method, equipment and medium for synchronizing VXLAN tunnel in EVPN MLAG environment
CN112367263A (en) * 2020-10-30 2021-02-12 新华三技术有限公司 Multicast data message forwarding method and equipment
CN115022261A (en) * 2022-05-20 2022-09-06 浪潮思科网络科技有限公司 Multicast table item synchronization method, device and medium based on stack environment
CN115242708A (en) * 2022-07-21 2022-10-25 迈普通信技术股份有限公司 Multicast table item processing method and device, electronic equipment and storage medium
CN115883286A (en) * 2022-11-29 2023-03-31 迈普通信技术股份有限公司 IGMP message processing method and device, VTEP device and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101291240A (en) * 2008-06-19 2008-10-22 杭州华三通信技术有限公司 Multicast flow transmission method and system
CN101631129A (en) * 2009-08-18 2010-01-20 中兴通讯股份有限公司 Method and device for transmitting multicast data
CN104243269A (en) * 2014-09-24 2014-12-24 杭州华三通信技术有限公司 Processing method and device of messages in VxLAN (virtual extensible local area network)
CN104796340A (en) * 2014-01-22 2015-07-22 杭州华三通信技术有限公司 Multicast data transmission method and device
CN105227471A (en) * 2014-05-29 2016-01-06 杭州华三通信技术有限公司 Method and the edge device of multicast forwarding list item is set up in a kind of EVI network
CN105530188A (en) * 2014-10-27 2016-04-27 杭州迪普科技有限公司 Multicast forwarding method and device
CN105591764A (en) * 2015-12-18 2016-05-18 杭州华三通信技术有限公司 Method and device for synchronizing multicast forwarding table items
US20170208136A1 (en) * 2014-07-30 2017-07-20 Hangzhou H3C Technologies Co., Ltd. Multicast Migration
US20170244572A1 (en) * 2016-02-23 2017-08-24 Hitachi Metals, Ltd. Network System and Relay Device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101291240A (en) * 2008-06-19 2008-10-22 杭州华三通信技术有限公司 Multicast flow transmission method and system
CN101631129A (en) * 2009-08-18 2010-01-20 中兴通讯股份有限公司 Method and device for transmitting multicast data
CN104796340A (en) * 2014-01-22 2015-07-22 杭州华三通信技术有限公司 Multicast data transmission method and device
CN105227471A (en) * 2014-05-29 2016-01-06 杭州华三通信技术有限公司 Method and the edge device of multicast forwarding list item is set up in a kind of EVI network
US20170208136A1 (en) * 2014-07-30 2017-07-20 Hangzhou H3C Technologies Co., Ltd. Multicast Migration
CN104243269A (en) * 2014-09-24 2014-12-24 杭州华三通信技术有限公司 Processing method and device of messages in VxLAN (virtual extensible local area network)
CN105530188A (en) * 2014-10-27 2016-04-27 杭州迪普科技有限公司 Multicast forwarding method and device
CN105591764A (en) * 2015-12-18 2016-05-18 杭州华三通信技术有限公司 Method and device for synchronizing multicast forwarding table items
US20170244572A1 (en) * 2016-02-23 2017-08-24 Hitachi Metals, Ltd. Network System and Relay Device

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108718278A (en) * 2018-04-13 2018-10-30 新华三技术有限公司 A kind of message transmitting method and device
CN108718278B (en) * 2018-04-13 2021-04-27 新华三技术有限公司 Message transmission method and device
CN108494691A (en) * 2018-06-22 2018-09-04 新华三技术有限公司 A kind of multicast forward method, device and VTEP
CN108494691B (en) * 2018-06-22 2021-02-26 新华三技术有限公司 Multicast forwarding method and device and tunnel endpoint equipment
CN109194559B (en) * 2018-08-29 2021-04-30 迈普通信技术股份有限公司 Multicast method and VTEP device
CN109194560A (en) * 2018-08-29 2019-01-11 迈普通信技术股份有限公司 Method of multicasting and VTEP
CN109194559A (en) * 2018-08-29 2019-01-11 迈普通信技术股份有限公司 Method of multicasting and VTEP equipment
CN109194560B (en) * 2018-08-29 2021-06-22 迈普通信技术股份有限公司 Multicast method and VTEP
CN109639556A (en) * 2019-01-07 2019-04-16 新华三技术有限公司 A kind of report method and VTEP equipment of forwarding-table item
CN109639556B (en) * 2019-01-07 2021-05-28 新华三技术有限公司 Forwarding table entry reporting method and VTEP equipment
CN111585900A (en) * 2020-04-30 2020-08-25 平安科技(深圳)有限公司 Multicast method based on SDN controller in host overlay network
CN111585900B (en) * 2020-04-30 2022-11-18 平安科技(深圳)有限公司 Multicast method based on SDN controller in host overlay network
CN111988213A (en) * 2020-07-16 2020-11-24 浪潮思科网络科技有限公司 Method, equipment and medium for synchronizing VXLAN tunnel in EVPN MLAG environment
CN111988213B (en) * 2020-07-16 2022-06-03 浪潮思科网络科技有限公司 Method, equipment and medium for synchronizing VXLAN tunnel in EVPN MLAG environment
CN112367263A (en) * 2020-10-30 2021-02-12 新华三技术有限公司 Multicast data message forwarding method and equipment
CN112367263B (en) * 2020-10-30 2022-07-12 新华三技术有限公司 Multicast data message forwarding method and equipment
CN115022261A (en) * 2022-05-20 2022-09-06 浪潮思科网络科技有限公司 Multicast table item synchronization method, device and medium based on stack environment
CN115022261B (en) * 2022-05-20 2024-04-12 浪潮思科网络科技有限公司 Multicast table item synchronization method, equipment and medium based on stacking environment
CN115242708A (en) * 2022-07-21 2022-10-25 迈普通信技术股份有限公司 Multicast table item processing method and device, electronic equipment and storage medium
CN115242708B (en) * 2022-07-21 2023-10-20 迈普通信技术股份有限公司 Multicast table item processing method and device, electronic equipment and storage medium
CN115883286A (en) * 2022-11-29 2023-03-31 迈普通信技术股份有限公司 IGMP message processing method and device, VTEP device and storage medium
CN115883286B (en) * 2022-11-29 2024-04-09 迈普通信技术股份有限公司 IGMP message processing method, device, VTEP device and storage medium

Also Published As

Publication number Publication date
CN107612809B (en) 2021-01-01

Similar Documents

Publication Publication Date Title
CN107612809A (en) A kind of multicast list synchronous method and equipment
CN109756425B (en) Multicast forwarding method, device and BFR
CN103748835B (en) The dynamic renewal of label switched path
CN106572017B (en) Sending method, receiving method and device of BIER information
CN108964940B (en) Message sending method and device and storage medium
CN107968750B (en) Message transmission method, device and node
EP2378720B1 (en) Extranet networking method, system and device for multicast virtual private network
CN106603407B (en) Multicast address transmission method and device
US8416787B2 (en) Method, system and apparatus for implementing L2VPN between autonomous systems
WO2021196717A1 (en) Multicast traffic transmission method and apparatus, communication node, and storage medium
EP2942905A1 (en) Method and device for registering multicast source and establishing multicast path
WO2015165311A1 (en) Method for transmitting data packet and provider edge device
WO2021068641A1 (en) Virtual private network multicast method based on ipv6 netwrok and electronic device
CN103685022A (en) Message forwarding method and service provider network edge equipment
WO2016188502A1 (en) Method and device for providing notification of traffic engineering information in bier network
CN103825826B (en) The implementation method and device of a kind of dynamic routing
WO2014121468A1 (en) Method and device for establishing multicast data channel in network virtualization system
CN102316030A (en) Method for realizing two-layer internetworking of data center and device
US20190014035A1 (en) Information transmission method and device
CN108632145A (en) A kind of message forwarding method and leaf node device
WO2018068588A1 (en) Method and software-defined networking (sdn) controller for providing multicast service
CN102571375B (en) Multicast forwarding method and device as well as network device
US9008118B2 (en) Multicast data delivery over mixed multicast and non-multicast networks
WO2013139270A1 (en) Method, device, and system for implementing layer3 virtual private network
CN111614556A (en) BIER-based bidirectional forwarding detection session creation method and related equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20230619

Address after: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: H3C INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 310052 Changhe Road, Binjiang District, Hangzhou, Zhejiang Province, No. 466

Patentee before: NEW H3C TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right