+

CN119182744A - Method and equipment for realizing three-layer forwarding of multicast data message - Google Patents

Method and equipment for realizing three-layer forwarding of multicast data message Download PDF

Info

Publication number
CN119182744A
CN119182744A CN202411216791.1A CN202411216791A CN119182744A CN 119182744 A CN119182744 A CN 119182744A CN 202411216791 A CN202411216791 A CN 202411216791A CN 119182744 A CN119182744 A CN 119182744A
Authority
CN
China
Prior art keywords
multicast
layer
forwarding
replication
channel
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
CN202411216791.1A
Other languages
Chinese (zh)
Other versions
CN119182744B (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 CN202411216791.1A priority Critical patent/CN119182744B/en
Priority claimed from CN202411216791.1A external-priority patent/CN119182744B/en
Publication of CN119182744A publication Critical patent/CN119182744A/en
Application granted granted Critical
Publication of CN119182744B publication Critical patent/CN119182744B/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
    • H04L49/00Packet switching elements
    • H04L49/60Software-defined switches
    • H04L49/602Multilayer or multiprotocol switching, e.g. IP switching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/20Support for services
    • H04L49/201Multicast operation; Broadcast operation

Landscapes

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

Abstract

本申请提供了一种实现组播数据报文三层转发的方法及设备。该设备中,将三层组播转发信息以及三层组播复制信息设置为三层组播硬件表项;将三层组播硬件表项,拆分为通道转发信息表项及其指向的通道组播成员复制表项;根据被转发三层组播数据报文查找多个通道转发信息表;从查找到的三层组播转发信息表项指向的通道组播成员复制表项读取一个以上的三层组播成员复制信息;通过成员端口映射的导流端口发送一份带有成员端口VLAN的复制三层组播数据报文;通过直连导流端口的内部转发端口收到复制三层组播数据报文;通过内部转发端口对应的成员端口发送复制三层组播数据报文。

The present application provides a method and device for implementing layer 3 forwarding of multicast data packets. In the device, layer 3 multicast forwarding information and layer 3 multicast replication information are set as layer 3 multicast hardware items; the layer 3 multicast hardware items are split into channel forwarding information items and channel multicast member replication items to which they point; multiple channel forwarding information tables are searched according to the forwarded layer 3 multicast data packets; more than one layer 3 multicast member replication information is read from the channel multicast member replication items to which the found layer 3 multicast forwarding information items point; a replicated layer 3 multicast data packet with a member port VLAN is sent through a diversion port mapped by a member port; a replicated layer 3 multicast data packet is received through an internal forwarding port directly connected to the diversion port; and a replicated layer 3 multicast data packet is sent through a member port corresponding to the internal forwarding port.

Description

Method and equipment for realizing three-layer forwarding of multicast data message
Technical Field
The application relates to a communication technology, in particular to a method and equipment for realizing three-layer forwarding of multicast data messages, which are used for ultralow time delay switching forwarding.
Background
At present, the demand of the financial securities industry for high-frequency trade is increasingly demanded, and the well blowout type demand growth is formed for a very fast trade system consisting of an ultralow-delay switch, and the ultralow-delay switch is inoculated with the advantages of extremely low time delay, extremely simple function and the like on the premise of the demand background. The ultra-low delay switch has only one layer of forwarding function, and can realize ultra-low delay forwarding.
In the ultra-low delay switching network, the replication and forwarding of the multicast message of the ultra-low delay switch are required to be realized.
Disclosure of Invention
The application aims to provide a method and equipment for realizing three-layer forwarding of multicast data messages, which realize three-layer copying forwarding of the multicast data messages by an ultralow-delay switch.
The application provides a method for realizing three-layer forwarding of multicast data messages, which comprises the steps of setting three-layer multicast forwarding information and three-layer multicast replication information set by a configuration unit as three-layer multicast hardware items of a multicast replication unit by an exchange unit, recording more than one three-layer multicast member replication information corresponding to a multicast source IP address, a VLAN to which the multicast source belongs and the multicast IP address by the three-layer multicast forwarding table items, recording one member port and a member port VLAN by the three-layer multicast member replication information, splitting the three-layer multicast hardware items into channel forwarding information items and channel multicast member replication table items pointed by the channel forwarding information items by the multicast replication unit, searching a plurality of channel forwarding information tables according to the forwarded three-layer multicast data messages, searching more than one channel three-layer multicast forwarding information item matched by the three-layer multicast forwarding information items, reading more than one three-layer multicast member replication information from the channel multicast member replication table items pointed by the three-layer multicast forwarding information items, transmitting a first diversion port mapped by the member port with one member port, transmitting a three-layer multicast member port and a three-layer multicast member replication message with the member port, and forwarding the three-layer multicast replication information items corresponding to the three-layer multicast data messages by the three-port.
In order to achieve the above object, the present application also provides a device for implementing three-layer forwarding of multicast data messages, which can be applied to an ultralow time delay switch, and the device includes a configuration unit, configured to configure three-layer multicast forwarding information and three-layer multicast replication information on the switch unit; the three-layer multicast forwarding information records the multicast source IP address of the received multicast data message, the VLAN to which the multicast source belongs and the multicast group IP address; the three-layer multicast replication information records the three-layer multicast member replication information of more than one multicast group member added with a multicast group IP address, the three-layer multicast member replication information records a member port and a member port VLAN thereof, a switching unit is used for recording three-layer multicast hardware items of the multicast replication unit for the three-layer multicast hardware items of the three-layer multicast replication unit, the three-layer multicast replication information records a multicast source IP address, the VLAN to which the multicast source belongs and more than one three-layer multicast member replication information corresponding to the multicast group IP address, the multicast replication unit splits the three-layer multicast hardware items into a channel forwarding information item and a channel multicast member replication item pointed by the channel forwarding information item, searches a plurality of channel forwarding information tables according to the three-layer multicast data message to be forwarded, searches more than one channel three-layer multicast forwarding information item matched, reads more than one three-layer multicast member replication information from the channel multicast member replication item pointed by the three-layer multicast forwarding information item, sends a replication three-layer multicast data message with the member port VLAN through a first diversion port mapped by the member port, and directly sends a three-layer multicast data message with the three-layer multicast replication information item corresponding to the three-layer multicast member port layer replication information item, and the three-layer multicast data message is received through the three-port multicast data message corresponding to the three-port replication information layer multicast replication unit
The application has the beneficial effects that the replication and forwarding of the three-layer multicast message with multiple forwarding channels provided for the ultra-low time delay switch by the multicast replication unit are realized, and the service types in the ultra-low time delay switch network are expanded.
Drawings
Fig. 1 is a flowchart of an embodiment of a method for implementing three-layer forwarding of multicast data packets according to the present application;
FIG. 2 is a schematic diagram of querying three-layer multicast members provided by an embodiment of the present application;
fig. 3 is a schematic diagram of setting information of three-layer multicast members of software according to an embodiment of the present application;
Fig. 4 is a schematic diagram of triggering hardware three-layer multicast group members based on multicast data messages according to an embodiment of the present application;
Fig. 5a-5b are schematic diagrams of setting a channel forwarding information table entry and a channel multicast member replication table entry according to an embodiment of the present application;
fig. 6 is a schematic forwarding diagram of a three-layer multicast data packet according to an embodiment of the present application;
fig. 7 is a schematic diagram of an embodiment of a device for implementing three-layer packet forwarding according to the present application.
Detailed Description
A plurality of examples shown in the drawings will be described in detail. In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the application. Well-known methods, procedures, components and circuits have not been described in detail so as not to obscure the examples.
The terms "comprising" and "including" are used in the sense of including but not limited to, including the numbers "above", "within" and "below" and not including the numbers. The term "based on" means based at least in part on a portion thereof.
Fig. 1 is a flowchart of an embodiment of a method for implementing three-layer forwarding of multicast data messages, which includes the following steps:
Step 101, setting three-layer multicast hardware table items of a multicast replication unit based on three-layer multicast forwarding information and three-layer multicast replication information;
step 102, splitting the three-layer multicast hardware table entry into a channel forwarding information table entry and a channel multicast member copy table entry pointed by the channel forwarding information table entry;
step 103, searching a plurality of channel forwarding information tables according to the forwarded three-layer multicast data message;
104, reading the replication information of the three-layer multicast member from the channel multicast member replication table pointed by the searched three-layer multicast forwarding information table;
Step 105, transmitting a copy three-layer multicast data message with a member port VLAN through a stream guidance port mapped by a member port in the three-layer multicast member copy information;
and 106, receiving the duplicated three-layer multicast data message through the internal forwarding port of the direct connection flow guiding port, and sending the duplicated three-layer multicast data message through the member port corresponding to the internal forwarding port.
The application has the beneficial effects that the three-layer multicast hardware table item is split according to the forwarding channels, so that the duplication forwarding of the three-layer multicast data is initiated on different forwarding channels at the same time, and the exchange time delay of the three-layer multicast data message is reduced.
As shown in FIG. 2, the application adds a multicast copying unit in the ultra-low delay Switch 2A, the multicast copying unit is realized by an FPGA chip 22, the switching unit of the ultra-low delay Switch 2A is realized by a switching (Switch) chip 21, receives protocol/data messages, and sends the multicast data messages after the FPGA chip 22 completes the multicast copying process through a member port.
In the application, the forwarding ports p21-p40 of the switching chip 21 are set as internal forwarding ports and are mapped to the forwarding ports p1-p20 of the switching chip 21, and the forwarding ports p21-p40 of the switching chip 21 are respectively and directly connected with the ports C21-C40 of the FPGA chip 22 one by one. Ports C21-C40 of FPGA chip 22 serve as flow guiding ports for transmitting protocol/data messages with internal forwarding ports of switch chip 21.
The CPU23 software records the corresponding relation between the forwarding ports p1-p20 and the chip ports C21-C40 of the FPGA chip 22, records the VLAN (Virtual Local Area Network ) to which the forwarding ports p1-p20 belong, sets a port mapping table 22a in the FPGA chip 22, and records the mapping relation between the chip ports C21-C40 and the forwarding ports p1-p20 in each VLAN.
In fig. 2, the switch chip 21 sends an IGMP query message 201 through the port p20 to the port C40 of the directly connected FPGA chip 22 through the internal forwarding port p 40.
The FPGA chip 22 caches the IGMP query message 201, and copies one IGMP query message 201 to the CPU23.
The CPU23 identifies VLAN1-VLAN4 to be forwarded and notifies the FGPA chip 22 to transmit within VLAN1-VLAN 4.
The FPGA chip 22 finds the ports p1, p2 belonging to VLAN1, the ports p3, p4 of VLAN2, the ports p5, p6 of VLAN3, and the ports p7, p8 of VLAN4 through the port mapping table 22 a.
The FPGA chip 22 sends the IGMP query message 2011 with VLAN1 through the stream guidance ports c21, c22, sends the IGMP query message 2012 with VLAN2 through the stream guidance ports c23 and c24, sends the IGMP query message 2013 with VLAN3 through the stream guidance ports c25 and c26, and sends the IGMP query message 2015 with VLAN4 through the stream guidance ports c27 and c 28.
After receiving the IGMP query messages 2011-2014 through the internal forwarding ports p21-p28, the switch chip 21 sends the IGMP query messages through the corresponding forwarding ports p1-p 8.
Fig. 3 is a schematic diagram of setting information of three-layer multicast members of software according to an embodiment of the present application;
The switch chip 21 receives the IGMP report message 301 through the port P2 of the VLAN1, and transmits the IGMP report message 301, the receiving port P2, and the VLAN1 to which it belongs through the internal forwarding port P22, and transmits the IGMP report message through the internal forwarding port P22 corresponding to the receiving port P2.
The FPGA chip 22 receives the IGMP report 301 via the port c22 and sends the received membership port P2 and its membership VLAN1 to the processor 23.
The processor 23 records software three-layer multicast member information 23a: G1- > (port 2, VLAN 1) in the software three-layer multicast member information table, wherein the multicast group IP address G1 of the IGMP message 301 corresponds to the member port2 of the IGMP report message 301 and its member VLAN1.
The switch chip 21 receives the IGMP report message 302 through the port P3 of the VLAN2, and transmits the IGMP report message 302, the receiving port P3, and the VLAN2 to which it belongs through the internal forwarding port P23, and the internal forwarding port P23 corresponding to the receiving port P3.
The FPGA chip 22 receives the IGMP report message 302 via the port c23 and sends the received membership port P2 and its membership VLAN2 to the processor 23.
The processor 23 searches the software three-layer multicast member information table for the software three-layer multicast member information 23a corresponding to the multicast group IP address G1 of the IGMP message 302, and refreshes the software three-layer multicast member information 23a: G1- > (port 2, VLAN 1), (port 3, VLAN 2), wherein the software three-layer multicast member information 23a records the member port3 of the IGMP report message 302 and the member VLAN2 thereof.
The switch chip 21 receives the IGMP report message 303 through the port P6 of the VLAN3, and transmits the IGMP report message 303, the receiving port P6, and the VLAN3 to which it belongs through the internal forwarding port P26, and transmits the IGMP report message through the internal forwarding port P26 corresponding to the receiving port P6.
The FPGA chip 22 receives the IGMP report 303 via the port c26 and sends the received membership port P6 and its membership VLAN6 to the processor 23.
The processor 23 searches the software three-layer multicast member information table for the software three-layer multicast member information 23a corresponding to the multicast group IP address G1 of the IGMP message 303, and refreshes the software three-layer multicast member information 23a: G1- > (port 2, VLAN 1), (port 3, VLAN 2), (port 6, VLAN 3), wherein the software three-layer multicast member information 23a records the member port6 of the IGMP report message 303 and the member VLAN3 thereof.
Fig. 4 is a schematic diagram of triggering hardware three-layer multicast group members based on multicast data messages according to an embodiment of the present application.
The switch chip 21 receives the three-layer multicast data message 401 through the forwarding port P19, and sends the three-layer multicast data message 401 to the FPGA chip 22 through the internal forwarding port P39.
The FPGA chip 22 searches the channel forwarding information table of each of the channel 1 and the channel 2 according to the multicast source IP address S1, the multicast source VLAN1000 and the multicast group IP address G1 of the three-layer multicast data message 401, does not find the matched channel forwarding information table entry, caches the three-layer multicast data message 401, copies a three-layer multicast data message 4011, and sends a copy of the three-layer multicast data message 4011 as an unknown three-layer multicast data message to the CPU23.
The CPU23 receives the unknown three-layer multicast data packet 4011, and searches for the software three-layer multicast member information 23a based on the multicast source IP address S1, the multicast source VLAN1000, and the multicast group IP address G1 of the three-layer multicast data packet 4011.
The CPU23 records three-layer multicast software entries 23b (S1, VLAN1000, G1) - > (port 2, VLAN 1), (port 3, VLAN 2), (port 6, VLAN 3) in the software three-layer multicast table.
The CPU23 sets three-layer multicast forwarding information 21a in the multicast forwarding information table of the switch chip 21 according to the three-layer multicast software table 23b (S1, VLAN1000, G1), sets three-layer multicast replication information 21b (port 2, VLAN 1), (port 3, VLAN 2), (port 6, VLAN 3) in the multicast replication table, and the three-layer multicast forwarding information 21a points to the three-layer multicast replication information 21b, that is, the hash value calculated by S1, VLAN1000, G1 in the three-layer multicast forwarding information 21a points to the storage address of the three-layer multicast replication information 21 b.
The switch chip 21 sets a three-layer multicast hardware table entry 500 in the three-layer multicast hardware table 22a of the FPGA chip 22 according to the three-layer multicast forwarding information 21a and the three-layer multicast replication information 21b (S1, VLAN1000, G1) - > (port 2, VLAN 1), (port 3, VLAN 2), (port 6, VLAN 3), three-layer multicast member replication information (port 2, VLAN 1), (port 3, VLAN 2), (port 6, VLAN 3), and records one member port and its member port VLAN, respectively.
Fig. 5a-5b are schematic diagrams of setting a channel forwarding information table entry and a channel multicast member replication table entry according to an embodiment of the present application.
In fig. 5a, the FPGA chip 22 splits the three-layer multicast hardware table 550 into a channel forwarding information table of each channel and a channel multicast member replication table pointed to by the channel according to the channel where the member port is located, and records the channel forwarding information table in the three-layer multicast forwarding table 22b.
The FPGA chip 22 identifies that a member port2 of the (port 2, VLAN 1) of the three-layer multicast member copy information is in the first forwarding channel, sets a channel three-layer multicast forwarding information table entry 5011 in the channel forwarding information table 501 of the first forwarding channel for recording (S1, VLAN1000, G1), sets a channel multicast member copy table entry 5012 in the channel forwarding information table 501 of the first forwarding channel for recording the three-layer multicast member copy information (port 2, VLAN 1), the three-layer multicast forwarding information table entry 5011 points to the channel multicast member copy table entry 5012, that is, the hash value calculated by S1, VLAN1000, G1 of the three-layer multicast forwarding information table entry 5011 points to the storage address of the channel multicast member copy table entry 5012.
The FPGA chip 22 identifies that the member port3 of (port 3, VLAN 2) of the three-layer multicast member replication information is in the first forwarding channel, records the three-layer multicast member replication information (port 2, VLAN 1) and (port 3, VLAN 2) in the channel multicast member replication table entry 5012, such that the three-layer multicast forwarding information table entry 5011 points to the three-layer multicast member replication information (port 2, VLAN 1) and (port 3, VLAN 2) of the channel multicast member replication table entry 5012.
The FPGA chip 22 identifies that a member port6 of the (port 6, VLAN 3) of the three-layer multicast member replication information is in the second forwarding channel, sets a channel three-layer multicast forwarding information table 5021 in a channel forwarding information table 502 of the second forwarding channel for recording (S1, VLAN1000, G1), sets a channel multicast member replication table 5022 in the channel forwarding information table 502 of the second forwarding channel for recording the three-layer multicast member replication information (port 6, VLAN 3), and the three-layer multicast forwarding information table 5021 points to the channel multicast member replication table 5022.
In the embodiment of the application, two forwarding channels are taken as an example, and each forwarding channel comprises four forwarding ports, namely, a first forwarding channel comprises forwarding ports p1-p4, and a second forwarding channel comprises forwarding ports p5-p8. The ultra-low delay switch sets the number of forwarding channels and the number of forwarding ports of each forwarding channel according to the layout of the forwarding ports and the service scene, and can split the three-layer multicast forwarding information table entry and the channel multicast member replication table entry of each forwarding channel based on the embodiment of the application.
After the FGPA chip 22 completes splitting the three-layer multicast forwarding information entries and the channel multicast member replication entries for each forwarding channel, the three-layer multicast hardware entry 500 is emptied, as shown in fig. 5A.
Fig. 6 is a schematic forwarding diagram of a three-layer packet according to an embodiment of the present application.
The FPGA chip 22 performs forwarding for the buffered three-layer multicast data message 401, searches the channel forwarding information tables 501 and 502 at the same time according to the three-layer multicast data message 401, and searches the matched channel three-layer multicast forwarding information table items 5011 and 5021.
The FPGA chip 22 reads the three-layer multicast member replication information (port 2, VLAN 1) and (port 3, VLAN 2) from the channel multicast member replication table entry 5012 pointed to by the found three-layer multicast forwarding information table entry 5011.
The FPGA chip 22 sends a copy three-layer multicast data message 4012 with VLAN1 through the port c22 mapped by the port2, sends a copy three-layer multicast data message 4013 with VLAN2 through the port c23 mapped by the port3, and sends a copy three-layer multicast data message 4014 with VLAN3 through the port c26 mapped by the port 6.
The exchange chip 23 receives the duplicate three-layer multicast data messages 4012, 4013 and 4014 through internal forwarding ports P22, P23 and P26 which are directly connected with the diversion ports C22, C23 and C26 respectively, and sends the duplicate three-layer multicast data messages 4012, 4013 and 4014 through member ports P2, P3 and P6 which are corresponding to the internal forwarding ports P22, P23 and P26.
Subsequently, the FPGA chip 22 receives the three-layer multicast data packet 401 received by the switching unit 21 through the flow guiding port c39, and searches the channel forwarding information tables 501 and 502 in the channel three-layer multicast forwarding table 22b at the same time, and forwards the packet according to the embodiment shown in fig. 6. The CPU23 sets the three-layer multicast forwarding information 21a and the three-layer multicast replication information 21b based on the embodiment shown in fig. 3 and 4, the exchange chip 21 resets the three-layer multicast hardware table, and the FPGA chip 22 completes refreshing of the table according to the channel forwarding information table of each forwarding channel and the channel multicast member replication table pointed by the channel forwarding information table of each forwarding channel in fig. 5a-5 b.
Fig. 7 is a schematic diagram of an embodiment of a device for implementing three-layer packet forwarding according to the present application. The device 70 comprises a network interface, a processor 71, a memory 72, a switching unit 73 and a multicast replication unit 74. The processor 71 is configured to execute the control unit 721 and the configuration unit 722 by executing processor-executable instructions in the memory 72.
The configuration unit 722 is configured to configure three-layer multicast forwarding information and three-layer multicast replication information on the switching unit 73, the three-layer multicast forwarding information records a multicast source IP address, a VLAN to which the multicast source belongs, and a multicast group IP address of a received multicast data packet, the three-layer multicast replication information records three-layer multicast member replication information of more than one multicast group member to which the multicast group IP address has been added, the three-layer multicast member replication information records a member port and a member port VLAN thereof, the switching unit 73 is configured to record three-layer multicast hardware table entries for the multicast replication unit 74, the three-layer multicast forwarding table entries record more than one three-layer multicast member replication information corresponding to the multicast source IP address, the VLAN to which the multicast source belongs, the multicast replication unit 74 splits the three-layer multicast hardware table entries into a channel forwarding information table entry and a channel multicast member table entry pointed thereto, the three-layer multicast data packet forwarding information table is searched for one more than one member port and a member port VLAN thereof, the three-layer multicast forwarding information table is searched for the three-layer multicast forwarding table entry is searched for the three-layer multicast forwarding information, the three-layer multicast forwarding table entry is read from the three-layer multicast forwarding table entry corresponding to the three-layer multicast forwarding table entry, and the three-layer multicast forwarding information is read from the three-layer multicast port layer multicast forwarding table entry is read, and the three-multicast forwarding information is read from the three-layer multicast table entry layer multicast forwarding table entry.
The multicast replication unit 74 is configured to identify a forwarding channel where a member port of the three-layer multicast member replication information is located, set a channel three-layer multicast forwarding information table entry in a channel forwarding information table of the identified forwarding channel to record an IP address of a multicast source, a VLAN to which the multicast source belongs, and an IP address of a multicast group, set a channel multicast member replication table entry in the channel replication information table of the identified forwarding channel to record three-layer multicast member replication information, and split the three-layer multicast hardware table entry into the channel forwarding information table entry and the channel multicast member replication table entry pointed by the channel multicast forwarding information table entry.
The multicast replication unit 74 sends the received IGMP query message of the internet group management protocol to the control unit 721, acquires one or more designated VLANs from the control unit 721 for broadcasting the IGMP query message, sends one or more IGMP query messages through the second port mapped by the forwarding ports of the one or more designated VLANs, receives the IGMP query message through the internal forwarding port directly connected to the second port, and sends the IGMP query message through the forwarding ports of the one or more designated VLANs.
The control unit 721 maintains the software three-layer multicast member information according to the internet group management protocol IGMP report message, wherein the multicast group IP address carried by the software three-layer multicast member information record IGMP report message corresponds to the receiving member port of the IGMP report message and the VLAN thereof.
The multicast replication unit 74 sends the unknown three-layer multicast data message to the control unit 721, the control unit 721 matches the multicast group IP address of the unknown three-layer multicast data message to the software three-layer multicast member information based on the unknown three-layer multicast data message, generates a three-layer multicast software table item based on the software three-layer multicast member information, records the multicast source IP address, the multicast source VLAN and the receiving member port of the IGMP report message corresponding to the multicast group IP address of the unknown three-layer multicast data message and the VLAN thereof, the configuration unit 722 sets new three-layer multicast forwarding information and new three-layer multicast replication information according to the three-layer multicast software table item on the switching unit 73, wherein the new three-layer multicast forwarding information comprises the multicast source IP address, the multicast source VLAN and the multicast group IP address of the unknown three-layer multicast data message, and the new three-layer multicast forwarding information comprises the receiving member port of the IGMP report message and the VLAN thereof.
The foregoing description of the preferred embodiments of the application is not intended to be limiting, but rather to enable any modification, equivalent replacement, improvement or the like to be made within the spirit and principles of the application.

Claims (10)

1. A method for implementing three-layer forwarding of multicast data messages, which is characterized in that the method comprises,
The three-layer multicast forwarding information and the three-layer multicast replication information set by the configuration unit are set as three-layer multicast hardware table items of the multicast replication unit by the switching unit, wherein the three-layer multicast forwarding table items record a multicast source IP address, a VLAN to which the multicast source belongs and more than one three-layer multicast member replication information corresponding to the multicast group IP address;
Splitting the three-layer multicast hardware table item into a channel forwarding information table item and a channel multicast member replication table item pointed by the channel forwarding information table item through the multicast replication unit, searching a plurality of channel forwarding information tables according to the forwarded three-layer multicast data message, searching more than one channel three-layer multicast forwarding information table item matched with the channel forwarding information table item, reading more than one three-layer multicast member replication information from the channel multicast member replication table item pointed by the searched three-layer multicast forwarding information table item, and sending a copy three-layer multicast data message with a member port VLAN through a first diversion port mapped by the member port;
Receiving, by the switching unit, the duplicate three-layer packet data packet by an internal forwarding port directly connected to the first flow guiding port; and sending the replication three-layer multicast data message through the member port corresponding to the internal forwarding port.
2. The method of claim 1, wherein splitting the three-layer multicast hardware table entry into a channel forwarding information table entry and a channel multicast member replication table entry pointed to by the multicast replication unit comprises,
The method comprises the steps of identifying a forwarding channel where a member port of three-layer multicast member replication information is located through a multicast replication unit, setting a channel three-layer multicast forwarding information table item in a channel forwarding information table of the identified forwarding channel to record the multicast source IP address, the VLAN to which the multicast source belongs and the multicast group IP address, setting a channel multicast member replication table item in the channel replication information table of the identified forwarding channel to record the three-layer multicast member replication information, wherein the three-layer multicast forwarding information table item points to the channel multicast member replication table item.
3. The method according to claim 1, characterized in that the method further comprises the steps of,
The multicast replication unit sends the received IGMP inquiry message to the control unit, acquires more than one appointed VLAN from the control unit for broadcasting the IGMP inquiry message, and sends one IGMP inquiry message through a second diversion port mapped by the forwarding ports of more than one appointed VLAN;
Receiving, by the switching unit, the IGMP query message by an internal forwarding port directly connected to the second diversion port; and sending the IGMP inquiry message through more than one forwarding port of the appointed VLAN.
4. The method according to claim 1, characterized in that the method further comprises the steps of,
Maintaining, by the control unit, software three-layer multicast member information according to an IGMP report message of an internet group management protocol, where the software three-layer multicast member information records that a multicast group IP address carried by the IGMP report message corresponds to a receiving member port of the IGMP report message and a VLAN thereof.
5. The method according to claim 4, wherein the method comprises, characterized in that the method further comprises the steps of,
Sending an unknown three-layer multicast data message to the control unit through the multicast replication unit;
Generating a three-layer multicast software table item based on the software three-layer multicast member information, wherein the three-layer multicast software table item records a multicast source IP address, a multicast source VLAN and a receiving member port and VLAN of the IGMP report message corresponding to the multicast group IP address;
The configuration unit is used for setting new three-layer multicast forwarding information and new three-layer multicast replication information on the switching unit according to the three-layer multicast software table item, wherein the new three-layer multicast forwarding information comprises a multicast source IP address, a multicast source VLAN and a multicast group IP address of the unknown three-layer multicast data message, and the new three-layer multicast replication information comprises a receiving member port of the IGMP report message and a VLAN thereof.
6. An apparatus for implementing three-layer forwarding of multicast data messages, the apparatus comprising,
The configuration unit is used for configuring three-layer multicast forwarding information and three-layer multicast replication information on the switching unit, wherein the three-layer multicast forwarding information records a multicast source IP address, a VLAN to which the multicast source belongs and a multicast group IP address of a received multicast data message;
the switching unit is used for recording the IP address of the multicast source, the VLAN to which the multicast source belongs and more than one piece of replication information of the three-layer multicast members corresponding to the IP address of the multicast group for the three-layer multicast hardware table item of the multicast replication unit;
The multicast replication unit splits the three-layer multicast hardware table items into channel forwarding information table items and channel multicast member replication table items pointed by the channel forwarding information table items, searches a plurality of channel forwarding information tables according to the forwarded three-layer multicast data messages, searches more than one channel three-layer multicast forwarding information table item matched with the channel forwarding information table items, reads more than one three-layer multicast member replication information from the channel multicast member replication table items pointed by the searched three-layer multicast forwarding information table items, and sends a copy three-layer multicast data message with a member port VLAN through a first diversion port mapped by the member port;
The switching unit receives the duplicated three-layer data message through an internal forwarding port directly connected with the first diversion port, and sends the duplicated three-layer data message through the member port corresponding to the internal forwarding port.
7. The apparatus of claim 6, wherein the device comprises a plurality of sensors,
The multicast replication unit is used for identifying a forwarding channel where the member port of the three-layer multicast member replication information is located, setting a three-layer multicast forwarding information table item of the identified forwarding channel in order to record the multicast source IP address, the VLAN to which the multicast source belongs and the multicast group IP address, setting a three-layer multicast member replication table item of the identified forwarding channel in order to record the three-layer multicast member replication information, wherein the three-layer multicast forwarding information table item points to the three-layer multicast member replication table item, and splitting the three-layer multicast hardware table item into a channel forwarding information table item and a channel multicast member replication table item pointed by the channel forwarding information table item.
8. The apparatus of claim 6, wherein the device comprises a plurality of sensors,
The multicast replication unit sends the received Internet Group Management Protocol (IGMP) query message to a control unit, acquires more than one appointed VLAN from the control unit for broadcasting the IGMP query message, and sends one IGMP query message through a second diversion port mapped by a forwarding port of more than one appointed VLAN;
The exchange unit receives the IGMP inquiry message through the internal forwarding port directly connected with the second diversion port, and sends the IGMP inquiry message through more than one forwarding port of the appointed VLAN.
9. The apparatus of claim 6, wherein the device comprises a plurality of sensors,
The control unit maintains the software three-layer multicast member information according to the Internet Group Management Protocol (IGMP) report message, wherein the software three-layer multicast member information records that the multicast group IP address carried by the IGMP report message corresponds to the receiving member port of the IGMP report message and VLAN thereof.
10. The apparatus of claim 9, wherein the method further comprises,
The multicast replication unit sends an unknown three-layer multicast data message to the control unit;
The control unit is used for generating a three-layer multicast software table item based on the software three-layer multicast member information, wherein the three-layer multicast software table item records a multicast source IP address, a multicast source VLAN and a receiving member port and VLAN of the IGMP report message corresponding to the multicast group IP address of the unknown three-layer multicast data message;
the configuration unit sets new three-layer multicast forwarding information and new three-layer multicast copying information on the exchange unit according to the three-layer multicast software table item, wherein the new three-layer multicast forwarding information comprises a multicast source IP address, a multicast source VLAN and a multicast group IP address of the unknown three-layer multicast data message, and the new three-layer multicast copying information comprises a receiving member port of the IGMP report message and a VLAN thereof.
CN202411216791.1A 2024-08-30 A method and device for implementing layer 3 forwarding of multicast data packets Active CN119182744B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411216791.1A CN119182744B (en) 2024-08-30 A method and device for implementing layer 3 forwarding of multicast data packets

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411216791.1A CN119182744B (en) 2024-08-30 A method and device for implementing layer 3 forwarding of multicast data packets

Publications (2)

Publication Number Publication Date
CN119182744A true CN119182744A (en) 2024-12-24
CN119182744B CN119182744B (en) 2025-10-10

Family

ID=

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050147095A1 (en) * 2003-12-30 2005-07-07 Intel Corporation IP multicast packet burst absorption and multithreaded replication architecture
CN1996956A (en) * 2006-12-20 2007-07-11 杭州华为三康技术有限公司 L3 network device and method for multi-cast cross-VLAN forwarding
CN101917351A (en) * 2010-03-31 2010-12-15 迈普通信技术股份有限公司 Multicasting forwarding method on router and forwarding router thereof
CN102025626A (en) * 2010-12-09 2011-04-20 中兴通讯股份有限公司 Method for forwarding multicast data message and provider edge
CN104618247A (en) * 2014-12-30 2015-05-13 杭州华三通信技术有限公司 Multicast message transmission method and device
CN106375219A (en) * 2016-08-22 2017-02-01 杭州迪普科技有限公司 Method and device for forwarding message
CN110445702A (en) * 2019-07-09 2019-11-12 新华三技术有限公司合肥分公司 A kind of message forwarding method and equipment
CN112367263A (en) * 2020-10-30 2021-02-12 新华三技术有限公司 Multicast data message forwarding method and equipment
CN113472656A (en) * 2021-06-29 2021-10-01 新华三信息安全技术有限公司 Two-layer switching equipment and method for forwarding multicast data message
CN118264608A (en) * 2024-04-02 2024-06-28 瑞斯康达科技发展股份有限公司 Multicast vlan replication method, device and equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050147095A1 (en) * 2003-12-30 2005-07-07 Intel Corporation IP multicast packet burst absorption and multithreaded replication architecture
CN1996956A (en) * 2006-12-20 2007-07-11 杭州华为三康技术有限公司 L3 network device and method for multi-cast cross-VLAN forwarding
CN101917351A (en) * 2010-03-31 2010-12-15 迈普通信技术股份有限公司 Multicasting forwarding method on router and forwarding router thereof
CN102025626A (en) * 2010-12-09 2011-04-20 中兴通讯股份有限公司 Method for forwarding multicast data message and provider edge
CN104618247A (en) * 2014-12-30 2015-05-13 杭州华三通信技术有限公司 Multicast message transmission method and device
CN106375219A (en) * 2016-08-22 2017-02-01 杭州迪普科技有限公司 Method and device for forwarding message
CN110445702A (en) * 2019-07-09 2019-11-12 新华三技术有限公司合肥分公司 A kind of message forwarding method and equipment
CN112367263A (en) * 2020-10-30 2021-02-12 新华三技术有限公司 Multicast data message forwarding method and equipment
CN113472656A (en) * 2021-06-29 2021-10-01 新华三信息安全技术有限公司 Two-layer switching equipment and method for forwarding multicast data message
CN118264608A (en) * 2024-04-02 2024-06-28 瑞斯康达科技发展股份有限公司 Multicast vlan replication method, device and equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吴迪;: "一种二层以太网上IP组播精确转发方案", 科技信息, no. 15, 25 May 2010 (2010-05-25) *

Similar Documents

Publication Publication Date Title
CN103685006B (en) A kind of message forwarding method on edge device and edge device
US6614787B1 (en) System and method for efficiently handling multicast packets by aggregating VLAN context
CN103227843B (en) A kind of physical link address management method and device
CN100442776C (en) The Method of Realizing Multicast Forwarding on Layer 3 Switch
US7263099B1 (en) Multicast packet replication
US10601702B1 (en) Flexible packet replication and filtering for multicast/broadcast
US8612559B2 (en) Central controller for coordinating multicast message transmissions in distributed virtual network switch environment
CN101815107B (en) Method, system and device for address management in Ethernet ring network
US20180069715A1 (en) Multicasting within distributed control plane of a switch
US20060221960A1 (en) Performing extended lookups on mac-based tables
WO2013049989A1 (en) Layer two interconnection between data centers
US10880109B2 (en) Forwarding multicast data packet
CN1980178A (en) Network apparatus and method for retransmitting multi-casting package
CN106375223B (en) A kind of data forwarding system and method based on SDN
CN101877671A (en) Sending method of mirror image message, switch chip and Ethernet router
WO2013029440A1 (en) Method and apparatus for implementing layer-2 interconnection of data centers
US10742545B2 (en) Multicasting system
US12261773B2 (en) Egress pipeline with tag manipulation and ESI label push capability
US20050195817A1 (en) Switching device and multicast packet processing method therefor
CN102377646A (en) Forwarding chip, network switching system and multicast implementation method
CN119182744B (en) A method and device for implementing layer 3 forwarding of multicast data packets
CN108540386A (en) One kind preventing Business Stream interrupt method and device
CN101267396B (en) A realization device and method for downstream interface list of multicast route
CN101917351A (en) Multicasting forwarding method on router and forwarding router thereof
CN100596109C (en) A method and switching device for message mixing conversion and forwarding

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载