CN113992565A - Multicast message processing method and device - Google Patents

Multicast message processing method and device Download PDF

Info

Publication number
CN113992565A
CN113992565A CN202111148588.1A CN202111148588A CN113992565A CN 113992565 A CN113992565 A CN 113992565A CN 202111148588 A CN202111148588 A CN 202111148588A CN 113992565 A CN113992565 A CN 113992565A
Authority
CN
China
Prior art keywords
target
leaf device
l3vni
multicast message
vpn
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
CN202111148588.1A
Other languages
Chinese (zh)
Other versions
CN113992565B (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 Big Data Technologies Co Ltd
Original Assignee
New H3C Big Data 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 Big Data Technologies Co Ltd filed Critical New H3C Big Data Technologies Co Ltd
Priority to CN202111148588.1A priority Critical patent/CN113992565B/en
Publication of CN113992565A publication Critical patent/CN113992565A/en
Application granted granted Critical
Publication of CN113992565B publication Critical patent/CN113992565B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/66Layer 2 routing, e.g. in Ethernet based MAN's
    • 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
    • H04L45/745Address table lookup; Address filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]

Landscapes

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

Abstract

The present application relates to the field of network communication technologies, and in particular, to a multicast message processing method and apparatus. The method is applied to a controller and comprises the following steps: when detecting that a target AC accesses the first leaf device, configuring a target VPN virtual private network instance corresponding to the target AC and a target L3VNI corresponding to the target VPN instance for the first leaf device; issuing a target VPN instance corresponding to the target AC and a target L3VNI corresponding to the target VPN instance to the second leaf equipment, so that the second leaf equipment establishes a mapping relation between the target VPN instance and the target L3 VNI; the first leaf device and the second leaf device are opposite-end devices, and after receiving the multicast message carrying the target L3VNI, the first leaf device sends the multicast message to the second leaf device, so that the second leaf device looks up the table and forwards the multicast message based on the target L3 VNI.

Description

Multicast message processing method and device
Technical Field
The present application relates to the field of network communication technologies, and in particular, to a multicast message processing method and apparatus.
Background
At present, a Reverse Path Forwarding (RPF) routing policy based on a Virtual Private Network (VPN) instance is usually configured to implement three-layer multicast interworking across VPNs, and specifically there are the following two configuration modes:
mode 1): the multicast source side device configures the lead-in and lead-out, that is, a cross-VPN policy is configured on a leaf device (e.g., VTEP1) where the multicast source side is located, and traffic is directly led into VPN instances of each receiver for forwarding, which requires that there are a VPN instance of the multicast source and VPN instances of all receivers on the multicast source side device at the same time.
Mode 2): the multicast receiver side imports the eduction, namely, on a leaf device (such as VTEP2) where the multicast receiver side is located, a cross-VPN policy is configured, and the traffic is imported from the source VPN into the local receiver VPN instance. It is required that there must be a VPN instance of the multicast source on all the devices on the receiver side.
For the situation that the multicast source and the multicast receiver are both in the same device, the two modes are not different, but for the cross-device VPN, the mode 1) would result in that the device at the multicast source side needs to copy multiple traffic to each receiver VPN, and then passes through the underlay through the multicast tunnel of each VPN to reach other Leaf; in the method 2), the multicast tunnel passing through the multicast source VPN only needs to traverse the underlay to reach other Leaf, and the multicast tunnel is distributed to the VPNs of multiple receivers in each Leaf.
However, either way, it is required that there must be two VPNs on one side leaf device, on both the multicast source side and the recipient. In the actual networking of users, when multicast traffic crosses devices and VPNs in a DC, there may be only one-side VPN on the devices, and when multicast traffic goes out of an external network, a VPN required by the external network is generally configured on the Border, and there is certainly no VPN configuration of the external network on the Leaf. Therefore, under these circumstances, RPF routing policies based on VPN instances cannot be configured.
Disclosure of Invention
The application provides a multicast message processing method and device, which are used for solving the problem that multicast flow is cut off when RPF routing strategies based on VPN instances cannot be configured in the prior art.
In a first aspect, the present application provides a multicast message processing method, applied to a controller, the method including:
when detecting that a target AC access controller is accessed on a first leaf device, configuring a target VPN virtual private network instance corresponding to the target AC and a target L3VNI three-layer VXLAN identification corresponding to the target VPN instance for the first leaf device;
issuing a target VPN instance corresponding to the target AC and a target L3VNI corresponding to the target VPN instance to second leaf equipment, so that the second leaf equipment establishes a mapping relation between the target VPN instance and the target L3 VNI;
the first leaf device and the second leaf device are opposite-end devices, and after receiving a multicast message carrying a target L3VNI, the first leaf device sends the multicast message to the second leaf device, so that the second leaf device forwards the multicast message based on the target L3VNI lookup table.
In a second aspect, the present application provides a multicast message processing method, which is applied to a leaf device, and the method includes:
receiving a target VPN instance corresponding to a target AC issued by a controller and a target L3VNI corresponding to the target VPN instance, wherein when the controller detects that one AC accesses one leaf device, the controller issues the accessed VPN instance corresponding to the AC and the L3VNI corresponding to the VPN instance to an opposite-end leaf device of the leaf device;
establishing a mapping relationship between the target VPN instance and the target L3 VNI;
and after receiving the multicast message sent by the leaf device at the opposite end, forwarding the multicast message based on the L3VNI carried by the multicast message.
Optionally, the step of forwarding the multicast packet based on the L3VNI carried by the multicast packet includes:
analyzing the multicast message, and determining an L3VNI carried by the multicast message;
and determining a VPN example associated with the L3VNI based on the L3VNI, and forwarding the multicast message based on the VPN example table lookup.
Optionally, the method further comprises:
receiving a multicast message sent by external network equipment;
and sending the multicast message to the peer leaf device, so that the peer leaf device forwards the multicast message based on the L3VNI carried by the multicast message.
In a third aspect, the present application provides a multicast message processing apparatus, applied to a controller, the method including:
a configuration unit, configured to configure, for a first leaf device, a target VPN virtual private network instance corresponding to a target AC and a target L3VNI three-layer VXLAN identifier corresponding to the target VPN instance when it is detected that a target AC access controller accesses the first leaf device;
an issuing unit, configured to issue, to a second leaf device, a target VPN instance corresponding to the target AC and a target L3VNI corresponding to the target VPN instance, so that the second leaf device establishes a mapping relationship between the target VPN instance and the target L3 VNI;
the first leaf device and the second leaf device are opposite-end devices, and after receiving a multicast message carrying a target L3VNI, the first leaf device sends the multicast message to the second leaf device, so that the second leaf device forwards the multicast message based on the target L3VNI lookup table.
In a fourth aspect, the present application provides a multicast message processing apparatus, which is applied to a leaf device, and the apparatus includes:
the system comprises a first receiving unit, a second receiving unit and a third receiving unit, wherein the first receiving unit is used for receiving a target VPN example corresponding to a target AC issued by a controller and a target L3VNI corresponding to the target VPN example, and when the controller detects that one AC accesses one leaf device, the controller issues the accessed VPN example corresponding to the AC and the L3VNI corresponding to the VPN example to an opposite-end leaf device of the leaf device;
an establishing unit, configured to establish a mapping relationship between the target VPN instance and the target L3 VNI;
and the first forwarding unit is configured to forward the multicast packet based on an L3VNI carried by the multicast packet after receiving the multicast packet sent by the peer leaf device.
Optionally, when the multicast packet is forwarded based on the L3VNI carried by the multicast packet, the first forwarding unit is specifically configured to:
analyzing the multicast message, and determining an L3VNI carried in the multicast message header;
and determining a VPN example associated with the L3VNI based on the L3VNI, and forwarding the multicast message based on the VPN table look-up.
Optionally, the apparatus further comprises:
the second receiving unit is used for receiving the multicast messages sent by other network equipment;
and the second forwarding unit is configured to send the multicast packet to the peer leaf device, so that the peer leaf device forwards the multicast packet based on the L3VNI carried in the multicast packet.
In a fifth aspect, the present application provides a controller comprising:
a memory and a processor, the memory and the processor being communicatively connected to each other, the memory having stored therein computer instructions, the processor performing the method of the first aspect by executing the computer instructions.
In a sixth aspect, the present application provides a leaf device, including:
a memory and a processor, the memory and the processor being communicatively connected to each other, the memory having stored therein computer instructions, the processor executing the computer instructions to perform the method of any of the second aspect.
To sum up, the multicast packet processing method provided in the embodiment of the present application is applied to a controller, and the method includes: when detecting that a target AC accesses the first leaf device, configuring a target VPN virtual private network instance corresponding to the target AC and a target L3VNI corresponding to the target VPN instance for the first leaf device; issuing a target VPN instance corresponding to the target AC and a target L3VNI corresponding to the target VPN instance to the second leaf equipment, so that the second leaf equipment establishes a mapping relation between the target VPN instance and the target L3 VNI; the first leaf device and the second leaf device are opposite-end devices, and after receiving the multicast message carrying the target L3VNI, the first leaf device sends the multicast message to the second leaf device, so that the second leaf device looks up the table and forwards the multicast message based on the target L3 VNI.
By adopting the multicast message processing method provided by the embodiment of the application, the routing strategy based on the L3VNI is configured, and on the premise of realizing the optimal forwarding and copying, the problem that the multicast flow can be sent to an external network and is not interrupted when the scenes of the asymmetric VPN and the symmetric VPN are switched is solved by pre-configuring the mapping relation based on the L3VNI and the VPN instance.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments of the present application or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art according to the drawings of the embodiments of the present application.
Fig. 1 is a detailed flowchart of a multicast message processing method according to an embodiment of the present application;
fig. 2 is a detailed flowchart of another multicast packet processing method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a multicast message processing apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of another multicast packet processing apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a controller according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a leaf device according to an embodiment of the present application.
Detailed Description
The terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein is meant to encompass any and all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in the embodiments of the present application to describe various information, the information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. Depending on the context, moreover, the word "if" as used may be interpreted as "at … …" or "when … …" or "in response to a determination".
Illustratively, referring to fig. 1, a detailed flowchart of a multicast message processing method provided in an embodiment of the present application is shown, where the method is applied to a controller, and the method includes the following steps:
step 100: when detecting that a target AC access controller accesses a first leaf device, configuring a target VPN virtual private network instance corresponding to the target AC and a target L3VNI three-layer VXLAN identification corresponding to the target VPN instance for the first leaf device.
In practical application, as the distribution of the DC internal configuration depends on AC access, the external network VPN related configuration is only distributed on the border device. The virtual router connection can bind the two routers, and three-layer intercommunication between all subnets or designated addresses of the two routers is realized. That is, if one of the virtual routers has AC access, RT mutual-reference and L3VNI interface configuration of the opposite end may be issued on the device thereof, and RT mutual-reference and L3VNI interface configuration of the opposite end may also be issued on the opposite end.
In the embodiment of the present application, an RPF routing policy based on an L3VNI instance is configured, that is, whether to perform VPN-crossing multicast forwarding is determined according to the L3 VNI.
When detecting that any leaf device has an AC access, the controller configures a VPN instance corresponding to the AC and an L3VNI interface configuration corresponding to the VPN instance for the leaf device.
Step 110: and issuing a target VPN instance corresponding to the target AC and a target L3VNI corresponding to the target VPN instance to second leaf equipment, so that the second leaf equipment establishes a mapping relation between the target VPN instance and the target L3 VNI.
Further, the controller may also issue the VPN instance corresponding to the AC and the L3VNI corresponding to the VPN instance to an opposite-end leaf device of the leaf device. After receiving the VPN instance and the L3VNI corresponding to the VPN instance sent by the controller, the peer leaf device establishes a mapping relationship between the VPN instance and the L3VNI, that is, after receiving the packet carrying the L3VNI, the peer leaf device finds the corresponding VPN instance based on the L3VNI, and then performs packet forwarding processing based on the found VPN instance.
In practical application, the first leaf device and the second leaf device are opposite-end devices, and after receiving a multicast packet carrying a target L3VNI, the first leaf device sends the multicast packet to the second leaf device, so that the second leaf device forwards the multicast packet based on the target L3VNI lookup table.
Illustratively, referring to fig. 2, a detailed flowchart of a multicast message processing method provided in an embodiment of the present application is shown, where the method is applied to a leaf device, and the method includes the following steps:
step 200: and receiving a target VPN instance corresponding to a target AC and a target L3VNI corresponding to the target VPN instance issued by a controller, wherein when the controller detects that one AC accesses one leaf device, the controller issues the accessed VPN instance corresponding to the AC and the L3VNI corresponding to the VPN instance to an opposite-end leaf device of the leaf device.
Step 210: establishing a mapping relationship between the target VPN instance and the target L3 VNI.
Step 220: and after receiving the multicast message sent by the leaf device at the opposite end, forwarding the multicast message based on the L3VNI carried by the multicast message.
In this embodiment of the present application, when forwarding the multicast packet based on the L3VNI carried by the multicast packet, a preferred implementation manner is: analyzing the multicast message, and determining an L3VNI carried by the multicast message; and determining a VPN example associated with the L3VNI based on the L3VNI, and forwarding the multicast message based on the VPN example table lookup.
Further, in this embodiment of the present application, the multicast packet processing method applied to a leaf device may further include the following steps:
receiving a multicast message sent by external network equipment; and sending the multicast message to the peer leaf device, so that the peer leaf device forwards the multicast message based on the L3VNI carried by the multicast message.
Based on the same inventive concept as the method applied to the controller, for example, referring to fig. 3, a schematic structural diagram of a multicast message processing apparatus provided in an embodiment of the present application is applied to the controller, and the apparatus includes:
a configuration unit 30, configured to configure, for a first leaf device, a target VPN virtual private network instance corresponding to a target AC and a target L3VNI three-layer VXLAN identifier corresponding to the target VPN instance when it is detected that a target AC access controller accesses the first leaf device;
an issuing unit 31, configured to issue, to a second leaf device, a target VPN instance corresponding to the target AC and a target L3VNI corresponding to the target VPN instance, so that the second leaf device establishes a mapping relationship between the target VPN instance and the target L3 VNI;
the first leaf device and the second leaf device are opposite-end devices, and after receiving a multicast message carrying a target L3VNI, the first leaf device sends the multicast message to the second leaf device, so that the second leaf device forwards the multicast message based on the target L3VNI lookup table.
Based on the same inventive concept as the method applied to the leaf device, as an example, refer to fig. 4, which is a schematic structural diagram of a multicast message processing apparatus provided in an embodiment of the present application, and the apparatus is applied to a leaf device, and the apparatus includes:
a first receiving unit 40, configured to receive a target VPN instance corresponding to a target AC and a target L3VNI corresponding to the target VPN instance, where the target VPN instance is issued by a controller, and when detecting that an AC accesses one leaf device, the controller issues the accessed VPN instance corresponding to the AC and the L3VNI corresponding to the VPN instance to an opposite-end leaf device of the leaf device;
an establishing unit 41, configured to establish a mapping relationship between the target VPN instance and the target L3 VNI;
the first forwarding unit 42 is configured to, after receiving the multicast packet sent by the peer leaf device, forward the multicast packet based on the L3VNI carried in the multicast packet.
Optionally, when forwarding the multicast packet based on the L3VNI carried by the multicast packet, the first forwarding unit 42 is specifically configured to:
analyzing the multicast message, and determining an L3VNI carried in the multicast message header;
and determining a VPN example associated with the L3VNI based on the L3VNI, and forwarding the multicast message based on the VPN table look-up.
Optionally, the apparatus further comprises:
the second receiving unit is used for receiving the multicast messages sent by other network equipment;
and the second forwarding unit is configured to send the multicast packet to the peer leaf device, so that the peer leaf device forwards the multicast packet based on the L3VNI carried in the multicast packet.
The above units may be one or more integrated circuits configured to implement the above methods, for example: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above units is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these units may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Further, in the controller provided in the embodiment of the present application, from a hardware level, a schematic diagram of a hardware architecture of the controller may be shown in fig. 5, where the controller may include: a memory 50 and a processor 51, which,
the memory 50 is used for storing program instructions; the processor 51 calls the program instructions stored in the memory 50 and executes the above-described embodiment of the method applied to the controller in accordance with the obtained program instructions. The specific implementation and technical effects are similar, and are not described herein again.
Optionally, the present application also provides a controller comprising at least one processing element (or chip) for performing the above-described method embodiments applied to the controller.
Optionally, the present application also provides a program product, such as a computer-readable storage medium, having stored thereon computer-executable instructions for causing a computer to perform the above-described method embodiments applied to a controller.
Further, in the leaf device provided in the embodiment of the present application, from a hardware level, a schematic diagram of a hardware architecture of the leaf device may be shown in fig. 6, where the leaf device may include: a memory 60 and a processor 61, which,
the memory 60 is used to store program instructions; the processor 61 calls the program instructions stored in the memory 60 and executes the above-described embodiment of the method applied to the leaf device according to the obtained program instructions. The specific implementation and technical effects are similar, and are not described herein again.
Optionally, the present application also provides a leaf device, including at least one processing element (or chip) for executing the above method embodiment applied to the leaf device.
Optionally, the present application also provides a program product, such as a computer-readable storage medium, storing computer-executable instructions for causing a computer to perform the above-described method embodiments applied to a leaf device.
Here, a machine-readable storage medium may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and so forth. For example, the machine-readable storage medium may be: a RAM (random Access Memory), a volatile Memory, a non-volatile Memory, a flash Memory, a storage drive (e.g., a hard drive), a solid state drive, any type of storage disk (e.g., an optical disk, a dvd, etc.), or similar storage medium, or a combination thereof.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Furthermore, these computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (10)

1. A multicast message processing method, applied to a controller, the method comprising:
when detecting that a target AC access controller is accessed on a first leaf device, configuring a target VPN virtual private network instance corresponding to the target AC and a target L3VNI three-layer VXLAN identification corresponding to the target VPN instance for the first leaf device;
issuing a target VPN instance corresponding to the target AC and a target L3VNI corresponding to the target VPN instance to second leaf equipment, so that the second leaf equipment establishes a mapping relation between the target VPN instance and the target L3 VNI;
the first leaf device and the second leaf device are opposite-end devices, and after receiving a multicast message carrying a target L3VNI, the first leaf device sends the multicast message to the second leaf device, so that the second leaf device forwards the multicast message based on the target L3VNI lookup table.
2. A multicast message processing method, applied to a leaf device, the method comprising:
receiving a target VPN instance corresponding to a target AC issued by a controller and a target L3VNI corresponding to the target VPN instance, wherein when the controller detects that one AC accesses one leaf device, the controller issues the accessed VPN instance corresponding to the AC and the L3VNI corresponding to the VPN instance to an opposite-end leaf device of the leaf device;
establishing a mapping relationship between the target VPN instance and the target L3 VNI;
and after receiving the multicast message sent by the leaf device at the opposite end, forwarding the multicast message based on the L3VNI carried by the multicast message.
3. The method of claim 2, wherein forwarding the multicast packet based on the L3VNI carried by the multicast packet comprises:
analyzing the multicast message, and determining an L3VNI carried by the multicast message;
and determining a VPN example associated with the L3VNI based on the L3VNI, and forwarding the multicast message based on the VPN example table lookup.
4. The method of claim 2 or 3, wherein the method further comprises:
receiving a multicast message sent by external network equipment;
and sending the multicast message to the peer leaf device, so that the peer leaf device forwards the multicast message based on the L3VNI carried by the multicast message.
5. A multicast message processing apparatus, for use with a controller, the apparatus comprising:
a configuration unit, configured to configure, for a first leaf device, a target VPN virtual private network instance corresponding to a target AC and a target L3VNI three-layer VXLAN identifier corresponding to the target VPN instance when it is detected that a target AC access controller accesses the first leaf device;
an issuing unit, configured to issue, to a second leaf device, a target VPN instance corresponding to the target AC and a target L3VNI corresponding to the target VPN instance, so that the second leaf device establishes a mapping relationship between the target VPN instance and the target L3 VNI;
the first leaf device and the second leaf device are opposite-end devices, and after receiving a multicast message carrying a target L3VNI, the first leaf device sends the multicast message to the second leaf device, so that the second leaf device forwards the multicast message based on the target L3VNI lookup table.
6. A multicast message processing apparatus, applied to a leaf device, the apparatus comprising:
the system comprises a first receiving unit, a second receiving unit and a third receiving unit, wherein the first receiving unit is used for receiving a target VPN example corresponding to a target AC issued by a controller and a target L3VNI corresponding to the target VPN example, and when the controller detects that one AC accesses one leaf device, the controller issues the accessed VPN example corresponding to the AC and the L3VNI corresponding to the VPN example to an opposite-end leaf device of the leaf device;
an establishing unit, configured to establish a mapping relationship between the target VPN instance and the target L3 VNI;
and the first forwarding unit is configured to forward the multicast packet based on an L3VNI carried by the multicast packet after receiving the multicast packet sent by the peer leaf device.
7. The apparatus according to claim 6, wherein when forwarding the multicast packet based on the L3VNI carried by the multicast packet, the first forwarding unit is specifically configured to:
analyzing the multicast message, and determining an L3VNI carried in the multicast message header;
and determining a VPN example associated with the L3VNI based on the L3VNI, and forwarding the multicast message based on the VPN table look-up.
8. The apparatus of claim 6 or 7, wherein the apparatus further comprises:
the second receiving unit is used for receiving the multicast messages sent by other network equipment;
and the second forwarding unit is configured to send the multicast packet to the peer leaf device, so that the peer leaf device forwards the multicast packet based on the L3VNI carried in the multicast packet.
9. A controller, comprising:
a memory and a processor communicatively coupled to each other, the memory having stored therein computer instructions, the processor executing the computer instructions to perform the method of claim 1.
10. A leaf device, comprising:
a memory and a processor communicatively coupled to each other, the memory having stored therein computer instructions, the processor executing the computer instructions to perform the method of any of claims 2-4.
CN202111148588.1A 2021-09-29 2021-09-29 Multicast message processing method and device Active CN113992565B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111148588.1A CN113992565B (en) 2021-09-29 2021-09-29 Multicast message processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111148588.1A CN113992565B (en) 2021-09-29 2021-09-29 Multicast message processing method and device

Publications (2)

Publication Number Publication Date
CN113992565A true CN113992565A (en) 2022-01-28
CN113992565B CN113992565B (en) 2023-11-07

Family

ID=79737134

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111148588.1A Active CN113992565B (en) 2021-09-29 2021-09-29 Multicast message processing method and device

Country Status (1)

Country Link
CN (1) CN113992565B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115102806A (en) * 2022-06-20 2022-09-23 咪咕视讯科技有限公司 Multicast data transmission method, device, system and storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453025A (en) * 2016-11-04 2017-02-22 杭州华三通信技术有限公司 Tunnel creating method and device
CN106878137A (en) * 2016-12-29 2017-06-20 新华三技术有限公司 A kind of route learning method and device
CN109729019A (en) * 2018-12-28 2019-05-07 新华三技术有限公司 The method for limiting speed and device of private line service in a kind of EVPN networking
CN109995634A (en) * 2017-12-29 2019-07-09 中兴通讯股份有限公司 A kind of bearing method and equipment of multicasting virtual private network network
WO2019214589A1 (en) * 2018-05-08 2019-11-14 华为技术有限公司 Multicast data transmission method, related apparatus and system
CN111083034A (en) * 2019-12-24 2020-04-28 浪潮思科网络科技有限公司 Method, equipment and medium for managing VXLAN tunnel under EVPN
WO2020083095A1 (en) * 2018-10-25 2020-04-30 深圳市中兴微电子技术有限公司 Reverse path check method, apparatus and device, and storage medium
WO2020168854A1 (en) * 2019-02-19 2020-08-27 华为技术有限公司 Evpn multicast method, apparatus and system
WO2020200200A1 (en) * 2019-04-04 2020-10-08 中兴通讯股份有限公司 Routing method and routing device
CN111917622A (en) * 2019-09-23 2020-11-10 华为技术有限公司 Reverse Path Forwarding (RPF) checking method and device
CN112039682A (en) * 2019-06-03 2020-12-04 艾福荣·艾尼瓦尔 Method for application and practice of software defined data center in operator network
CN112688847A (en) * 2020-08-17 2021-04-20 紫光云技术有限公司 Method for realizing VPC (virtual private network) peer-to-peer connection in cloud network environment
CN113301667A (en) * 2021-03-31 2021-08-24 新华三信息安全技术有限公司 Message forwarding method and device

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453025A (en) * 2016-11-04 2017-02-22 杭州华三通信技术有限公司 Tunnel creating method and device
CN106878137A (en) * 2016-12-29 2017-06-20 新华三技术有限公司 A kind of route learning method and device
CN109995634A (en) * 2017-12-29 2019-07-09 中兴通讯股份有限公司 A kind of bearing method and equipment of multicasting virtual private network network
WO2019214589A1 (en) * 2018-05-08 2019-11-14 华为技术有限公司 Multicast data transmission method, related apparatus and system
WO2020083095A1 (en) * 2018-10-25 2020-04-30 深圳市中兴微电子技术有限公司 Reverse path check method, apparatus and device, and storage medium
CN109729019A (en) * 2018-12-28 2019-05-07 新华三技术有限公司 The method for limiting speed and device of private line service in a kind of EVPN networking
WO2020168854A1 (en) * 2019-02-19 2020-08-27 华为技术有限公司 Evpn multicast method, apparatus and system
WO2020200200A1 (en) * 2019-04-04 2020-10-08 中兴通讯股份有限公司 Routing method and routing device
CN112039682A (en) * 2019-06-03 2020-12-04 艾福荣·艾尼瓦尔 Method for application and practice of software defined data center in operator network
CN111917622A (en) * 2019-09-23 2020-11-10 华为技术有限公司 Reverse Path Forwarding (RPF) checking method and device
CN111083034A (en) * 2019-12-24 2020-04-28 浪潮思科网络科技有限公司 Method, equipment and medium for managing VXLAN tunnel under EVPN
CN112688847A (en) * 2020-08-17 2021-04-20 紫光云技术有限公司 Method for realizing VPC (virtual private network) peer-to-peer connection in cloud network environment
CN113301667A (en) * 2021-03-31 2021-08-24 新华三信息安全技术有限公司 Message forwarding method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115102806A (en) * 2022-06-20 2022-09-23 咪咕视讯科技有限公司 Multicast data transmission method, device, system and storage medium
CN115102806B (en) * 2022-06-20 2023-10-17 咪咕视讯科技有限公司 Multicast data transmission method, device, system and storage medium

Also Published As

Publication number Publication date
CN113992565B (en) 2023-11-07

Similar Documents

Publication Publication Date Title
CN109104364B (en) Designated forwarder election method and device
US20150334089A1 (en) Managing mac moves with secure port groups
CN110798403B (en) Communication method, communication device and communication system
CN112272145B (en) Message processing method, device, equipment and machine readable storage medium
CN109412926B (en) Tunnel establishment method and device
WO2015057404A1 (en) Configurable service proxy mapping
WO2014057403A1 (en) Ip multicast service leave process for mpls-based virtual private cloud networking
EP3767880B1 (en) Optimizing information related to a route and/or a next hop for multicast traffic
US10148618B2 (en) Network isolation
EP3713160A1 (en) Packet transmission method and apparatus
CN107948066B (en) Designated forwarder DF election method, system and device
CN104022973A (en) Message forwarding method, switching module, firewall card and switch
CN110535744A (en) Message processing method, device and Leaf equipment
CN108600070B (en) Designated forwarder DF election method and device
US9521073B2 (en) Enhanced fine-grained overlay transport virtualization multi-homing using per-network authoritative edge device synchronization
CN113301667A (en) Message forwarding method and device
CN107547400B (en) Virtual machine migration method and device
CN113992565B (en) Multicast message processing method and device
CN108881024B (en) Multicast traffic forwarding method and device
CN108494691B (en) Multicast forwarding method and device and tunnel endpoint equipment
WO2018095438A1 (en) Method and device for processing equal cost multi-path (ecmp)
CN108989206B (en) Message forwarding method and device
CN112511443A (en) Message processing method, device, equipment, storage medium and system
CN108092867B (en) VLAN registration method and device
CN115277535B (en) VPN routing processing method and device, electronic equipment and readable storage medium

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
GR01 Patent grant