CN108259300B - Method and device for forwarding broadcast message - Google Patents

Method and device for forwarding broadcast message Download PDF

Info

Publication number
CN108259300B
CN108259300B CN201710530804.6A CN201710530804A CN108259300B CN 108259300 B CN108259300 B CN 108259300B CN 201710530804 A CN201710530804 A CN 201710530804A CN 108259300 B CN108259300 B CN 108259300B
Authority
CN
China
Prior art keywords
port
vxlan
layer
broadcast message
ipp
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
CN201710530804.6A
Other languages
Chinese (zh)
Other versions
CN108259300A (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.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201710530804.6A priority Critical patent/CN108259300B/en
Publication of CN108259300A publication Critical patent/CN108259300A/en
Application granted granted Critical
Publication of CN108259300B publication Critical patent/CN108259300B/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
    • 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
    • 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
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering

Landscapes

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

Abstract

A method and a device for forwarding broadcast messages are applied to distributed relay equipment of a distributed relay system, wherein the method comprises the following steps: receiving a first VxLAN broadcast message through a VxLAN port of the VxLAN tunnel; copying a plurality of first VxLAN broadcast messages according to other output ports except VxLAN ports in the VxLAN broadcast table; when the internal inlet port IPP port is an outlet port outside the VxLAN tunnel port, sending a first VxLAN broadcast message through the IPP port; when the second-layer port of the first distributed aggregation port is an output port outside the VxLAN tunnel port, a first VxLAN broadcast message is unpacked into a first Ethernet broadcast message and sent through the second-layer port of the first distributed aggregation port; and when the second layer port of the second distributed aggregation port is an output port outside the VxLAN tunnel port, decapsulating one first VxLAN broadcast message into a first Ethernet broadcast message, and sending the first Ethernet broadcast message through the second layer port of the second distributed aggregation port.

Description

Method and device for forwarding broadcast message
Technical Field
The present application relates to communications technologies, and in particular, to the field of distributed systems, and in particular, to a method and an apparatus for forwarding a broadcast packet.
Background
DRS (Distributed Relay System) is a new Distributed System. The IPP (Intra-port) between DR (Distributed Relay) devices of each Distributed Relay system are interconnected by an IPP link. Ports of a plurality of distributed devices of the same distributed relay system connected to the same device are set as distributed aggregation ports.
The distributed relay system is applied to a VxLAN (Virtual extensible Local Area Network), each distributed relay device of each distributed relay system serves as a VETP, a VxLAN tunnel is established with one distributed relay device of another distributed relay system, and a plurality of VxLAN tunnels exist between the two distributed relay systems.
However, the prior art has not addressed how each distributed relay system within a VxLAN network does not cause a looped forwarded VxLAN broadcast message.
Disclosure of Invention
The invention aims to provide a forwarding method and a forwarding device for forwarding a broadcast message, which are used for avoiding a VxLAN broadcast message forwarding loop of a distributed relay system.
In order to achieve the above object, the present invention provides a method for forwarding a broadcast packet, wherein the method is applied to a distributed relay device of a distributed relay system, and the method comprises: receiving a first VxLAN broadcast message through a VxLAN port of the VxLAN tunnel; copying a plurality of first VxLAN broadcast messages according to other output ports except VxLAN ports in the VxLAN broadcast table; when the internal inlet port IPP port is an outlet port outside the VxLAN tunnel port, sending a first VxLAN broadcast message through the IPP port; when the second-layer port of the first distributed aggregation port is an output port outside the VxLAN tunnel port, a first VxLAN broadcast message is unpacked into a first Ethernet broadcast message and sent through the second-layer port of the first distributed aggregation port; and when the second layer port of the second distributed aggregation port is an output port outside the VxLAN tunnel port, decapsulating one first VxLAN broadcast message into a first Ethernet broadcast message, and sending the first Ethernet broadcast message through the second layer port of the second distributed aggregation port.
In order to achieve the above object, the present invention provides a device for forwarding broadcast messages, which is applied to a distributed relay device of a distributed relay system, and the device comprises: the receiving unit is used for receiving a first VxLAN broadcast message through a VxLAN port of the VxLAN tunnel; the forwarding unit is used for copying a plurality of first VxLAN broadcast messages according to other output ports except the VxLAN ports in the VxLAN broadcast table; the VxLAN broadcast message sending unit is used for sending a first VxLAN broadcast message through the IPP port when the IPP port of the internal inlet port is an outlet port outside a port of the VxLAN tunnel; when the second-layer port of the first distributed aggregation port is an output port outside the VxLAN tunnel port, a first VxLAN broadcast message is unpacked into a first Ethernet broadcast message and sent through the second-layer port of the first distributed aggregation port; and when the second layer port of the second distributed aggregation port is an output port outside the VxLAN tunnel port, decapsulating one first VxLAN broadcast message into a first Ethernet broadcast message, and sending the first Ethernet broadcast message through the second layer port of the second distributed aggregation port.
Drawings
Fig. 1 is a schematic diagram of a VxLAN broadcast message forwarded by a distributed relay system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of forwarding an ethernet broadcast packet by a distributed relay system according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating that a VxLAN broadcast message is forwarded by a distributed relay system according to another embodiment;
fig. 4 is a schematic diagram of forwarding an ethernet broadcast packet by a distributed relay system according to an embodiment of the present invention;
fig. 5 is a block diagram of a broadcast packet forwarding apparatus according to the present invention.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein 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 appended 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 refers to and encompasses 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 herein to describe various information, these 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. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
As shown in fig. 1, the IPP port 211 of the DR21 and the IPP port 221 of the DR22 of the DRS system 20 are connected by an IPP link 200. Port 212 of DR21 and port 222 of DR22 are configured as first distributed aggregate ports (not shown) for connecting devices 23, and port 213 of DR21 and port 223 of DR22 are configured as second distributed aggregate ports (not shown) for connecting devices 24. DR21 sets IPP port 211 isolated from port 212 and sets IPP port 211 isolated from port 213. DR22 sets IPP port 221 isolated from port 222 and sets IPP port 221 isolated from port 223.
The IPP port of DR31 and the IPP port of DR32 of DRS system 30 are connected by an IPP link. DRS system 30 forwards VxLAN broadcast messages and ethernet broadcast messages in the same manner as DRS system 20. Therefore, the DRS20 will be described in detail as an example.
DR21 and DR31 establish a first VxLAN tunnel for the VxLAN instance, and DR22 and DR32 establish a second VxLAN tunnel within the VxLAN instance.
DR21 sets up AC (Access Circuit) 201 of IPP link 200 carrying VxLAN instance; setting up a layer two link (not shown) connecting device 23 to carry AC202 for the VxLAN instance; a two-layer link (not shown) connecting devices 24 is provided to carry AC203 for the VxLAN instance.
DR22 sets IPP link 200 to carry AC (Access Circuit) 204 within the VxLAN instance; setting up a layer two link (not shown) connecting device 23 to carry an AC205 of a VxLAN instance; a two-layer link (not shown) connecting devices 24 is provided as AC206 for the VxLAN instance.
DR21 adds IPP port 211 of AC201, port 212 of AC202, port 213 of AC203, and port 214 connecting the first VxLAN tunnel to the VxLAN instance broadcast table.
DR22 adds IPP port 221 of AC204, port 222 of AC205, port 223 of AC206, and egress port 224 of the second VxLAN tunnel to the VxLAN instance broadcast table.
DR21 enables the ingress direction of IPP port 211 of AC201 to be split horizontally, and does not enable the egress direction of IPP port 211 of AC201 to be split horizontally; ingress and egress direction horizontal splitting of the two-tier ports 212 of the AC202 is not enabled; ingress and egress direction horizontal splitting of the two-tier ports 213 of the AC203 is not enabled; ingress and egress direction horizontal splitting of port 214 of the first VxLAN tunnel is enabled.
DR22 enables the ingress direction of IPP port 221 of AC204 to be split horizontally, and does not enable the egress direction of IPP port 221 of AC204 to be split horizontally; ingress and egress direction horizontal splitting of the two-tier link ports 222 of the AC205 is not enabled; the ingress and egress direction horizontal splitting of the two-tier link port 223 of the AC206 is not enabled; ingress and egress direction horizontal splitting of port 224 of the second VxLAN tunnel is enabled.
DR21 receives VxLAN broadcast message 41 from DR31 through the first VxLAN tunnel, and finds the broadcast table of the VxLAN instance according to VxLAN instance identification (VID) of VxLAN broadcast message 41. DR21 copies VxLAN broadcast message 41 according to the port found in the broadcast table other than the ingress port.
DR21 determines that IPP port 211 of AC201 is not an isolated port of port 214 of the first VxLAN tunnel and does not enable out-direction horizontal segmentation, and sends a VxLAN broadcast message 41 through IPP port 211 of AC 201. DR21 determines that port 212 of AC202 is not an isolated port of port 214 of the first VxLAN tunnel and does not enable out-direction horizontal segmentation, decapsulates a copy of VxLAN broadcast message 41 sent through port 212 into ethernet broadcast message 42 and sends ethernet broadcast message 42 through port 212. DR21 determines that port 213 is not an isolated port of port 214 of the first VxLAN tunnel and does not enable out-direction horizontal segmentation and port 213, decapsulates VxLAN broadcast message 41 sent through port 213 into ethernet broadcast message 42 and sends ethernet broadcast message 42 through port 213.
DR22 receives a VxLAN broadcast message 41 through IPP port 221, and finds the broadcast table of the VxLAN instance according to the VID of VxLAN broadcast message 41. The DR22 copies the VxLAN broadcast message 41 according to the found other output port than the input port in the broadcast table. DR22 determines that port 222 of AC205 is an isolated port of IPP port 221, and discards a VxLAN broadcast message 41 whose egress port is port 222 of AC 205. DR22 determines that port 223 of AC206 is not an isolated port of IPP port 221, and discards VxLAN broadcast message 41 that passes through port 223 whose egress port is AC 206. DR22 determines that port 224 of the second VxLAN tunnel enables egress direction horizontal segmentation and IPP port 221 as an ingress port enables ingress direction horizontal segmentation, discarding VxLAN packet 41 whose egress port is port 224 of the second VxLAN tunnel.
Through the mode, a VxLAN broadcast message loop cannot be generated between DR21 and DR22 of DRS20, and the VxLAN broadcast message loop between DRS systems caused by DR30 due to the fact that VxLAN broadcast messages 41 from DRS30 are received by the first VxLAN tunnel and are retransmitted back through the second VxLAN tunnel connected with DRS30 is avoided.
The forwarding manner of the VxLAN broadcast message received by DR22 through the second VxLAN tunnel is the same as that of DR21, and the forwarding manner of the VxLAN broadcast message received by DR21 through the IPP port 211 of AC200 is the same as that of DR 22.
In fig. 2, DR22 receives ethernet broadcast message 43 through port 222 of AC205, and finds the broadcast table of the VxLAN instance according to the VxLAN instance associated with the VLAN of ethernet broadcast message 43. The DR22 duplicates the ethernet broadcast message 43 according to the port found in the broadcast table other than the ingress port.
DR22 determines that IPP port 221 is an isolated port of AC205 port 222 and discards ethernet broadcast message 43 whose egress port is IPP port 221. DR22 determines that port 223 of AC206 is not isolated port 223 of AC205 and sends an ethernet broadcast message 43 to device 24 via port 223 of AC 206. DR22 encapsulates ethernet broadcast message 43 into VxLAN broadcast message 44 according to the second VxLAN tunnel, and sends it to DR32 through port 224 of the second VxLAN tunnel. The processing after the DR32 receives the VxLAN broadcast message 4 is the same as the above-described forwarding method of the DR 21.
DR21 and DR22 of DRS20 receive the two-layer broadcast message, thereby avoiding the forwarding loop of the Ethernet broadcast message in DRS20 and the forwarding loop of VxLAN broadcast message between DR systems.
In fig. 3, DR21 detects port 213 failure or port failure of 24 to which port 213 is connected via a two-layer link, and notifies DR22 that port 213 belonging to the second distributed aggregation port is shut down/failed. DR21 deletes the IPP port 211 of AC201 from the shielded port relationship with port 212. DR21 deletes port 213 of AC203 from the broadcast table of the VxLAN instance.
DR22 is notified of the shutdown/failure of port 213 belonging to the second distributed aggregation port and deletes the masked port relationship between IPP port 221 and port 223 of AC 204.
The DR21 receives the VxLAN broadcast message 45 from the DR31 through the first VxLAN tunnel, finds the broadcast table of the VxLAN instance, and copies the VxLAN broadcast message 45 according to other output ports except the input port. DR21 determines that IPP port 211 of AC201 is not a shielded port and does not enable horizontal split of directions, and sends a VxLAN broadcast message 45 through IPP port 211 of AC 201. DR21 determines that port 212 is not an isolated port for port 214 and does not enable out direction horizontal segmentation, decapsulates VxLAN broadcast message 45 into ethernet broadcast message 46 and sends out.
DR22 receives VxLAN broadcast message 43 through IPP port 221 of AC204, finds the broadcast table of the VxLAN instance, and copies VxLAN broadcast message 41 according to an output port other than the input port. DR22 determines that port 222 of AC205 is an isolated port of IPP port 221, and discards VxLAN broadcast message 43 whose egress port is port 222 of AC 205. DR22 determines that port 223 of AC206 is not an isolated port of IPP port 221 and does not enable egress direction horizontal segmentation, decapsulates VxLAN broadcast message 45 whose egress port is port 223 of AC206 into ethernet broadcast message 46 and sends it. DR21 determines that port 224 of the second VxLAN tunnel enables egress direction horizontal segmentation and IPP port 221 of AC204 as an ingress port enables ingress direction horizontal segmentation, discarding VxLAN message 45 whose egress port is port 224.
In fig. 4, DR21 receives ethernet broadcast message 47 through port 212 of AC202, and finds the broadcast table of the VxLAN instance according to the VxLAN instance associated with the VLAN of ethernet broadcast message 47. The DR21 replicates the ethernet broadcast message 47 according to the lookup to an egress port other than the ingress port in the broadcast table.
DR21 determines that IPP port 211 of AC201 is not an isolated port of AC202 port 212 and sends ethernet broadcast message 47 through IPP port 211 of AC 201. The DR21 encapsulates the ethernet broadcast message 47 into a VxLAN broadcast message 48 according to the first VxLAN tunnel, and sends the message to the DR31 through the port 214 of the first VxLAN tunnel. The processing of DR31 after receiving VxLAN broadcast message 48 is the same as the above-described forwarding of DR21 in fig. 1.
DR22 receives ethernet broadcast message 47 through IPP port 221 of AC204, finds the broadcast table of the VxLAN instance associated with the VLAN, and copies ethernet broadcast message 47 according to an output port other than the input port. DR22 determines that port 222 of AC205 is a shielded port of IPP port 221 of AC204 and discards the ethernet broadcast packet whose egress port is port 222 of AC 205. DR22 determines that port 223 of AC206 is not a shadow port of IPP port 221 of AC204 and sends ethernet broadcast message 47 through port 223 of AC 206.
Through the embodiments of fig. 3 and fig. 4, when DRS20 is connected to device 23, and link failure occurs, DR21 and DR22 can still avoid forwarding loops generated by VxLAN or ethernet broadcast messages inside the DRS system, and also can avoid forwarding loops generated by VxLAN or ethernet broadcast messages between DRS systems.
Fig. 5 is a block diagram of a structure of a broadcast packet forwarding apparatus 500 provided in the present invention, where the apparatus 500 is applied to a distributed relay device of a distributed relay system, and the apparatus 500 includes: receiving section 501, forwarding section 502, transmitting section 503, setting section 504, and detecting section 505.
The receiving unit 501 receives a first VxLAN broadcast message through a VxLAN port of the VxLAN tunnel. Forwarding unit 502 copies a plurality of first VxLAN broadcast messages according to other output ports than the VxLAN port in the VxLAN broadcast table. A sending unit 503, when the internal ingress port IPP port is an egress port other than the port of the VxLAN tunnel, sending a first VxLAN broadcast message through the IPP port; when the second-layer port of the first distributed aggregation port is an output port outside the VxLAN tunnel port, a first VxLAN broadcast message is unpacked into a first Ethernet broadcast message and sent through the second-layer port of the first distributed aggregation port; and when the second layer port of the second distributed aggregation port is an output port outside the VxLAN tunnel port, decapsulating one first VxLAN broadcast message into a first Ethernet broadcast message, and sending the first Ethernet broadcast message through the second layer port of the second distributed aggregation port.
A receiving unit 501, configured to receive a second ethernet broadcast packet through a second layer port of the first distributed aggregation port; and the VxLAN instance corresponding to the VxLAN broadcast table of the virtual local area gateway of the second Ethernet broadcast message. Forwarding unit 502 copies a plurality of second ethernet broadcast messages according to other output ports except for the two-layer port of the first distributed aggregation port in the VxLAN broadcast table. A sending unit 503, configured to send a second ethernet packet through a second layer port of the second distributed aggregation port when the second layer port of the second distributed aggregation port is an output port other than the second layer port of the first distributed aggregation port; when the VxLAN port is an output port other than the second-layer port of the first distributed aggregation port, a second Ethernet message is packaged into a second VxLAN broadcast message according to the VxLAN tunnel, and the second VxLAN broadcast message is sent through the VxLAN port; and when the IPP port is other output ports except the two-layer port of the first distributed aggregation port, discarding a second Ethernet message of which the output port is the IPP port.
A setting unit 504, configured to set an isolated port relationship between the IPP port and a second layer port of the first distributed aggregation port; and setting the isolation port relation between the IPP port and the two-layer port of the second distributed aggregation port.
The setting unit 504 is further configured to set an ingress direction horizontal split enable of the IPP port, and set an egress direction horizontal split disable of the IPP port; setting an incoming direction horizontal division enable and an outgoing direction horizontal division enable of a two-layer port of a first distributed aggregation port; setting the horizontal division of the incoming direction and the horizontal division of the outgoing direction of a second port of a second distributed aggregation port not to be enabled; and setting the ingress direction horizontal division and egress direction horizontal division enable of the ports of the VxLAN tunnel.
The detection unit 505 detects a failure of a layer two port of the first distributed aggregation port. The sending unit 503 sends a distributed member port failure notification through the IPP port to indicate a failure of the layer two port of the first distributed aggregation port. A setting unit 504 configured to delete the isolated port relationship between the IPP port and the second layer port of the second distributed aggregation port; and deleting a second-layer port of the first distributed aggregation port in the VxLAN broadcast table.
A receiving unit 501, configured to receive a third ethernet broadcast packet through a second layer port of a second distributed aggregation port; and the VxLAN instance corresponding to the VxLAN broadcast table of the virtual local area gateway of the second Ethernet broadcast message. Forwarding unit 502 copies a plurality of third ethernet broadcast messages according to other output ports except for the two-layer port of the second distributed aggregation port in the VxLAN broadcast table. A sending unit 503, when the VxLAN port is an output port other than the second layer port of the second distributed aggregation port, encapsulating a third ethernet broadcast message into a third VxLAN broadcast message according to the VxLAN tunnel, and sending the third ethernet broadcast message through the VxLAN port; and when the IPP port is other output ports except the two-layer port of the second distributed aggregation port, sending a third Ethernet broadcast message through the IPP port.
The receiving unit 501 receives a distributed member port failure notification indicating a failure of another layer two port of the first distributed aggregation port through the IPP port. The setting unit 504 deletes the isolated port relationship between the IPP port and the second layer port of the second distributed aggregation port.
The receiving unit 501 receives the fourth ethernet broadcast packet through the IPP port. Forwarding unit 502 copies a plurality of fourth ethernet broadcast messages according to other output ports except the IPP port in the VxLAN broadcast table. The sending unit 503, when the second layer port of the second distributed aggregation port is an output port other than the IPP port, sends the fourth ethernet broadcast packet through the second layer port of the second distributed aggregation port.
And the receiving unit 501 receives a fourth VxLAN broadcast message through the IPP port. Forwarding unit 502 copies a plurality of fourth VxLAN broadcast messages according to other output ports in the VxLAN broadcast table except for the IPP port. A sending unit 503, configured to discard the fourth VxLAN broadcast message whose output port is the second-layer port of the second distributed aggregation port when the second-layer port of the first distributed aggregation port is an output port other than the output ports other than the IPP port; and when the VxLAN port is the other output port except the IPP port, the fourth VxLAN broadcast message of which the output port is the second layer port of the second distributed aggregation port is discarded. The apparatus shown in fig. 5 has the beneficial effects of avoiding generation of broadcast message loops inside the DRS systems, and also avoiding generation of broadcast message loops between DRS systems.

Claims (18)

1. A method for forwarding broadcast messages is applied to distributed relay equipment of a distributed relay system, and is characterized in that the method comprises the following steps:
receiving a first VxLAN broadcast message through a VxLAN port of the VxLAN tunnel;
copying a plurality of first VxLAN broadcast messages according to other output ports except the VxLAN port in a VxLAN broadcast table;
when an internal inlet port IPP port is an outlet port outside the VxLAN tunnel port, sending a first VxLAN broadcast message through the IPP port;
when the second-layer port of the first distributed aggregation port is an output port outside the VxLAN tunnel port, decapsulating one first VxLAN broadcast message into a first Ethernet broadcast message, and sending the first Ethernet broadcast message through the second-layer port of the first distributed aggregation port;
and when the second layer port of the second distributed aggregation port is an output port outside the VxLAN tunnel port, decapsulating one of the first VxLAN broadcast messages into a first Ethernet broadcast message, and sending the first Ethernet broadcast message through the second layer port of the second distributed aggregation port.
2. The method of claim 1, further comprising:
receiving a second Ethernet broadcast message through a second layer port of the first distributed aggregation port; the virtual local area gateway of the second Ethernet broadcast message is connected with a VxLAN example corresponding to the VxLAN broadcast table;
copying a plurality of second Ethernet broadcast messages according to other output ports except the second-layer port of the first distributed aggregation port in the VxLAN broadcast table;
when the second layer port of the second distributed aggregation port is an output port other than the second layer port of the first distributed aggregation port, sending the second ethernet message through the second layer port of the second distributed aggregation port;
when the VxLAN port is an output port other than the second-layer port of the first distributed aggregation port, packaging a second Ethernet message into a second VxLAN broadcast message according to the VxLAN tunnel, and sending the second VxLAN broadcast message through the VxLAN port;
and when the IPP port is an output port other than the second layer port of the first distributed aggregation port, discarding a second Ethernet broadcast message of which the output port is the IPP port.
3. The method of claim 1, wherein prior to receiving the first VxLAN broadcast message through a port of a VxLAN tunnel, the method further comprises:
setting an isolation port relationship between the IPP port and a two-layer port of the first distributed aggregation port;
and setting the isolation port relation of the IPP port and the two-layer port of the second distributed aggregation port.
4. The method of claim 3, further comprising:
setting an ingress direction horizontal split enable of the IPP port, and setting an egress direction horizontal split disable of the IPP port;
setting the horizontal dividing of the incoming direction and the horizontal dividing of the outgoing direction of the two-layer port of the first distributed aggregation port not to be enabled;
setting the horizontal dividing of the incoming direction and the horizontal dividing of the outgoing direction of the two-layer port of the second distributed aggregation port not to be enabled;
and setting the enabling of the horizontal division of the entrance direction and the horizontal division of the exit direction of the port of the VxLAN tunnel.
5. The method of claim 4, further comprising:
detecting a two-tier port failure of the first distributed aggregation port;
sending a distributed member port failure notification through the IPP port to indicate a failure of a layer two port of the first distributed aggregation port;
deleting the isolation port relation between the IPP port and the second layer port of the second distributed aggregation port;
and deleting the two-layer port of the first distributed aggregation port in the VxLAN broadcast table.
6. The method of claim 5, further comprising:
receiving a third Ethernet broadcast message through a second layer port of the second distributed aggregation port; the virtual local area gateway of the third Ethernet broadcast message is connected with a VxLAN example corresponding to the VxLAN broadcast table;
copying a plurality of third Ethernet broadcast messages according to other output ports except the second-layer port of the second distributed aggregation port in the VxLAN broadcast table;
when the VxLAN port is an output port other than the second-layer port of the second distributed aggregation port, packaging a third Ethernet broadcast message into a third VxLAN broadcast message according to the VxLAN tunnel, and sending the third Ethernet broadcast message through the VxLAN port;
and when the IPP port is an output port other than the second layer port of the second distributed aggregation port, sending a third Ethernet broadcast message through the IPP port.
7. The method of claim 4, further comprising
Receiving, by the IPP port, a distributed member port failure notification indicating a failure of another layer two port of the first distributed aggregation port;
and deleting the isolation port relation between the IPP port and the second layer port of the second distributed aggregation port.
8. The method of claim 7,
receiving a fourth Ethernet broadcast message through the IPP port;
copying a plurality of fourth Ethernet broadcast messages according to other output ports except the IPP port in the VxLAN broadcast table;
and when the second layer port of the second distributed aggregation port is an output port other than the IPP port, sending the fourth ethernet broadcast message through the second layer port of the second distributed aggregation port.
9. The method of claim 4, further comprising:
receiving a fourth VxLAN broadcast message through the IPP port;
copying a plurality of fourth VxLAN broadcast messages according to other output ports except the IPP port in a VxLAN broadcast table;
when the second-layer port of the first distributed aggregation port is an output port other than the IPP port, discarding a fourth VxLAN broadcast message of which the output port is the second-layer port of the second distributed aggregation port;
when the second layer port of the second distributed aggregation port is an output port other than the IPP port, discarding a fourth VxLAN broadcast message of which the output port is the second layer port of the second distributed aggregation port;
and when the VxLAN port is an output port other than the IPP port, discarding a fourth VxLAN broadcast message of which the output port is the VxLAN port.
10. A device for forwarding broadcast messages is applied to distributed relay equipment of a distributed relay system, and is characterized in that the device comprises:
the receiving unit is used for receiving a first VxLAN broadcast message through a VxLAN port of the VxLAN tunnel;
the forwarding unit is used for copying a plurality of first VxLAN broadcast messages according to other output ports except the VxLAN ports in a VxLAN broadcast table;
a sending unit, configured to send a first VxLAN broadcast message through an internal ingress port IPP port when the internal ingress port IPP port is an egress port other than the port of the VxLAN tunnel; when the second-layer port of the first distributed aggregation port is an output port outside the VxLAN tunnel port, decapsulating one first VxLAN broadcast message into a first Ethernet broadcast message, and sending the first Ethernet broadcast message through the second-layer port of the first distributed aggregation port; and when the second layer port of the second distributed aggregation port is an output port outside the VxLAN tunnel port, decapsulating one of the first VxLAN broadcast messages into a first Ethernet broadcast message, and sending the first Ethernet broadcast message through the second layer port of the second distributed aggregation port.
11. The apparatus according to claim 10, wherein the receiving unit receives a second ethernet broadcast packet through a layer two port of the first distributed aggregation port; the virtual local area gateway of the second Ethernet broadcast message is connected with a VxLAN example corresponding to the VxLAN broadcast table;
the forwarding unit copies a plurality of second Ethernet broadcast messages according to other output ports except the two-layer port of the first distributed aggregation port in the VxLAN broadcast table;
the sending unit sends the second ethernet packet through the second layer port of the second distributed aggregation port when the second layer port of the second distributed aggregation port is an output port other than the second layer port of the first distributed aggregation port; when the VxLAN port is an output port other than the second-layer port of the first distributed aggregation port, packaging a second Ethernet message into a second VxLAN broadcast message according to the VxLAN tunnel, and sending the second VxLAN broadcast message through the VxLAN port; and when the IPP port is an output port other than the second layer port of the first distributed aggregation port, discarding a second Ethernet broadcast message of which the output port is the IPP port.
12. The apparatus of claim 10, further comprising:
the setting unit is used for setting the isolation port relation between the IPP port and the two-layer port of the first distributed aggregation port; and setting the isolation port relation of the IPP port and the two-layer port of the second distributed aggregation port.
13. The apparatus of claim 12, wherein the setup unit is further configured to,
setting an ingress direction horizontal split enable of the IPP port, and setting an egress direction horizontal split disable of the IPP port; setting the horizontal dividing of the incoming direction and the horizontal dividing of the outgoing direction of the two-layer port of the first distributed aggregation port not to be enabled; setting the horizontal dividing of the incoming direction and the horizontal dividing of the outgoing direction of the two-layer port of the second distributed aggregation port not to be enabled; and setting the enabling of the horizontal division of the entrance direction and the horizontal division of the exit direction of the port of the VxLAN tunnel.
14. The apparatus of claim 13, further comprising:
the detection unit is used for detecting the failure of a second layer port of the first distributed aggregation port;
a sending unit, configured to send a distributed member port failure notification through the IPP port to indicate a failure of a layer two port of the first distributed aggregation port;
the setting unit deletes the isolation port relation between the IPP port and the second layer port of the second distributed aggregation port; and deleting the two-layer port of the first distributed aggregation port in the VxLAN broadcast table.
15. The apparatus of claim 14,
the receiving unit receives a third ethernet broadcast message through a second layer port of the second distributed aggregation port; the virtual local area gateway of the third Ethernet broadcast message is connected with a VxLAN example corresponding to the VxLAN broadcast table;
the forwarding unit copies a plurality of third Ethernet broadcast messages according to other output ports except the second-layer port of the second distributed aggregation port in the VxLAN broadcast table;
the sending unit is used for packaging a third Ethernet broadcast message into a third VxLAN broadcast message according to the VxLAN tunnel when the VxLAN port is an output port other than the second-layer port of the second distributed aggregation port, and sending the third Ethernet broadcast message through the VxLAN port; and when the IPP port is an output port other than the second layer port of the second distributed aggregation port, sending a third Ethernet broadcast message through the IPP port.
16. The apparatus according to claim 13, wherein the receiving unit receives a distributed member port failure notification through the IPP port indicating a failure of the other layer two port of the first distributed aggregation port;
and the setting unit deletes the isolation port relation between the IPP port and the two-layer port of the second distributed aggregation port.
17. The apparatus of claim 16,
the receiving unit receives a fourth ethernet broadcast message through the IPP port;
the forwarding unit copies a plurality of fourth Ethernet broadcast messages according to other output ports except the IPP port in the VxLAN broadcast table;
and the sending unit sends the fourth ethernet broadcast packet through the second layer port of the second distributed aggregation port when the second layer port of the second distributed aggregation port is an output port other than the IPP port.
18. The apparatus of claim 13,
the receiving unit receives a fourth VxLAN broadcast message through the IPP port;
the forwarding unit copies a plurality of fourth VxLAN broadcast messages according to other output ports except the IPP port in a VxLAN broadcast table;
the sending unit discards a fourth VxLAN broadcast message of which an output port is a second-layer port of the second distributed aggregation port when the second-layer port of the first distributed aggregation port is an output port other than other output ports except the IPP port; when the second layer port of the second distributed aggregation port is an output port other than the IPP port, discarding a fourth VxLAN broadcast message of which the output port is the second layer port of the second distributed aggregation port;
and when the VxLAN port is an output port other than the IPP port, discarding a fourth VxLAN broadcast message of which the output port is the VxLAN port.
CN201710530804.6A 2017-06-30 2017-06-30 Method and device for forwarding broadcast message Active CN108259300B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710530804.6A CN108259300B (en) 2017-06-30 2017-06-30 Method and device for forwarding broadcast message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710530804.6A CN108259300B (en) 2017-06-30 2017-06-30 Method and device for forwarding broadcast message

Publications (2)

Publication Number Publication Date
CN108259300A CN108259300A (en) 2018-07-06
CN108259300B true CN108259300B (en) 2020-11-06

Family

ID=62721940

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710530804.6A Active CN108259300B (en) 2017-06-30 2017-06-30 Method and device for forwarding broadcast message

Country Status (1)

Country Link
CN (1) CN108259300B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110365578B (en) * 2019-08-01 2021-12-24 新华三大数据技术有限公司 Network interface control and link switching method, device, network equipment and medium
CN111010343B (en) * 2019-12-18 2022-01-11 锐捷网络股份有限公司 Method, device, network equipment and storage medium for forwarding multicast message

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6119562B2 (en) * 2013-11-06 2017-04-26 日立金属株式会社 Network system and network relay device
CN106161248B (en) * 2015-04-27 2019-03-29 新华三技术有限公司 Message forwarding method and device in a kind of VXLAN network
US9985867B2 (en) * 2015-12-11 2018-05-29 Cisco Technology, Inc. Optimizing EVPN for data centers with redundant top-of-rack deployments
CN106899430B (en) * 2016-12-09 2020-05-29 新华三技术有限公司 Traffic forwarding processing method and device
CN106878134B (en) * 2016-12-16 2020-05-12 新华三技术有限公司 Data center intercommunication method and device
CN106878065B (en) * 2017-01-18 2021-06-11 新华三技术有限公司 Configuration method and device of distributed aggregation system
CN106878183A (en) * 2017-01-22 2017-06-20 新华三技术有限公司 Flow forwarding method and device

Also Published As

Publication number Publication date
CN108259300A (en) 2018-07-06

Similar Documents

Publication Publication Date Title
EP3001609A1 (en) Method and device for processing multicast message in nvo3 network, and nvo3 network
CN106330704B (en) Message forwarding method and device
CN102684979A (en) Multicast data forwarding method and device capable of supporting virtual terminal
CN107948042B (en) Message forwarding method and device
CN112671642A (en) Message forwarding method and device
US8547999B2 (en) Encapsulating large ethernet frames
US20190007302A1 (en) Mechanism for Dual Active Detection Link Monitoring in Virtual Switching System with Hardware Accelerated Fast Hello
CN108259300B (en) Method and device for forwarding broadcast message
US20230018911A1 (en) Troubleshooting method, device, and readable storage medium
CN102209040A (en) Multi-network-port-based load sharing method and device
US9071457B2 (en) Provider network and provider edge apparatus
US20160127270A1 (en) Relay System and Switching Device
CN103973509A (en) Loop detection method and network device
Abdulsalam et al. Improvement of high-availability seamless redundancy (HSR) unicast traffic performance using port locking
US20140156867A1 (en) Offload processing interface
CN108833272A (en) A kind of route management method and device
JP5518754B2 (en) Network node
CN109167693B (en) Isolation configuration method and device based on cross-chassis link aggregation group (MLAG)
JP2004320186A (en) Atm bridge apparatus, and loop detecting method in atm bridge
US8854949B2 (en) Network relay device and network relay method
EP2518948A1 (en) Methods, system and apparatus for protecting control virtual local network in ethernet ring network
JP2012044384A (en) Communication device
CN103391251A (en) Method and device for reducing redundant flow in PBB (provider backbone bridge) network
CN113794635B (en) Message forwarding method and device
CN112838974B (en) Service chain drainage system and method

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