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

Method and device for forwarding multicast messages Download PDF

Info

Publication number
CN103746922A
CN103746922A CN201310696072.XA CN201310696072A CN103746922A CN 103746922 A CN103746922 A CN 103746922A CN 201310696072 A CN201310696072 A CN 201310696072A CN 103746922 A CN103746922 A CN 103746922A
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.)
Granted
Application number
CN201310696072.XA
Other languages
Chinese (zh)
Other versions
CN103746922B (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

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

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, relate in particular to a kind of retransmission method and device of multicast message.
Background technology
Pile system (Stacking System) refers to that more than one retransmission unit couples together by stack port (being stacking opening) separately, form one " logical device ", as a logic switching entity operation, user, by this " logical device " managed, can realize switching equipment all in " logical device " is managed like this.
Particularly, above-mentioned retransmission unit can be arranged on exchange chip, and now, above-mentioned pile system is comprised of multiple exchange chips; Also can be arranged on switching equipment, now, above-mentioned pile system is comprised of multiple switching equipment; Also can be arranged on exchange line card, now, above-mentioned pile system forms (for example case type switching equipment) by multiple exchange line cards.
At present, above-mentioned pile system is divided into linear pile system and loop wire pile system conventionally, and the path in linear pile system between each retransmission unit is unique; Path in loop wire pile system between each retransmission unit is not unique; But, no matter for the pile system under which kind of framework, when multicast message is forwarded, conventionally adopt the centralized mode that copies forwarding to forward, concrete forwarding process is as follows:
For the each retransmission unit in pile system, it is when receiving a multicast message, first, determine the outgoing interface (being the multicast downstream port of multicast message) of this multicast message, and according to the quantity of the outgoing interface of determining, this multicast message is copied, and the number of the multicast message copying is identical with the quantity of the outgoing interface of determining; Then, when the outgoing interface of determining is local outgoing interface, the multicast message copying is forwarded by the outgoing interface of determining; During the outgoing interface that is other retransmission units at the outgoing interface of determining, the multicast list of preserving according to this locality, the multicast message copying is sent to the retransmission unit under the outgoing interface of determining by related stack mouth, the multicast list of being preserved according to this locality again by these retransmission units, forwards the multicast message receiving by corresponding outgoing interface.
It should be noted that, the multicast list that in above-mentioned pile system, each retransmission unit is preserved is all identical, in each multicast list, with the index that is designated of each retransmission unit, all can inquire all stacking opening of each retransmission unit and all outgoing interfaces etc., so that retransmission unit copies and forwarding multicasting message.
Take linear pile system as example, the forwarding process of above-mentioned multicast message is elaborated below:
As shown in Figure 1, be the linear pile system that comprises the switch 11, switch 12, switch 13 and the switch 14 that are provided with retransmission unit.Wherein, suppose that switch 11 receives a multicast message, and this multicast message there are 4 outgoing interfaces, are respectively the outgoing interface 1 of switch 11, outgoing interface 2, the outgoing interface 3 of switch 13 and the outgoing interface 4 of switch 14 of switch 12.
So, in this case, switch 11 copies 4 parts of multicast messages, then, a multicast message copying is forwarded by the outgoing interface 1 of self, and remaining 3 parts of multicast messages that copy are sent to switch 12 by stacking opening; Switch 12 receives after these 3 parts of multicast messages that copy, and a multicast message copying is forwarded by the outgoing interface 2 of self, and remaining 2 parts of multicast messages that copy are sent to switch 13 by stacking opening; Switch 13 receives after these 2 parts of multicast messages that copy, and a multicast message copying is forwarded by the outgoing interface 3 of self, and the multicast message that last portion is copied is sent to switch 14 by stacking opening; Switch 14 receives after the multicast message that this part copy, and this multicast message is forwarded by the outgoing interface 4 of self.
From above-mentioned forwarding process, can find out, for the switch that is provided with retransmission unit for any one in pile system, it is receiving thousands of up to a hundred multicast messages, and the outgoing interface of every multicast message all in more situation, needs multiple copies, and by the multicast message of the disposable transmission copying of related stack mouth, so, just take the more bandwidth resources of related stack mouth, easily cause a large amount of loss of multicast message, and then the success rate that multicast message is forwarded is lower.
Summary of the invention
The embodiment of the present invention provides a kind of retransmission method and device of multicast message, in order to solve the pass-through mode of existing multicast message, takies more stacking opening broadband resource and forwards the lower problem of success rate.
Based on the problems referred to above, the retransmission method of a kind of multicast message that the embodiment of the present invention provides, the method is applied in the pile system that comprises multiple retransmission units, and the each retransmission unit in described pile system is all carried out following step:
By arbitrary incoming interface, receive the first multicast message, and the VLAN corresponding according to described incoming interface (Virtual Local Area Network, VLAN) open mode and local default multicast list, judge the outgoing interface that whether has described the first multicast message in local outgoing interface;
When being judged as NO, in described the first multicast message, carrying described VLAN sign forms after the second multicast message, by each local stacking opening, forward respectively, indication receives the current retransmission unit of the second multicast message, carry out following step: the VLAN sign entrained according to described the second multicast message, the multicast list default with this locality, judges the outgoing interface that whether has described the second multicast message in self outgoing interface; If, described the second multicast message is reverted to after described the first multicast message, by corresponding outgoing interface, forward respectively, and described the second multicast message is forwarded by the stacking opening except receiving the stacking opening of the second multicast message of self respectively, using the retransmission unit that again receives the second multicast message as described current retransmission unit, return to the step that described current retransmission unit is carried out, until described current retransmission unit is determined while self comprising a stacking opening, finish; Otherwise, described the second multicast message is forwarded by the stacking opening except receiving the stacking opening of the second multicast message separately respectively, using the retransmission unit that again receives the second multicast message as described current retransmission unit, return to the step that described current retransmission unit is carried out, until described current retransmission unit is determined while self comprising a stacking opening, finish.
The retransmission unit of a kind of multicast message that the embodiment of the present invention provides, described application of installation, in comprising the pile system of multiple described devices, comprising:
Receiver module, for receiving the first multicast message by arbitrary incoming interface;
Judge module, for according to the default multicast list of the open mode of VLAN corresponding to described incoming interface and described device, judges the outgoing interface that whether has described the first multicast message in local outgoing interface;
Forwarding module for when described judge module is judged as NO, carries described VLAN sign and forms after the second multicast message in described the first multicast message, forwards respectively by each local stacking opening;
Indicating module, for forwarding after described the second multicast message at described forwarding module, indication receives the current switching equipment of the second multicast message, carry out following step: the VLAN sign entrained according to described the second multicast message, the multicast list default with this locality, judges the outgoing interface that whether has described the second multicast message in self outgoing interface; If, described the second multicast message is reverted to after described the first multicast message, by corresponding outgoing interface, forward respectively, and described the second multicast message is forwarded by the stacking opening except receiving the stacking opening of the second multicast message of self respectively, using the device that again receives the second multicast message as described current device, return to the step that described current switching equipment is carried out, until described current switching equipment is determined while self comprising a stacking opening, finish; Otherwise, described the second multicast message is forwarded by the stacking opening except receiving the stacking opening of the second multicast message separately respectively, using the device that again receives the second multicast message as described current device, return to the step that described current switching equipment is carried out, until described current switching equipment is determined while self comprising a stacking opening, finish.
The beneficial effect of the embodiment of the present invention comprises:
The retransmission method of a kind of multicast message that the embodiment of the present invention provides and device, in the method, for any one retransmission unit in pile system, by arbitrary incoming interface, receiving after the first multicast message, according to the open mode of VLAN corresponding to incoming interface and local default multicast list, judge the outgoing interface that whether has the first multicast message in local outgoing interface; When being judged as NO, in the first multicast message, carrying VLAN sign forms after the second multicast message, by each local stacking opening, forward respectively, indication receives the current retransmission unit of the second multicast message, carry out following step: the VLAN sign entrained according to the second multicast message, the multicast list default with this locality, judges the outgoing interface that whether has the second multicast message in self outgoing interface; If, the second multicast message is reverted to after the first multicast message, by corresponding outgoing interface, forward respectively, and the second multicast message is forwarded by the stacking opening except receiving the stacking opening of the second multicast message of self respectively, using the retransmission unit that again receives the second multicast message as described current retransmission unit, return to the step that current retransmission unit is carried out, until current retransmission unit is determined while self comprising a stacking opening, finish; Otherwise, the second multicast message is forwarded by the stacking opening except receiving the stacking opening of the second multicast message separately respectively, using the retransmission unit that again receives the second multicast message as described current retransmission unit, return to the step that current retransmission unit is carried out, until current retransmission unit is determined while self comprising a stacking opening, finish.
Visible, in embodiments of the present invention, it is the open mode of the VLAN corresponding according to each interface of retransmission unit, corresponding multicast list with prior setting, carry out relevant forwarding mechanism, at certain incoming interface of retransmission unit, receive after multicast message, no matter what the VLAN that this incoming interface is corresponding opened is Layer 2 Multicast pattern, or three layers of multicast pattern, or two or three layers of mixed pattern, all that multicast message is carried out after relevant treatment, by each stacking opening of retransmission unit, be forwarded on other retransmission units respectively, unlike prior art, in retransmission unit side, copy the umber identical with all outgoing interface quantity, guaranteed that the stacking opening between retransmission unit forwards with the form of single part of multicast message, make other retransmission units by carrying out similar forwarding mechanism, finally complete the forwarding operation of multicast message, aforementioned this processing mode, reduced the consumption of the stacking opening bandwidth resources of retransmission unit, and then the forwarding success rate of raising multicast message.
Accompanying drawing explanation
Fig. 1 is the forwarding process schematic diagram of existing multicast message;
The retransmission method flow chart of the multicast message that Fig. 2 provides for the embodiment of the present invention;
The structural representation of the pile system that Fig. 3 A provides for the embodiment of the present invention;
One of forwarding process schematic diagram of the multicast message that Fig. 3 B provides for the embodiment of the present invention;
Two of the forwarding process schematic diagram of the multicast message that Fig. 3 C provides for the embodiment of the present invention;
Three of the forwarding process schematic diagram of the multicast message that Fig. 3 D provides for the embodiment of the present invention;
The structure chart of the retransmission unit of the multicast message that Fig. 4 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with Figure of description, the retransmission method of a kind of multicast message that the embodiment of the present invention is provided and the embodiment of device describe.
The retransmission method of a kind of multicast message that the embodiment of the present invention provides, the method can be applicable to comprise in the pile system of multiple retransmission units, and the each retransmission unit in this system is all carried out following step (as shown in Figure 2):
S21: receive the first multicast message by arbitrary incoming interface;
S22: according to the open mode of VLAN corresponding to incoming interface and local default multicast list, judge the outgoing interface that whether has the first multicast message in local outgoing interface; If so, perform step S23, otherwise, execution step S24;
S23: the first multicast message is forwarded by corresponding outgoing interface respectively, and carry in the first multicast message after VLAN sign formation the second multicast message, forward by each local stacking opening respectively;
Here, above-mentioned VLAN sign can be VLAN ID (VID), be mainly used to the retransmission unit that indication receives the second multicast message, according to VID, determine the follow-up processing mode to the second multicast message, for example, only the second multicast message is carried out to Layer 2 Multicast processing, or only the second multicast message is carried out to three layers of processing, or first the second multicast message is carried out to Layer 2 Multicast processing, then carry out three layers of multicast processing; That is to say, for each retransmission unit, all preserve the corresponding relation of the open mode of each self-corresponding VLAN sign WLAN corresponding with it, to determine the processing mode of multicast message;
S24: carry VLAN sign and form after the second multicast message in the first multicast message, forward by each local stacking opening respectively;
S25: indication receives the current retransmission unit of the second multicast message, carries out following step: the VLAN sign entrained according to the second multicast message, and local default multicast list, judge the outgoing interface that whether has the second multicast message in self outgoing interface; If, the second multicast message is reverted to after the first multicast message, by corresponding outgoing interface, forward respectively, and the second multicast message is forwarded by the stacking opening except receiving the stacking opening of the second multicast message of self respectively, using the retransmission unit that again receives the second multicast message as current retransmission unit, return to the step that current retransmission unit is carried out, until current retransmission unit is determined while self comprising a stacking opening, finish; Otherwise, the second multicast message is forwarded by the stacking opening except receiving the stacking opening of the second multicast message separately respectively, using the retransmission unit that again receives the second multicast message as current retransmission unit, return to the step that current retransmission unit is carried out, until current retransmission unit is determined while self comprising a stacking opening, finish.
In embodiments of the present invention, above-mentioned retransmission unit also can be arranged on exchange chip, and now, above-mentioned pile system is comprised of multiple exchange chips; Also can be arranged on switching equipment, now, above-mentioned pile system is comprised of multiple switching equipment; Also can be arranged on exchange line card, now, above-mentioned pile system forms (for example case type switching equipment) by multiple exchange line cards.
Particularly, in above-mentioned steps S21, for the incoming interface that receives multicast message, it may be two layer interfaces, such as access mouth, trunk mouth etc.; Also may be three layer interfaces, such as SVI mouth or route mouth etc., like this, for dissimilar interface, the VLAN of their correspondences is also different conventionally, and the open mode of different VLAN also may be different.
In view of the situation, for the retransmission unit that receives multicast message, for fear of it as prior art, all outgoing interfaces of multicast message are all completed and copied in this locality, cause forwarding many parts of multicast messages by certain stacking opening, take the more bandwidth resources of stacking opening, in embodiments of the present invention, according to the open mode of VLAN corresponding to each interface of self, corresponding multicast list is set in advance, set the forwarding mechanism of multicast message, thereby realize assurance between the stacking opening between retransmission unit and only forward a multicast message, and then the consumption of reduction stacking opening bandwidth resources, reach the effect of the forwarding success rate that improves multicast message.
Particularly, for two layer interfaces on each retransmission unit, conventionally the open mode of corresponding VLAN is Layer 2 Multicast pattern, at this moment, Layer 2 Multicast list item is set in advance, this Layer 2 Multicast list item specifically comprises multicast group address, VLAN sign, VLAN identifies corresponding interface message (as shown in table 1 below) etc., each multicast group address can identify by corresponding multiple VLAN, each VLAN identifies in corresponding interface message and at least comprises that all local stacking opening identify, so that complete the forwarding operation of whole multicast message, certainly, each VLAN identifies in corresponding interface message may also comprise the local outgoing interface sign that multicast address is corresponding, like this, when retransmission unit is transmitted to other retransmission units by multicast message, VLAN sign can be carried in VLAN sign, so that other retransmission units are determined subsequent treatment mode according to VLAN sign.
It should be noted that; in above-mentioned Layer 2 Multicast list item; an acquiescence Layer 2 Multicast list item is also set conventionally; VLAN in this list item identifies all local stacking opening sign that corresponding interface message also comprises retransmission unit; to use when judging the multicast list that does not have multicast message in Layer 2 Multicast list item; in this case, retransmission unit obtains local stacking opening from acquiescence Layer 2 Multicast list item.
Table 1
Figure BDA0000439989730000071
Figure BDA0000439989730000081
For three layer interfaces on each retransmission unit, conventionally the open mode of corresponding VLAN is three layers of multicast pattern or two or three layers of mixed pattern, when open mode corresponding to three layer interfaces is three layers of multicast pattern, three layers of multicast list are set in advance, these three layers of multicast lists can specifically comprise multicast group address, enliven multicast chained list (Multicast Linked List, MLL) node identification, VLAN sign and interface index that MLL node identification is corresponding, the interface message that VLAN sign and interface index are corresponding etc. (as shown in table 2 below), each MLL node identification can identify and multiple interface index (for example { Device by corresponding multiple VLAN, Port}), and each VLAN identifies the local outgoing interface that only comprises multicast group address in corresponding interface message.In this case, the stacking opening of each retransmission unit sign be stored in the interface list of three layer interfaces in same VLAN in so that 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 adds all VLAN, so that other retransmission units can receive relevant multicast message.
Table 2
Figure BDA0000439989730000082
Figure BDA0000439989730000091
When the open mode of VLAN corresponding to three layer interfaces is two or three layers of mixed pattern, Layer 2 Multicast list item and three layers of multicast list need to be set in advance, concrete set-up mode is the same, differently with it be, under this pattern, the stacking opening sign of each retransmission unit is arranged in Layer 2 Multicast list item, and the interface list that floods is not set, and at this, describes in detail no longer one by one.
Further, in above-mentioned steps S22, based on the set-up mode of above-mentioned multicast list, each retransmission unit specifically can judge the outgoing interface that whether has the first multicast message in local outgoing interface by following several modes:
First kind of way, when the open mode of VLAN is Layer 2 Multicast pattern, each retransmission unit judges the Layer 2 Multicast list item that whether has the first multicast message in local default Layer 2 Multicast list item, be judged as YES, judge VLAN in corresponding Layer 2 Multicast list item identifies in corresponding interface message, whether to include outgoing interface sign, if, its corresponding outgoing interface is defined as to the outgoing interface of the first multicast message, here, local default Layer 2 Multicast list item comprises all local outgoing interface signs;
The second way, when the open mode of VLAN is three layers of multicast pattern, each retransmission unit judges three layers of multicast list that whether have the first multicast message in local three layers of default multicast list, when being judged as YES, judge in the interface message that VLAN sign that MLL node identification in three layers of corresponding multicast list is corresponding or interface index are corresponding and whether include outgoing interface sign, if, its corresponding outgoing interface is defined as to the outgoing interface of the first multicast message, here, local three layers of default multicast list comprise all local outgoing interface signs;
The third mode, when the open mode of VLAN is the mixed pattern of two or three layers of multicast, each retransmission unit judges the Layer 2 Multicast list item that whether has the first multicast message in local default Layer 2 Multicast list item, when being judged as YES, judge VLAN in corresponding Layer 2 Multicast list item identifies in corresponding interface message, whether to include outgoing interface sign, if so, its corresponding outgoing interface is defined as to the outgoing interface of the first multicast message; And judge three layers of multicast list that whether have the first multicast message in three layers of local default multicast list, when being judged as YES, judge in the interface message that VLAN sign that MLL node identification in three layers of corresponding multicast list is corresponding or interface index are corresponding and whether include outgoing interface sign, if so, its corresponding outgoing interface is defined as to the outgoing interface of the first multicast message.
It should be noted that, in above-mentioned the third mode, be that the mixed pattern of two or three layers of multicast, the outgoing interface of above-mentioned multicast message may comprise two layers of outgoing interface and three layers of outgoing interface simultaneously at the open mode of VLAN, therefore,
Further, in above-mentioned steps S23 or step S24, above-mentioned local stacking opening is actually and obtains in following several situations:
The first situation, at the open mode of VLAN, be Layer 2 Multicast pattern or two or three layers of mixed pattern, and in local default Layer 2 Multicast list item, exist in the situation of Layer 2 Multicast list item of the first multicast message, according to the VLAN in corresponding Layer 2 Multicast list item, identify the local stacking opening sign acquisition that corresponding interface message comprises;
The second situation, at the open mode of VLAN, be Layer 2 Multicast pattern or two or three layers of mixed pattern, and in local default Layer 2 Multicast list item, do not exist in the situation of Layer 2 Multicast list item of the first multicast message, according to the VLAN in acquiescence Layer 2 Multicast list item, identify the local stacking opening sign acquisition that corresponding interface message comprises;
The third situation, when the open mode of VLAN is three layers of multicast pattern, obtains according to the pre-stored local stacking opening sign with the interface list of incoming interface in same VLAN.
Further, in above-mentioned steps S25, each retransmission unit is indicated the current retransmission unit that receives the second multicast message by following several modes, judges the outgoing interface that whether has the second multicast message in self outgoing interface:
First kind of way, when the open mode that each retransmission unit indication current device identifies corresponding VLAN at VLAN is Layer 2 Multicast pattern, judge VLAN in the Layer 2 Multicast list item of the second multicast message in local default Layer 2 Multicast list item identifies in corresponding interface message, whether to include outgoing interface sign, if, its corresponding outgoing interface is defined as to the outgoing interface of the second multicast message, here, default Layer 2 Multicast list item comprises the outgoing interface sign of all current devices;
The second way, when the open mode that identifies corresponding VLAN at VLAN is three layers of multicast pattern, when the open mode of VLAN is three layers of multicast pattern, judge three layers of multicast list that whether have the first multicast message in local three layers of default multicast list, when being judged as YES, judge whether enlivening in three layers of corresponding multicast list includes outgoing interface in the interface message that VLAN identifies or interface index is corresponding that multicast chained list MLL node identification is corresponding and identify, if, its corresponding outgoing interface is defined as to the outgoing interface of the second multicast message, here, three layers of default multicast list comprise the outgoing interface sign of all current devices,
The third mode, when the open mode of VLAN sign is the mixed pattern of two or three layers of multicast, judge VLAN in the Layer 2 Multicast list item of the second multicast message in local default Layer 2 Multicast list item identifies in corresponding interface message, whether to include outgoing interface sign, if so, its corresponding outgoing interface is defined as to the outgoing interface of the second multicast message; And judge three layers of multicast list that whether have the first multicast message in three layers of local default multicast list, when being judged as YES, judge whether enlivening in three layers of corresponding multicast list includes outgoing interface in the interface message that VLAN identifies or interface index is corresponding that multicast chained list MLL node identification is corresponding and identify, if so, its corresponding outgoing interface is defined as to the outgoing interface of the second multicast message.
That is to say, for certain, receive the retransmission unit of the second multicast message, it is according to the VLAN sign in the second multicast message, what determine that VLAN identifies the corresponding current unlatching of VLAN is any pattern, for example, in the situation that opening Layer 2 Multicast pattern, the retransmission unit that receives the second multicast message can directly be inquired about in Layer 2 Multicast list item this VLAN and identify in corresponding interface message, whether there is outgoing interface, in the situation that inquiring existence, just the VLAN sign in the second multicast message is got rid of, revert to the first multicast message, then, by the first multicast message copy as with above-mentioned interface message in the same number of umber of outgoing interface, and by these outgoing interfaces, forward respectively, meanwhile, according to the local stacking opening number except the stacking opening of reception the second multicast message in above-mentioned interface message, the second multicast message is copied, and by these local stacking opening, forward respectively, to indicate the follow-up equipment that receives the second multicast message, carry out above-mentioned flow process, by that analogy, until receive the retransmission unit of multicast message, determine and self comprise that a stacking opening finishes.
Then, inquiring in non-existent situation, only need to be according to the local stacking opening number except the stacking opening of reception the second multicast message in above-mentioned interface message, the second multicast message is copied, and by these local stacking opening, forward respectively, still indicate the follow-up equipment that receives the second multicast message to carry out above-mentioned flow process, by that analogy, until receive the retransmission unit of multicast message, determine while self comprising a stacking opening and finish, in this case, for this retransmission unit, whether it has executed self the related procedure of outgoing interface, do not had can forwarding multicasting message stacking opening, this just means that multicast message forwards complete by relevant outgoing interface, therefore the forwarding process of multicast message leaves it at that.
It should be noted that, in embodiments of the present invention, for the each retransmission unit in pile system, in the situation that receiving multicast message, only according to local outgoing interface corresponding to this multicast message and the number of local stacking opening, multicast message is copied, for the outgoing interface on other equipment corresponding to this multicast message, do not carry out and copy flow process, and, when multicast message is transmitted to other retransmission units by local stacking opening, guaranteed only to forward a multicast message after relevant treatment, for other retransmission units that receive the multicast message forwarding, the forwarding process of carrying out is similar, differently with it be, other retransmission units are when forwarding multicasting message, to the stacking opening that receives relevant multicast message, do not forward, to avoid pile system to occur loop, so, just realized between the stacking opening between multicast message each retransmission unit in pile system and having forwarded in the mode of single part of multicast message, improved the utilance of stacking opening bandwidth resources.
In addition, above-mentioned multicast forward method is not only applied to linear pile system, is also applied to annular pile system, when being applied to the latter, annular pile system need to be split as to linear pile system, and concrete disassembling machine is made as prior art, is not described in detail in this.
Below in conjunction with following specific embodiment, above-mentioned method for forwarding multicast message is elaborated:
As shown in Figure 3A, suppose that pile system comprises the switch 31, switch 32 and the switch 33 that are provided with retransmission unit, wherein, switch 31 receives a multicast message by incoming interface 1.
Embodiment mono-
The VLAN that supposes incoming interface 1 correspondence is VLAN1, and the open mode of VLAN1 is Layer 2 Multicast pattern; The outgoing interface of supposing this multicast message is the outgoing interface 3 (as shown in Figure 3 B) on outgoing interface 2 and the switch 33 on switch 31, so, by following flow process, this multicast message is forwarded:
Switch 31 is receiving after this multicast message, the open mode of determining the VLAN1 of incoming interface 1 correspondence is Layer 2 Multicast pattern, according to the multicast group address of this multicast message, in the default Layer 2 Multicast list item in this locality, inquire about, obtain the interface message (being outgoing interface 1 and stacking opening 1) of the sign correspondence of VLAN1, at this moment, switch 31 copies a multicast message, forwards, simultaneously by outgoing interface 2, in multicast message, carry after the sign of VLAN1, by stacking opening 1, forward.
Next, for the switch 32 of multicast message that receives the sign of carrying VLAN1 by stacking opening 2, parsing the sign that carries VLAN1 in multicast message, what know VLAN1 unlatching is Layer 2 Multicast pattern, in this case, in the interface message of direct sign correspondence of inquiring about VLAN1 in the default Layer 2 Multicast list item in this locality, whether there is outgoing interface sign, inquiring while not existing, the multicast message of sign of VLAN1 will be carried, by stacking opening 3 (obtaining according to the sign of the stacking opening 3 in the interface message of the sign correspondence of VLAN1) forwarding.
Like this, the follow-up switch 33 that receives the multicast message that carries VLAN1 by stacking opening 4, carries out the flow process that above-mentioned switch 32 is carried out, and is not described in detail in this, after execution, show that local existence needs the outgoing interface 3 of forwarding multicasting message, and self only comprise a stacking opening 4, now, the sign of VLAN1 in the multicast message receiving is removed, revert to the multicast message of the sign of not carrying VLAN1, and forward by outgoing interface 3, complete the forwarding of whole multicast message.
Embodiment bis-
Suppose that the VLAN that incoming interface 1 (for example incoming interface is SVI interface) is corresponding is VLAN1, and the open mode of VLAN1 is three layers of multicast pattern; The outgoing interface of supposing this multicast message be SVI outgoing interface 4 on SVI outgoing interface 3 on switch 31 (corresponding VLAN is VLAN2) and switch 32 (as shown in Figure 3 C, the VLAN of SVI outgoing interface 4 correspondences is VLAN2), so, by following flow process, this multicast message is forwarded:
Switch 31 is receiving after this multicast message, the open mode of determining the VLAN1 of incoming interface 1 correspondence is three layers of multicast pattern, according to the multicast group address of this multicast message, in three layers of default multicast list of this locality, inquire about, obtain SVI outgoing interface 3 for one of them outgoing interface, at this moment, switch 31 copies a multicast message, by SVI outgoing interface 3, forward, meanwhile, multicast message is flooded in VLAN1, be flooded to stacking opening 1, forward carried the sign of VLAN1 in multicast message by stacking opening 1 after.
Next, for the switch 32 of multicast message that receives the sign of carrying VLAN1 by stacking opening 2, parsing the sign that carries VLAN1 in multicast message, what know VLAN1 unlatching is three layers of multicast pattern, in this case, the local three layers of default multicast list of inquiry show that SVI outgoing interface 4 is for one of them outgoing interface, at this moment, switch 32 copies the multicast message that portion receives, then, the sign of VLAN1 in the multicast message copying is removed, revert to the multicast message of the sign of not carrying VLAN1, and forward by SVI outgoing interface 4, meanwhile, the multicast message receiving is flooded in VLAN1, be flooded to stacking opening 3, by stacking opening 3, forwarded.
Like this, the switch 33 of the follow-up multicast message that receives the sign that carries VLAN1 by stacking opening 4, carry out the flow process that above-mentioned switch 32 is carried out, be not described in detail in this, after execution, draw the local outgoing interface that needs forwarding multicasting message that do not exist, and self only comprise a stacking opening 4, now, no longer multicast message is flooded, complete the forwarding of whole multicast message.
Embodiment tri-
Suppose that the VLAN that incoming interface 1 (for example incoming interface is SVI interface) is corresponding is VLAN1, and the open mode of VLAN1 is two or three layers of mixed multicast pattern; The outgoing interface of supposing this multicast message is two layers of outgoing interface 5 and the SVI outgoing interface 6 (corresponding VLAN is VLAN2) on switch 31, with SVI outgoing interface 7 on switch 32 (as shown in Figure 3 D, the VLAN of SVI outgoing interface 7 correspondences is VLAN2), so, by following flow process, this multicast message is forwarded:
Switch 31 is receiving after this multicast message, the open mode of determining the VLAN1 of incoming interface 1 correspondence is two or three layers of mixed multicast pattern, first according to the multicast group address of this multicast message, in the default Layer 2 Multicast list item in this locality, inquire about, obtain the interface message (comprising two layers of outgoing interface 5 and stacking opening 1) of the sign correspondence of VLAN1; Then, again according to the multicast group address of this multicast message, in three layers of default multicast list of this locality, inquire about, show that SVI outgoing interface 6 is for one of them outgoing interface, at this moment, switch 31 copies 2 parts of multicast messages, by two layers of outgoing interface 5 and SVI outgoing interface 6, forward respectively, meanwhile, in multicast message, carry after the sign of VLAN1, by stacking opening 1, forward.
Next, for the switch 32 of multicast message that receives the sign that carries VLAN1 by stacking opening 2, parsing the sign that carries VLAN1 in multicast message, what know VLAN1 unlatching is two or three layers of multicast pattern, in this case, in the interface message of first sign correspondence of inquiring about VLAN1 in the default Layer 2 Multicast list item in this locality, whether there is outgoing interface sign, inquiring while not existing, the local three layers of default multicast list of inquiry again, show that SVI outgoing interface 7 is for one of them outgoing interface, at this moment, copy the multicast message that portion receives, then, the sign of VLAN1 in the multicast message copying is removed, revert to the multicast message of the sign of not carrying VLAN1, and forward by SVI outgoing interface 7, meanwhile, by the multicast message receiving by stacking opening 3 (obtaining according to the sign of the stacking opening 3 in the interface message of the sign correspondence of VLAN1) forwarding.
Like this, the follow-up switch 33 that receives the multicast message that carries VLAN1 by stacking opening 4, carry out the flow process that above-mentioned switch 32 is carried out, be not described in detail in this, after execution, show that this locality does not exist the outgoing interface that needs forwarding multicasting message, and self only comprise a stacking opening 4, complete the forwarding of whole multicast message.
Based on same inventive concept, the embodiment of the present invention also provides a kind of retransmission unit of multicast message, because the principle that this device is dealt with problems is similar to the retransmission method of aforementioned multicast message, therefore the enforcement of this device can be referring to the enforcement of preceding method, repeats part and repeat no more.
The retransmission unit of a kind of multicast message that the embodiment of the present invention provides, is applied in the pile system that comprises multiple these devices, and as shown in Figure 4, this device specifically comprises:
Receiver module 41, for receiving the first multicast message by arbitrary incoming interface;
Judge module 42, for according to the default multicast list of the open mode of VLAN corresponding to incoming interface and device, judges the outgoing interface that whether has the first multicast message in local outgoing interface;
Forwarding module 43 while being judged as NO for judge module 42, carrying VLAN sign and forms after the second multicast message in the first multicast message, forwards respectively by each local stacking opening;
Indicating module 44, for forwarding after the second multicast message at forwarding module, indication receives the current device of the second multicast message, carry out following step: the VLAN sign entrained according to the second multicast message, the multicast list default with this locality, judges the outgoing interface that whether has the second multicast message in self outgoing interface; If, the second multicast message is reverted to after the first multicast message, by corresponding outgoing interface, forward respectively, and the second multicast message is forwarded by the stacking opening except receiving the stacking opening of the second multicast message of self respectively, using the device that again receives the second multicast message as current device, return to the step that current device is carried out, until current device is determined while self comprising a stacking opening, finish; Otherwise, the second multicast message is forwarded by the stacking opening except receiving the stacking opening of the second multicast message separately respectively, using the device that again receives the second multicast message as current device, return to the step that current device is carried out, until current device is determined while self comprising a stacking opening, finish.
Preferably, above-mentioned forwarding module 43, also when judging local outgoing interface at judge module 42 and have the outgoing interface of the first multicast message, the first multicast message is forwarded by corresponding outgoing interface respectively, and in the first multicast message, carry after VLAN sign formation the second multicast message, by each local stacking opening, forward respectively, carry out the step that indicating module 44 is carried out.
Preferably, above-mentioned judge module 42, specifically for when the open mode of VLAN is Layer 2 Multicast pattern, in the default Layer 2 Multicast list item of judgment means, whether there is the Layer 2 Multicast list item of the first multicast message, when being judged as YES, judge that the VLAN in corresponding Layer 2 Multicast list item identifies in corresponding interface message whether include outgoing interface sign, is defined as its corresponding outgoing interface the outgoing interface of the first multicast message; When the open mode of VLAN is three layers of multicast pattern, in three layers of default multicast list of judgment means, whether there are three layers of multicast list of the first multicast message, when being judged as YES, judge while whether including outgoing interface sign in the interface message that VLAN sign that MLL node identification in three layers of corresponding multicast list is corresponding or interface index are corresponding, its corresponding outgoing interface is defined as to the outgoing interface of the first multicast message; And when the open mode of VLAN is the mixed pattern of two or three layers of multicast, judge the Layer 2 Multicast list item that whether has the first multicast message in local default Layer 2 Multicast list item, when being judged as YES, judge VLAN in corresponding Layer 2 Multicast list item identifies in corresponding interface message, whether to include outgoing interface sign, if so, its corresponding outgoing interface is defined as to the outgoing interface of the first multicast message; And judge three layers of multicast list that whether have the first multicast message in three layers of local default multicast list, when being judged as YES, judge in the interface message that VLAN sign that MLL node identification in three layers of corresponding multicast list is corresponding or interface index are corresponding and whether include outgoing interface sign, if so, its corresponding outgoing interface is defined as to the outgoing interface of the first multicast message.
Here, the default Layer 2 Multicast list item of said apparatus comprises all local outgoing interface signs, and three layers of default multicast list of said apparatus comprise all local outgoing interface signs.
Preferably, the local stacking opening that above-mentioned forwarding module 43 forwards the second multicast message, for the open mode at VLAN is Layer 2 Multicast pattern or two or three layers of mixed pattern, and while there is the Layer 2 Multicast list item of the first multicast message in default Layer 2 Multicast list item, according to the VLAN in corresponding Layer 2 Multicast list item, identify the local stacking opening sign acquisition that corresponding interface message comprises; While there is not the Layer 2 Multicast list item of the first multicast message in default Layer 2 Multicast list item, according to the VLAN in acquiescence Layer 2 Multicast list item, identify the local stacking opening sign acquisition that corresponding interface message comprises; And when the open mode of VLAN is three layers of multicast pattern, according to the pre-stored local stacking opening sign with the interface list of incoming interface in same VLAN, obtain.
Preferably, above-mentioned indicating module 44, when the open mode that identifies corresponding VLAN at VLAN specifically for indication current device is Layer 2 Multicast pattern, judge VLAN in the Layer 2 Multicast list item of the second multicast message in local default Layer 2 Multicast list item identifies in corresponding interface message, whether to include outgoing interface sign, if so, its corresponding outgoing interface is defined as to the outgoing interface of the second multicast message; When the open mode that identifies corresponding VLAN at VLAN is three layers of multicast pattern, when the open mode of VLAN is three layers of multicast pattern, judge three layers of multicast list that whether have the first multicast message in local three layers of default multicast list, when being judged as YES, judge whether enlivening in three layers of corresponding multicast list includes outgoing interface in the interface message that VLAN identifies or interface index is corresponding that multicast chained list MLL node identification is corresponding and identify, if so, its corresponding outgoing interface is defined as to the outgoing interface of the second multicast message; And when the open mode of VLAN sign is the mixed pattern of two or three layers of multicast, judge VLAN in the Layer 2 Multicast list item of the second multicast message in local default Layer 2 Multicast list item identifies in corresponding interface message, whether to include outgoing interface sign, if so, its corresponding outgoing interface is defined as to the outgoing interface of the second multicast message; And judge three layers of multicast list that whether have the first multicast message in three layers of local default multicast list, when being judged as YES, judge whether enlivening in three layers of corresponding multicast list includes outgoing interface in the interface message that VLAN identifies or interface index is corresponding that multicast chained list MLL node identification is corresponding and identify, if, its corresponding outgoing interface is defined as to the outgoing interface of the second multicast message, default Layer 2 Multicast list item comprises the outgoing interface sign of all current devices, and three layers of default multicast list comprise the outgoing interface sign of all current devices.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.

Claims (10)

1. a retransmission method for multicast message, is characterized in that, the method is applied in the pile system that comprises multiple retransmission units, and the each retransmission unit in described pile system is all carried out following step:
By arbitrary incoming interface, receive the first multicast message, and according to the open mode of virtual LAN VLAN corresponding to described incoming interface and local default multicast list, judge the outgoing interface that whether has described the first multicast message in local outgoing interface;
When being judged as NO, in described the first multicast message, carrying described VLAN sign forms after the second multicast message, by each local stacking opening, forward respectively, indication receives the current retransmission unit of the second multicast message, carry out following step: the VLAN sign entrained according to described the second multicast message, the multicast list default with this locality, judges the outgoing interface that whether has described the second multicast message in self outgoing interface; If, described the second multicast message is reverted to after described the first multicast message, by corresponding outgoing interface, forward respectively, and described the second multicast message is forwarded by the stacking opening except receiving the stacking opening of the second multicast message of self respectively, using the retransmission unit that again receives the second multicast message as described current retransmission unit, return to the step that described current retransmission unit is carried out, until described current retransmission unit is determined while self comprising a stacking opening, finish; Otherwise, described the second multicast message is forwarded by the stacking opening except receiving the stacking opening of the second multicast message separately respectively, using the retransmission unit that again receives the second multicast message as described current retransmission unit, return to the step that described current retransmission unit is carried out, until described current retransmission unit is determined while self comprising a stacking opening, finish.
2. the method for claim 1, is characterized in that, described each retransmission unit is also carried out following step:
When judging the outgoing interface that has described the first multicast message in local outgoing interface, described the first multicast message is forwarded by corresponding outgoing interface respectively, and in described the first multicast message, carry after described VLAN sign formation the second multicast message, by each local stacking opening, forward respectively, indication receives the current retransmission unit of the second multicast message, carries out following step:
According to the entrained VLAN of described the second multicast message sign, with local default multicast list, judge the outgoing interface that whether has described the second multicast message in self outgoing interface; If, described the second multicast message is reverted to after described the first multicast message, by corresponding outgoing interface, forward respectively, and described the second multicast message is forwarded by the stacking opening except receiving the stacking opening of the second multicast message of self respectively, return to the step that described current retransmission unit is carried out, until described current retransmission unit is determined while self comprising a stacking opening, finish; Otherwise, described the second multicast message is forwarded by the stacking opening except receiving the stacking opening of the second multicast message separately respectively, return to the step that described current retransmission unit is carried out, until described current retransmission unit is determined while self comprising a stacking opening, finish.
3. method as claimed in claim 1 or 2, is characterized in that, described each retransmission unit, by following manner, judges the outgoing interface that whether has described the first multicast message in local outgoing interface:
When the open mode of described VLAN is Layer 2 Multicast pattern, each retransmission unit judges the Layer 2 Multicast list item that whether has described the first multicast message in local default Layer 2 Multicast list item, when being judged as YES, judge VLAN in corresponding Layer 2 Multicast list item identifies in corresponding interface message, whether to include outgoing interface sign, if, its corresponding outgoing interface is defined as to the outgoing interface of described the first multicast message, described default Layer 2 Multicast list item comprises all local outgoing interface signs;
When the open mode of described VLAN is three layers of multicast pattern, each retransmission unit judges three layers of multicast list that whether have described the first multicast message in local three layers of default multicast list, when being judged as YES, judge whether enlivening in three layers of corresponding multicast list includes outgoing interface in the interface message that VLAN identifies or interface index is corresponding that multicast chained list MLL node identification is corresponding and identify, if, its corresponding outgoing interface is defined as to the outgoing interface of described the first multicast message, described three layers of default multicast list comprise all local outgoing interface signs;
When the open mode of described VLAN is the mixed pattern of two or three layers of multicast, each retransmission unit judges the Layer 2 Multicast list item that whether has described the first multicast message in local default Layer 2 Multicast list item, when being judged as YES, judge VLAN in corresponding Layer 2 Multicast list item identifies in corresponding interface message, whether to include outgoing interface sign, if so, its corresponding outgoing interface is defined as to the outgoing interface of described the first multicast message; And judge three layers of multicast list that whether have described the first multicast message in three layers of local default multicast list, when being judged as YES, judge in the interface message that VLAN sign that MLL node identification in three layers of corresponding multicast list is corresponding or interface index are corresponding and whether include outgoing interface sign, if so, its corresponding outgoing interface is defined as to the outgoing interface of described the first multicast message.
4. method as claimed in claim 3, is characterized in that, described each retransmission unit obtains local stacking opening by following manner:
At the open mode of described VLAN, be Layer 2 Multicast pattern or two or three layers of mixed pattern, and while there is the Layer 2 Multicast list item of described the first multicast message in described default Layer 2 Multicast list item, according to the VLAN in corresponding Layer 2 Multicast list item, identify the local stacking opening sign acquisition that corresponding interface message comprises; While there is not the Layer 2 Multicast list item of described the first multicast message in described default Layer 2 Multicast list item, according to the VLAN in acquiescence Layer 2 Multicast list item, identify the local stacking opening sign acquisition that corresponding interface message comprises;
When the open mode of described VLAN is three layers of multicast pattern, according to the pre-stored local stacking opening sign with the interface list of described incoming interface in same VLAN, obtain.
5. the method for claim 1, it is characterized in that, each retransmission unit indication receives the current retransmission unit of the second multicast message, the VLAN sign entrained according to described the second multicast message, the multicast list default with this locality, judge the outgoing interface that whether has described the second multicast message in self outgoing interface, specifically comprise:
When the open mode that each retransmission unit indicates described current device to identify corresponding VLAN at described VLAN is Layer 2 Multicast pattern, judge described VLAN in the Layer 2 Multicast list item of described the second multicast message in local default Layer 2 Multicast list item identifies in corresponding interface message, whether to include outgoing interface sign, if, its corresponding outgoing interface is defined as to the outgoing interface of described the second multicast message, described default Layer 2 Multicast list item comprises the outgoing interface sign of all current devices;
When the open mode that identifies corresponding VLAN at described VLAN is three layers of multicast pattern, when the open mode of described VLAN is three layers of multicast pattern, judge three layers of multicast list that whether have described the first multicast message in local three layers of default multicast list, when being judged as YES, judge whether enlivening in three layers of corresponding multicast list includes outgoing interface in the interface message that VLAN identifies or interface index is corresponding that multicast chained list MLL node identification is corresponding and identify, if, its corresponding outgoing interface is defined as to the outgoing interface of described the second multicast message, described three layers of default multicast list comprise the outgoing interface sign of all current devices,
When the open mode of described VLAN sign is the mixed pattern of two or three layers of multicast, judge described VLAN in the Layer 2 Multicast list item of described the second multicast message in local default Layer 2 Multicast list item identifies in corresponding interface message, whether to include outgoing interface sign, if so, its corresponding outgoing interface is defined as to the outgoing interface of described the second multicast message; And judge three layers of multicast list that whether have described the first multicast message in three layers of local default multicast list, when being judged as YES, judge whether enlivening in three layers of corresponding multicast list includes outgoing interface in the interface message that VLAN identifies or interface index is corresponding that multicast chained list MLL node identification is corresponding and identify, if so, its corresponding outgoing interface is defined as to the outgoing interface of described the second multicast message.
6. a retransmission unit for multicast message, is characterized in that, described application of installation is in comprising the pile system of multiple described devices, and described device comprises:
Receiver module, for receiving the first multicast message by arbitrary incoming interface;
Judge module, for according to the default multicast list of the open mode of virtual LAN VLAN corresponding to described incoming interface and described device, judges the outgoing interface that whether has described the first multicast message in local outgoing interface;
Forwarding module for when described judge module is judged as NO, carries described VLAN sign and forms after the second multicast message in described the first multicast message, forwards respectively by each local stacking opening;
Indicating module, for forwarding after described the second multicast message at described forwarding module, indication receives the current device of the second multicast message, carry out following step: the VLAN sign entrained according to described the second multicast message, the multicast list default with this locality, judges the outgoing interface that whether has described the second multicast message in self outgoing interface; If, described the second multicast message is reverted to after described the first multicast message, by corresponding outgoing interface, forward respectively, and described the second multicast message is forwarded by the stacking opening except receiving the stacking opening of the second multicast message of self respectively, using the device that again receives the second multicast message as described current device, return to the step that described current device is carried out, until described current device is determined while self comprising a stacking opening, finish; Otherwise, described the second multicast message is forwarded by the stacking opening except receiving the stacking opening of the second multicast message separately respectively, using the device that again receives the second multicast message as described current device, return to the step that described current device is carried out, until described current device is determined while self comprising a stacking opening, finish.
7. device as claimed in claim 6, it is characterized in that, described forwarding module, also when judging local outgoing interface at described judge module and have the outgoing interface of described the first multicast message, described the first multicast message is forwarded by corresponding outgoing interface respectively, and in described the first multicast message, carry after described VLAN sign formation the second multicast message, by each local stacking opening, forward respectively, carry out the step that described indicating module is carried out.
8. the device as described in claim 6 or 7, it is characterized in that, described judge module, specifically for when the open mode of described VLAN is Layer 2 Multicast pattern, judge the Layer 2 Multicast list item that whether has described the first multicast message in the default Layer 2 Multicast list item of described device, when being judged as YES, judge that the VLAN in corresponding Layer 2 Multicast list item identifies in corresponding interface message whether include outgoing interface sign, is defined as its corresponding outgoing interface the outgoing interface of described the first multicast message; When the open mode of described VLAN is three layers of multicast pattern, judge three layers of multicast list that whether have described the first multicast message in three layers of default multicast list of described device, when being judged as YES, judge when whether enlivening in three layers of corresponding multicast list includes outgoing interface sign in VLAN sign that multicast chained list MLL node identification is corresponding or interface message corresponding to interface index, its corresponding outgoing interface is defined as to the outgoing interface of described the first multicast message; And when the open mode of described VLAN is the mixed pattern of two or three layers of multicast, judge the Layer 2 Multicast list item that whether has described the first multicast message in local default Layer 2 Multicast list item, when being judged as YES, judge VLAN in corresponding Layer 2 Multicast list item identifies in corresponding interface message, whether to include outgoing interface sign, if so, its corresponding outgoing interface is defined as to the outgoing interface of described the first multicast message; And judge three layers of multicast list that whether have described the first multicast message in three layers of local default multicast list, when being judged as YES, judge in the interface message that VLAN sign that MLL node identification in three layers of corresponding multicast list is corresponding or interface index are corresponding and whether include outgoing interface sign, if, its corresponding outgoing interface is defined as to the outgoing interface of described the first multicast message, the default Layer 2 Multicast list item of described device comprises all local outgoing interface signs, and three layers of default multicast list of described device comprise all local outgoing interface signs.
9. device as claimed in claim 8, it is characterized in that, the local stacking opening that described forwarding module forwards described the second multicast message, for the open mode at described VLAN is Layer 2 Multicast pattern or two or three layers of mixed pattern, and while there is the Layer 2 Multicast list item of described the first multicast message in described default Layer 2 Multicast list item, according to the VLAN in corresponding Layer 2 Multicast list item, identify the local stacking opening sign acquisition that corresponding interface message comprises; While there is not the Layer 2 Multicast list item of described the first multicast message in described default Layer 2 Multicast list item, according to the VLAN in acquiescence Layer 2 Multicast list item, identify the local stacking opening sign acquisition that corresponding interface message comprises; And when the open mode of described VLAN is three layers of multicast pattern, according to the pre-stored local stacking opening sign with the interface list of described incoming interface in same VLAN, obtain.
10. device as claimed in claim 6, it is characterized in that, described indicating module, while being Layer 2 Multicast pattern specifically for the open mode of indicating described current device to identify corresponding VLAN at described VLAN, judge described VLAN in the Layer 2 Multicast list item of described the second multicast message in local default Layer 2 Multicast list item identifies in corresponding interface message, whether to include outgoing interface sign, if so, its corresponding outgoing interface is defined as to the outgoing interface of described the second multicast message, when the open mode that identifies corresponding VLAN at described VLAN is three layers of multicast pattern, when the open mode of described VLAN is three layers of multicast pattern, judge three layers of multicast list that whether have described the first multicast message in local three layers of default multicast list, when being judged as YES, judge whether enlivening in three layers of corresponding multicast list includes outgoing interface in the interface message that VLAN identifies or interface index is corresponding that multicast chained list MLL node identification is corresponding and identify, if so, its corresponding outgoing interface is defined as to the outgoing interface of described the second multicast message, and when the open mode of described VLAN sign is the mixed pattern of two or three layers of multicast, judge described VLAN in the Layer 2 Multicast list item of described the second multicast message in local default Layer 2 Multicast list item identifies in corresponding interface message, whether to include outgoing interface sign, if so, its corresponding outgoing interface is defined as to the outgoing interface of described the second multicast message, and judge three layers of multicast list that whether have described the first multicast message in three layers of local default multicast list, when being judged as YES, judge whether enlivening in three layers of corresponding multicast list includes outgoing interface in the interface message that VLAN identifies or interface index is corresponding that multicast chained list MLL node identification is corresponding and identify, if, its corresponding outgoing interface is defined as to the outgoing interface of described the second multicast message, described default Layer 2 Multicast list item comprises the outgoing interface sign of all current devices, described three layers of default multicast list comprise the outgoing interface sign of all current devices.
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 true CN103746922A (en) 2014-04-23
CN103746922B 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)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106411730A (en) * 2016-10-26 2017-02-15 杭州华三通信技术有限公司 Message forwarding method and message forwarding device
WO2017162202A1 (en) * 2016-03-25 2017-09-28 新华三技术有限公司 Link state information processing
CN110061922A (en) * 2019-04-30 2019-07-26 新华三技术有限公司 Message forwarding method and device
CN110445678A (en) * 2019-07-26 2019-11-12 新华三大数据技术有限公司 Multicast network detection method, device and forwarding device
WO2019228433A1 (en) * 2018-05-31 2019-12-05 新华三技术有限公司 Multicast data message forwarding method and device
CN111010343A (en) * 2019-12-18 2020-04-14 锐捷网络股份有限公司 Method, device, network equipment and storage medium for forwarding multicast message
CN111262713A (en) * 2020-01-03 2020-06-09 优刻得科技股份有限公司 Message multicast processing method, processing device, readable medium and system

Citations (9)

* 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
US20090116505A1 (en) * 2007-11-07 2009-05-07 Alcatel Lucent Service Based VLAN Stacking
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

Patent Citations (9)

* 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
US20090116505A1 (en) * 2007-11-07 2009-05-07 Alcatel Lucent Service Based VLAN Stacking
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技术白皮书 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017162202A1 (en) * 2016-03-25 2017-09-28 新华三技术有限公司 Link state information processing
CN106411730A (en) * 2016-10-26 2017-02-15 杭州华三通信技术有限公司 Message forwarding method and message forwarding device
CN106411730B (en) * 2016-10-26 2019-11-12 新华三技术有限公司 A kind of message forwarding method and device
WO2019228433A1 (en) * 2018-05-31 2019-12-05 新华三技术有限公司 Multicast data message forwarding method and device
CN110061922A (en) * 2019-04-30 2019-07-26 新华三技术有限公司 Message forwarding method and device
CN110061922B (en) * 2019-04-30 2021-06-11 新华三技术有限公司 Message forwarding method and device
CN110445678A (en) * 2019-07-26 2019-11-12 新华三大数据技术有限公司 Multicast network detection method, device and forwarding device
CN110445678B (en) * 2019-07-26 2021-02-09 新华三大数据技术有限公司 Multicast network detection method, device and forwarding equipment
CN111010343A (en) * 2019-12-18 2020-04-14 锐捷网络股份有限公司 Method, device, network equipment and storage medium for forwarding multicast message
CN111262713A (en) * 2020-01-03 2020-06-09 优刻得科技股份有限公司 Message multicast processing method, processing device, readable medium and system

Also Published As

Publication number Publication date
CN103746922B (en) 2017-01-25

Similar Documents

Publication Publication Date Title
CN103746922A (en) Method and device for forwarding multicast messages
KR101495242B1 (en) Multicast data forwarding method and device supporting virtual terminal
CN103401774A (en) Message forwarding method and equipment based on stacking system
CN104734953B (en) The method, apparatus and interchanger of two layers of message isolation are realized based on VLAN
EP2883123B1 (en) Forwarding packet in stacking system
CN101635702B (en) Method for forwarding data packet using security strategy
CN102158421A (en) Method and unit for creating layer three interface
CN105991445A (en) Link aggregation group setting method and device
CN102223312B (en) Flow control method and equipment based on link status
CN103414801A (en) Method and device for synchronizing medium access control addresses in stacking system
CN102347889A (en) Message forwarding method, system and device in H-VPLS (Hierarchical Virtual Private local area network service)
CN104639437A (en) Forwarding method and apparatus of broadcast messages in stack system
CN105376131A (en) Multicast migration method and network equipment
CN103595639B (en) A kind of multicast forwarding list item processing method and processing device
CN107342958B (en) Distributed communication equipment and inter-board communication method
CN103685040B (en) MD (multicast domain) based multicast VPN (virtual private network) traffic optimization method and equipment
CN102523152A (en) Method and device for realizing outlet control
CN109688071A (en) A kind of flexible Ethernet message forwarding method and device
CN103441934B (en) A kind of learning method of stacking topology and device
CN106302191B (en) A kind of message forwarding method and device
CN105610737B (en) Hairpin interchanger implementation method and hairpin switch system based on OpenFlow
CN104702477B (en) A kind of method and device that realizing protecting tunnel, the network equipment
WO2016091186A1 (en) Method and system for preventing conflict from occurring in resources occupied by logical switch
CN106254243A (en) A kind of message forwarding method and device
CN110945847B (en) Method, device and system for rapidly recovering service in path switching process

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

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.

CP01 Change in the name or title of a patent holder