CN102739532A - Method for preventing flooding of three-layer multicast data stream - Google Patents

Method for preventing flooding of three-layer multicast data stream Download PDF

Info

Publication number
CN102739532A
CN102739532A CN2012102090840A CN201210209084A CN102739532A CN 102739532 A CN102739532 A CN 102739532A CN 2012102090840 A CN2012102090840 A CN 2012102090840A CN 201210209084 A CN201210209084 A CN 201210209084A CN 102739532 A CN102739532 A CN 102739532A
Authority
CN
China
Prior art keywords
multicast
layer
group
router
traffic stream
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.)
Pending
Application number
CN2012102090840A
Other languages
Chinese (zh)
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.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication Technology 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN2012102090840A priority Critical patent/CN102739532A/en
Publication of CN102739532A publication Critical patent/CN102739532A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a method for preventing flooding of three-layer multicast data stream. The method comprises the following steps of: acquiring the recording information of all multicast groups in a three-layer interface environment on an access side of a multicast router; configuring the two-layer multicast function in a virtual local area network (VLAN) corresponding to a three-layer interface on the access side of the multicast router; acquiring a two-layer multicast membership list in the VLAN corresponding to the three-layer interface on the access side of the multicast router; and constructing multicast routing according to the recording information of the multicast group in the three-layer interface environment and the two-layer multicast membership list, and instructing transferring of the multicast data stream according to the multicast routing. By the method, flooding of the multicast data stream in the VLAN corresponding to the three-layer interface is effectively prevented in the three-layer multicast environment of Ethernet after a user transmits IGMPv2 group joining message to join the multicast group or before all users leave the multicast group, so that the performance of a multicast router is improved, and bandwidth is saved.

Description

Prevent the method for three layers of multicast traffic stream inundation
[technical field]
The present invention relates to Ethernet three-tier switch technical field of multicast, relate in particular to the method that prevents the multicast packet inundation.
[background technology]
Multicast protocol is divided into the agreement between main frame-router, i.e. multicast member management protocol, and agreement between the router-Router mainly is various Routing Protocols.The group membership concerns that agreement comprises IGMP (Internet Group Management Protocol, Internet igmpinternet); Multicast routing protocol comprises PIM-SM (Protocol Independent Multicast-Sparse Mode; Sparse mode independent multicast agreement), PIM-DM (Protocol Independent Multicast-Dense Mode; Dense mode independent multicast agreement), DVMRP (Distance Vector Multicast Routing Protocol; Distance vector multicast routing protocol), MBGP agreements such as (Multiprotocol Extensions for BGP-4, MP-BGPs).Through the IGMP multicast member management protocol, in local multicast router and Layer 2 switch, set up the group membership's relation information in the direct connection network segment, specifically, be exactly the member which multicast group is arranged under which interface of local multicast router.Multicast routing protocol is used certain multicast routing algorithm structure multicast distribution tree according to these multicast member relation informations that IGMP safeguards, in router, sets up the multicast routing state, and router carries out multicast packet according to these states and transmits.
The IGMP agreement run on main frame and with multicast router that main frame directly links to each other between, the function that IGMP realizes is two-way: on the one hand, through the IGMP agreement, the host notification local router hopes to add and receive the information of certain particular multicast group; On the other hand, whether the member that router is periodically inquired about certain known group in the local area network (LAN) through the IGMP agreement is in active state (promptly whether this network segment still has the member who belongs to certain multicast group), realizes collection and maintenance that the network group membership that networks of institute concerns.Through IGMP, information recorded is whether certain multicast group has the group membership in this locality in the local multicast router, rather than the corresponding relation between multicast group and the main frame.
Through above-mentioned mechanism, in multicast router, set up a table, wherein write down the member which group is all arranged on the pairing subnet of each interface of router.Receive data message of certain group G when router after, only, those transmit data message on having member's the interface of G.
The present most network equipment all uses the IGMPV2 standard, and existing simple declaration main frame adds through IGMPv2 and when leaving multicast group, the local multicast router is to IGMPv2 protocol massages and three layers of multicast traffic stream processing procedure.
One, at first be adition process, as shown in Figure 1:
1, supposition main frame pc1 thinks the multicast traffic stream of reception group G, and main frame pc1 need not wait for that multicast router R1 sends general polling, directly organizes report to adding of multicast router R1 transmission group G.
2, multicast router is received the group report of adding of group G, and thinks the recipient that this interface has needs reception group G multicast traffic stream.After group G multicast packet flows into multicast router R1, can send a multicast packet from this interface and go out, thereby main frame pc1, main frame pc2 can both receive the multicast traffic stream of group G.
Two, secondly be to leave the group process, as shown in Figure 2, leave the group process and be divided into two kinds:
First kind is: after group, this network segment also has other main frames to receive the multicast traffic stream of this group G.As shown in Figure 2:
1. main frame pc1 sends the message of leaving group G to multicast router R1, notifies the multicast router of this network segment, the multicast traffic stream of no longer reception group of main frame pc1 G.
2. multicast router R1 (supposition is the igmp querying device of this network segment), the group G that receives main frame pc1 can confirm whether this network segment organizes the recipient of G in addition to the ad hoc inquiry of this interface transmission group G after group message.
3. because main frame pc2 organizes the recipient of G in addition, behind the ad hoc inquiry of receiving the group G that multicast router R1 sends, can to multicast router R1 transmission group G add the group report, inform that this this network segment of network segment multicast router organizes the recipient of G in addition.
What 4. multicast router R1 can also receive group G that main frame pc2 sends adds the group report, thereby multicast traffic stream still sends from this interface, and main frame pc1, main frame pc2 can both receive the multicast traffic stream of group G.
Second kind is: main frame this network segment after group does not have the multicast traffic stream that other main frames receive this group G again, and is as shown in Figure 3:
1. main frame pc1 sends the message of leaving group G to multicast router R1, notifies the multicast router of this network segment, the multicast traffic stream of no longer reception group of main frame pc1 G.
2. multicast router R1 (supposition is the igmp querying device of this network segment), the group G that receives main frame pc1 can confirm whether this network segment organizes the recipient of G in addition to the ad hoc inquiry of this interface transmission group G after group message.
3. owing to do not have other main frame reception groups G multicast traffic stream again in the network segment now; Therefore there is not main frame that the group G ad hoc inquiry that multicast router R1 sends is given a response; Multicast router R1 deletes this interface from the multicast traffic stream recipient, main frame pc1, main frame pc2 no longer can receive the multicast traffic stream of group G.
From above-mentioned adding group, can finding out from the group process; For multicast router R1, before leaving with last user after first user of group G adds, after the multicast packet of organizing G flows into multicast router R1; Can send a multicast packet from three layer interfaces that group G is arranged; This part multicast packet mode with inundation in the corresponding VLAN (Virtual Local Area Network, VLAN) of this three layer interface sends, thereby causes interior all switch S 1, the S2 of this network segment can both receive the multicast traffic stream of group G; Understand the network bandwidth under this interface of serious waste multicast router R1 like this, influence the performance of multicast router R1.Such multicast service can not realize that user's (this official holiday is decided to be switch S1 or S2) could receiving multicast data stream after adding, the principle of receiving multicast data stream no longer after the user leaves.
[summary of the invention]
The technical problem that the present invention need solve is to overcome above-mentioned deficiency; A kind of method that prevents three layers of multicast traffic stream inundation is provided; After the user adds multicast group or all the user leaves before the multicast group, prevents three layers of multicast packet data flow inundation in the corresponding VLAN of three layer interfaces.
For solving above-mentioned technical problem, the present invention has designed a kind of method that prevents three layers of multicast traffic stream inundation, and the step of this method comprises:
Step1: obtain the recorded information that multicast router inserts all multicast group under the side three layer interface environment;
Step2: the configuration multicast router inserts the L 2 multicast function of the corresponding VLAN of side three layer interfaces;
Step3: obtain the Layer 2 Multicast member relation table that multicast router inserts the corresponding VLAN of side three layer interfaces;
Step4: according to the recorded information and the described Layer 2 Multicast member relation table that insert multicast group under the side three layer interface environment, make up multicast path by, according to multicast path by instructing multicast traffic stream to transmit.
Prior art after the user adds multicast group or all user is all left before the multicast group; The reason of multicast traffic stream inundation in the corresponding VLAN of multicast router access side three layer interfaces is that the outgoing interface of multicast traffic stream has only write down three layer interface information, does not write down the Layer 2 Multicast group membership relation table of the corresponding VLAN of this three layer interface.The present invention forms a Layer 2 Multicast member relation table in inserting the corresponding VLAN of side three layer interfaces, just can stop multicast traffic stream inundation in this VLAN.
After adopting method of the present invention, in the environment of three layers of multicast of Ethernet, can the user send IGMPv2 add group message add multicast group after or before all the user leaves multicast group, effectively prevent multicast traffic stream inundation in the VLAN of three layer interfaces correspondence.Improved in the network environment for multicast traffic stream and inserted control and the protection of inundation among the corresponding VLAN of side three layer interfaces, promoted the performance of multicast router, saved bandwidth at multicast router.
[description of drawings]
Fig. 1 is the prior art main frame adds multicast group through IGMPv2 a process sketch map;
Fig. 2 is the process sketch map that the prior art main frame leaves first kind of situation of multicast group;
Fig. 3 is the process sketch map that the prior art main frame leaves second kind of situation of multicast group;
Fig. 4 is the schematic flow sheet that the present invention prevents the method for three layers of multicast traffic stream inundation.
[embodiment]
Below in conjunction with accompanying drawing and execution mode the present invention is described further.
The present invention after the user adds multicast group or all user leaves before the multicast group, in the corresponding VLAN of access side three layer interfaces of multicast router, forms a Layer 2 Multicast member relation table, just can stop multicast traffic stream inundation in this VLAN.
As shown in Figure 4 for the method that prevents the multicast traffic stream inundation, the concrete operations step is following:
Step1: before the beginning, dispose multicast router three layer interface multicast functionalitys earlier, and then obtain the recorded information that multicast router inserts all multicast group under the side three layer interface environment.
Step2: the configuration multicast router inserts the L 2 multicast function of the corresponding VLAN of side three layer interfaces.
Step3: obtain the Layer 2 Multicast member relation table that multicast router inserts the corresponding VLAN of side three layer interfaces.
Step4: according to the recorded information and the described Layer 2 Multicast member relation table that insert multicast group under the side three layer interface environment; Make up multicast path by, make up multicast path by can get access to multicast path by three layer interface information and concrete two layers of outlet information of the corresponding VLAN of three layer interface information.Multicast router is received multicast traffic stream, according to multicast path by guidance, multicast traffic stream forwards from these concrete two layers of ports, not inundation in VLAN again.
Through above-mentioned 4 steps, promptly can stop three layers of multicast traffic stream inundation in corresponding VLAN, step1 and 3 also comprises two kinds of different implementations:
First kind of scheme is: manual configuration is obtained the multicast group recorded information that inserts under the side three layer interface environment and the Layer 2 Multicast member relation table of corresponding VLAN.
Specifically; Multicast router carries out manual configuration to certain multicast group (235.1.1.1) and adds group on its access side three layer interfaces; Manual configuration groups is broadcast group (235.1.1.1) Layer 2 Multicast member relation table information under the corresponding VLAN of these access side three layer interfaces simultaneously; When multicast router was received multicast traffic stream, multicast router was according to Layer 2 Multicast member relation table under the multicast group recorded information that inserts side three layer interfaces and the corresponding VLAN of this three layer interface, make up multicast path by; Multicast traffic stream is sent by two layers of concrete port under the corresponding VLAN of three layer interfaces according to the multicast path that builds, not inundation in VLAN again.
Second kind of scheme is: dynamically obtain multicast group recorded information and the multicast member relation table of corresponding VLAN under the three layer interface environment.
Specifically; The IGMPv2 that sends multicast group G when subscriber's main station adds group message, and multicast router gets access to multicast group G information on access side three layer interfaces, under the corresponding VLAN of this three layer interface, also got access to Layer 2 Multicast member relation table simultaneously; When multicast router is received multicast traffic stream; Multicast router is according to Layer 2 Multicast member relation table information under the multicast group recorded information of three layer interfaces and the corresponding VLAN of this three layer interface, make up multicast path by, multicast traffic stream according to the multicast path that builds by; Two layers of concrete port send under the corresponding VLAN of three layer interfaces, not inundation in VLAN again.
In addition, for three layer interface group record information of manual configuration on the multicast router and the corresponding VLAN of three layer interfaces down the Layer 2 Multicast member relation information of configuration can not wear out, forever exist in the system, do not receive IGMPv2 that subscriber's main station sends influence from group message.
The present invention; The structure multicast path by in; Can get access to multicast path by concrete two layers of port information of the corresponding VLAN of three layer interface information and three layer interface information; Thereby multicast path prevents multicast traffic stream inundation in the corresponding VLAN of three layer interfaces, the control and the protection that have improved multicast router inundation in local area network (LAN) by instructing multicast traffic stream concrete two layers of port of corresponding VLAN under the three concrete layer interfaces to send to the recipient of requirement groups multicast data; Promote the performance of multicast router, can better satisfy growing multicast services.
Above-described only is execution mode of the present invention, should be pointed out that for the person of ordinary skill of the art at this, under the prerequisite that does not break away from the invention design, can also make improvement, but these all belongs to protection scope of the present invention.

Claims (4)

1. method that prevents three layers of multicast traffic stream inundation, it is characterized in that: the step of this method comprises:
Step1: obtain the recorded information that multicast router inserts all multicast group under the side three layer interface environment;
Step2: the configuration multicast router inserts the L 2 multicast function of the corresponding VLAN of side three layer interfaces;
Step3: obtain the Layer 2 Multicast member relation table that multicast router inserts the corresponding VLAN of side three layer interfaces;
Step4: according to the recorded information and the described Layer 2 Multicast member relation table that insert multicast group under the side three layer interface environment, make up multicast path by, according to multicast path by instructing multicast traffic stream to transmit.
2. the method that prevents three layers of multicast traffic stream inundation according to claim 1 is characterized in that: among the step1 through manual configuration or dynamically obtain the recorded information that multicast router inserts all multicast group under the side three layer interface environment.
3. the method that prevents three layers of multicast traffic stream inundation according to claim 1 is characterized in that: among the step3 through manual configuration with dynamically obtain said Layer 2 Multicast member relation table.
4. the method that prevents three layers of multicast traffic stream inundation according to claim 1 is characterized in that: step4 construct multicast path by two layers of concrete port, go out from two layers of concrete port forwarding information.
CN2012102090840A 2012-06-21 2012-06-21 Method for preventing flooding of three-layer multicast data stream Pending CN102739532A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012102090840A CN102739532A (en) 2012-06-21 2012-06-21 Method for preventing flooding of three-layer multicast data stream

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012102090840A CN102739532A (en) 2012-06-21 2012-06-21 Method for preventing flooding of three-layer multicast data stream

Publications (1)

Publication Number Publication Date
CN102739532A true CN102739532A (en) 2012-10-17

Family

ID=46994345

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012102090840A Pending CN102739532A (en) 2012-06-21 2012-06-21 Method for preventing flooding of three-layer multicast data stream

Country Status (1)

Country Link
CN (1) CN102739532A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107196837A (en) * 2017-06-16 2017-09-22 四川省农业科学院服务中心 A kind of method that the multiple data service co-existence network used is divided based on VLAN
CN110868353A (en) * 2018-08-28 2020-03-06 杭州海康威视数字技术股份有限公司 Message processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1764155A (en) * 2005-09-08 2006-04-26 杭州华为三康技术有限公司 Transmission method and edge apparatus for multicast between fields
CN1777149A (en) * 2005-12-06 2006-05-24 杭州华为三康技术有限公司 Method for realizing multicast translation in three-layer switching unit
US20060146857A1 (en) * 2004-12-30 2006-07-06 Naik Chickayya G Admission control mechanism for multicast receivers
CN101083664A (en) * 2007-07-20 2007-12-05 中兴通讯股份有限公司 Method for preventing dual-layer multicasting data stream flood

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060146857A1 (en) * 2004-12-30 2006-07-06 Naik Chickayya G Admission control mechanism for multicast receivers
CN1764155A (en) * 2005-09-08 2006-04-26 杭州华为三康技术有限公司 Transmission method and edge apparatus for multicast between fields
CN1777149A (en) * 2005-12-06 2006-05-24 杭州华为三康技术有限公司 Method for realizing multicast translation in three-layer switching unit
CN101083664A (en) * 2007-07-20 2007-12-05 中兴通讯股份有限公司 Method for preventing dual-layer multicasting data stream flood

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107196837A (en) * 2017-06-16 2017-09-22 四川省农业科学院服务中心 A kind of method that the multiple data service co-existence network used is divided based on VLAN
CN107196837B (en) * 2017-06-16 2020-06-16 四川省农业科学院服务中心 Multi-data service comprehensive networking method based on VLAN division application
CN110868353A (en) * 2018-08-28 2020-03-06 杭州海康威视数字技术股份有限公司 Message processing method and device

Similar Documents

Publication Publication Date Title
KR101566846B1 (en) Method for pruning a multicast branch, protocol independent multicast router, and layer-2 exchange
CN100442776C (en) Method for realizing multicast translation in three-layer switching unit
CN101631274B (en) Realizing system of multicast routing based on mark and method thereof
CN102035729B (en) Multicast data forwarding method
CN101258414B (en) Enhanced multicast vlan registration
CN102075422B (en) Multicast management method and two-layer equipment
CN100583801C (en) A method, system and switching device for dynamically establishing multicast virtual LAN
CN102547592A (en) Data transmission method and device
CN107852773A (en) A kind of method of data transfer, relevant device and system
CN104579982B (en) A kind of Layer 2 Multicast data message forwarding method and device
CN102098167A (en) Multicasting stream forwarding method, device and system
KR20110027683A (en) Methods for obtaining terminal multicast status
CN102598586A (en) Method and devices for dealing multicast
CN103209134A (en) Method and equipment for multicast forwarding
CN109981308A (en) Message transmitting method and device
CN106411750A (en) Data distribution method and system thereof
JP4654278B2 (en) Multicast tree assignment method and apparatus
CN102347906B (en) Multi-cast method and multi-cast network system
CN103716169A (en) Point-to-multipoint multicast realization method, network nodes and system
CN103685040B (en) MD (multicast domain) based multicast VPN (virtual private network) traffic optimization method and equipment
CN106357540B (en) A kind of multicast control method and device, multi-cast system
CN102739532A (en) Method for preventing flooding of three-layer multicast data stream
CN101388788B (en) Double layer multicast management method, system and double layer switch
CN102843303B (en) Multicast message processing method in PIM and device
CN108900439A (en) A kind of PON OLT system and its method for realizing masterslave switchover

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C05 Deemed withdrawal (patent law before 1993)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20121017