CN110830371B - Message redirection method and device, electronic equipment and readable storage medium - Google Patents

Message redirection method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN110830371B
CN110830371B CN201911107869.5A CN201911107869A CN110830371B CN 110830371 B CN110830371 B CN 110830371B CN 201911107869 A CN201911107869 A CN 201911107869A CN 110830371 B CN110830371 B CN 110830371B
Authority
CN
China
Prior art keywords
message
port
unknown
vlan
multicast
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911107869.5A
Other languages
Chinese (zh)
Other versions
CN110830371A (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.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication Technology 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 Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN201911107869.5A priority Critical patent/CN110830371B/en
Publication of CN110830371A publication Critical patent/CN110830371A/en
Application granted granted Critical
Publication of CN110830371B publication Critical patent/CN110830371B/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
    • 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/32Flooding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/806Broadcast or multicast traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/101Access control lists [ACL]

Abstract

The application provides a message redirection method, a message redirection device, electronic equipment and a readable storage medium, and relates to the technical field of communication. The method comprises the following steps: acquiring an unknown message to be forwarded which is not matched with a forwarding table; determining the message type of an unknown message to be forwarded; when the message type is an unknown multicast message, redirecting the unknown multicast message to a flooding port according to a pre-configured flooding port of a Virtual Local Area Network (VLAN) corresponding to the unknown multicast message, wherein the flooding port is at least one port on message forwarding equipment; and forwarding the unknown multicast message through the flooding port. According to the scheme, the unknown multicast messages are redirected to the corresponding flooding ports through the flooding ports of the VLAN, so that the unknown multicast messages are forwarded through the flooding ports without configuring ACL (access control list) entries for redirection, and further ACL entries and multicast group resources are saved.

Description

Message redirection method and device, electronic equipment and readable storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for redirecting a packet, an electronic device, and a readable storage medium.
Background
In the prior art, when receiving an unknown multicast packet, a switching device generally sends the unknown multicast packet to all ports on the switching device. However, for some service requirements, for unknown multicast packets of different Virtual Local Area Networks (VLANs), it needs to be redirected to different multicast groups, that is, for unknown multicast packets of different VLANs, the unknown multicast packets are sent out through different ports.
The method for redirecting the unknown multicast message is to adopt an Access Control List (ACL) to perform corresponding message matching, that is, a matching item configured in an ACL entry includes a VLAN and a mark of the unknown multicast message, and the action is to redirect to a multicast group. That is to say, respective ACL entries need to be created for different VLANs, which results in a large resource overhead for ACL entries and multicast groups when there are many VLANs configured with unknown multicast redirection services.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method and an apparatus for redirecting a packet, an electronic device, and a readable storage medium, so as to solve the problem in the prior art that the cost of ACL entry and multicast group resources is large because an unknown multicast packet is redirected through an ACL entry.
In a first aspect, an embodiment of the present application provides a method for redirecting a packet, where the method includes: acquiring an unknown message to be forwarded which is not matched with a forwarding table; determining the message type of an unknown message to be forwarded; when the message type is an unknown multicast message, redirecting the unknown multicast message to a flooding port according to a pre-configured flooding port of a Virtual Local Area Network (VLAN) corresponding to the unknown multicast message, wherein the flooding port is at least one port on message forwarding equipment; and forwarding the unknown multicast message through the flooding port.
In the implementation process, the unknown multicast message is redirected to the corresponding flooding port through the flooding port of the VLAN, so that the unknown multicast message is forwarded through the flooding port without configuring an ACL (access control list) entry for redirection, and further ACL entries and multicast group resources are saved.
Optionally, the redirecting the unknown multicast packet to the flooding port according to a preset flooding port of a virtual local area network VLAN corresponding to the multicast packet includes:
acquiring the VLAN identifier carried in the unknown multicast message;
searching a VLAN flooding port list corresponding to the VLAN identifier;
and determining a flooding port in the VLAN flooding port list, and redirecting the unknown multicast message to the flooding port.
In the implementation process, the flooding port corresponding to the VLAN is searched according to the identifier of the VLAN carried in the packet, so that the flooding port corresponding to the unknown multicast packet can be accurately obtained.
Optionally, the redirecting the unknown multicast packet to the flooding port includes:
copying unknown multicast messages corresponding to the number of the flooding ports;
and sending the copied unknown multicast messages to each flooding port one by one.
In the implementation process, the unknown multicast message is sent out from the corresponding port, so as to implement forwarding of the unknown multicast message.
Optionally, after determining the packet type of the unknown packet to be forwarded, the method further includes:
when the message type is an unknown unicast message, redirecting the unknown unicast message to a multicast group in a first Access Control List (ACL) table item according to a preconfigured ACL table item, wherein the multicast group comprises all ports on the message forwarding equipment;
and determining to forward the unknown unicast message through a first target port on the message forwarding equipment according to the identifier of the VLAN carried in the unknown unicast message, wherein the identifier of the VLAN to which the first target port belongs is consistent with the identifier of the VLAN carried in the unknown unicast message.
In the implementation process, the unknown unicast message is flooded to all ports on the message forwarding equipment through the first ACL table entry, and then the unknown unicast message is filtered by combining with the output port, so that only one first ACL table entry needs to be configured for all the unknown unicast messages, and further resources of the ACL table entries and the multicast group are saved.
Optionally, a flag of the unknown unicast packet is configured in the first ACL entry, and the configured action is to redirect the unknown unicast packet to the multicast group.
Optionally, the redirecting the unknown unicast packet to the multicast group in the first ACL entry according to the preconfigured first ACL entry includes:
copying unknown unicast messages corresponding to the number of all ports in the multicast group;
and sending the copied unknown unicast messages to each port in the multicast group.
Optionally, the determining, according to the identifier of the VLAN carried by the unknown unicast packet, that the unknown unicast packet is forwarded through the first target port on the packet forwarding device includes:
judging whether the VLAN identification carried by the unknown unicast message is consistent with the VLAN identification of the port through the port;
if yes, determining the port as the first target port, and forwarding the unknown unicast message through the port.
In the implementation process, the unknown unicast message is filtered through the output port, so that the unknown unicast message is forwarded from the corresponding port, and the forwarding of the unknown unicast message is realized.
Optionally, after determining the packet type of the unknown packet to be forwarded, the method further includes:
when the message type is a broadcast message, redirecting the broadcast message to a multicast group in a second ACL entry according to a second ACL entry configured in advance, wherein the multicast group comprises all ports on the message forwarding equipment;
and determining to forward the broadcast message through a second target port on the message forwarding equipment according to the identifier of the VLAN carried in the broadcast message, wherein the identifier of the VLAN to which the second target port belongs is consistent with the identifier of the VLAN carried in the broadcast message.
In the implementation process, the broadcast message is flooded to all ports on the message forwarding device through the second ACL table entry, and then the broadcast message is filtered by combining with the output port, so that only one second ACL table entry needs to be configured for all the broadcast messages, and further resources of the ACL table entries and the multicast group are saved.
Optionally, a flag of the broadcast packet is configured in the second ACL entry, and the configured action is to redirect the broadcast packet to the multicast group.
Optionally, the redirecting the broadcast packet to the multicast group in the second ACL entry according to the preconfigured second ACL entry includes:
copying broadcast messages with the number consistent with that of all ports in the multicast group;
and sending the copied broadcast messages to each port in the multicast group.
Optionally, the determining, according to the identifier of the VLAN carried by the broadcast packet, that the broadcast packet is forwarded through a second target port on the packet forwarding device includes:
judging whether the VLAN identification carried by the broadcast message is consistent with the VLAN identification of the port through the port;
if yes, determining the port as the second target port, and forwarding the broadcast message through the port.
In the implementation process, the broadcast message is filtered through the output port, so that the broadcast message is forwarded from the corresponding port, and the broadcast message is forwarded.
In a second aspect, an embodiment of the present application provides a message redirection apparatus, where the apparatus includes:
the message acquisition module is used for acquiring an unknown message to be forwarded which is not matched with the forwarding table;
the message type determining module is used for determining the message type of an unknown message to be forwarded;
a message redirection module, configured to redirect, when the message type is an unknown multicast message, the unknown multicast message to a flooding port according to a pre-configured flooding port of a virtual local area network VLAN corresponding to the unknown multicast message, where the flooding port is at least one port on a message forwarding device;
and the message sending module is used for forwarding the unknown multicast message through the flooding port.
Optionally, the message redirection module is configured to obtain an identifier of a VLAN carried in the unknown multicast message; searching a VLAN flooding port list corresponding to the VLAN identifier; and determining a flooding port in the VLAN flooding port list, and redirecting the unknown multicast message to the flooding port.
Optionally, the message redirection module is configured to copy an unknown multicast message corresponding to the number of the flooding ports; and sending the copied unknown multicast messages to each flooding port one by one.
Optionally, the message redirection module is further configured to, when the message type is an unknown unicast message, redirect the unknown unicast message to a multicast group in a first ACL entry according to a preconfigured first ACL entry, where the multicast group includes all ports on the message forwarding device;
the message sending module is further configured to determine, according to an identifier of a VLAN carried in the unknown unicast message, that the unknown unicast message is forwarded through a first target port on the message forwarding device, where an identifier of the VLAN to which the first target port belongs is consistent with an identifier of the VLAN carried in the unknown unicast message.
Optionally, a flag of the unknown unicast packet is configured in the first ACL entry, and the configured action is to redirect the unknown unicast packet to the multicast group.
Optionally, the packet redirection module is further configured to copy an unknown unicast packet corresponding to the number of all ports in the multicast group; and sending the copied unknown unicast messages to each port in the multicast group.
Optionally, the message sending module is further configured to determine, through a port, whether an identifier of a VLAN carried in the unknown unicast message is consistent with an identifier of a VLAN to which the port belongs; if yes, determining the port as the first target port, and forwarding the unknown unicast message through the port.
Optionally, the message redirection module is further configured to, when the message type is a broadcast message, redirect the broadcast message to a multicast group in a second ACL entry according to a second ACL entry configured in advance, where the multicast group includes all ports on the message forwarding device;
the message sending module is further configured to determine, according to an identifier of a VLAN carried in the broadcast message, that the broadcast message is forwarded through a second target port on the message forwarding device, where an identifier of the VLAN to which the second target port belongs is consistent with an identifier of the VLAN carried in the broadcast message.
Optionally, a flag of the broadcast packet is configured in the second ACL entry, and the configured action is to redirect the broadcast packet to the multicast group.
Optionally, the message redirection module is further configured to copy broadcast messages with the number consistent with that of all ports in the multicast group; and sending the copied broadcast messages to each port in the multicast group.
Optionally, the message sending module is further configured to determine, through a port, whether an identifier of a VLAN carried in the broadcast message is consistent with an identifier of a VLAN to which the port belongs; if yes, determining the port as the second target port, and forwarding the broadcast message through the port.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory, where the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the steps in the method as provided in the first aspect are executed.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, performs the steps in the method as provided in the first aspect.
Additional features and advantages of the present application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the embodiments of the present application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a schematic structural diagram of a network system according to an embodiment of the present application;
fig. 2 is a flowchart of a message redirection method according to an embodiment of the present application;
fig. 3 is a block diagram of a structure of a message redirection apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a network system according to an embodiment of the present disclosure, and according to a topological relationship between the devices in fig. 1, a server 110 is connected to a first switch 120 through a port 0/4 on the first switch 120, the first switch 120 is connected to a second switch 130 and a third switch 140, respectively, and if a multicast forwarding service is started by the third switch 140 and the second switch 130, all multicast query protocol packets are sent to the first switch 120 through ports 1/1 and 2/1. If the first switch 120 configures unknown multicast redirection in the VLAN a where the port 0/4 is located, after receiving the multicast query protocol packet, the first switch 120 redirects the unknown multicast packet in the VLAN a to the ports 0/1 and 0/2, and then the unknown multicast packet received by the first switch 120 from the server 110 is sent from the ports 0/1 and 0/2 to the second switch 130 and the third switch 140, and then the unknown multicast packet passes through the relevant forwarding rules of the second switch 130 and the third switch 140 to reach the second user terminal 160 and the third user terminal 170, while the first user terminal 150 does not receive the corresponding unknown multicast packet.
The method for redirecting the unknown multicast message is to redirect the unknown multicast message to a designated port in the corresponding multicast group through an ACL entry, such as the above-mentioned ports 0/1 and 0/2.
And for unknown unicast messages and broadcast messages, flooding the unknown unicast messages and the unknown broadcast messages to corresponding ports through flooding ports of the VLAN, and the specific implementation process is as follows:
if the first switch 120 configures VLAN a, which includes members 0/1-0/4, unknown unicast messages and broadcast messages in VLAN a will flood to member ports 0/1-0/4 of VLAN a, and if redirection of unknown multicast messages is not set, unknown multicast messages will flood to member ports 0/1-0/4 of VLAN a.
If the unknown multicast message is needed to be configured for redirection, an ACL table item is firstly created, the ACL table item is matched with the marks of the VLAN and the unknown multicast message, and the action is to redirect to the multicast group A after hit.
At this time, if the third switch 140 and the second switch 130 start the multicast forwarding service, all the multicast query protocol packets are sent to the first switch 120 through the ports 1/1 and 2/1, and the first switch 120 receives the multicast query protocol packets and adds the port 0/1 and the port 0/2 to the multicast group a. Then, the unknown multicast packet received by the third switch 140 is redirected to the multicast group a by matching the ACL entry, and the port 0/1 and the port 0/2 can receive the duplicated unknown multicast packet, and can further pass the forwarding rule of the third switch 140 and the second switch 130 to the second user terminal 160 and the third user terminal 170.
According to the above process, the unknown multicast message is redirected to the specific port by matching the ACL entries, different ACL entries are required to be configured for different VLANs, that is, one VLAN needs to configure one ACL entry and one multicast group resource, and when the number of VLANs configuring the redirection service of the unknown multicast message is large, the overhead for the ACL entry and the multicast group resource is large, and further, other services borne by the ACL entry and the multicast group may be affected.
The above prior art solutions have shortcomings which are the results of practical and careful study of the inventor, and therefore, the discovery process of the above problems and the solutions proposed by the following embodiments of the present invention to the above problems should be the contribution of the inventor to the present invention in the course of the present invention.
Therefore, in order to solve the above technical problem, an embodiment of the present application provides a message redirection method, where an unknown multicast message is redirected to a corresponding flooding port through a flooding port of a VLAN, so that the unknown multicast message is forwarded through the flooding port without configuring an ACL entry for redirection, thereby saving ACL entry and multicast group resources.
Referring to fig. 2, fig. 2 is a flowchart of a message redirection method according to an embodiment of the present application, where the method includes the following steps:
step S110: and acquiring an unknown message to be forwarded which is not matched with the forwarding table.
Taking the network system shown in fig. 1 as an example, when the first switch 120 receives a packet to be forwarded, first, a corresponding forwarding table is searched according to related information carried in the packet to be forwarded to forward the packet to be forwarded, the packet to be forwarded is forwarded by matching a VLAN, a packet source address or a destination address in the forwarding table, for example, for a multicast packet, the multicast packet may be forwarded by matching the forwarding table of the VLAN, the multicast source IP address and the multicast destination IP address, or forwarded by matching the forwarding table of the VLAN and the destination MAC address, and when the multicast packet is not matched with the forwarding table, it indicates that the multicast packet is an unknown multicast packet; for the unicast message, forwarding can be carried out through a forwarding table matched with the VLAN and the destination MAC address, and when the unicast message is not matched with the forwarding table, the unicast message is an unknown unicast message; for broadcast messages, the default is to flood forwarding in the VLAN.
The broadcast message, the unicast message and the multicast message can be distinguished through the destination MAC carried in the message, if the message with the destination MAC address being 1 is the broadcast message, the non-broadcast message with the lowest bit of the first byte of the destination MAC address being 1 is the multicast message, and the message with the lowest bit of the first byte of the destination MAC address being 0 is the unicast message.
Therefore, after receiving the message to be forwarded, the first switch 120 searches a forwarding table according to information carried by the message to be forwarded, and determines that the message to be forwarded is an unknown message if the message to be forwarded is not matched with any forwarding table.
Step S120: and determining the message type of the unknown message to be forwarded.
After determining that the message to be forwarded is an unknown message, the message type of the message to be forwarded can be determined through the destination MAC address carried in the message, and if the non-broadcast message whose lowest bit of the first byte of the destination MAC address is 1 is a multicast message, if the message is not matched with a forwarding table, and is also a multicast message, the message type of the message can be determined to be an unknown multicast message.
Step S130: and when the message type is an unknown multicast message, redirecting the unknown multicast message to a flooding port according to the pre-configured flooding port of the virtual local area network VLAN corresponding to the unknown multicast message.
Step S140: and forwarding the unknown multicast message through the flooding port.
If the message forwarding device is the first switch 120, the flooding port is at least one port on the first switch 120, and the ports on the first switch 120 may be VLAN-divided, for example, a VLAN a is created in the first switch 120, and the ports 0/1, 0/2, 0/3, and 0/4 on the first switch 120 belong to VLAN a, and the ports 0/1, 0/2, 0/3, and 0/4 are all added to the check port list of VLAN a and the flooding port list of VLAN a.
If the VLAN id carried in the unknown multicast packet is VLAN a, the corresponding flooding port includes ports 0/1, 0/2, 0/3, and 0/4, and the unknown multicast packet is redirected to ports 0/1, 0/2, 0/3, and 0/4, that is, the unknown multicast packet is forwarded from these four ports.
Different flooding ports can be configured for different unknown multicast redirection requirements, and if the unknown multicast packet redirection function is configured on the first switch 120, the flooding port list of the VLAN a can be cleared first.
For example, if the first switch 120 creates the VLAN 100 and the VLAN 100 on the first switch 120 configures an unknown multicast packet redirection function, the multicast service in the first switch 120 will first empty the flooding port list of the VLAN 100, for example, the above-mentioned ports 0/1, 0/2, 0/3, and 0/4 are deleted from the flooding port list of the VLAN 100.
If the third switch 140 and the second switch 130 open the multicast forwarding service, all multicast query protocol packets are sent to the first switch 120 through the port 1/1 and the port 2/1, and the first switch 120 adds the source port 0/1 and the port 0/2, which receive the multicast query protocol packets, to the flooding port list of the VLAN 100 after receiving the multicast query protocol packets.
Thus, when the first switch 120 receives the unknown multicast packet, the unknown multicast packet is redirected to the flooding port in the flooding port list of the VLAN to which the unknown multicast packet belongs. For example, an unknown multicast packet whose destination MAC is 01:00:5E:00:00:01 and VLAN is 100 enters the port 0/4 of the first switch 120, after VLAN check is performed in the entry direction of the port 0/4, the unknown multicast packet is flooded through the flooding port list of the VLAN 100, if the flooding port list of the VLAN 100 has no port, the unknown multicast packet is directly discarded, and if the flooding ports in the flooding port list of the VLAN 100 include 0/1 and 0/2, the unknown multicast packet is sent to the flooding port 0/1 and the port 0/2, and the unknown multicast packet is forwarded through the two ports, and then forwarded to the corresponding user terminal through the third switch 140 and the second switch 130.
In the implementation process, the unknown multicast message is redirected to the corresponding flooding port through the flooding port of the VLAN, so that the unknown multicast message is forwarded through the flooding port without configuring an ACL (access control list) entry for redirection, and further ACL entries and multicast group resources are saved.
In addition, when the port 0/4 of the first switch 120 receives the message to be forwarded, the port 0/4 may perform VLAN check on the message to be forwarded, that is, the port obtains the identifier of the VLAN carried by the message from the message to be forwarded, and then determines whether the identifier of the VLAN carried by the message to be forwarded is the same as the identifier of the VLAN to which the port belongs, if so, the message to be forwarded is allowed to pass through, and if not, the message to be forwarded is discarded.
The message to be forwarded through the port check enters the switch, and the switch searches the corresponding flooding port after determining that the message to be forwarded is an unknown multicast message. When the message is sent through the flooding port, the flooding port also obtains the identifier of the VLAN carried by the message and the identifier of the VLAN, and compares the identifier with the identifier of the flooding port, if the identifier of the VLAN carried by the message is the same as the identifier of the VLAN, the message is forwarded through the port, and if the identifier of the VLAN is not the same as the identifier of the flooding port, the message is discarded and is not forwarded.
In the process of determining the flooding port, the VLAN identifier carried in the unknown multicast packet may be obtained first, then the VLAN flooding port list corresponding to the VLAN identifier is searched, the flooding port in the VLAN flooding port list is determined, and the unknown multicast packet is redirected to the corresponding flooding port.
It can be understood that, for unknown multicast redirection requirements of different VLANs in the first switch 120, a corresponding relationship between a corresponding VLAN and its flooding port list is configured, for example, for VLAN 100, a flooding port list corresponding to VLAN 100 is configured, and at least one flooding port, for example, including ports 0/1 and 0/2, is configured in its flooding port list, and for VLAN 200, a flooding port list corresponding to VLAN 200 is configured, and at least one flooding port, for example, including ports 0/3 and 0/4, is configured in its flooding port list. If the first switch 120 obtains the VLAN identifier carried in the unknown multicast packet as 100 after receiving the unknown multicast packet, the first switch searches for the flooding port list corresponding to the VLAN 100, thereby obtaining the flooding ports, i.e., the ports 0/1 and 0/2, in the flooding port list, and at this time, the unknown multicast packet can be forwarded from the ports 0/1 and 0/2.
When the unknown multicast messages are redirected to the flooding ports, the unknown multicast messages corresponding to the number of the flooding ports are firstly copied, and then the copied unknown multicast messages are sent to all the flooding ports one by one. For example, if the flooding port includes the ports 0/1 and 0/2, two unknown multicast packets are copied, and then one of the unknown multicast packets is sent to the port 0/1, and the other unknown multicast packet is sent to the port 0/2, so that redirection of the unknown multicast packets can be achieved.
In the implementation process, the flooding port corresponding to the VLAN is searched according to the identifier of the VLAN carried in the packet, so that the flooding port corresponding to the unknown multicast packet can be accurately obtained.
As an example, if there is a corresponding redirection requirement for the unicast message and the broadcast message, the above method may also be used for redirection for the unicast message and the broadcast message, and for brevity of description, the description is not repeated here.
If the unicast message and the broadcast message are not required to be redirected, the unicast message and the broadcast message are flooded through corresponding ports, if the message type is unknown unicast message, the unknown unicast message is redirected into a multicast group in a first ACL table item according to a first ACL table item ACL configured in advance, the multicast group comprises all ports on message forwarding equipment, then the unknown unicast message is determined to be forwarded through a first target port on the message forwarding equipment according to the identification of the VLAN carried by the unknown unicast message, and the identification of the VLAN to which the first target port belongs is consistent with the identification of the VLAN carried by the unknown unicast message.
Forwarding logic for unknown unicast messages and broadcast messages is to implement forwarding of messages through ACL entry and VLAN outgoing direction filtering, for example, a multicast group a is created by default on the first switch 120, the multicast group a includes all ports on the first switch 120, then an ACL entry (i.e., a first ACL entry) is created on the first switch 120, a matching entry of the ACL entry is a mark of the unknown unicast message, and the action is to redirect to the multicast group a after hit.
If the system of the first switch 120 starts initialization of a user operation thread, multicast service, and VLAN industry, for the operation thread to respond to user operation, the multicast service starts monitoring a multicast protocol packet by default, and the VLAN service establishes a multicast group a by default, if the first switch 120 includes ports 0/1-0/48, the ports 0/1-0/48 are added to the multicast group a, and the ingress VLAN check and the egress VLAN check of 0/1-0/48 are started by default.
An ACL entry (i.e., a first ACL entry) is created on the first switch 120, the first ACL entry is configured with a flag of an unknown unicast packet, and the configured action is to redirect the unknown unicast packet to a multicast group, for example, a multicast group a, all unknown unicast packets entering the first switch 120 are sent to the multicast group a, that is, unknown unicast packets with corresponding port numbers are copied, and then the ports 0/1 to 0/48 all receive one same unknown unicast packet.
For example, a user creates VLAN 100 by command and adds ports 0/1-0/4 to the member port list of VLAN 100 (for inbound and outbound VLAN checks) and the flooding port list of VLAN 100. When a message to be forwarded enters the port 0/1-0/4, the port first checks the identifier of the VLAN carried by the message to be forwarded, that is, determines whether the identifier of the VLAN carried by the message to be forwarded is consistent with the identifier of the VLAN to which the port belongs, receives the message to be forwarded if the identifier of the VLAN carried by the message to be forwarded is consistent with the identifier of the VLAN to which the port belongs, and discards the message to be forwarded if the identifier of the VLAN carried by the message to be forwarded is inconsistent with the identifier of the VLAN. If the destination MAC is unknown unicast message with a destination MAC of 00:01:00:01:00:01 and VLAN ═ 100 enters port 0/4, the entry direction VLAN of port 0/4 is checked, and then the unknown unicast message is redirected to multicast group a through a first ACL entry for flooding, that is, the unknown unicast message corresponding to the number of all ports in multicast group a is copied, and then the copied unknown unicast message is sent to each port in multicast group a.
It can be understood that if there are 48 ports in the multicast group, 48 unknown unicast messages are copied, and then one of the unknown unicast messages is sent to 48 ports, after the message arrives at the port, the unknown unicast message is subjected to outbound VLAN check through 0/1-0/48, the message reaching 0/1-0/3 is sent out through outbound VLAN check, and the message reaching 0/5-0/48 is directly discarded if the outbound VLAN check fails.
In the process of performing VLAN check on a port, whether an identifier of a VLAN carried by an unknown unicast message is consistent with an identifier of a VLAN to which the port belongs is determined by the port, if so, the port is determined to be the first target port, the unknown unicast message is forwarded through the port, and if the port 0/1-0/3 determines that the identifier of the VLAN carried by the message is 100 and the identifier of the VLAN to which the port 0/1-0/3 belongs is also 100, the port 0/1-0/3 is determined to be the first target port, and then the message through the port 0/1-0/3 is sent out, and the messages of other ports are discarded. Since the unknown unicast packet is received from the port 0/4, the unknown unicast packet may not be sent to the port 0/4, or may be sent to the port 0/4, and the port 0/4 may discard the packet received before when determining the unknown unicast packet.
In the implementation process, the unknown unicast message is flooded to all ports on the message forwarding equipment through the first ACL table entry, and then the unknown unicast message is filtered by combining with the output port, so that only one first ACL table entry needs to be configured for all the unknown unicast messages, and further resources of the ACL table entries and the multicast group are saved.
In addition, as an example, for a broadcast message, the process of flooding the broadcast message to a corresponding port is similar to that of the unicast message, that is, when the message type is a broadcast message, the broadcast message is redirected to a multicast group in a second ACL entry according to a preset configured second ACL entry, the multicast group includes all ports on a message forwarding device, then it is determined according to an identifier of a VLAN carried by the broadcast message that the broadcast message is sent out through a second target port on the message forwarding device, and the identifier of the VLAN to which the second target port belongs is consistent with the identifier of the VLAN carried in the broadcast message.
If a multicast group a is created by default on the first switch 120, the multicast group a includes all ports on the first switch 120, then an ACL entry (i.e. a second ACL entry) is created on the first switch 120, a matching entry of the ACL entry is a flag of the broadcast packet, and the action is to redirect to the multicast group a after hit.
If ports 0/1-0/48 are included on the first switch 120, then ports 0/1-0/48 are added to multicast group a and inbound and outbound VLAN checks of 0/1-0/48 are turned on by default.
An ACL entry (i.e., a second ACL entry) is created on the first switch 120, the second ACL entry is configured with a tag of a broadcast message, the configured action is to redirect the broadcast message to a multicast group, for example, a multicast group a, all broadcast messages entering the first switch 120 will be sent to the multicast group a, i.e., broadcast messages with a corresponding port number are copied, and then the ports 0/1-0/48 will all receive one same broadcast message.
For example, a user creates the VLAN 200 through a command, and adds the ports 0/1 to 0/5 to a member port list (for incoming direction VLAN check and outgoing direction VLAN check) of the VLAN 200 and a flooding port list of the VLAN 200, when a message to be forwarded enters the port 0/1 to 0/5, the port first checks an identifier of the VLAN carried in the message to be forwarded, that is, determines whether the identifier of the VLAN carried in the message to be forwarded is consistent with an identifier of a VLAN to which the port belongs, and if so, receives the message to be forwarded, and if not, discards the message to be forwarded. If the destination MAC is a broadcast message entry port 0/4 with FF: FF, VLAN ═ 200, the broadcast message is subjected to VLAN check in the entry direction of the port 0/4, and then redirected to the multicast group a through a second ACL entry for flooding, that is, the broadcast messages corresponding to the number of all ports in the multicast group a are copied, and then the copied broadcast messages are sent to each port in the multicast group a one by one.
It can be understood that if there are 48 ports in the multicast group, 48 broadcast messages are duplicated and then sent to 48 ports one by one, after the message arrives at the port, the broadcast message goes through 0/1-0/48 for outbound VLAN check, the messages going to 0/1-0/3 and 0/5 will be sent out through outbound VLAN check, and the messages going to 0/6-0/48 for outbound VLAN check fail are directly discarded.
In the process of performing VLAN check on the port, whether the identifier of the VLAN carried by the broadcast message is consistent with the identifier of the VLAN to which the port belongs is determined by the port, if so, the port is determined to be the second target port, the broadcast message is forwarded through the port, and if the identifiers of the VLANs carried by the broadcast message are determined to be 200 by the ports 0/1-0/3 and 0/5 and the identifiers of the VLANs carried by the ports 0/1-0/3 and 0/5 are also 200, the ports 0/1-0/3 and 0/5 are determined to be the second target ports, so that the message can be sent out through the ports 0/1-0/3 and the ports 0/5, and the messages of the other ports are discarded. Since the broadcast packet is received from the port 0/4, the broadcast packet may not be sent to the port 0/4, and may also be sent to the port 0/4, and the port 0/4 may discard the previously received packet when determining the broadcast packet.
In the implementation process, the broadcast message is flooded to all ports on the message forwarding device through the second ACL table entry, and then the broadcast message is filtered by combining with the output port, so that only one second ACL table entry needs to be configured for all the broadcast messages, and further resources of the ACL table entries and the multicast group are saved.
The ACL entries configured for the unknown unicast messages and the broadcast messages are configured with corresponding VLANs, so that the unknown unicast messages and the broadcast messages belonging to all the VLANs can be matched with the corresponding ACL entries, and the messages are filtered through the ports, so that an ACL entry does not need to be configured for each VLAN, and resources of the ACL entries and multicast groups are saved.
Referring to fig. 3, fig. 3 is a block diagram of a message redirection apparatus 200 according to an embodiment of the present disclosure, where the apparatus 200 may be a module, a program segment, or code on an electronic device (such as the first switch 120). It should be understood that the apparatus 200 corresponds to the above-mentioned embodiment of the method of fig. 2, and can perform various steps related to the embodiment of the method of fig. 2, and the specific functions of the apparatus 200 can be referred to the above description, and the detailed description is appropriately omitted here to avoid redundancy.
Optionally, the apparatus 200 comprises:
a message acquiring module 210, configured to acquire an unknown message to be forwarded that is not matched to a forwarding table;
a message type determining module 220, configured to determine a message type of an unknown message to be forwarded;
a message redirection module 230, configured to, when the message type is an unknown multicast message, redirect the unknown multicast message to a flooding port according to a pre-configured flooding port of a virtual local area network VLAN corresponding to the unknown multicast message, where the flooding port is at least one port on a message forwarding device;
and a message sending module 240, configured to forward the unknown multicast message through the flooding port.
Optionally, the message redirection module 230 is configured to obtain an identifier of a VLAN carried in the unknown multicast message; searching a VLAN flooding port list corresponding to the VLAN identifier; and determining a flooding port in the VLAN flooding port list, and redirecting the unknown multicast message to the flooding port.
Optionally, the message redirection module 230 is configured to copy the unknown multicast message corresponding to the number of the flooding ports; and sending the copied unknown multicast messages to each flooding port one by one.
Optionally, the message redirecting module 230 is further configured to, when the message type is an unknown unicast message, redirect the unknown unicast message to a multicast group in a first ACL entry according to a preconfigured first ACL entry, where the multicast group includes all ports on the message forwarding device;
the message sending module 240 is further configured to determine, according to an identifier of a VLAN carried in the unknown unicast message, to forward the unknown unicast message through a first target port on the message forwarding device, where an identifier of the VLAN to which the first target port belongs is consistent with an identifier of the VLAN carried in the unknown unicast message.
Optionally, a flag of the unknown unicast packet is configured in the first ACL entry, and the configured action is to redirect the unknown unicast packet to the multicast group.
Optionally, the packet redirection module 230 is further configured to copy an unknown unicast packet corresponding to the number of all ports in the multicast group; and sending the copied unknown unicast messages to each port in the multicast group.
Optionally, the message sending module 240 is further configured to determine, through a port, whether an identifier of a VLAN carried in the unknown unicast message is consistent with an identifier of a VLAN to which the port belongs; if yes, determining the port as the first target port, and forwarding the unknown unicast message through the port.
Optionally, the message redirecting module 230 is further configured to, when the message type is a broadcast message, redirect the broadcast message to a multicast group in a second ACL entry according to a second ACL entry configured in advance, where the multicast group includes all ports on the message forwarding device;
the message sending module 240 is further configured to determine, according to an identifier of a VLAN carried in the broadcast message, that the broadcast message is forwarded through a second target port on the message forwarding device, where an identifier of the VLAN to which the second target port belongs is consistent with an identifier of the VLAN carried in the broadcast message.
Optionally, a flag of the broadcast packet is configured in the second ACL entry, and the configured action is to redirect the broadcast packet to the multicast group.
Optionally, the message redirection module 230 is further configured to copy broadcast messages that are consistent with the number of all ports in the multicast group; and sending the copied broadcast messages to each port in the multicast group.
Optionally, the message sending module 240 is further configured to determine, through a port, whether an identifier of a VLAN carried in the broadcast message is consistent with an identifier of a VLAN to which the port belongs; if yes, determining the port as the second target port, and forwarding the broadcast message through the port.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure, where the electronic device may be the above-mentioned message forwarding device, such as the first switch 120, and the electronic device may include: at least one processor 310, such as a CPU, at least one communication interface 320, at least one memory 330, and at least one communication bus 340. Wherein the communication bus 340 is used for realizing direct connection communication of these components. The communication interface 320 of the device in the embodiment of the present application is used for performing signaling or data communication with other node devices. The memory 330 may be a high-speed RAM memory or a non-volatile memory (e.g., at least one disk memory). The memory 330 may optionally be at least one memory device located remotely from the aforementioned processor. The memory 330 stores computer readable instructions, which when executed by the processor 310, cause the electronic device to perform the method process of fig. 2.
It should be understood that the electronic device may further include other devices, such as a communication module, and the communication solution 320 is an interface on the first switch 120, which is not shown in detail here. The memory 330 may be configured to store information such as the ACL entry and the flooding port list of the VLAN, and the processor 310 may be configured to redirect and forward an unknown multicast packet, flood a unicast packet or a broadcast packet to all ports on the packet forwarding device, and then filter and forward the unicast packet or the broadcast packet through the ports.
The embodiment of the present application provides a readable storage medium, and when being executed by a processor, the computer program performs the method process performed by the electronic device in the method embodiment shown in fig. 2.
The present embodiments disclose a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the methods provided by the above-described method embodiments, for example, comprising: acquiring an unknown message to be forwarded which is not matched with a forwarding table; determining the message type of an unknown message to be forwarded; when the message type is an unknown multicast message, redirecting the unknown multicast message to a flooding port according to a pre-configured flooding port of a Virtual Local Area Network (VLAN) corresponding to the unknown multicast message, wherein the flooding port is at least one port on message forwarding equipment; and forwarding the unknown multicast message through the flooding port.
To sum up, the embodiment of the present application provides a method and an apparatus for redirecting a packet, an electronic device, and a readable storage medium, in which an unknown multicast packet is redirected to a corresponding flooding port through a flooding port of a VLAN, so that the unknown multicast packet is forwarded through the flooding port without configuring an ACL entry for redirection, thereby saving ACL entries and multicast group resources.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
In addition, units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
Furthermore, the functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A method for redirecting a message, the method comprising:
acquiring an unknown message to be forwarded which is not matched with a forwarding table;
determining the message type of an unknown message to be forwarded;
when the message type is an unknown multicast message, redirecting the unknown multicast message to a flooding port according to a pre-configured flooding port of a Virtual Local Area Network (VLAN) corresponding to the unknown multicast message, wherein the flooding port is at least one port on message forwarding equipment;
forwarding the unknown multicast message through the flooding port;
when the message type is other types of messages, redirecting the other types of messages to a multicast group in an ACL table according to a preconfigured ACL table corresponding to the other types of messages, wherein the multicast group comprises all ports on the message forwarding equipment, and the other types of messages are unknown unicast messages or unknown broadcast messages;
and determining to forward the other types of messages through a target port on the message forwarding equipment according to the identifiers of the VLANs carried in the other types of messages, wherein the identifier of the VLAN to which the target port belongs is consistent with the identifiers of the VLANs carried in the other types of messages.
2. The method of claim 1, wherein redirecting the unknown multicast packet to the flooding port according to a preset flooding port of a Virtual Local Area Network (VLAN) corresponding to the multicast packet comprises:
acquiring the VLAN identifier carried in the unknown multicast message;
searching a VLAN flooding port list corresponding to the VLAN identifier;
and determining a flooding port in the VLAN flooding port list, and redirecting the unknown multicast message to the flooding port.
3. The method of claim 1, wherein a flag of the unknown unicast packet is configured in the first ACL entry, and wherein the configured action is to redirect the unknown unicast packet to the multicast group.
4. The method of claim 1, wherein the redirecting the unknown unicast packet to the multicast group in the first ACL entry according to the preconfigured first ACL entry comprises:
copying unknown unicast messages corresponding to the number of all ports in the multicast group;
and sending the copied unknown unicast messages to each port in the multicast group.
5. The method of claim 4, wherein the determining to forward the unknown unicast message through the first destination port on the message forwarding device according to the identifier of the VLAN carried in the unknown unicast message comprises:
judging whether the VLAN identification carried by the unknown unicast message is consistent with the VLAN identification of the port through the port;
if yes, determining the port as the first target port, and forwarding the unknown unicast message through the port.
6. The method of claim 1, wherein a flag of the broadcast packet is configured in the second ACL entry, and the configured action is to redirect the broadcast packet to the multicast group.
7. The method of claim 1, wherein the determining to forward the broadcast packet through the second destination port on the packet forwarding device according to the identifier of the VLAN carried by the broadcast packet comprises:
judging whether the VLAN identification carried by the broadcast message is consistent with the VLAN identification of the port through the port;
if yes, determining the port as the second target port, and forwarding the broadcast message through the port.
8. An apparatus for redirecting packets, the apparatus comprising:
the message acquisition module is used for acquiring an unknown message to be forwarded which is not matched with the forwarding table;
the message type determining module is used for determining the message type of an unknown message to be forwarded;
a message redirection module, configured to redirect, when the message type is an unknown multicast message, the unknown multicast message to a flooding port according to a pre-configured flooding port of a virtual local area network VLAN corresponding to the unknown multicast message, where the flooding port is at least one port on a message forwarding device;
the message sending module is used for forwarding the unknown multicast message through the flooding port;
the message redirection module is further configured to, when the message type is another type of message, redirect the another type of message to a multicast group in an ACL entry according to a preconfigured ACL entry corresponding to the another type of message, where the multicast group includes all ports on the message forwarding device, and the another type of message is an unknown unicast message or an unknown broadcast message;
the message sending module is further configured to determine to forward the other types of messages through a target port on the message forwarding device according to identifiers of VLANs carried in the other types of messages, where the identifier of the VLAN to which the target port belongs is consistent with the identifiers of VLANs carried in the other types of messages.
9. An electronic device comprising a processor and a memory, the memory storing computer readable instructions that, when executed by the processor, perform the method of any of claims 1-7.
10. A readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-7.
CN201911107869.5A 2019-11-13 2019-11-13 Message redirection method and device, electronic equipment and readable storage medium Active CN110830371B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911107869.5A CN110830371B (en) 2019-11-13 2019-11-13 Message redirection method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911107869.5A CN110830371B (en) 2019-11-13 2019-11-13 Message redirection method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN110830371A CN110830371A (en) 2020-02-21
CN110830371B true CN110830371B (en) 2022-04-05

Family

ID=69554614

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911107869.5A Active CN110830371B (en) 2019-11-13 2019-11-13 Message redirection method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN110830371B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111541610A (en) * 2020-04-21 2020-08-14 北京天融信网络安全技术有限公司 Communication method, communication device, network equipment and computer readable storage medium
CN111970201A (en) * 2020-08-28 2020-11-20 迈普通信技术股份有限公司 Multi-chip cascade forwarding system and forwarding control method
CN112866114B (en) * 2020-12-31 2022-12-13 锐捷网络股份有限公司 Multicast message processing method and device
CN113132257B (en) * 2021-04-29 2022-04-26 杭州迪普信息技术有限公司 Message processing method and device
CN114024725B (en) * 2021-10-25 2023-06-20 全球能源互联网研究院有限公司南京分公司 Inter-container communication method, system, electronic equipment and storage medium
CN113992592B (en) * 2021-10-27 2023-11-17 锐捷网络股份有限公司 Message forwarding method and device, port drainage system and storage medium
CN114143126A (en) * 2021-11-26 2022-03-04 广州芯德通信科技股份有限公司 Multicast data processing method, system and platform using default VLAN
CN114244768A (en) * 2021-12-23 2022-03-25 北京东土军悦科技有限公司 Forwarding method, device, equipment and storage medium for two-layer unknown multicast
CN117499343A (en) * 2022-07-25 2024-02-02 中兴通讯股份有限公司 Multicast message processing method and device, storage medium and electronic device

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5684800A (en) * 1995-11-15 1997-11-04 Cabletron Systems, Inc. Method for establishing restricted broadcast groups in a switched network
CN100463426C (en) * 2002-12-31 2009-02-18 中兴通讯股份有限公司 Sevice quality control/device and method based on virtual network marker
CN101159665B (en) * 2007-08-28 2010-04-14 杭州华三通信技术有限公司 Method and device to implement forwarding of unknown multicast packet to router port
CN102857428B (en) * 2012-09-18 2015-11-25 杭州华三通信技术有限公司 A kind of message forwarding method based on Access Control List (ACL) and equipment
CN102932228B (en) * 2012-11-20 2016-03-09 华为技术有限公司 The communication means of TRILL network and device, system
CN104184686B (en) * 2014-08-20 2017-10-17 新华三技术有限公司 The method and apparatus for controlling broadcast traffic on the virtual bridged link in edge
CN104539545B (en) * 2014-12-31 2018-01-12 新华三技术有限公司 Method for forwarding multicast message and equipment in TRILL network
CN105991783A (en) * 2015-02-06 2016-10-05 中兴通讯股份有限公司 MAC (Media Access Control) address learning method, device and system
CN107493236A (en) * 2016-06-13 2017-12-19 中兴通讯股份有限公司 The management method and device of MAC forward tables, interchanger
CN107566237B (en) * 2016-06-30 2021-06-29 深圳市中兴通讯技术服务有限责任公司 Data message processing method and device
CN108259379B (en) * 2017-05-08 2021-11-02 新华三技术有限公司 Flow forwarding method and device

Also Published As

Publication number Publication date
CN110830371A (en) 2020-02-21

Similar Documents

Publication Publication Date Title
CN110830371B (en) Message redirection method and device, electronic equipment and readable storage medium
CN107819677B (en) Message forwarding method and device
EP1858212B1 (en) A MAC Frame Transfer Method, an edge bridge, and a system for reducing flooding
US8902757B2 (en) Method and system for transparent LAN services in a packet network
US5946308A (en) Method for establishing restricted broadcast groups in a switched network
US7590116B2 (en) Method for forwarding multicast message in network communication
US8804726B2 (en) Virtual local area network (VLAN)-based membership for multicast VLAN registration
US8081633B2 (en) Network node unit and method for forwarding data packets
US7489682B2 (en) Packet relay system
CN108768866B (en) Cross-card forwarding method and device for multicast message, network equipment and readable storage medium
CN108964940B (en) Message sending method and device and storage medium
US20130064246A1 (en) Packet Forwarding Using an Approximate Ingress Table and an Exact Egress Table
EP3402130B1 (en) Information transmission method and device
WO2021093463A1 (en) Packet forwarding method, first network device, and first device group
CN110401726B (en) Method, device and equipment for processing address resolution protocol message and storage medium
CN108768845B (en) Multi-homing host routing synchronization method and device
CN109067673B (en) Method and system for learning MAC address in stacking system
CN112242925B (en) Safety management method and equipment
CN111600800B (en) Method and device for discovering cross-network-segment topology
JP2005277653A (en) Communication terminal
CN108900440B (en) Message forwarding method and device
CN110945847B (en) Method, device and system for rapidly recovering service in path switching process
JP3443283B2 (en) Distribution list creation method
CN113285877A (en) Message forwarding control method and related device
GB2414360A (en) Translating data packet multicast addresses to multiple unicast addresses

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