CN106059935B - unknown multicast message processing method and device - Google Patents

unknown multicast message processing method and device Download PDF

Info

Publication number
CN106059935B
CN106059935B CN201610621771.1A CN201610621771A CN106059935B CN 106059935 B CN106059935 B CN 106059935B CN 201610621771 A CN201610621771 A CN 201610621771A CN 106059935 B CN106059935 B CN 106059935B
Authority
CN
China
Prior art keywords
multicast
forwarding table
unknown
multicast forwarding
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610621771.1A
Other languages
Chinese (zh)
Other versions
CN106059935A (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
New H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201610621771.1A priority Critical patent/CN106059935B/en
Publication of CN106059935A publication Critical patent/CN106059935A/en
Application granted granted Critical
Publication of CN106059935B publication Critical patent/CN106059935B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/16Multipoint routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The application provides a processing method and device of unknown multicast messages. In the application, the second type multicast forwarding table entry used for indicating forwarding of the unknown multicast message is configured in advance, so that the network device can be ensured to directly forward the unknown multicast message based on the second type multicast forwarding table entry when receiving the unknown multicast message, and the impact on a CPU (central processing unit) caused by the fact that the unknown multicast message is uploaded to the CPU every time the unknown multicast message is received in the prior art is avoided.

Description

Unknown multicast message processing method and device
Technical Field
the present application relates to network communication technologies, and in particular, to a method and an apparatus for processing an unknown multicast packet.
Background
In network application, each network device locally stores an ACL entry, and the ACL entry is used for indicating that an unknown multicast message is uploaded to a CPU. The unknown multicast packet herein specifically refers to a multicast packet that does not match with a local existing multicast forwarding entry, and may include an unknown multicast data packet and an unknown multicast protocol packet.
based on the ACL table item, when the network equipment receives the unknown multicast message, the unknown multicast message is uploaded to the CPU based on the ACL table item. When receiving the unknown multicast message, the CPU issues a multicast forwarding entry (specifically, a TCAM entry) to the local hardware of the network device, where the matching characteristic of the multicast forwarding entry is a destination IP address of the unknown multicast message, and an exit is a local router port in a VLAN to which the unknown multicast message belongs. And then, when the network equipment subsequently receives the multicast message of the target IP address, matching the multicast forwarding table entry, and forwarding the multicast message through an output port in the matched multicast forwarding table entry.
that is, the network device will upload each unknown multicast packet received to the CPU, which will greatly impact the CPU.
disclosure of Invention
the application provides a processing method and a processing device for an unknown multicast message, so as to prevent the unknown multicast message from being sent to a CPU to cause impact on the CPU.
the technical scheme provided by the application comprises the following steps:
A processing method of unknown multicast messages is applied to network equipment and comprises the following steps:
receiving a multicast message;
Finding no forwarding table item matched with the multicast message in a local first-class multicast forwarding table item, and determining that the multicast message is an unknown multicast message;
Finding a multicast forwarding table item matched with the unknown multicast message in a local second-class multicast forwarding table item, and forwarding the unknown multicast message through the found multicast forwarding table item;
the first multicast forwarding table entry is a multicast forwarding table entry dynamically created based on a multicast protocol, the second multicast forwarding table entry is a multicast forwarding table entry configured in advance for indicating forwarding of an unknown multicast message, and a mask of the first multicast forwarding table entry is longer than that of the second multicast forwarding table entry.
A processing device for unknown multicast messages, which is applied to network equipment, comprises:
A receiving unit, configured to receive a multicast packet;
The matching unit is used for not finding a forwarding table item matched with the multicast message in a local first-class multicast forwarding table item of the storage unit, determining that the multicast message is an unknown multicast message, and finding a multicast forwarding table item matched with the unknown multicast message in a local second-class multicast forwarding table item of the storage unit;
The storage unit is used for storing a first multicast forwarding table item and a second multicast forwarding table item; the first multicast forwarding table entry is a multicast forwarding table entry dynamically created based on a multicast protocol, the second multicast forwarding table entry is a pre-configured multicast forwarding table entry for indicating forwarding of an unknown multicast message, and a mask of the first multicast forwarding table entry is longer than a mask of the second multicast forwarding table entry;
And the forwarding unit is used for forwarding the unknown multicast message through the multicast forwarding table entry matched by the matching unit.
According to the technical scheme, the second type multicast forwarding table entry used for indicating forwarding of the unknown multicast message is configured in advance, so that the network equipment can be ensured to directly forward the unknown multicast message based on the second type multicast forwarding table entry when receiving the unknown multicast message, and the impact on a CPU (central processing unit) caused by the fact that the unknown multicast message is uploaded to the CPU every time the unknown multicast message is received in the prior art is avoided.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow chart of a method provided by the present invention;
FIG. 2 is a schematic diagram of an embodiment provided by the present invention;
Fig. 3 is a schematic structural diagram of the device provided by the present invention.
Detailed Description
in order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
referring to fig. 1, fig. 1 is a flow chart of a method provided by the present invention. The flow is applied to a network device. As shown in fig. 1, the process may include the following steps:
Step 101, receiving a multicast message.
Step 102, a forwarding table entry matched with the multicast message is not found in the local first-class multicast forwarding table entry, and the multicast message is determined to be an unknown multicast message.
in the present application, the first type of multicast forwarding entry is a multicast forwarding entry dynamically created based on a multicast protocol. In step 102, when a forwarding entry matching the multicast packet is found in the local first-class multicast forwarding entry, the multicast packet is forwarded through the found forwarding entry, which is similar to the forwarding processing of the existing multicast packet.
Step 103, finding a multicast forwarding table item matched with the unknown multicast message in the local second-class multicast forwarding table item, and forwarding the unknown multicast message through the found multicast forwarding table item.
in the present application, the second-class multicast forwarding entry is different from the first-class multicast forwarding entry, and is a multicast forwarding entry configured in advance for indicating forwarding of an unknown multicast packet.
As an embodiment, in the present application, regardless of the first type of multicast forwarding table entry or the second type of multicast forwarding table entry, it is preferably issued to a Ternary Content Addressable Memory (TCAM), also referred to as TCAM table entry. The TCAM supports a mask-based matching function and is a multicast forwarding entry that preferentially matches the mask length. Based on this, in the present application, in order to ensure that the received multicast packet is first matched with the first-class multicast forwarding table entry, the mask of the second-class multicast forwarding table entry is configured to be smaller than the first-class multicast forwarding table entry. Generally, according to the multicast protocol, the mask length of the first type multicast forwarding entry is 32 bits, and thus, the mask length of the second type multicast forwarding entry may be configured to be smaller than 32 bits, for example, 11 bits.
Thus, the flow shown in fig. 1 is completed.
it can be seen that, in the present application, by pre-configuring the second type multicast forwarding table entry for indicating forwarding of the unknown multicast packet, it can be ensured that the network device directly forwards the unknown multicast packet based on the second type multicast forwarding table entry when receiving the unknown multicast packet, and impact on the CPU caused by sending the unknown multicast packet to the CPU every time the unknown multicast packet is received in the prior art is avoided.
As an embodiment, the above-described second type of multicast forwarding entry may include two types of multicast forwarding entries, and for convenience of description, the two types of multicast forwarding entries are respectively denoted as a first multicast forwarding entry and a second multicast forwarding entry. Here, the number N of the first multicast forwarding entries included in the second type multicast forwarding entry is greater than or equal to 1, and when N is greater than 1, the N first multicast forwarding entries are different, and the structure of the first multicast forwarding entry will be described in detail below. Similarly, the number M of second multicast forwarding entries included in the second type multicast forwarding entry is greater than or equal to 1, and when M is greater than 1, the M second multicast forwarding entries are different, and the structure of the second multicast entry will be described in detail below.
in the application, the first multicast forwarding table entry is used for indicating forwarding of an unknown multicast protocol message, and the second multicast forwarding table entry is used for indicating forwarding of an unknown multicast data message.
as an embodiment, the mask of the first multicast forwarding entry is longer than the mask of the second multicast forwarding entry. Based on the above-described multicast forwarding entry with a priority matching mask length, finding a multicast forwarding entry matching the unknown multicast packet in the local second-class multicast forwarding entry in step 102 includes:
step a1, searching a first multicast forwarding table item matched with the unknown multicast message in all first multicast forwarding table items contained in the local second type multicast forwarding table item, if the first multicast forwarding table item is searched, executing step a2, and if the first multicast forwarding table item is not searched, executing step a 3;
step a2, using the searched first multicast forwarding table as the multicast forwarding table matched with the unknown multicast message;
Step a3, finding out the second multicast forwarding table item matched with the unknown multicast message from all the second multicast forwarding table items contained in the local second-class multicast forwarding table item, and using the found second multicast forwarding table item as the multicast forwarding table item matched with the unknown multicast message.
In the present application, the first multicast forwarding entry and the second multicast forwarding entry, which have similar structures, at least include a matching feature and an egress port. Wherein the matching characteristic at least comprises an address field and a VLAN Identification (ID). And the different first multicast forwarding table entries comprise the address fields and the VLAN IDs which are not identical. That is, the N different first multicast forwarding entries may be distinguished by the included address field and the VLAN ID. In the method and the device, the matching characteristics of the first multicast forwarding table entry are configured to include the address field, so that all unknown multicast protocol messages of the same address field in the same VLAN can be guaranteed to share the first multicast forwarding table entry, the number of the multicast forwarding table entries is greatly reduced, and hardware table entry resources are saved. Similarly, by configuring the address field included by the matching feature of the second multicast forwarding table entry, it can be ensured that all unknown multicast data packets of the same address field in the same VLAN share the same second multicast forwarding table entry, thereby greatly reducing the number of multicast forwarding table entries and saving hardware table entry resources.
based on the above-described structures of the first multicast forwarding entry and the second multicast forwarding entry, in step a1, searching for the first multicast forwarding entry matching the unknown multicast packet from all the first multicast forwarding entries included in the local second-class multicast forwarding entry includes:
Determining a VLAN to which the unknown multicast message belongs and an address field to which a destination IP address of the unknown multicast message belongs, and searching all first multicast forwarding entries contained in the local second-class multicast forwarding entry for first multicast forwarding entries with matching characteristics containing the determined address field and the VLAN.
Similarly, in step a3, finding the second multicast forwarding entry matching the unknown multicast packet in all the second multicast forwarding entries included in the local second-class multicast forwarding entry includes:
and searching all second multicast forwarding table entries contained in the local second-class multicast forwarding table entry, wherein the matching characteristics comprise the determined address field and the second multicast forwarding table entry of the LAN.
In this application, the egress ports included in the first multicast forwarding entry and the second multicast forwarding entry are not identical. Here, the output port of the first multicast forwarding entry is a local port other than the port receiving the unknown multicast packet, and in implementation, the content of the output port of the first multicast forwarding entry may be set in the output port entry, and the output port of the first multicast forwarding entry may directly fill the index of the output port entry. And the output port of the second multicast forwarding table entry is a router port locally connected with the upstream three-layer multicast equipment.
As an example, for example, the first multicast forwarding entry is { (0, 224.0.0.0/224.255.254.0, VLAN1), and the egress port: a local port other than the port on which the unknown multicast packet was received }, where (0, 224.0.0.0/224.255.254.0) represents the address field. The second multicast forwarding entry is { (0, 224.0.0.0/224.0.0.0, VLAN2), router port }, where (0, 224.0.0.0/224.0.0.0) represents the address field.
based on the above-described egress ports of the first multicast forwarding entry and the second multicast forwarding entry, the forwarding the unknown multicast packet through the found multicast forwarding entry in step 103 includes:
when the multicast forwarding table entry matched with the unknown multicast message is a first multicast forwarding table entry, forwarding the unknown multicast message through an output port in the first multicast forwarding table entry, wherein the output port in the first multicast forwarding table entry is a local other port except for a port receiving the unknown multicast message;
and when the multicast forwarding table entry matched with the unknown multicast message is a second multicast forwarding table entry, forwarding the unknown multicast message through an output port in the second multicast forwarding table entry, wherein the output port in the second multicast forwarding table entry is a router port locally connected with the upstream three-layer multicast equipment.
so far, the unknown multicast packet forwarding is finally realized through the above description. Fig. 2 shows a schematic diagram of unknown multicast packet forwarding.
It should be noted that, in the present application, when the network device receives the broadcast message, the network device directly broadcasts the broadcast message in the VLAN to which the broadcast message belongs; when the network equipment receives the unknown unicast message, the unknown unicast message is directly broadcasted in the VLAN to which the unknown unicast message belongs.
it should be further noted that, as an embodiment, in the present application, the second type multicast forwarding table entry is configured when a drop-unknown (drop-unknown) function is enabled for the VLAN. And the VLAN ID in the second type multicast forwarding table entry is the ID of the VLAN enabling the drop-unknown function no matter the VLAN ID is in the first multicast forwarding table entry or the second multicast forwarding table entry.
The method provided by the present invention is described above. The following describes the apparatus provided by the present invention:
Referring to fig. 3, fig. 3 is a diagram illustrating the structure of the apparatus according to the present invention. The device is applied to network equipment.
As shown in fig. 3, the apparatus may include:
A receiving unit 311, configured to receive a multicast packet;
The matching unit 312 is configured to find no forwarding entry matching the multicast packet in the local first-class multicast forwarding entries of the storage unit 313, and determine that the multicast packet is an unknown multicast packet; finding a multicast forwarding table item matched with the unknown multicast message in the local second-class multicast forwarding table item of the storage unit 313;
a storage unit 313, configured to store a first multicast forwarding entry and a second multicast forwarding entry; the first multicast forwarding table entry is a multicast forwarding table entry dynamically created based on a multicast protocol, the second multicast forwarding table entry is a pre-configured multicast forwarding table entry for indicating forwarding of an unknown multicast message, and a mask of the first multicast forwarding table entry is longer than a mask of the second multicast forwarding table entry;
and a forwarding unit 314, configured to forward the unknown multicast packet through the multicast forwarding entry matched by the matching unit 312.
Preferably, the second type multicast forwarding entry includes: a first multicast forwarding table entry and a second multicast forwarding table entry; the mask of the first multicast forwarding table entry is longer than that of the second multicast forwarding table entry, the first multicast forwarding table entry is used for indicating forwarding of an unknown multicast protocol message, and the second multicast forwarding table entry is used for indicating forwarding of an unknown multicast data message;
Based on this, as an embodiment, the finding, by the matching unit 312, a multicast forwarding entry matching the unknown multicast packet in the local second-class multicast forwarding entry of the storage unit 313 includes:
Searching a first multicast forwarding table item matched with the unknown multicast message in all first multicast forwarding table items contained in a local second-class multicast forwarding table item of the storage unit 313, and if the first multicast forwarding table item is searched, taking the searched first multicast forwarding table item as a multicast forwarding table item matched with the unknown multicast message; if not, the second multicast forwarding table entry matching the unknown multicast packet is found in all the second multicast forwarding table entries included in the local second-class multicast forwarding table entry of the storage unit 313, and the found second multicast forwarding table entry is used as the multicast forwarding table entry matching the unknown multicast packet.
preferably, the searching, by the matching unit 312, for the first multicast forwarding entry matching the unknown multicast packet in all the first multicast forwarding entries included in the local second-class multicast forwarding entry of the storage unit 313 includes: determining a VLAN to which an unknown multicast message belongs and an address field to which a destination IP address of the unknown multicast message belongs, and searching for a first multicast forwarding table entry matching characteristics including the address field and the VLAN from all first multicast forwarding table entries included in a local second-class multicast forwarding table entry of the storage unit 313;
Preferably, the finding, by the matching unit 312, the second multicast forwarding entry matched with the unknown multicast packet in all the second multicast forwarding entries included in the local second-class multicast forwarding entry of the storage unit 313 includes: the second multicast forwarding entry including the address field and the VLAN is found in all the second multicast forwarding entries included in the local second-class multicast forwarding entry of the storage unit 313.
preferably, forwarding unit 314 forwards the unknown multicast packet through the found multicast forwarding entry includes:
When the multicast forwarding table entry matched with the unknown multicast message is a first multicast forwarding table entry, forwarding the unknown multicast message through an output port in the first multicast forwarding table entry, wherein the output port in the first multicast forwarding table entry is a local other port except for a port receiving the unknown multicast message;
and when the multicast forwarding table entry matched with the unknown multicast message is a second multicast forwarding table entry, forwarding the unknown multicast message through an output port in the second multicast forwarding table entry, wherein the output port in the second multicast forwarding table entry is a router port locally connected with the upstream three-layer multicast equipment.
Preferably, the receiving unit 311 further receives a broadcast message or an unknown unicast message;
The forwarding unit 314 is further configured to broadcast the broadcast packet received by the receiving unit 311 in the VLAN to which the broadcast packet belongs; and broadcasts the unknown unicast message received by the receiving unit 311 in the VLAN to which the unknown unicast message belongs.
thus, the description of the apparatus provided by the present invention is completed.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. a processing method of unknown multicast messages is characterized in that the method is applied to network equipment and comprises the following steps:
receiving a multicast message;
finding no forwarding table item matched with the multicast message in a local first-class multicast forwarding table item, and determining that the multicast message is an unknown multicast message; searching a first multicast forwarding table item matched with the unknown multicast message in all first multicast forwarding table items contained in a local second type multicast forwarding table item, and if the first multicast forwarding table item is searched, forwarding the unknown multicast message through the searched first multicast forwarding table item; if the unknown multicast message is not found, finding a second multicast forwarding table item matched with the unknown multicast message from all second multicast forwarding table items contained in a local second type multicast forwarding table item, and forwarding the unknown multicast message through the found second multicast forwarding table item;
the first multicast forwarding table entry is a multicast forwarding table entry dynamically created based on a multicast protocol, the second multicast forwarding table entry is a pre-configured multicast forwarding table entry for indicating forwarding of an unknown multicast message, and a mask of the first multicast forwarding table entry is longer than a mask of the second multicast forwarding table entry; and the first multicast forwarding table entry in the second type multicast forwarding table entry is used for indicating forwarding of an unknown multicast protocol message, and the second multicast forwarding table entry is used for indicating forwarding of an unknown multicast data message.
2. The method of claim 1, wherein a mask of the first multicast forwarding entry in the second type of multicast forwarding entry is greater than a mask of the second multicast forwarding entry.
3. the method of claim 2, wherein the searching for the first multicast forwarding entry matching the unknown multicast packet in all the first multicast forwarding entries included in the local second type multicast forwarding entry comprises: determining a VLAN to which the unknown multicast message belongs and an address field to which a destination IP address of the unknown multicast message belongs, and searching first multicast forwarding table entries with matching characteristics including the address field and the VLAN in all first multicast forwarding table entries included in a local second-class multicast forwarding table entry;
the finding of the second multicast forwarding entry matching the unknown multicast packet from all the second multicast forwarding entries included in the local second-class multicast forwarding entry includes: and searching the second multicast forwarding table entry comprising the address field and the VLAN in all the second multicast forwarding table entries comprising the local second type multicast forwarding table entries.
4. The method according to claim 2 or 3, wherein forwarding the unknown multicast packet via the found multicast forwarding entry comprises:
When the multicast forwarding table entry matched with the unknown multicast message is a first multicast forwarding table entry, forwarding the unknown multicast message through an output port in the first multicast forwarding table entry, wherein the output port in the first multicast forwarding table entry is a local other port except for a port receiving the unknown multicast message;
and when the multicast forwarding table entry matched with the unknown multicast message is a second multicast forwarding table entry, forwarding the unknown multicast message through an output port in the second multicast forwarding table entry, wherein the output port in the second multicast forwarding table entry is a router port locally connected with upstream three-layer multicast equipment of the equipment.
5. The method of claim 1, further comprising:
Receiving a broadcast message, and broadcasting the broadcast message in a VLAN to which the broadcast message belongs;
Receiving an unknown unicast message, and broadcasting the unknown unicast message in the VLAN to which the unknown unicast message belongs.
6. an unknown multicast packet processing apparatus, applied to a network device, includes:
A receiving unit, configured to receive a multicast packet;
The matching unit is used for not finding a forwarding table item matched with the multicast message in a local first-class multicast forwarding table item of the storage unit, determining that the multicast message is an unknown multicast message, finding a first multicast forwarding table item matched with the unknown multicast message in all first multicast forwarding table items contained in a local second-class multicast forwarding table item of the storage unit, and if the first multicast forwarding table item is found, taking the found first multicast forwarding table item as a multicast forwarding table item matched with the unknown multicast message; if the unknown multicast message is not found, finding a second multicast forwarding table item matched with the unknown multicast message from all second multicast forwarding table items contained in a local second-class multicast forwarding table item of the storage unit, and taking the found second multicast forwarding table item as a multicast forwarding table item matched with the unknown multicast message;
the storage unit is used for storing a first multicast forwarding table item and a second multicast forwarding table item; the first multicast forwarding table entry is a multicast forwarding table entry dynamically created based on a multicast protocol, the second multicast forwarding table entry is a pre-configured multicast forwarding table entry for indicating forwarding of an unknown multicast message, and a mask of the first multicast forwarding table entry is longer than a mask of the second multicast forwarding table entry; a first multicast forwarding table entry in the second type multicast forwarding table entry is used for indicating forwarding of an unknown multicast protocol message, and a second multicast forwarding table entry is used for indicating forwarding of an unknown multicast data message;
And the forwarding unit is used for forwarding the unknown multicast message through the multicast forwarding table entry matched by the matching unit.
7. the apparatus of claim 6, wherein a mask of the first multicast forwarding entry in the second type of multicast forwarding entry is longer than a mask of the second multicast forwarding entry.
8. The apparatus of claim 7, wherein the searching, by the matching unit, for the first multicast forwarding entry matching the unknown multicast packet from all the first multicast forwarding entries included in the local second-class multicast forwarding entries of the storage unit comprises: determining a VLAN to which the unknown multicast message belongs and an address field to which a destination IP address of the unknown multicast message belongs, and searching all first multicast forwarding entries contained in a local second-class multicast forwarding entry of the storage unit for first multicast forwarding entries with matching characteristics containing the address field and the VLAN;
The finding, by the matching unit, of the second multicast forwarding entry matched with the unknown multicast packet from all the second multicast forwarding entries included in the local second-class multicast forwarding entry of the storage unit includes: and searching the second multicast forwarding table entry comprising the address field and the VLAN in all the second multicast forwarding table entries comprising the local second-class multicast forwarding table entry of the storage unit.
9. the apparatus according to claim 7 or 8, wherein the forwarding unit forwards the unknown multicast packet through the found multicast forwarding entry includes:
when the multicast forwarding table entry matched with the unknown multicast message is a first multicast forwarding table entry, forwarding the unknown multicast message through an output port in the first multicast forwarding table entry, wherein the output port in the first multicast forwarding table entry is a local other port except for a port receiving the unknown multicast message;
And when the multicast forwarding table entry matched with the unknown multicast message is a second multicast forwarding table entry, forwarding the unknown multicast message through an output port in the second multicast forwarding table entry, wherein the output port in the second multicast forwarding table entry is a router port locally connected with upstream three-layer multicast equipment of the equipment.
10. the apparatus of claim 6,
the receiving unit further receives a broadcast message or an unknown unicast message;
The forwarding unit is further configured to broadcast the broadcast packet received by the receiving unit in a VLAN to which the broadcast packet belongs; and broadcasting the unknown unicast message received by the receiving unit in the VLAN to which the unknown unicast message belongs.
CN201610621771.1A 2016-07-29 2016-07-29 unknown multicast message processing method and device Active CN106059935B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610621771.1A CN106059935B (en) 2016-07-29 2016-07-29 unknown multicast message processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610621771.1A CN106059935B (en) 2016-07-29 2016-07-29 unknown multicast message processing method and device

Publications (2)

Publication Number Publication Date
CN106059935A CN106059935A (en) 2016-10-26
CN106059935B true CN106059935B (en) 2019-12-06

Family

ID=57197003

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610621771.1A Active CN106059935B (en) 2016-07-29 2016-07-29 unknown multicast message processing method and device

Country Status (1)

Country Link
CN (1) CN106059935B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111224882A (en) * 2018-11-23 2020-06-02 中兴通讯股份有限公司 Message processing method and device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744569A (en) * 2005-08-24 2006-03-08 杭州华为三康技术有限公司 Unknown multicasting message processing method
CN101159665A (en) * 2007-08-28 2008-04-09 杭州华三通信技术有限公司 Method and device to implement forwarding of unknown multicast packet to router port
CN101789905A (en) * 2010-02-05 2010-07-28 杭州华三通信技术有限公司 Method and equipment for preventing unknown multicast from attacking CPU (Central Processing Unit)
EP2518952A4 (en) * 2010-02-08 2013-12-25 Zte Corp Method and system for increasing forwarding efficiency of virtual private lan service network
CN105530188A (en) * 2014-10-27 2016-04-27 杭州迪普科技有限公司 Multicast forwarding method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744569A (en) * 2005-08-24 2006-03-08 杭州华为三康技术有限公司 Unknown multicasting message processing method
CN101159665A (en) * 2007-08-28 2008-04-09 杭州华三通信技术有限公司 Method and device to implement forwarding of unknown multicast packet to router port
CN101789905A (en) * 2010-02-05 2010-07-28 杭州华三通信技术有限公司 Method and equipment for preventing unknown multicast from attacking CPU (Central Processing Unit)
EP2518952A4 (en) * 2010-02-08 2013-12-25 Zte Corp Method and system for increasing forwarding efficiency of virtual private lan service network
CN105530188A (en) * 2014-10-27 2016-04-27 杭州迪普科技有限公司 Multicast forwarding method and device

Also Published As

Publication number Publication date
CN106059935A (en) 2016-10-26

Similar Documents

Publication Publication Date Title
US11240065B2 (en) NSH encapsulation for traffic steering
US11374857B2 (en) Network device management method and apparatus, and system for indicating a network device to perform management operation
CN111669330B (en) BIER message sending method and device
US7590116B2 (en) Method for forwarding multicast message in network communication
US10218604B2 (en) Engines to prune overlay network traffic
US10033539B1 (en) Replicating multicast state information between multi-homed EVPN routing devices
CN106603407B (en) Multicast address transmission method and device
US9929936B2 (en) Method for sending multicast packet and switch
US10361954B2 (en) Method and apparatus for processing modified packet
US11233724B2 (en) Multicast data packet processing method, and apparatus
US9838210B1 (en) Robust control plane assert for protocol independent multicast (PIM)
WO2022062506A1 (en) Data processing method and apparatus, storage medium, and electronic apparatus
US9716984B2 (en) Multicast packet delivery in a wireless network operating in non-storing mode
WO2021169235A1 (en) Method and apparatus for processing routing message, and storage medium and electronic apparatus
US20210258251A1 (en) Method for Multi-Segment Flow Specifications
US20180048593A1 (en) Flow entry generating and packet processing based on flow entry
US20230291682A1 (en) Method and device for processing data packet, storage medium, and electronic device
WO2021093463A1 (en) Packet forwarding method, first network device, and first device group
WO2014079369A1 (en) Forwarding a packet in a network
EP2981036B1 (en) Multicast communication method and aggregation switch
CN106059935B (en) unknown multicast message processing method and device
WO2014146571A1 (en) Network processor, and network processor-based packet preprocessing method and device
CN106230730B (en) Multicast transmission method and device
US20200106628A1 (en) Bit forwarding router identifier signaling using protocol independent multicast attribute
CN108011828B (en) Multicast switching method, device, core layer switch and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

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

Applicant after: Xinhua three Technology Co., Ltd.

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

Applicant before: Huasan Communication Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant