CN103746922B - Method and device for forwarding multicast messages - Google Patents

Method and device for forwarding multicast messages Download PDF

Info

Publication number
CN103746922B
CN103746922B CN201310696072.XA CN201310696072A CN103746922B CN 103746922 B CN103746922 B CN 103746922B CN 201310696072 A CN201310696072 A CN 201310696072A CN 103746922 B CN103746922 B CN 103746922B
Authority
CN
China
Prior art keywords
multicast
message
outgoing interface
multicast message
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.)
Active
Application number
CN201310696072.XA
Other languages
Chinese (zh)
Other versions
CN103746922A (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.)
Ruijie Networks Co Ltd
Original Assignee
Fujian Star Net Communication 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 Fujian Star Net Communication Co Ltd filed Critical Fujian Star Net Communication Co Ltd
Priority to CN201310696072.XA priority Critical patent/CN103746922B/en
Publication of CN103746922A publication Critical patent/CN103746922A/en
Application granted granted Critical
Publication of CN103746922B publication Critical patent/CN103746922B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention provides a method and a device for forwarding multicast messages. The method is applied to a stacking system including a plurality of forwarding units. Each forwarding unit implements the following steps: receiving a first multicast message through any entrance interface, and judging whether local exit interfaces include exit interfaces of the first multicast message according to the open mode of a VLAN corresponding to the entrance interface and a locally-preset multicast table entry; forwarding the first multicast message through corresponding exit interfaces if the local exit interfaces include exit interfaces of the first multicast message, and carrying a VLAN identifier in the first multicast message to form a second multicast message and forwarding the second multicast message through each local stacking port; and carrying a VLAN identifier in the first multicast message to form a second multicast message and forwarding the second multicast message through each local stacking port to instruct the current forwarding unit receiving the second multicast message to perform a series of forwarding processes if the local exit interfaces do not include exit interfaces of the first multicast message. Forwarding of a single message among the stacking ports of the stacking system is realized, and bandwidth consumption of the stacking ports is reduced.

Description

A kind of retransmission method of multicast message and device
Technical field
The present invention relates to communication technical field, more particularly, to a kind of retransmission method of multicast message and device.
Background technology
Pile system (stacking system) refers to more than one retransmission unit by respective stack port (i.e. Stacking opening) couple together, form one " logical device ", run as a logic switching entity, it is right that such user passes through This " logical device " is managed, you can realize all of switching equipment in " logical device " is managed.
Specifically, above-mentioned retransmission unit may be disposed on exchange chip, and now, above-mentioned pile system is by multiple exchange cores Piece composition;May also be disposed on switching equipment, now, above-mentioned pile system is made up of multiple switching equipment;Also can set It is placed on exchange line card, now, above-mentioned pile system exchanges, by multiple, (the such as case type switching equipment) that line card forms.
At present, above-mentioned pile system is generally divided into linear pile system and loop wire pile system, each in linear pile system Path between retransmission unit is unique;In loop wire pile system, the path between each retransmission unit is not unique;But, No matter for the pile system under which kind of framework, when forwarding to multicast message, generally adopting centralized duplication to forward Mode forwards, and concrete forwarding process is as follows:
For each retransmission unit in pile system,, when receiving a multicast message, first, determining should for it The outgoing interface (i.e. the multicast downstream port of multicast message) of bar multicast message, and the quantity according to the outgoing interface determined, to this Multicast message is replicated, that is, the bar number of the multicast message replicating is identical with the quantity of the outgoing interface determined;Then, determining When the outgoing interface going out is local outgoing interface, the outgoing interface that the multicast message of duplication is passed through to determine forwards;Determining Outgoing interface be other retransmission units outgoing interface when, according to the local multicast list preserving, the multicast message of duplication is passed through Related stack mouth sends the retransmission unit belonging to the outgoing interface determined, by these retransmission units further according to the local group preserving Broadcast list item, the multicast message receiving is forwarded by corresponding outgoing interface.
It should be noted that the multicast list that in above-mentioned pile system, each retransmission unit preserves is all identical, every In individual multicast list, with the index that is designated of each retransmission unit, all can inquire each retransmission unit all stacking opening and All outgoing interfaces etc., so that retransmission unit replicates and forwarding multicasting message.
Below, the forwarding process of above-mentioned multicast message is described in detail taking linear pile system as a example:
As shown in figure 1, being including the switch 11 being provided with retransmission unit, switch 12, switch 13 and switch 14 linear pile system.Where it is assumed that switch 11 receives a multicast message, and this multicast message has 4 to go out The outgoing interface 1 of interface, respectively switch 11, the outgoing interface 2 of switch 12, the outgoing interface 3 of switch 13 and switch 14 Outgoing interface 4.
So, in this case, switch 11 replicates 4 parts of multicast messages, then, a multicast message replicating is led to Cross the outgoing interface 1 of itself to forward, the multicast message of remaining 3 parts duplications is sent to switch 12 by stacking opening;Switch After 12 multicast messages receiving this 3 parts duplications, a multicast message replicating is forwarded by the outgoing interface 2 of itself, will remain The multicast message of 2 parts of remaining duplications is sent to switch 13 by stacking opening;The group that switch 13 receives this 2 parts duplications is reported Wen Hou, a multicast message replicating is forwarded by the outgoing interface 3 of itself, and last a multicast message replicating is passed through heap Folded mouth sends to switch 14;After switch 14 receives the multicast message that this part replicates, this multicast message is passed through itself Outgoing interface 4 forwards.
Can be seen that the switch any one pile system being provided with to retransmission unit from above-mentioned forwarding process For, it is receiving thousands of up to a hundred multicast messages, and in the case that the outgoing interface of every multicast message is all more, needs many Secondary duplication, and by the multicast message of the disposable transmission copying of related stack mouth, so, just take related stack mouth relatively Many bandwidth resources, are easily caused a large amount of loss of multicast message, and then make the success rate that multicast message forwards relatively low.
Content of the invention
Embodiments provide a kind of retransmission method of multicast message and device, in order to solve existing multicast message Pass-through mode takies more stacking opening broadband resource and forwards the relatively low problem of success rate.
Based on the problems referred to above, a kind of retransmission method of multicast message provided in an embodiment of the present invention, the method is applied to wrap Include in the pile system of multiple retransmission units, each retransmission unit in described pile system is performed both by following step:
First multicast message is received by arbitrary incoming interface, and according to the corresponding VLAN of described incoming interface The open mode of (virtual local area network, vlan) and locally default multicast list, judge locally to go out to connect With the presence or absence of the outgoing interface of described first multicast message in mouthful;
When being judged as NO, after described first multicast message carries described vlan mark formation the second multicast message, Pass through each local stacking opening respectively to forward, instruction receives the current retransmission unit of the second multicast message, execution following step: Vlan mark according to entrained by described second multicast message, and locally default multicast list, judge in the outgoing interface of itself Outgoing interface with the presence or absence of described second multicast message;If so, described second multicast message is reverted to described first group of report Wen Hou, passes through corresponding outgoing interface respectively and forwards, and described second multicast message is passed through respectively itself except receiving second group Report the stacking opening outside the stacking opening of literary composition to forward, received the retransmission unit of the second multicast message again as described current Retransmission unit, the step returning described current retransmission unit execution, until described current retransmission unit determines that itself includes one Terminate during individual stacking opening;Otherwise, by described second multicast message respectively pass through respective except the heap receiving the second multicast message Stacking opening outside folded mouth forwards, the retransmission unit being received the second multicast message again as described current retransmission unit, The step returning described current retransmission unit execution, until described current retransmission unit determine itself include a stacking opening when Terminate.
A kind of retransmission unit of multicast message provided in an embodiment of the present invention, described device is applied to including multiple described dresses In the pile system put, comprising:
Receiver module, for receiving the first multicast message by arbitrary incoming interface;
Judge module, for the default multicast of the open mode according to the corresponding vlan of described incoming interface and described device List item, judges to whether there is the outgoing interface of described first multicast message in local outgoing interface;
Forwarding module, described for when described judge module is judged as NO, carrying in described first multicast message After vlan mark forms the second multicast message, pass through each local stacking opening respectively and forward;
Indicating module, for, after described forwarding module forwards described second multicast message, instruction receives the second multicast The current switching equipment of message, executes following step: the vlan mark according to entrained by described second multicast message, and locally pre- If multicast list, judge in the outgoing interface of itself whether there is described second multicast message outgoing interface;If so, by described After two multicast messages revert to described first multicast message, pass through corresponding outgoing interface respectively and forward, and described second group is reported Literary composition passes through the stacking opening in addition to receiving the stacking opening of the second multicast message of itself respectively and forwards, and will receive second again , as described present apparatus, the step returning described current switching equipment execution, until described current friendship for the device of multicast message Exchange device is determined and itself is included terminating during a stacking opening;Otherwise, described second multicast message is passed through respectively respective removing Receive the stacking opening outside the stacking opening of the second multicast message to forward, received again the device of the second multicast message as Described present apparatus, the step returning described current switching equipment execution, until described current switching equipment determines itself bag Terminate when including a stacking opening.
The beneficial effect of the embodiment of the present invention includes:
A kind of retransmission method of multicast message provided in an embodiment of the present invention and device, in the method, for stacking system For any one retransmission unit in system, after the first multicast message is received by arbitrary incoming interface, according to incoming interface pair The open mode of the vlan answering and locally default multicast list, judge to whether there is the first multicast message in local outgoing interface Outgoing interface;When being judged as NO, after the first multicast message carries vlan mark formation the second multicast message, pass through every respectively Individual local stacking opening forwards, and instruction receives the current retransmission unit of the second multicast message, executes following step: according to second group Report the vlan mark entrained by literary composition, and locally default multicast list, judge to whether there is second group in the outgoing interface of itself Report the outgoing interface of literary composition;If so, the second multicast message is reverted to after the first multicast message, turned by corresponding outgoing interface respectively Send out, and the second multicast message is turned by the stacking opening in addition to receiving the stacking opening of the second multicast message of itself respectively Send out, the retransmission unit being received the second multicast message again, as described current retransmission unit, returns current retransmission unit and holds The step of row, terminates when current retransmission unit is determined and itself included a stacking opening;Otherwise, the second multicast message is divided Do not forwarded by respective stacking opening in addition to receiving the stacking opening of the second multicast message, the second multicast will be received again The retransmission unit of message, as described current retransmission unit, the step returning current retransmission unit execution, forwards list until current Unit determines and itself includes terminating during a stacking opening.
It can be seen that, in embodiments of the present invention, it is the open mode of the corresponding vlan of each interface according to retransmission unit, and The corresponding multicast list of setting in advance, executes related forwarding mechanism, and that is, certain incoming interface in retransmission unit receives multicast After message, no matter this incoming interface corresponding vlan unlatching is Layer 2 Multicast pattern, or three layers of multicast pattern, or two or three layers Mixed pattern, is all to carry out after relevant treatment by multicast message, is forwarded to other by each stacking opening of retransmission unit respectively On retransmission unit, unlike prior art, retransmission unit side replicate with all outgoing interface quantity identical numbers it is ensured that Stacking opening between retransmission unit is forwarded in the form of single part of multicast message so as to his retransmission unit passes through the similar forwarding of execution Mechanism, is finally completed the forwarding operation of multicast message, aforementioned this processing mode, reduces the stacking port band width money of retransmission unit The consumption in source, and then improve the forwarding success rate of multicast message.
Brief description
Fig. 1 is the forwarding process schematic diagram of existing multicast message;
Fig. 2 is the retransmission method flow chart of multicast message provided in an embodiment of the present invention;
Fig. 3 a is the structural representation of pile system provided in an embodiment of the present invention;
Fig. 3 b is one of forwarding process schematic diagram of multicast message provided in an embodiment of the present invention;
Fig. 3 c is the two of the forwarding process schematic diagram of multicast message provided in an embodiment of the present invention;
Fig. 3 d is the three of the forwarding process schematic diagram of multicast message provided in an embodiment of the present invention;
Fig. 4 is the structure chart of the retransmission unit of multicast message provided in an embodiment of the present invention.
Specific embodiment
With reference to Figure of description, to a kind of retransmission method of multicast message provided in an embodiment of the present invention and device Specific embodiment illustrates.
A kind of retransmission method of multicast message provided in an embodiment of the present invention, the method can be applicable to forward list including multiple In the pile system of unit, and each retransmission unit in this system is performed both by following step (as shown in Figure 2):
S21: the first multicast message is received by arbitrary incoming interface;
S22: open mode according to the corresponding vlan of incoming interface and locally default multicast list, judge local outgoing interface In with the presence or absence of the first multicast message outgoing interface;If so, execution step s23, otherwise, execution step s24;
S23: the first multicast message is passed through respectively corresponding outgoing interface and forward, and carry vlan mark in the first multicast message Know after forming the second multicast message, pass through each local stacking opening respectively and forward;
Here, above-mentioned vlan mark can be vlan id (vid), be mainly used to indicate and receive the second multicast message Retransmission unit, determines the follow-up processing mode to the second multicast message according to vid, for example, only the second multicast message is carried out Layer 2 Multicast is processed, or only the second multicast message is carried out with three layers of process, or first carries out two layers to the second multicast message Multicast is processed, then carries out three layers of multicasts process;That is, for each retransmission unit, all preserving each self-corresponding The corresponding relation of the corresponding open mode of wlan of vlan mark, to determine the processing mode of multicast message;
S24: after carrying vlan mark formation the second multicast message in the first multicast message, pass through each local heap respectively Folded mouth forwards;
S25: instruction receives the current retransmission unit of the second multicast message, executes following step: report according to second group Vlan mark entrained by literary composition, and locally default multicast list, judge to whether there is second group of report in the outgoing interface of itself The outgoing interface of literary composition;If so, the second multicast message is reverted to after the first multicast message, pass through corresponding outgoing interface respectively and forward, and Second multicast message is passed through respectively the stacking opening in addition to receiving the stacking opening of the second multicast message of itself to forward, will again The secondary retransmission unit receiving the second multicast message, as current retransmission unit, returns the step that current retransmission unit executes, directly Terminate when determining and itself include a stacking opening to current retransmission unit;Otherwise, the second multicast message is passed through each respectively Stacking opening in addition to receiving the stacking opening of the second multicast message forward, received the forwarding of the second multicast message again , as current retransmission unit, the step returning current retransmission unit execution, until current retransmission unit determines itself bag for unit Terminate when including a stacking opening.
In embodiments of the present invention, above-mentioned retransmission unit may also set up on exchange chip, and now, above-mentioned pile system is It is made up of multiple exchange chips;May also be disposed on switching equipment, now, above-mentioned pile system is by multiple switching equipment groups Become;May also be disposed on exchange line card, now, above-mentioned pile system exchanges, by multiple, (the such as case type that line card forms Switching equipment).
Specifically, in above-mentioned steps s21, for the incoming interface receiving multicast message, it is probably two layers and connects Mouthful, such as access mouth, trunk mouth etc.;It is also likely to be three layer interfaces, such as svi mouth or route mouth etc., so, for difference The interface of type, the open mode of generally their also different and, different vlan of corresponding vlan is likely to difference.
In view of the situation, for the retransmission unit receiving multicast message, in order to avoid it as prior art that Sample, all outgoing interfaces of multicast message all is locally completed to replicate, is leading to forward many parts of multicast messages by certain stacking opening, Take the more bandwidth resources of stacking opening, in embodiments of the present invention, the unlatching of the corresponding vlan of each interface according to itself Pattern, and the corresponding multicast list of prior setting, to set the forwarding mechanism of multicast message, thus realizing between retransmission unit Ensure between stacking opening only to forward a multicast message, and then reduce the consumption of stacking opening bandwidth resources, reach raising group and report The effect of the forwarding success rate of literary composition.
Specifically, for two layer interfaces on each retransmission unit, the open mode of generally corresponding vlan is two Layer multicast pattern, at this moment, setting Layer 2 Multicast list item in advance, this Layer 2 Multicast list item specifically includes multicast group address, vlan mark Know, vlan identifies corresponding interface message (as shown in table 1 below) etc., each multicast group address can correspond to multiple vlan marks, often Individual vlan identifies and at least includes all local stacking opening marks in corresponding interface message, in order to complete whole multicast message Forward operation, certainly, each vlan identifies in corresponding interface message and may also include the corresponding local outgoing interface of multicast address Mark, so, when multicast message is transmitted to other retransmission units by retransmission unit, can carry vlan mark in vlan mark In, so that other retransmission units identify according to vlan determines subsequent treatment mode.
It should be noted that in above-mentioned Layer 2 Multicast list item, generally also setting up an acquiescence Layer 2 Multicast list item, this table Vlan in identifies all local stacking opening mark that corresponding interface message also includes retransmission unit, to judge two Layer multicast list in do not exist multicast message multicast list when use, in this case, retransmission unit be from acquiescence two layers Local stacking opening is obtained in multicast list.
Table 1
For three layer interfaces on each retransmission unit, the open mode of generally corresponding vlan is three layers of multicast mould Formula or two or three layers of mixed pattern, when the corresponding open mode of three layer interfaces is three layers of multicast pattern, arrange three layers of group in advance Broadcast list item, this three layers of multicast lists may particularly include multicast group address, enliven multicast chained list (multicast linked list, Mll) node identification, mll node identification corresponding vlan mark and interface index, vlan mark and the corresponding interface of interface index Information etc. (as shown in table 2 below), each mll node identification can correspond to multiple vlan marks with multiple interface indexs (for example { device, port }), and each vlan identifies the local outgoing interface only including multicast group address in corresponding interface message.? In this case, the stacking opening mark of each retransmission unit is stored in being in the interface list of same vlan with three layer interfaces , in order to receive after multicast message, the stacking opening being flooded in list identifies in corresponding stacking opening.Here, Under three layers of multicast pattern, the stacking opening of each retransmission unit is to add all vlan, so that other retransmission units can connect Receive related multicast message.
Table 2
When the open mode of the corresponding vlan of three layer interfaces is two or three layers of mixed pattern, need to arrange in advance Layer 2 Multicast List item and three layers of multicast list, concrete set-up mode is ibid, different, in this mode, the heap of each retransmission unit Folded mouth mark is provided in Layer 2 Multicast list item, is not provided with the interface list that floods, here no longer describes in detail one by one.
Further, in above-mentioned steps s22, based on the set-up mode of above-mentioned multicast list, each retransmission unit is concrete Can judge in local outgoing interface, to whether there is the outgoing interface of the first multicast message by following several ways:
First kind of way, when the open mode of vlan is Layer 2 Multicast pattern, each retransmission unit judges locally to preset Layer 2 Multicast list item in the presence or absence of the first multicast message Layer 2 Multicast list item, be judged as YES, judging corresponding two layers Vlan in multicast list identifies whether include outgoing interface mark in corresponding interface message, if so, corresponding goes out to connect by it Mouth is defined as the outgoing interface of the first multicast message, and here, locally default Layer 2 Multicast list item includes all of locally going out to connect Mouth mark;
The second way, when the open mode of vlan is three layers of multicast pattern, each retransmission unit judges locally to preset Three layers of multicast list in the presence or absence of the first multicast message three layers of multicast list, when being judged as YES, judge corresponding three Whether include in mll node identification corresponding vlan mark in layer multicast list or the corresponding interface message of interface index Outgoing interface identifies, and if so, its corresponding outgoing interface is defined as the outgoing interface of the first multicast message, here, locally default Three layers of multicast list include all of local outgoing interface mark;
The third mode, when the open mode of vlan is that two or three layers of multicast use pattern with, each retransmission unit judges this With the presence or absence of the Layer 2 Multicast list item of the first multicast message in the default Layer 2 Multicast list item in ground, when being judged as YES, it is right to judge Vlan in the Layer 2 Multicast list item answered identifies whether include outgoing interface mark in corresponding interface message, if so, then by it Corresponding outgoing interface is defined as the outgoing interface of the first multicast message;And judge locally whether deposit in default three layers of multicast list In three layers of multicast list of the first multicast message, when being judged as YES, judge the mll node mark in corresponding three layers of multicast list Know in corresponding vlan mark or the corresponding interface message of interface index and whether include outgoing interface mark, if so, that it is right The outgoing interface answered is defined as the outgoing interface of the first multicast message.
It should be noted that in the third mode above-mentioned, being that two or three layers of multicast use pattern with the open mode of vlan In the case of, the outgoing interface of above-mentioned multicast message may include two layers of outgoing interface and three layers of outgoing interface simultaneously, therefore,
Further, in above-mentioned steps s23 or step s24, above-mentioned local stacking opening is actually in following several feelings Obtain under condition:
The first situation, is Layer 2 Multicast pattern or two or three layers of mixed pattern in the open mode of vlan, and locally presets Layer 2 Multicast list item in there is the Layer 2 Multicast list item of the first multicast message in the case of, according to corresponding Layer 2 Multicast list item In vlan identify the local stacking opening mark acquisition that corresponding interface message includes;
Second situation, is Layer 2 Multicast pattern or two or three layers of mixed pattern in the open mode of vlan, and locally presets Layer 2 Multicast list item in there is not the Layer 2 Multicast list item of the first multicast message in the case of, according to acquiescence Layer 2 Multicast list item In vlan identify the local stacking opening mark acquisition that corresponding interface message includes;
The third situation, vlan open mode be three layers of multicast pattern when, according to prestore with incoming interface at Local stacking opening mark in the interface list of same vlan obtains.
Further, in above-mentioned steps s25, each retransmission unit receives second by the instruction of following several ways The current retransmission unit of multicast message, judges to whether there is the outgoing interface of the second multicast message in the outgoing interface of itself:
First kind of way, each retransmission unit indicates that the open mode that current device identifies corresponding vlan in vlan is two During layer multicast pattern, the vlan in the Layer 2 Multicast list item of the second multicast message judging locally in default Layer 2 Multicast list item Identify and in corresponding interface message, whether include outgoing interface mark, if so, then its corresponding outgoing interface is defined as second group Report the outgoing interface of literary composition, here, default Layer 2 Multicast list item includes the outgoing interface mark of all of current device;
The second way, when the open mode identifying corresponding vlan in vlan is three layers of multicast pattern, opening in vlan When to open pattern be three layers of multicast pattern, judge locally in default three layers of multicast list with the presence or absence of three layers of the first multicast message Multicast list, when being judged as YES, judge in corresponding three layers of multicast list to enliven multicast chained list mll node identification corresponding Whether include outgoing interface mark in vlan mark or the corresponding interface message of interface index, if so, corresponding go out to connect by it Mouth is defined as the outgoing interface of the second multicast message, and here, default three layers of multicast list include going out of all of current device Interface identifier;
The third mode, when the open mode of vlan mark is that two or three layers of multicast use pattern with, judges locally default Whether the vlan in the Layer 2 Multicast list item of the second multicast message in Layer 2 Multicast list item identifies in corresponding interface message and wraps Include outgoing interface mark, if so, then its corresponding outgoing interface is defined as the outgoing interface of the second multicast message;And judge local Whether there is three layers of multicast list of the first multicast message in default three layers of multicast list, when being judged as YES, judge to correspond to Three layers of multicast list in enliven multicast chained list mll node identification corresponding vlan mark or the corresponding interface of interface index Whether include outgoing interface mark in information, if so, its corresponding outgoing interface is defined as the outgoing interface of the second multicast message.
That is, for the retransmission unit that certain receives the second multicast message, it is according to the second multicast message In vlan mark, determine vlan identify corresponding vlan current open is any pattern, for example opening two layers of group In the case of broadcasting pattern, the retransmission unit receiving the second multicast message can directly inquire about this vlan mark in Layer 2 Multicast list item Whether there is outgoing interface, in the presence of inquiring, just by the vlan in the second multicast message in corresponding interface message Mark is got rid of, and reverts to the first multicast message, then, by the first multicast message copy as with above-mentioned interface message in go out to connect Mouthful the same number of number, and forwarding by these outgoing interfaces respectively, meanwhile, according in above-mentioned interface message except reception the Local stacking opening number outside the stacking opening of two multicast messages, replicates to the second multicast message, and passes through these respectively Local stacking opening forwards, and executes above-mentioned flow process, by that analogy, Zhi Daojie with the equipment indicating subsequently received second multicast message The retransmission unit receiving multicast message determines that itself including a stacking opening terminates.
Then, inquire non-existent in the case of it is only necessary to according in above-mentioned interface message remove receive second group report Local stacking opening number outside the stacking opening of literary composition, is replicated to the second multicast message, and is locally stacked by these respectively Mouth forwards, and nevertheless indicates that the equipment of subsequently received second multicast message executes above-mentioned flow process, by that analogy, until receiving group Report civilian retransmission unit and determine and itself include terminating during a stacking opening, in this case, this retransmission unit is come Say, whether it has executed itself the related procedure of outgoing interface, there is no the stacking opening being capable of forwarding multicasting message, this is just Mean that multicast message has passed through related outgoing interface forwarding and finished, the forwarding process of therefore multicast message leaves it at that.
It should be noted that in embodiments of the present invention, for each retransmission unit in pile system, receiving To in the case of multicast message, the only number according to the corresponding local outgoing interface of this multicast message and local stacking opening, to multicast Message is replicated, the outgoing interface in the corresponding other equipment for this multicast message, does not execute duplication flow process, and, By multicast message it is ensured that only forwarding one after relevant treatment when local stacking opening is transmitted to other retransmission units Multicast message, for other retransmission units receiving the multicast message forwarding, the forwarding process of execution is similar to, therewith not With other retransmission units, in forwarding multicasting message, do not forward to the stacking opening receiving related multicast message, to avoid Loop in pile system, so, is achieved that heap between each retransmission unit in pile system for the multicast message Forwarded in the way of single part of multicast message between folded mouth, improve the utilization rate of stacking opening bandwidth resources.
In addition, above-mentioned multicast forward method is not only applicable to linear pile system, it is also applied to annular pile system, answering During for the latter, need for annular pile system to be split as linear pile system, concrete disassembling machine is made as prior art, and here is not Describe in detail again.
With reference to following specific embodiments, above-mentioned method for forwarding multicast message is described in detail:
As shown in Figure 3 a it is assumed that pile system includes switch 31, switch 32 and the exchange being provided with retransmission unit Machine 33, wherein, switch 31 receives a multicast message by incoming interface 1.
Embodiment one
The hypothesis corresponding vlan of incoming interface 1 is vlan1, and the open mode of vlan1 is Layer 2 Multicast pattern;Assume this group The outgoing interface reporting literary composition is the outgoing interface 3 (as shown in Figure 3 b) on the outgoing interface 1 and switch 33 on switch 31, then, lead to Cross following flow processs this multicast message is forwarded:
Switch 31, after receiving this multicast message, determines that the open mode of the corresponding vlan1 of access interface 1 is two Layer multicast pattern, according to the multicast group address of this multicast message, inquires about in locally default Layer 2 Multicast list item, obtains The corresponding interface message of mark (i.e. outgoing interface 1 and stacking opening 1) of vlan1, at this moment, switch 31 replicates a multicast message, Forwarded by outgoing interface 1, meanwhile, after multicast message carries the mark of vlan1, forwarded by stacking opening 1.
Next, for receive the switch 32 of multicast message of the mark carrying vlan1 by stacking opening 2, Carry the mark of vlan1 it is known that vlan1 unlatching is Layer 2 Multicast pattern, in this situation in parsing multicast message Under, whether there is outgoing interface in the corresponding interface message of mark directly inquiring about vlan1 in locally default Layer 2 Multicast list item Mark, inquire do not exist when, the multicast message of the mark of vlan1 will be carried, by the stacking opening 3 (mark according to vlan1 Know what the mark of the stacking opening 3 in corresponding interface message obtained) forwarding.
So, receive the switch 33 of the multicast message carrying vlan1 subsequently through stacking opening 4 for, in execution State the flow process of switch 32 execution, will not be described in detail herein, after execution, draw local exist need forwarding multicasting message go out to connect Mouth 3, and itself only include a stacking opening 4, now, the mark of the vlan1 in the multicast message receiving is removed, that is, extensive Answer into the multicast message of the mark not carrying vlan1, and forwarded by outgoing interface 3, complete the forwarding of whole multicast message.
Embodiment two
Assume that incoming interface 1 (such as incoming interface is svi interface) corresponding vlan is vlan1, and the open mode of vlan1 is Three layers of multicast pattern;The outgoing interface assuming this multicast message is that (corresponding vlan is for svi outgoing interface 3 on switch 31 Vlan2 the svi outgoing interface 4 (as shown in Figure 3 c, the corresponding vlan of svi outgoing interface 4 is vlan2)) and on switch 32, then, By following flow processs, this multicast message is forwarded:
Switch 31, after receiving this multicast message, determines that the open mode of the corresponding vlan1 of access interface 1 is three Layer multicast pattern, according to the multicast group address of this multicast message, inquires about in locally default three layers of multicast list, obtains Svi outgoing interface 3 is one of outgoing interface, and at this moment, switch 31 replicates a multicast message, is forwarded by svi outgoing interface 3, Meanwhile, multicast message is flooded in vlan1, be flooded to stacking opening 1, vlan1 is carried in multicast message by stacking opening 1 Mark after forward.
Next, for receive the switch 32 of multicast message of the mark carrying vlan1 by stacking opening 2, Carry the mark of vlan1 it is known that vlan1 unlatching is three layers of multicast pattern, in this situation in parsing multicast message Under, locally default three layers of multicast list show that svi outgoing interface 4 is one of outgoing interface for inquiry, and at this moment, switch 32 replicates The multicast message that portion receives, then, the mark of the vlan1 in the multicast message of duplication is removed, that is, reverts to and do not carry The multicast message of the mark of vlan1, and forwarded by svi outgoing interface 4, meanwhile, by the multicast message receiving in vlan1 Inside flood, be flooded to stacking opening 3, forwarded by stacking opening 3.
So, for the switch 33 of the multicast message receiving the mark carrying vlan1 subsequently through stacking opening 4, Execute the flow process of above-mentioned switch 32 execution, will not be described in detail herein, after execution, drawing locally not existing needs forwarding multicasting report The outgoing interface of literary composition, and itself only include a stacking opening 4, now, no longer multicast message is flooded, complete whole multicast The forwarding of message.
Embodiment three
Assume that incoming interface 1 (such as incoming interface is svi interface) corresponding vlan is vlan1, and the open mode of vlan1 is Two or three layers of mixed multicast pattern;Assume this multicast message outgoing interface be switch 31 on two layers of outgoing interface 5 and svi outgoing interface 6 (corresponding vlan is vlan2), and svi outgoing interface 7 (as shown in Figure 3 d, the corresponding vlan of svi outgoing interface 7 on switch 32 For vlan2), then, by following flow processs, this multicast message is forwarded:
Switch 31, after receiving this multicast message, determines that the open mode of the corresponding vlan1 of access interface 1 is two Three layers of mixed multicast pattern, first the multicast group address according to this multicast message, looks in locally default Layer 2 Multicast list item Ask, obtain the corresponding interface message of mark (including two layers of outgoing interface 5 and stacking opening 1) of vlan1;Then, further according to this The multicast group address of multicast message, inquires about in locally default three layers of multicast list, show that svi outgoing interface 6 is one of Outgoing interface, at this moment, switch 31 replicates 2 parts of multicast messages, passes through two layers of outgoing interface 5 respectively and svi outgoing interface 6 forwards, with this Meanwhile, after carrying the mark of vlan1 in multicast message, forwarded by stacking opening 1.
Next, for the multicast message receiving the mark carrying vlan1 by stacking opening 2 switch 32 Say, carry the mark of vlan1 in parsing multicast message it is known that vlan1 unlatching is two or three layers of multicast pattern, this In the case of, whether have to connect in the corresponding interface message of mark first inquiring about vlan1 in locally default Layer 2 Multicast list item Mouthful mark, inquire do not exist when, then inquire about locally default three layers of multicast list, show that svi outgoing interface 7 is one of Outgoing interface, at this moment, replicates the multicast message that portion receives, then, the mark of the vlan1 in the multicast message of duplication is gone Fall, that is, revert to the multicast message of the mark not carrying vlan1, and forwarded by svi outgoing interface 7, meanwhile, will receive Multicast message turned by stacking opening 3 (being obtained according to the mark identifying the stacking opening 3 in corresponding interface message of vlan1) Send out.
So, receive the switch 33 of the multicast message carrying vlan1 subsequently through stacking opening 4 for, in execution State the flow process of switch 32 execution, will not be described in detail herein, after execution, drawing locally not existing needs going out of forwarding multicasting message Interface, and itself only include a stacking opening 4, complete the forwarding of whole multicast message.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of retransmission unit of multicast message, due to this dress The principle putting institute's solve problem is similar to the retransmission method of aforementioned multicast message, and the enforcement of therefore this device may refer to aforementioned side The enforcement of method, repeats no more in place of repetition.
A kind of retransmission unit of multicast message provided in an embodiment of the present invention, is applied to the stacking system including this device multiple In system, as shown in figure 4, this device specifically includes:
Receiver module 41, for receiving the first multicast message by arbitrary incoming interface;
Judge module 42, for the default multicast list of the open mode according to the corresponding vlan of incoming interface and device, Judge in local outgoing interface, to whether there is the outgoing interface of the first multicast message;
Forwarding module 43, when being judged as NO for judge module 42, carries vlan mark in the first multicast message and is formed After second multicast message, pass through each local stacking opening respectively and forward;
Indicating module 44, for, after forwarding module forwards the second multicast message, instruction receives the second multicast message Present apparatus, execute following step: the vlan mark according to entrained by the second multicast message, and locally default multicast list, Judge in the outgoing interface of itself, to whether there is the outgoing interface of the second multicast message;If so, the second multicast message is reverted to first After multicast message, pass through corresponding outgoing interface respectively and forward, and the second multicast message is passed through respectively itself except receiving second Stacking opening outside the stacking opening of multicast message forwards, the device being received the second multicast message again as present apparatus, The step returning present apparatus execution, terminates when present apparatus are determined and itself included a stacking opening;Otherwise, by second Multicast message is forwarded by respective stacking opening in addition to receiving the stacking opening of the second multicast message respectively, will receive again The step executing as present apparatus, return present apparatus to the device of the second multicast message, comes from until present apparatus determine Body includes terminating during a stacking opening.
Preferably, above-mentioned forwarding module 43, is additionally operable to judge to exist first group in local outgoing interface in judge module 42 When reporting civilian outgoing interface, the first multicast message is passed through respectively corresponding outgoing interface and forward, and carry in the first multicast message After vlan mark forms the second multicast message, pass through each local stacking opening respectively and forward, the step of execution indicating module 44 execution Suddenly.
Preferably, above-mentioned judge module 42, specifically for when the open mode of vlan is Layer 2 Multicast pattern, judging dress Whether there is the Layer 2 Multicast list item of the first multicast message in the default Layer 2 Multicast list item put, when being judged as YES, judge Vlan in corresponding Layer 2 Multicast list item identifies whether include outgoing interface mark in corresponding interface message, and it is corresponding Outgoing interface is defined as the outgoing interface of the first multicast message;When the open mode of vlan is three layers of multicast pattern, judgment means Whether there is three layers of multicast list of the first multicast message in default three layers of multicast list, when being judged as YES, judge to correspond to Three layers of multicast list in mll node identification corresponding vlan mark or the corresponding interface message of interface index in whether wrap When having included outgoing interface mark, its corresponding outgoing interface is defined as the outgoing interface of the first multicast message;And the unlatching in vlan When pattern is that two or three layers of multicast use pattern with, judge locally in default Layer 2 Multicast list item with the presence or absence of the first multicast message Layer 2 Multicast list item, when being judged as YES, judges that the vlan in corresponding Layer 2 Multicast list item identifies in corresponding interface message Whether include outgoing interface mark, if so, then its corresponding outgoing interface is defined as the outgoing interface of the first multicast message;And sentence With the presence or absence of three layers of multicast list of the first multicast message in disconnected locally default three layers of multicast list, when being judged as YES, sentence In mll node identification corresponding vlan mark or the corresponding interface message of interface index broken in corresponding three layers of multicast list Whether include outgoing interface mark, if so, its corresponding outgoing interface is defined as the outgoing interface of the first multicast message.
Here, the default Layer 2 Multicast list item of said apparatus includes all of local outgoing interface mark, said apparatus Default three layers of multicast list include all of local outgoing interface mark.
Preferably, the local stacking opening that the second multicast message is forwarded by above-mentioned forwarding module 43, is the unlatching mould in vlan Formula is there is the first multicast message in Layer 2 Multicast pattern or two or three layers of mixed pattern, and default Layer 2 Multicast list item two layers During multicast list, the local stacking opening that corresponding interface message includes is identified according to the vlan in corresponding Layer 2 Multicast list item Mark obtains;Default Layer 2 Multicast list item does not exist the first multicast message Layer 2 Multicast list item when, according to acquiescence two Vlan in layer multicast list identifies the local stacking opening mark acquisition that corresponding interface message includes;And opening in vlan When to open pattern be three layers of multicast pattern, according to prestoring the local heap being in the interface list of same vlan with incoming interface Folded mouth mark obtains.
Preferably, above-mentioned indicating module 44, identifies the unlatching of corresponding vlan specifically for instruction current device in vlan When pattern is Layer 2 Multicast pattern, the Layer 2 Multicast list item of the second multicast message judging locally in default Layer 2 Multicast list item In vlan identify in corresponding interface message, whether to include outgoing interface mark, if so, then its corresponding outgoing interface is determined Outgoing interface for the second multicast message;When the open mode identifying corresponding vlan in vlan is three layers of multicast pattern, in vlan Open mode when being three layers of multicast pattern, judge locally in default three layers of multicast list with the presence or absence of the first multicast message Three layers of multicast list, when being judged as YES, judge to enliven multicast chained list mll node identification pair in corresponding three layers of multicast list Outgoing interface mark whether is included in the vlan mark answered or the corresponding interface message of interface index, if so, that it is corresponding Outgoing interface is defined as the outgoing interface of the second multicast message;And be that two or three layers of multicast use pattern with the open mode of vlan mark When, the vlan mark in the Layer 2 Multicast list item of the second multicast message judging locally in default Layer 2 Multicast list item is corresponding Whether include outgoing interface mark in interface message, if so, then its corresponding outgoing interface is defined as going out of the second multicast message Interface;And judge locally in default three layers of multicast list with the presence or absence of three layers of multicast list of the first multicast message, sentencing When breaking as being, judge in corresponding three layers of multicast list enliven multicast chained list mll node identification corresponding vlan mark or Whether include outgoing interface mark in the corresponding interface message of interface index, if so, its corresponding outgoing interface is defined as second The outgoing interface of multicast message, the outgoing interface that default Layer 2 Multicast list item includes all of current device identifies, and default three Layer multicast list includes the outgoing interface mark of all of current device.
Obviously, those skilled in the art can carry out the various changes and modification essence without deviating from the present invention to the present invention God and scope.So, if these modifications of the present invention and modification belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprise these changes and modification.

Claims (8)

1. a kind of retransmission method of multicast message is it is characterised in that the method is applied to the stacking system including multiple retransmission units In system, each retransmission unit in described pile system is performed both by following step:
First multicast message is received by arbitrary incoming interface, and the unlatching according to described incoming interface corresponding VLAN vlan Pattern and locally default multicast list, judge to whether there is the outgoing interface of described first multicast message in local outgoing interface;
When being judged as NO, after described first multicast message carries described vlan mark formation the second multicast message, respectively Forwarded by each local stacking opening, instruction receives the current retransmission unit of the second multicast message, execute following step: according to Vlan mark entrained by described second multicast message, and locally default multicast list, whether judge in the outgoing interface of itself There is the outgoing interface of described second multicast message;If so, described second multicast message is reverted to after described first multicast message, Pass through corresponding outgoing interface respectively to forward, and described second multicast message is passed through respectively itself except receiving the second multicast message Stacking opening outside stacking opening forward, received again the retransmission unit of the second multicast message as described current forward single Unit, the step returning described current retransmission unit execution, determine until described current retransmission unit and itself include a stacking Terminate during mouth;Otherwise, by described second multicast message respectively by respective except receive the second multicast message stacking opening it Outer stacking opening forwards, and the retransmission unit being received the second multicast message again, as described current retransmission unit, returns institute The step stating current retransmission unit execution, terminates when described current retransmission unit is determined and itself included a stacking opening;
Each retransmission unit described also executes following step:
Exist in judging local outgoing interface described first multicast message outgoing interface when, by described first multicast message respectively Forwarded by corresponding outgoing interface, and carry after described vlan mark forms the second multicast message in described first multicast message, Pass through each local stacking opening respectively to forward, instruction receives the current retransmission unit of the second multicast message, execution following step:
Vlan mark according to entrained by described second multicast message, and locally default multicast list, judge itself go out to connect With the presence or absence of the outgoing interface of described second multicast message in mouthful;If so, described second multicast message is reverted to described first group After reporting literary composition, pass through corresponding outgoing interface respectively and forward, and described second multicast message is passed through respectively itself except receiving the Stacking opening outside the stacking opening of two multicast messages forwards, the step returning described current retransmission unit execution, works as until described Front retransmission unit is determined and itself is included terminating during a stacking opening;Otherwise, described second multicast message is passed through each respectively Stacking opening in addition to receiving the stacking opening of the second multicast message forward, return the step of described current retransmission unit execution Suddenly, terminate when described current retransmission unit is determined and itself included a stacking opening.
2. the method for claim 1, it is characterised in that each retransmission unit described passes through following manner, judges local With the presence or absence of the outgoing interface of described first multicast message in outgoing interface:
When the open mode of described vlan is Layer 2 Multicast pattern, each retransmission unit judges locally default Layer 2 Multicast table With the presence or absence of the Layer 2 Multicast list item of described first multicast message in, when being judged as YES, judge corresponding Layer 2 Multicast table Vlan in identifies whether include outgoing interface mark in corresponding interface message, if so, then will be true for its corresponding outgoing interface It is set to the outgoing interface of described first multicast message, described default Layer 2 Multicast list item includes all of local outgoing interface mark;
When the open mode of described vlan is three layers of multicast pattern, each retransmission unit judges locally default three layers of multicast table With the presence or absence of three layers of multicast list of described first multicast message in, when being judged as YES, judge corresponding three layers of multicast table Whether enlivening in multicast chained list mll node identification corresponding vlan mark or the corresponding interface message of interface index in wraps Include outgoing interface mark, if so, its corresponding outgoing interface is defined as the outgoing interface of described first multicast message, described default Three layers of multicast list include all of local outgoing interface mark;
When the open mode of described vlan is that two or three layers of multicast use pattern with, each retransmission unit judges locally default two layers Whether there is the Layer 2 Multicast list item of described first multicast message in multicast list, when being judged as YES, judge corresponding two layers Vlan in multicast list identifies whether include outgoing interface mark in corresponding interface message, if so, then by its corresponding go out Interface is defined as the outgoing interface of described first multicast message;And judge locally to whether there is in default three layers of multicast list institute State three layers of multicast list of the first multicast message, when being judged as YES, judge the mll node mark in corresponding three layers of multicast list Know in corresponding vlan mark or the corresponding interface message of interface index and whether include outgoing interface mark, if so, that it is right The outgoing interface answered is defined as the outgoing interface of described first multicast message.
3. method as claimed in claim 2 is it is characterised in that each retransmission unit described obtains local heap by following manner Folded mouth:
It is Layer 2 Multicast pattern or two or three layers of mixed pattern in the open mode of described vlan, and described default Layer 2 Multicast table In exist described first multicast message Layer 2 Multicast list item when, according in corresponding Layer 2 Multicast list item vlan mark right The local stacking opening mark that the interface message answered includes obtains;Do not have described in described default Layer 2 Multicast list item During the Layer 2 Multicast list item of one multicast message, identified in corresponding interface message according to the vlan in acquiescence Layer 2 Multicast list item and wrap The local stacking opening mark including obtains;
Described vlan open mode be three layers of multicast pattern when, according to prestore with described incoming interface be in same Local stacking opening mark in the interface list of vlan obtains.
4. the method for claim 1 is it is characterised in that the instruction of each retransmission unit receives working as of the second multicast message Front retransmission unit, the vlan mark according to entrained by described second multicast message, and locally default multicast list, judge itself Outgoing interface in the presence or absence of described second multicast message outgoing interface, specifically include:
Each retransmission unit indicates that the open mode that described current device identifies corresponding vlan in described vlan is Layer 2 Multicast During pattern, described in the Layer 2 Multicast list item of described second multicast message judging locally in default Layer 2 Multicast list item Vlan identifies whether include outgoing interface mark in corresponding interface message, if so, then its corresponding outgoing interface is defined as institute State the outgoing interface of the second multicast message, described default Layer 2 Multicast list item includes the outgoing interface mark of all of current device Know;
When the open mode identifying corresponding vlan in described vlan is three layers of multicast pattern, in the open mode of described vlan it is During three layers of multicast pattern, judge locally in default three layers of multicast list with the presence or absence of three layers of multicast of described first multicast message List item, when being judged as YES, judges to enliven the corresponding vlan of multicast chained list mll node identification in corresponding three layers of multicast list Outgoing interface mark whether is included in mark or the corresponding interface message of interface index, if so, will be true for its corresponding outgoing interface It is set to the outgoing interface of described second multicast message, described default three layers of multicast list include the outgoing interface of all of current device Mark;
When the open mode of described vlan mark is that two or three layers of multicast use pattern with, judge locally default Layer 2 Multicast list item In the Layer 2 Multicast list item of described second multicast message in described vlan identify in corresponding interface message and whether include Outgoing interface identifies, and if so, its corresponding outgoing interface is then defined as the outgoing interface of described second multicast message;And judge local Whether there is three layers of multicast list of described first multicast message in default three layers of multicast list, when being judged as YES, judge The corresponding vlan of multicast chained list mll node identification identifies enlivening in corresponding three layers of multicast list or interface index is corresponding Whether include outgoing interface mark in interface message, if so, its corresponding outgoing interface is defined as described second multicast message Outgoing interface.
5. a kind of retransmission unit of multicast message is it is characterised in that described device is applied to the stacking including multiple described devices In system, described device includes:
Receiver module, for receiving the first multicast message by arbitrary incoming interface;
Judge module, default for the open mode according to described incoming interface corresponding VLAN vlan and described device Multicast list, judge in local outgoing interface whether there is described first multicast message outgoing interface;
Forwarding module, for when described judge module is judged as NO, carrying described vlan mark in described first multicast message Know after forming the second multicast message, pass through each local stacking opening respectively and forward;
Indicating module, for, after described forwarding module forwards described second multicast message, instruction receives the second multicast message Present apparatus, execute following step: the vlan mark according to entrained by described second multicast message, and locally default multicast List item, judges to whether there is the outgoing interface of described second multicast message in the outgoing interface of itself;If so, described second group is reported After literary composition reverts to described first multicast message, pass through corresponding outgoing interface respectively and forward, and described second multicast message is led to respectively Cross the stacking opening in addition to receiving the stacking opening of the second multicast message of itself to forward, the second multicast message will be received again Device as described present apparatus, the step that returns described present apparatus execution, until described present apparatus determine itself Terminate during including a stacking opening;Otherwise, by described second multicast message respectively by respective except receiving second group of report Stacking opening outside the stacking opening of literary composition forwards, and the device being received the second multicast message again, as described present apparatus, returns The step returning described present apparatus execution, terminates when described present apparatus are determined and itself included a stacking opening;
Described forwarding module, is additionally operable to judge there is described first multicast message in local outgoing interface in described judge module During outgoing interface, described first multicast message is passed through respectively corresponding outgoing interface and forward, and carry in described first multicast message After described vlan mark forms the second multicast message, pass through each local stacking opening respectively and forward, execute described indicating module and hold The step of row.
6. device as claimed in claim 5 is it is characterised in that described judge module, specifically for the unlatching in described vlan When pattern is Layer 2 Multicast pattern, judge in the default Layer 2 Multicast list item of described device, to whether there is described first group of report The Layer 2 Multicast list item of literary composition, when being judged as YES, judges the vlan mark corresponding interface letter in corresponding Layer 2 Multicast list item Whether include outgoing interface mark in breath, its corresponding outgoing interface is defined as the outgoing interface of described first multicast message;Institute When the open mode stating vlan is for three layers of multicast pattern, judge to whether there is institute in default three layers of multicast list of described device State three layers of multicast list of the first multicast message, when being judged as YES, judge to enliven multicast in corresponding three layers of multicast list Outgoing interface mark whether is included in chained list mll node identification corresponding vlan mark or the corresponding interface message of interface index When, its corresponding outgoing interface is defined as the outgoing interface of described first multicast message;And in the open mode of described vlan be When two or three layers of multicast use pattern with, judge locally in default Layer 2 Multicast list item with the presence or absence of the two of described first multicast message Layer multicast list, when being judged as YES, judging that the vlan in corresponding Layer 2 Multicast list item identifies in corresponding interface message is The no outgoing interface that includes identifies, and if so, its corresponding outgoing interface is then defined as the outgoing interface of described first multicast message;And Judge locally in default three layers of multicast list with the presence or absence of three layers of multicast list of described first multicast message, be judged as YES When, judge mll node identification corresponding vlan mark or the corresponding interface of interface index in corresponding three layers of multicast list Whether include in information outgoing interface mark, if so, by its corresponding outgoing interface be defined as described first multicast message go out to connect Mouthful, the default Layer 2 Multicast list item of described device includes all of local outgoing interface and identifies, default three layers of described device Multicast list includes all of local outgoing interface mark.
7. device as claimed in claim 6 it is characterised in that described forwarding module by described second multicast message forward basis Ground stacking opening, is to be Layer 2 Multicast pattern or two or three layers of mixed pattern in the open mode of described vlan, and described default two Layer multicast list in exist described first multicast message Layer 2 Multicast list item when, according in corresponding Layer 2 Multicast list item Vlan identifies the local stacking opening mark acquisition that corresponding interface message includes;In described default Layer 2 Multicast list item not Exist described first multicast message Layer 2 Multicast list item when, corresponding connect according to the vlan mark in acquiescence Layer 2 Multicast list item The local stacking opening mark that message breath includes obtains;And when the open mode of described vlan is three layers of multicast pattern, root Obtain according to prestoring the local stacking opening mark being in the interface list of same vlan with described incoming interface.
8. device as claimed in claim 5 is it is characterised in that described indicating module, specifically for indicating described current device When the open mode identifying corresponding vlan in described vlan is Layer 2 Multicast pattern, judge locally default Layer 2 Multicast list item In the Layer 2 Multicast list item of described second multicast message in described vlan identify in corresponding interface message and whether include Outgoing interface identifies, and if so, its corresponding outgoing interface is then defined as the outgoing interface of described second multicast message;In described vlan mark When the open mode knowing corresponding vlan is for three layers of multicast pattern, when the open mode of described vlan is three layers of multicast pattern, Judge locally in default three layers of multicast list with the presence or absence of three layers of multicast list of described first multicast message, be judged as YES When, judge that the corresponding vlan of multicast chained list mll node identification that enlivens in corresponding three layers of multicast list identifies or interface rope Draw and in corresponding interface message, whether include outgoing interface mark, if so, its corresponding outgoing interface is defined as described second group Report the outgoing interface of literary composition;And when the open mode of described vlan mark is that two or three layers of multicast use pattern with, judge locally pre- If Layer 2 Multicast list item in the Layer 2 Multicast list item of described second multicast message in described vlan identify corresponding interface Whether include outgoing interface mark in information, if so, then its corresponding outgoing interface is defined as going out of described second multicast message Interface;And judge locally in default three layers of multicast list with the presence or absence of three layers of multicast list of described first multicast message, When being judged as YES, judge that the corresponding vlan of multicast chained list mll node identification that enlivens in corresponding three layers of multicast list identifies Or whether include outgoing interface mark in the corresponding interface message of interface index, if so, its corresponding outgoing interface is defined as The outgoing interface of described second multicast message, described default Layer 2 Multicast list item includes the outgoing interface mark of all of current device Know, described default three layers of multicast list include the outgoing interface mark of all of current device.
CN201310696072.XA 2013-12-17 2013-12-17 Method and device for forwarding multicast messages Active CN103746922B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310696072.XA CN103746922B (en) 2013-12-17 2013-12-17 Method and device for forwarding multicast messages

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310696072.XA CN103746922B (en) 2013-12-17 2013-12-17 Method and device for forwarding multicast messages

Publications (2)

Publication Number Publication Date
CN103746922A CN103746922A (en) 2014-04-23
CN103746922B true CN103746922B (en) 2017-01-25

Family

ID=50503913

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310696072.XA Active CN103746922B (en) 2013-12-17 2013-12-17 Method and device for forwarding multicast messages

Country Status (1)

Country Link
CN (1) CN103746922B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105763446B (en) * 2016-03-25 2019-05-07 新华三技术有限公司 A kind of link-state information processing method and processing device
CN106411730B (en) * 2016-10-26 2019-11-12 新华三技术有限公司 A kind of message forwarding method and device
CN108809836B (en) * 2018-05-31 2020-02-18 新华三技术有限公司 Multicast data message forwarding method and device
CN110061922B (en) * 2019-04-30 2021-06-11 新华三技术有限公司 Message forwarding method and device
CN110445678B (en) * 2019-07-26 2021-02-09 新华三大数据技术有限公司 Multicast network detection method, device and forwarding equipment
CN111010343B (en) * 2019-12-18 2022-01-11 锐捷网络股份有限公司 Method, device, network equipment and storage medium for forwarding multicast message
CN111262713B (en) * 2020-01-03 2022-07-08 优刻得科技股份有限公司 Message multicast processing method, processing device, readable medium and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1486038A (en) * 2003-08-29 2004-03-31 北京港湾网络有限公司 Control method for exact multicast forwarding
CN1809021A (en) * 2005-01-17 2006-07-26 华为技术有限公司 Ethernet link converging method
CN1866919A (en) * 2005-12-06 2006-11-22 华为技术有限公司 Service switching method based on VLAN stack
US7362700B2 (en) * 2002-06-27 2008-04-22 Extreme Networks, Inc. Methods and systems for hitless restart of layer 3 packet forwarding
CN102647424A (en) * 2012-04-18 2012-08-22 杭州华三通信技术有限公司 Data transmission method and data transmission device
CN103220218A (en) * 2013-04-28 2013-07-24 杭州华三通信技术有限公司 Method and device for preventing loops during vertical stacking networking
CN103414773A (en) * 2013-08-12 2013-11-27 杭州华三通信技术有限公司 Stacking system MAC address information synchronizing method and device
CN103428084A (en) * 2013-08-22 2013-12-04 福建星网锐捷网络有限公司 Message forwarding method of virtual switch devices in virtual switch unit and member devices

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090116505A1 (en) * 2007-11-07 2009-05-07 Alcatel Lucent Service Based VLAN Stacking

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7362700B2 (en) * 2002-06-27 2008-04-22 Extreme Networks, Inc. Methods and systems for hitless restart of layer 3 packet forwarding
CN1486038A (en) * 2003-08-29 2004-03-31 北京港湾网络有限公司 Control method for exact multicast forwarding
CN1809021A (en) * 2005-01-17 2006-07-26 华为技术有限公司 Ethernet link converging method
CN1866919A (en) * 2005-12-06 2006-11-22 华为技术有限公司 Service switching method based on VLAN stack
CN102647424A (en) * 2012-04-18 2012-08-22 杭州华三通信技术有限公司 Data transmission method and data transmission device
CN103220218A (en) * 2013-04-28 2013-07-24 杭州华三通信技术有限公司 Method and device for preventing loops during vertical stacking networking
CN103414773A (en) * 2013-08-12 2013-11-27 杭州华三通信技术有限公司 Stacking system MAC address information synchronizing method and device
CN103428084A (en) * 2013-08-22 2013-12-04 福建星网锐捷网络有限公司 Message forwarding method of virtual switch devices in virtual switch unit and member devices

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
IRF2.0技术白皮书;杭州华三通信技术有限公司;《IRF2.0技术白皮书》;20091231;全文 *

Also Published As

Publication number Publication date
CN103746922A (en) 2014-04-23

Similar Documents

Publication Publication Date Title
CN103746922B (en) Method and device for forwarding multicast messages
CN102684979B (en) A kind of multicast data forwarding method and device for supporting virtual terminal
CN106603441B (en) Multicast message processing method and exchange chip in distributed aggregated link network
CN104734953B (en) The method, apparatus and interchanger of two layers of message isolation are realized based on VLAN
DE112006003895T5 (en) Communication node and token issuing method and token ring communication method in a ring communication system
CN103532863B (en) Method and device for realizing software stacking
CN104486242B (en) A kind of VLAN centralized Control method and system of EPON networks
CN107547334B (en) Message forwarding method and device
CN104601461B (en) Message forwarding method and device in a kind of Longitudinal Intelligence resilient infrastructure system
CN103812752B (en) In a kind of power telecom network between VLAN resource-sharing method
CN102082720B (en) Method and device for forwarding multicast flow
CN103746932B (en) Method and apparatus for determining appointed VLAN-x forwarder
CN104604186B (en) Network system and communication device
CN106330728B (en) Method, the equipment of standby Designated Router and Designated Router troubleshooting are waited in election
CN102255758B (en) Method for increasing convergence rate of RSTP (Rapid Spanning Tree Protocol)
CN105338127B (en) MAC address table updating method, interchanger and system
CN107623636A (en) A kind of user isolation method and interchanger
CN103297355B (en) A kind of stream compression forwarding method, system and switch
CN103973471B (en) A kind of notifying method and device of TRILL distribution trees failure
CN105721181B (en) Method, backbone switch and the access switch of message transmissions
CN103441934B (en) A kind of learning method of stacking topology and device
JP2007534191A5 (en)
CN100396022C (en) Realization method for monitoring network service
CN105162733B (en) A kind of method and apparatus for determining edge interface
CN106210166A (en) A kind of system of the capacity of extended wireless controller equiment mac address forwarding table

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor

Patentee after: RUIJIE NETWORKS CO., LTD.

Address before: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor

Patentee before: Fujian Xingwangruijie Network Co., Ltd.