CN100456685C - A L2 multicast implementation method and access device - Google Patents

A L2 multicast implementation method and access device Download PDF

Info

Publication number
CN100456685C
CN100456685C CNB2006101670218A CN200610167021A CN100456685C CN 100456685 C CN100456685 C CN 100456685C CN B2006101670218 A CNB2006101670218 A CN B2006101670218A CN 200610167021 A CN200610167021 A CN 200610167021A CN 100456685 C CN100456685 C CN 100456685C
Authority
CN
China
Prior art keywords
multicast
port
layer
message
access device
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.)
Expired - Fee Related
Application number
CNB2006101670218A
Other languages
Chinese (zh)
Other versions
CN1996867A (en
Inventor
张志飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CNB2006101670218A priority Critical patent/CN100456685C/en
Publication of CN1996867A publication Critical patent/CN1996867A/en
Application granted granted Critical
Publication of CN100456685C publication Critical patent/CN100456685C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

This invention discloses one method and interface device with two layers of set broadcasting, which comprises the following steps: a, interface device establishes and maintains two layers of set list composed of set broadcast business information, interface information and two relations; b, on receiving the message, interface device judges the message terminal and relative interface ends in the list; if in accordance, transferring the message from relative exit end; otherwise, directly discarding set message.

Description

A kind of implementation method of Layer 2 Multicast and access device
Technical field
The present invention relates to multicasting technology, specifically, relate to a kind of implementation method and access device of Layer 2 Multicast.
Background technology
Multicast be meant that multicast source sends to packet in the network certain determine the node subclass, this subclass is called multicast group.The basic thought of multicast is that multicast source only sends a multicast packet, and the destination address of this part multicast packet is a multicast group address, and all members in the multicast group can receive same data copy.Multicast group with Class D IP address (224.0.0.0~239.255.255.255) identify, concrete user terminal is not represented in this IP address, user terminal adds certain multicast group promptly to be stated and oneself receives the message of destination address for this IP address.Under the communication modes of one-to-many, multicasting technology can reduce network traffics, improves network communication efficient.
The multicast of realizing in data link layer is called Layer 2 Multicast.Safeguarding on the access device has a Layer 2 Multicast table, and described Layer 2 Multicast table comprises multicast service, outbound port information, and the corresponding relation between the two.Multicast service is that (S represents multicast source address for S, G) information, and G represents multicast group address, and (S promptly becomes the member of this multicast group after G) to user terminal customization multicast service; Outbound port information is the logic interfacing information that multicast member is connected with access device, outbound port information may include only one and (S, G) corresponding output port, under the situation that has the identical multicast service of a plurality of user terminal customizations, outbound port information also may be one and (S, G) corresponding output port tabulation.
Access device is a two-layer switching equipment, comprise LAN switch (Local Access NetworkSwitch, LSW), the access controller in the wireless network (Access Controller, AC) etc.Access device is eavesdropped multicast message, receive multicast message after, according to the relevant information in the Layer 2 Multicast table, the multicast service of multicast message under it corresponding output port the Layer 2 Multicast table is forwarded.That is to say that multicast message only can send on the port that is connected with multicast member.
Owing to generally include a plurality of two-layer switching equipments in one network, so just the Layer 2 Multicast loop might occur.Fig. 1 is for existing the schematic network structure of Layer 2 Multicast loop in the prior art.As shown in Figure 1, comprise three switches in this multicast network: the first switch LSW1, the second switch LSW2 and the 3rd switch LSW3.Connection between LSW1, LSW2, the LSW3 both can be two layers of common connection, also can be that two layer tunnel connects.As can be seen, LSW1, LSW2, LSW3 have constituted a loop.For the user terminal STA that has customized multicast service, multicast source, promptly (Media Server, multicast message MS) have two passes to arrive this user terminal to media stream server, and one is LSW1-LSW2-LSW3, and other one is LSW1-LSW3.Therefore, LSW3 will transmit twice to identical multicast message, and STA also can receive two parts of identical multicast messages simultaneously, and this has caused resource waste, and has increased the work load of access device.
In the prior art, switching equipment utilizes Spanning-Tree Protocol (Spanning Tree Protocol RTP) solves the Layer 2 Multicast loop problem.Its method that adopts is when having redundant link in network, only to allow primary link to be activated, and disconnect redundant link; Be disconnected if primary link hinders for some reason, reserve link will be activated automatically.But this needs switching equipment to support STP.If switching equipment is not supported STP, though perhaps support STP, there is heterogeneous network, do not participate in generating the two layer tunnel interface that tree is calculated such as existing, then still can not avoid the Layer 2 Multicast loop.For example at WLAN (wireless local area network) (Wireless LocalAreaNetwork, WLAN) in, during wireless roaming subscriber, between ownership place AC and roaming place AC, will there be the two layer tunnel interface, as previously mentioned, this two layer tunnel interface does not participate in generating tree and calculates, thereby can not be by STP solution Layer 2 Multicast loop problem wherein.
Therefore, how to provide a kind of implementation method and access device of Layer 2 Multicast, overcome the Layer 2 Multicast loop problem, become the technical problem that needs to be resolved hurrily.
Summary of the invention
Technical problem to be solved by this invention provides a kind of implementation method and access device of Layer 2 Multicast, and overcoming the Layer 2 Multicast loop problem, thereby conserve system resources reduces the work load of access device.
In order to address the above problem, it is as follows to the invention provides technical scheme:
A kind of implementation method of Layer 2 Multicast may further comprise the steps:
(A) access device is set up and is safeguarded the Layer 2 Multicast table, and described Layer 2 Multicast table comprises multicast service, ingress port information, and the corresponding relation between the two;
(B) access device is when receiving multicast message, and whether the corresponding inbound port in the Layer 2 Multicast table of the multicast service under the port of judging the receiving group message and the multicast message is consistent, as if unanimity, this multicast message forwarded from corresponding outbound port; Otherwise, directly abandon this multicast message.
Method of the present invention, wherein, in the step (A), set up and safeguard that the method for Layer 2 Multicast table comprises: the multicast customization message that access device eavesdropping user terminal sends, set up the Layer 2 Multicast table or the Layer 2 Multicast table is upgraded according to this multicast customization message; And
When determining that described user terminal is first member of the multicast group that it added, corresponding ingress port information is set to particular value in the Layer 2 Multicast table.
Method of the present invention, wherein, step (A) further comprises afterwards:
Access device is when its certain port is unavailable, and corresponding ingress port information is set to particular value in the Layer 2 Multicast table.
Method of the present invention, wherein, in the step (B), when the corresponding inbound port in the Layer 2 Multicast table of the multicast service under the port of determining the receiving group message and multicast message is inconsistent, if the inbound port of described correspondence is a particular value, then the inbound port of described correspondence is replaced with the port of described receiving group message, and this multicast message is forwarded from corresponding outbound port.
Method of the present invention, wherein, step (A) further comprises before, sets in advance the priority of access device inbound port, and preserves this precedence information;
In the step (B), when the corresponding inbound port in the Layer 2 Multicast table of the multicast service under the port of determining the receiving group message and multicast message is inconsistent, if the priority height of the inbound port of the described correspondence of priority ratio of the port of described receiving group message, then the inbound port of described correspondence is replaced with the port of described receiving group message, and this multicast message is forwarded from corresponding outbound port.
A kind of access device comprises, multicast customized module, memory module, multicast eavesdropping module, multicast forwarding module, wherein:
The multicast customized module, the Layer 2 Multicast table is set up and safeguarded to the multicast customization message that is used for sending according to user terminal, and the Layer 2 Multicast table sent to memory module, described Layer 2 Multicast table comprises multicast service, ingress port information, and the corresponding relation between the two;
Memory module is used to preserve described Layer 2 Multicast table;
Multicast eavesdropping module, be used for the receiving group message, whether the corresponding inbound port in the Layer 2 Multicast table of the multicast service under the port of judging the receiving group message and the multicast message is consistent, when determining that the two is consistent, give the multicast forwarding module with this multicast message and forward from corresponding outbound port; And when determining that the two is inconsistent, directly abandon this multicast message.
Access device of the present invention, wherein, the multicast customized module is being set up according to the multicast customization message of user terminal transmission and is being safeguarded in the process of Layer 2 Multicast table, when determining that described user terminal is first member of the multicast group that it added, corresponding ingress port information is set to particular value in the Layer 2 Multicast table.
Access device of the present invention wherein, also comprises: the port monitoring modular, and be used for port is monitored, and monitoring certain port when unavailable, corresponding ingress port information is set to particular value in the Layer 2 Multicast table.
Access device of the present invention, wherein, multicast eavesdropping module, it is inconsistent to be further used for multicast service under the port of determining the receiving group message and multicast message corresponding inbound port in the Layer 2 Multicast table, and when the inbound port of described correspondence is particular value, the inbound port of described correspondence is replaced with the port of described receiving group message, and give the multicast forwarding module with this multicast message and forward from corresponding outbound port.
Access device of the present invention wherein, comprises also that port priority is provided with module, is used to be provided with and preserve the precedence information of access device inbound port; Multicast eavesdropping module, it is inconsistent to be further used for multicast service under the port of determining the receiving group message and multicast message corresponding inbound port in the Layer 2 Multicast table, and when the priority of inbound port of the described correspondence of priority ratio of port of determining described receiving group message according to described precedence information is high, the inbound port of described correspondence is replaced with the port of described receiving group message, and give the multicast forwarding module with this multicast message and forward from corresponding outbound port.
A kind of computer software product wherein, comprises that some instructions are with so that a computer equipment is carried out method of the present invention.
A kind of computer equipment wherein, comprises in order to the software of carrying out the method for the invention and moves the necessary hardware of this software.
Compared with prior art, the invention has the beneficial effects as follows:
By being added to port information in the Layer 2 Multicast table of safeguarding at access device, when the receiving group message, whether the corresponding inbound port in the Layer 2 Multicast table of the multicast service under the port of judging the receiving group message and the multicast message is consistent, if consistent, this multicast message is forwarded from corresponding outbound port; Otherwise, directly abandon this multicast message.Like this, access device is only from an inbound port receiving multicast business, and receiving equipment and user terminal can not be received the multicast message of repetition, have solved the Layer 2 Multicast loop problem, thereby have saved system resource, have alleviated the work load of access device.
Description of drawings
Fig. 1 is for existing the schematic network structure of Layer 2 Multicast loop in the prior art;
Fig. 2 is the flow chart of the implementation method of the described Layer 2 Multicast of the embodiment of the invention;
Fig. 3 is the structural representation of the described access device of the embodiment of the invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, describe the present invention below in conjunction with the accompanying drawings and the specific embodiments.
Fig. 2 is the flow chart of the implementation method of the described Layer 2 Multicast of the embodiment of the invention.Describe the implementation method of the described Layer 2 Multicast of the embodiment of the invention below in conjunction with Fig. 1 and Fig. 2, this method may further comprise the steps:
Step 201: access device is set up also and is safeguarded the Layer 2 Multicast table, and described Layer 2 Multicast table comprises multicast service, ingress port information, outbound port information, and multicast service respectively and the corresponding relation between the ingress port information, outbound port information.
The multicast customization message that access device eavesdropping user terminal sends is set up the Layer 2 Multicast table or the Layer 2 Multicast table is upgraded according to this multicast customization message.Layer 2 Multicast list item usefulness (S, G), in-port, out-port-list} represent that wherein: (S is a multicast source address for S, G) expression multicast service, and G is a multicast group address; In-port represents the inbound port of multicast service, is called source port again; Out-port-list represents the outbound port of multicast service.
STA is by sending multicast customization message and add or leave certain multicast group.Multicast customization message can (perhaps multicast member be found agreement (Multicast Listenter Discovery, MLD) message for Internet Group Member Protocol, IGMP) message for the Internet group is broadcast member's agreement.In the present embodiment, STA is by the LSW3 access network, and by the application of IGMP report message on LSW3, add multicast group (S, G).If STA is that (S after first member G), LSW3 intercept described IGMP report message, sets up corresponding Layer 2 Multicast list item to multicast group.Because when setting up the Layer 2 Multicast list item and do not know ingress port information, this moment, inbound port was represented with a particular value, such as representing that with * outbound port is a port 3, the Layer 2 Multicast list item of foundation be (S, G), *, { port 3}}.
If other user terminal is arranged again, such as user terminal STA1 also need on LSW3, add multicast group (S, G), after LSW3 intercepts the IGMP report message that STA1 sends, out-port-list upgrades to outbound port information, increase the port (port 4, not shown) that STA1 inserts LSW3 in out-port-list, the Layer 2 Multicast list item after the renewal is { (S, G), *, { port 3, port 4}}.
Access device is a two-layer switching equipment, comprises AC in LSW, the wireless network etc.Access device is eavesdropped multicast message, receive multicast message after, according to the relevant information in the Layer 2 Multicast table, the multicast service of multicast message under it corresponding output port the Layer 2 Multicast table is forwarded.
Step 202: access device is when receiving multicast message, whether the corresponding inbound port in the Layer 2 Multicast table of the multicast service under the port of judging the receiving group message and the multicast message is consistent, if consistent, this multicast message is forwarded from corresponding outbound port; Otherwise, directly abandon this multicast message.
Multicast service (S, G) multicast message (supposing by the LSW1-LSW3 passage) arrives LSW3, LSW3 carries out the inbound port inspection to this multicast message, because the port (port one) that receives this multicast message is with (S in the Layer 2 Multicast table, G) Dui Ying inbound port (being particular value) is inconsistent, so, directly abandon this multicast message.
At this moment, because (S, G) Dui Ying inbound port is a particular value, can determine that then this is multicast service (S, first part of multicast message G) in the Layer 2 Multicast table.In this case, the described method of the embodiment of the invention further with in the Layer 2 Multicast table (S, G) Dui Ying inbound port replaces with the port (port one) that receives this multicast message, amended Layer 2 Multicast list item be (S, G), { port one }, { port 3, port 4}}.
When follow-up multicast message is carried out the inbound port inspection, if follow-up multicast message is to arrive LSW3 by the LSW1-LSW3 passage, because the port (port one) that receives this multicast message is with (S in the Layer 2 Multicast table, G) Dui Ying inbound port (port one) unanimity, then with this multicast message (S from the Layer 2 Multicast table, G) { port 3, port 4} forwards corresponding output port.If receive multicast message by the LSW1-LSW2-LSW3 passage, the port (port 2) of receiving group message is with (S, G) Dui Ying inbound port (port one) is inconsistent, then directly abandons this multicast message in the Layer 2 Multicast table at this moment.Certainly, for first part of multicast message, can not abandon yet, but this multicast message is forwarded from corresponding outbound port.
Like this, access device is only from an inbound port receiving multicast business, and multicast message is forwarded to user terminal, and access device and user terminal can not be received the multicast message of repetition, thereby have solved the Layer 2 Multicast loop problem.
In the implementation method of the described Layer 2 Multicast of the embodiment of the invention, access device is further monitored its port, monitoring certain port when unavailable (such as port DOWN, deleted or disabled), corresponding ingress port information is set to particular value in the Layer 2 Multicast table.Because when port is unavailable, if multicast service (S in the Layer 2 Multicast table, G) Dui Ying inbound port is this unavailable port, because this unavailable port can not the receiving group message, but the multicast message that receives from other ports all is dropped, and causes user terminal not receive the message of the multicast service of its customization always.And after corresponding ingress port information is set to particular value in the Layer 2 Multicast table, if there is multicast message to arrive from other ports, as previously mentioned, corresponding inbound port will be replaced by the port that receives this multicast message in the Layer 2 Multicast table, like this, inbound port after follow-up multicast message also just can be replaced from this receives, and forwards from corresponding outbound port.
In the implementation method of the described Layer 2 Multicast of another embodiment of the present invention, also set in advance the priority of access device inbound port, and preserve this precedence information.The purpose that port priority is set is according to the ability of each port of access device and load condition port to be optimized configuration.Access device is from the high port receiving group message of priority, thereby improved the efficiency of transmission of access device.Specifically, be exactly that multicast service under the port of determining the receiving group message and multicast message corresponding inbound port in the Layer 2 Multicast table is when inconsistent, if the priority height of the inbound port of the described correspondence of priority ratio of the port of described receiving group message, then the inbound port of described correspondence is replaced with the port of described receiving group message, and this multicast message is forwarded from corresponding outbound port.
Fig. 3 is the structural representation of the described access device of the embodiment of the invention, and as shown in Figure 3, the described access device of the embodiment of the invention comprises multicast customized module 31, memory module 32, multicast eavesdropping module 33 and multicast forwarding module 34.
Multicast customized module 31, the Layer 2 Multicast table is set up and safeguarded to the multicast customization message that is used for sending according to user terminal, and the Layer 2 Multicast table sent to memory module 32, described Layer 2 Multicast table comprises multicast service, ingress port information, outbound port information, and multicast service respectively and the corresponding relation between the ingress port information, outbound port information.
The multicast customization message that multicast customized module 31 eavesdropping user terminals send is set up the Layer 2 Multicast table or the Layer 2 Multicast table is upgraded according to this multicast customization message.Layer 2 Multicast list item usefulness (S, G), in-port, out-port-list} represent that wherein: (S is a multicast source address for S, G) expression multicast service, and G is a multicast group address; In-port represents the inbound port of multicast service; Out-port-list represents the outbound port of multicast service.User terminal is by sending multicast customization message and add or leave certain multicast group.Multicast customization message can be IGMP message, perhaps MLD message.
If user terminal is that (multicast customized module 31 is set up corresponding Layer 2 Multicast list item after intercepting multicast customization message to multicast group for S, first member G).Because when setting up the Layer 2 Multicast list item and do not know ingress port information, this moment, inbound port was represented with a particular value, for example represented with *.
Memory module 32 is used to preserve described Layer 2 Multicast table.Multicast customized module 31, multicast eavesdropping module 33, multicast forwarding module 34 can read the Layer 2 Multicast table that memory module 32 is preserved, and multicast customized module 31, multicast eavesdropping module 33 can also be made amendment to this Layer 2 Multicast table.
Multicast eavesdropping module 33, be used for the receiving group message, whether the corresponding inbound port in the Layer 2 Multicast table of the multicast service under the port of judging the receiving group message and the multicast message is consistent, when definite the two unanimity, this multicast message sent to multicast forwarding module 34; And when determining that the two is inconsistent, directly abandon this multicast message.Can guarantee access device so only from an inbound port receiving multicast business, and multicast message is forwarded to multicast forwarding module 34, receiving equipment and user terminal can not be received the multicast message of repetition.
Multicast forwarding module 34 is used for according to the Layer 2 Multicast table described multicast message being forwarded from corresponding outbound port.After multicast forwarding module 34 receives multicast message, from the Layer 2 Multicast table that memory module 32 is preserved, obtain the multicast service corresponding output port under this multicast message, and described multicast message is forwarded from these corresponding output port.
In the described access device of another embodiment of the present invention, also comprise the port monitoring modular, be used for port is monitored, and monitoring certain port when unavailable, corresponding ingress port information is set to particular value in the Layer 2 Multicast table.Because when port is unavailable, if multicast service (S in the Layer 2 Multicast table, G) corresponding output port is this unavailable port, because this unavailable port can not the receiving group message, but the multicast message that receives from other ports all is dropped, and causes user terminal not receive the message of the multicast service of its customization always.Thereby corresponding ingress port information is set to the generation that particular value is avoided this situation in need the Layer 2 Multicast table.
Multicast eavesdropping module 33, it is inconsistent to be further used for multicast service under the port of determining the receiving group message and multicast message corresponding inbound port in the Layer 2 Multicast table, and when the inbound port of described correspondence is particular value, the inbound port of described correspondence is replaced with the port of described receiving group message, and this multicast message is sent to multicast forwarding module 34.After the inbound port of described correspondence replaced with the port of described receiving group message, follow-up multicast message just can receive by the inbound port after upgrading.
In the described access device of further embodiment of this invention, comprise that also port priority is provided with module, be used to be provided with and preserve the precedence information of access device inbound port; Multicast eavesdropping module 33, it is inconsistent to be further used for multicast service under the port of determining the receiving group message and multicast message corresponding inbound port in the Layer 2 Multicast table, and when the priority of inbound port of the described correspondence of priority ratio of port of determining described receiving group message according to described precedence information is high, the inbound port of described correspondence is replaced with the port of described receiving group message, and this multicast message is sent to the multicast forwarding module.The purpose that port priority is set is according to the ability of each port of access device and load condition port to be optimized configuration.Access device is from the high port receiving group message of priority, thereby improved the efficiency of transmission of access device.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds necessary general hardware platform, can certainly pass through hardware, but obviously the former is better execution mode.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product comprises that some instructions are with so that a computer equipment (can be a personal computer, server, the perhaps network equipment etc.) carry out the described method of the embodiment of the invention.
Equally, can also realize that described computer equipment comprises in order to the software of carrying out the method for the invention and moves the necessary hardware of this software by a kind of computer equipment.
In sum, the implementation method of the described Layer 2 Multicast of the embodiment of the invention and access device, by being added to port information in the Layer 2 Multicast table of safeguarding at access device, when the receiving group message, whether the corresponding inbound port in the Layer 2 Multicast table of the multicast service under the port of judging the receiving group message and the multicast message is consistent, if consistent, this multicast message is forwarded from corresponding outbound port; Otherwise, directly abandon this multicast message.Like this, access device is only from an inbound port receiving multicast business, and access device and user terminal can not be received the multicast message of repetition, have solved the Layer 2 Multicast loop problem, thereby have saved system resource, have alleviated the work load of access device.
Should be noted that at last, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement technical scheme of the present invention, and not breaking away from the spiritual scope of technical solution of the present invention, it all should be encompassed in the middle of the claim scope of the present invention.

Claims (10)

1. the implementation method of a Layer 2 Multicast is characterized in that, may further comprise the steps:
(A) access device is set up and is safeguarded the Layer 2 Multicast table, and described Layer 2 Multicast table comprises multicast service, ingress port information, and the corresponding relation between the two;
(B) access device is when receiving multicast message, and whether the corresponding inbound port in the Layer 2 Multicast table of the multicast service under the port of judging the receiving group message and the multicast message is consistent, as if unanimity, this multicast message forwarded from corresponding outbound port; Otherwise, directly abandon this multicast message.
2. the implementation method of Layer 2 Multicast according to claim 1 is characterized in that, in the step (A), sets up and safeguards that the method for Layer 2 Multicast table comprises:
The multicast customization message that access device eavesdropping user terminal sends is set up the Layer 2 Multicast table or the Layer 2 Multicast table is upgraded according to this multicast customization message; And
When determining that described user terminal is first member of the multicast group that it added, corresponding ingress port information is set to particular value in the Layer 2 Multicast table.
3. the implementation method of Layer 2 Multicast according to claim 2 is characterized in that, step (A) further comprises afterwards:
Access device is when its certain port is unavailable, and corresponding ingress port information is set to particular value in the Layer 2 Multicast table.
4. the implementation method of a Layer 2 Multicast is characterized in that, may further comprise the steps:
(A) access device is set up and is safeguarded the Layer 2 Multicast table, and described Layer 2 Multicast table comprises multicast service, ingress port information, and the corresponding relation between the two;
Described foundation also safeguards that the method for Layer 2 Multicast table comprises:
The multicast customization message that access device eavesdropping user terminal sends is set up the Layer 2 Multicast table or the Layer 2 Multicast table is upgraded according to this multicast customization message;
(B) access device is when receiving multicast message, and whether the corresponding inbound port in the Layer 2 Multicast table of the multicast service under the port of judging the receiving group message and the multicast message is consistent, as if unanimity, this multicast message forwarded from corresponding outbound port; Otherwise, if when the inbound port of described correspondence is set to particular value, then the inbound port of described correspondence is replaced with the port of described receiving group message, and this multicast message is forwarded from corresponding outbound port.
5. the implementation method of a Layer 2 Multicast is characterized in that, may further comprise the steps:
(A0) set in advance the priority of access device inbound port, and preserve this precedence information;
(A) access device is set up and is safeguarded the Layer 2 Multicast table, and described Layer 2 Multicast table comprises multicast service, ingress port information, and the corresponding relation between the two;
Described foundation also safeguards that the method for Layer 2 Multicast table comprises:
The multicast customization message that access device eavesdropping user terminal sends is set up the Layer 2 Multicast table or the Layer 2 Multicast table is upgraded according to this multicast customization message;
(B) access device is when receiving multicast message, and whether the corresponding inbound port in the Layer 2 Multicast table of the multicast service under the port of judging the receiving group message and the multicast message is consistent, as if unanimity, this multicast message forwarded from corresponding outbound port; Otherwise, if the priority height of the inbound port of the described correspondence of priority ratio of the port of described receiving group message, then the inbound port of described correspondence is replaced with the port of described receiving group message, and this multicast message is forwarded from corresponding outbound port.
6. an access device is characterized in that, comprise, and multicast customized module, memory module, multicast eavesdropping module, multicast forwarding module, wherein:
The multicast customized module, the Layer 2 Multicast table is set up and safeguarded to the multicast customization message that is used for sending according to user terminal, and the Layer 2 Multicast table sent to memory module, described Layer 2 Multicast table comprises multicast service, ingress port information, and the corresponding relation between the two;
Memory module is used to preserve described Layer 2 Multicast table;
Multicast eavesdropping module, be used for the receiving group message, whether the corresponding inbound port in the Layer 2 Multicast table of the multicast service under the port of judging the receiving group message and the multicast message is consistent, when determining that the two is consistent, give the multicast forwarding module with this multicast message and forward from corresponding outbound port; And when determining that the two is inconsistent, directly abandon this multicast message.
7. access device as claimed in claim 6 is characterized in that:
The multicast customized module is being set up according to the multicast customization message of user terminal transmission and is being safeguarded in the process of Layer 2 Multicast table, when determining that described user terminal is first member of the multicast group that it added, corresponding ingress port information is set to particular value in the Layer 2 Multicast table.
8. access device according to claim 7 is characterized in that, also comprises:
The port monitoring modular is used for port is monitored, and is monitoring certain port when unavailable, and corresponding ingress port information is set to particular value in the Layer 2 Multicast table.
9. an access device is characterized in that, comprise, and multicast customized module, memory module, multicast eavesdropping module, multicast forwarding module, wherein:
The multicast customized module, the Layer 2 Multicast table is set up and safeguarded to the multicast customization message that is used for sending according to user terminal, and the Layer 2 Multicast table sent to memory module, described Layer 2 Multicast table comprises multicast service, ingress port information, and the corresponding relation between the two;
Memory module is used to preserve described Layer 2 Multicast table;
Multicast eavesdropping module, be used for the receiving group message, whether the corresponding inbound port in the Layer 2 Multicast table of the multicast service under the port of judging the receiving group message and the multicast message is consistent, when determining that the two is consistent, give the multicast forwarding module with this multicast message and forward from corresponding outbound port; And determining that the two is inconsistent, and the inbound port of described correspondence is when being set to particular value, and the inbound port of described correspondence is replaced with the port of described receiving group message, and gives the multicast forwarding module with this multicast message and forward from corresponding outbound port.
10. an access device is characterized in that, comprises, multicast customized module, memory module, multicast eavesdropping module, multicast forwarding module, port priority are provided with module, wherein:
Port priority is provided with module, is used to be provided with and preserve the precedence information of access device inbound port;
The multicast customized module, the Layer 2 Multicast table is set up and safeguarded to the multicast customization message that is used for sending according to user terminal, and the Layer 2 Multicast table sent to memory module, described Layer 2 Multicast table comprises multicast service, ingress port information, and the corresponding relation between the two;
Memory module is used to preserve described Layer 2 Multicast table;
Multicast eavesdropping module, be used for the receiving group message, whether the corresponding inbound port in the Layer 2 Multicast table of the multicast service under the port of judging the receiving group message and the multicast message is consistent, when determining that the two is consistent, give the multicast forwarding module with this multicast message and forward from corresponding outbound port; And determining that the two is inconsistent, and when the priority of inbound port of the described correspondence of priority ratio of port of determining described receiving group message according to described precedence information is high, the inbound port of described correspondence is replaced with the port of described receiving group message, and give the multicast forwarding module with this multicast message and forward from corresponding outbound port.
CNB2006101670218A 2006-12-13 2006-12-13 A L2 multicast implementation method and access device Expired - Fee Related CN100456685C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006101670218A CN100456685C (en) 2006-12-13 2006-12-13 A L2 multicast implementation method and access device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006101670218A CN100456685C (en) 2006-12-13 2006-12-13 A L2 multicast implementation method and access device

Publications (2)

Publication Number Publication Date
CN1996867A CN1996867A (en) 2007-07-11
CN100456685C true CN100456685C (en) 2009-01-28

Family

ID=38251815

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006101670218A Expired - Fee Related CN100456685C (en) 2006-12-13 2006-12-13 A L2 multicast implementation method and access device

Country Status (1)

Country Link
CN (1) CN100456685C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119322B (en) * 2007-09-11 2012-02-08 杭州华三通信技术有限公司 Packet processing method and node equipment in MESH network
CN103326996B (en) * 2012-03-23 2018-08-07 南京中兴软件有限责任公司 A kind of method and system that control multicast member is added

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6857027B1 (en) * 2000-11-14 2005-02-15 3Com Corporation Intelligent network topology and configuration verification using a method of loop detection
CN1787520A (en) * 2004-12-08 2006-06-14 华为技术有限公司 System and method for realizing internet set managing protocol on elastic packet ring
CN1863147A (en) * 2005-09-07 2006-11-15 华为技术有限公司 Method for implementing multicast data stream retransmission in virtual special LAN service
CN1866845A (en) * 2006-05-08 2006-11-22 国家数字交换系统工程技术研究中心 Virtual identifying method for multicast forwarding table output port

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6857027B1 (en) * 2000-11-14 2005-02-15 3Com Corporation Intelligent network topology and configuration verification using a method of loop detection
CN1787520A (en) * 2004-12-08 2006-06-14 华为技术有限公司 System and method for realizing internet set managing protocol on elastic packet ring
CN1863147A (en) * 2005-09-07 2006-11-15 华为技术有限公司 Method for implementing multicast data stream retransmission in virtual special LAN service
CN1866845A (en) * 2006-05-08 2006-11-22 国家数字交换系统工程技术研究中心 Virtual identifying method for multicast forwarding table output port

Also Published As

Publication number Publication date
CN1996867A (en) 2007-07-11

Similar Documents

Publication Publication Date Title
EP1763204B1 (en) System and method for redundant switches taking into account learning bridge functionality
US7570635B2 (en) Multicast network unit, multicast network system, and multicast method
CN103634490B (en) The gateway that a kind of enterprise network being provided for use SIP can be survived
CN101471885B (en) Virtual multicast routing for a cluster having state synchronization
CN101459606B (en) Extranet networking method, system and device for multicast VPN
CN102075343B (en) An out-of-band management realization method, a system for the same and an out-of-band management switch
CN100417141C (en) Group broadcasting business realizing method
EP2081336A1 (en) Business message transmission method, system and apparatus
CN103166800B (en) Message transmission method for dual-network redundant message bus in cross failure
CN102238069B (en) Data processing method and device for link switching process
CN1937782A (en) Frame device and its message transmitting method
CN102281165A (en) Fault detection method based on QoS, system and apparatus thereof
CN101009669B (en) A method and system and route device for transmitting the multicast message
EP1271969A2 (en) Signaling gateway system and network management method
CN101997724A (en) Method and device for updating multicast forwarding entries
CN102123080A (en) Data forwarding device and cable fastener plate and data forwarding method
CN101741740A (en) Method, system and equipment for balancing loads
CN100456685C (en) A L2 multicast implementation method and access device
US7710880B2 (en) Method and apparatus for security protection of service interruption in switch network
CN112653661B (en) Media recovery method and system under VoIP network limitation
CN201690608U (en) Network structure for bearing soft switch IP
JP5110915B2 (en) Wireless IP telephone and wireless IP telephone system
CN104702602A (en) System and method of realizing dynamically creating channel and expansion of gateway cluster based on SIP (System in Package)
JP2003283567A (en) Data communication system and method, server device, client device, repeater, and program
WO2006058464A1 (en) Short message center cluster system and control method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

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

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053, Hangzhou hi tech Industrial Development Zone, Zhejiang hi tech Industrial Park six and road HUAWEI Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090128

Termination date: 20191213

CF01 Termination of patent right due to non-payment of annual fee