[go: up one dir, main page]

WO2018188425A1 - Vxlan单归和双归混合接入方法、装置、pe设备和存储介质 - Google Patents

Vxlan单归和双归混合接入方法、装置、pe设备和存储介质 Download PDF

Info

Publication number
WO2018188425A1
WO2018188425A1 PCT/CN2018/077796 CN2018077796W WO2018188425A1 WO 2018188425 A1 WO2018188425 A1 WO 2018188425A1 CN 2018077796 W CN2018077796 W CN 2018077796W WO 2018188425 A1 WO2018188425 A1 WO 2018188425A1
Authority
WO
WIPO (PCT)
Prior art keywords
lag
interface
vxlan
esi
local
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.)
Ceased
Application number
PCT/CN2018/077796
Other languages
English (en)
French (fr)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Publication of WO2018188425A1 publication Critical patent/WO2018188425A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

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

Definitions

  • the present disclosure relates to the field of cloud computing and data center technologies, and in particular, to a VXLAN (Virtual Extensible LAN) single-homing and dual-homing hybrid access method, device, PE (Provider Edge, Carrier Edge) device and storage. medium.
  • VXLAN Virtual Extensible LAN
  • PE Provider Edge, Carrier Edge
  • VXLAN EVPN Ethernet Virtual Private Network
  • CE Customer Edge
  • FIG. 1 For ease of understanding, a typical networking diagram of VXLAN single-homed and dual-homed hybrid access shown in FIG. 1 is illustrated.
  • TS1 is dual-homed to DUT1 and DUT2, PC1 is directly connected to DUT1, and PC2 is single-homed.
  • the ERP For each PE device that is configured with the same ESI for the MC-LAG, the ERP must be negotiated with the RT (Router Type)-4, and the DF (Designated Forwarder) is elected. , the forwarding device is configured to filter the excess BUM (Broadcast & Unknown & Unicast & Multicast, Broadcast & Unknown Unicast & Multicast) traffic, where the BUM message is a multicast message, and only the DF device can receive the multicast message, and the Non-DF The device does not receive multicast messages.
  • BUM Broadcast & Unknown & Unicast & Multicast
  • the PE device needs to carry the configured ESI to form a multi-active/single-lived redundant route on the remote PE device.
  • the protocol specified scheme can well support existing scenarios.
  • multicast message forwarding there are certain problems with the protocol specified by the protocol.
  • the BUM packet is sent to the Non-BOM packet.
  • the non-DF PE device broadcasts the packet to the network side. After receiving the traffic, the DF PE device cannot determine the ESI of the BUM packet source. Therefore, the DF PE device sends the BUM packet to the original CE. , causing the BUM message to loop back.
  • Embodiments of the present disclosure provide a VXLAN single-homing and dual-homing hybrid access method, apparatus, PE device, and storage medium.
  • the method further includes: prohibiting a PE device that is the same as the ESI of the MC-LAG from being a BGP (Border Gateway Protocol) EVPN (Ethernet Virtualization) a private network) neighbor; determining a DF state of the ESI of the MC-LAG according to the active/standby state of the MC-LAG.
  • BGP Border Gateway Protocol
  • EVPN Ethernet Virtualization
  • the load sharing forwards the unicast packet and broadcasts the received BUM packet, including: if receiving from the MC-LAG interface and the single-homed interface And the unicast packet is forwarded according to the forwarding table entry; if the BUM packet is received from the MC-LAG interface and the single-homed interface, the broadcast is directly in the VXLAN domain.
  • the BUM message is sent; if the BUM message is received from the PeerLink interface, the BUM message is prohibited from being broadcast to the MC-LAG interface and the VXLAN EVPN network side in the VXLAN domain, only to the single The interface broadcasts the BUM message; if the BUM message is received from the VXLAN EVPN network, the BUM message is prohibited from being broadcast to the PeerLink interface in the VXLAN domain, and only the single-homed interface is
  • the MC-LAG interface that meets the preset condition broadcasts the BUM message; the preset condition is that the DF state of the ESI configured on the MC-LAG interface is DF.
  • the method further includes: if the peer PE device is faulty, updating the active/standby state of the MC-LAG corresponding to the local PE device, and re-determining the current and standby states according to the updated MC-LAG status.
  • the DF state of the ESI of the MC-LAG corresponding to the PE device if the BGP device detects that the BGP EVPN neighbor device is faulty, the corresponding forwarding table entry transmitted by the BGP EVPN neighbor device is deleted; if the MC of the local PE device If the LAG interface is faulty, the forwarding table entry corresponding to the MC-LAG interface is deleted, and the BGP device is notified to the BGP EVPN neighboring device to delete the remote entry; if the MC-LAG interface of the local PE device is faulty.
  • the load balancing forwards the unicast packet and broadcasts the received BUM packet according to the preset filtering and forwarding rule, including: when receiving the unknown unicast packet, determining whether the VXLAN domain is The broadcast function in the unknown packet domain is enabled. If the broadcast function in the unknown packet domain is enabled, the unknown unicast packet is broadcasted in the VXLAN domain according to the preset filter forwarding rule. Otherwise, the unknown ticket is discarded. Broadcast message.
  • the embodiment of the present disclosure provides a VXLAN single-homing and dual-homing hybrid access device, which is executed by a PE device, and includes: a configuration module configured to perform a single dual-homing hybrid access configuration; wherein, the MC-LAG is configured, and the configuration An ESI corresponding to the MC-LAG corresponding to the MC-LAG; the MC-LAG is configured with the same ESI as the MC-LAG corresponding to the peer PE device; and the binding module is configured to connect the MC-LAG interface and the The PeerLink interface and the single-homed interface are bound to the VXLAN domain.
  • the forwarding module is configured to load and forward unicast packets in the VXLAN domain and broadcast and receive in the VXLAN domain according to the preset filtering and forwarding rules. BUM message to.
  • the forwarding module is configured to: if the unicast packet is received from the MC-LAG interface and the single-homed interface, forward the unicast packet according to a forwarding table entry; if from the MC- Receiving, by the LAG interface and the single-homed interface, the BUM message, directly broadcasting the BUM message in the VXLAN domain; if receiving the BUM message from the PeerLink interface, in the VXLAN domain Disabling the broadcast of the BUM message to the MC-LAG interface and the VXLAN EVPN network side, and only broadcasting the BUM message to the single-homed interface; if receiving the BUM message from the VXLAN EVPN network side, Disabling the broadcast of the BUM message to the PeerLink interface in the VXLAN domain, and only broadcasting the BUM message to the single-homed interface and the MC-LAG interface that meets the preset condition; the preset condition is:
  • the DF state of the ESI of the MC-LAG interface configuration is
  • the device further includes a processing module, and the processing module is configured to: if the peer PE device is faulty, update the active/standby state of the MC-LAG corresponding to the local PE device, and according to the updated If the BGP EVPN neighbor device is faulty, the BGP EVPN neighbor device sends the corresponding forwarding table entry.
  • the MC-LAG interface of the local PE device is faulty, delete the forwarding table entry corresponding to the MC-LAG interface, and notify the BGP device to delete the remote entry of the BGP EVPN neighbor device; If the MC-LAG interface of the PE device is faulty, the status of the MC-LAG corresponding to the local PE device is updated, and the MC corresponding to the local PE device is re-determined according to the updated active/standby status of the MC-LAG.
  • the processor executes the data stored in the memory, the following operations are also performed: when the single-double-homing access configuration is performed, the PE device that is the same as the ESI of the MC-LAG is prohibited from being a BGP EVPN. a neighbor; determining a DF state of the ESI of the MC-LAG according to the active/standby state of the MC-LAG.
  • the load sharing forwards the unicast packet and broadcasts the received BUM packet, including: if receiving from the MC-LAG interface and the single-homed interface And the unicast packet is forwarded according to the forwarding table entry; if the BUM packet is received from the MC-LAG interface and the single-homed interface, the broadcast is directly in the VXLAN domain.
  • the BUM message is sent; if the BUM message is received from the PeerLink interface, the BUM message is prohibited from being broadcast to the MC-LAG interface and the VXLAN EVPN network side in the VXLAN domain, only to the single The interface broadcasts the BUM message; if the BUM message is received from the VXLAN EVPN network, the BUM message is prohibited from being broadcast to the PeerLink interface in the VXLAN domain, and only the single-homed interface is
  • the MC-LAG interface that meets the preset condition broadcasts the BUM message; the preset condition is that the DF state of the ESI configured on the MC-LAG interface is DF.
  • the active/standby state of the MC-LAG, and the DF state of the ESI of the MC-LAG corresponding to the local PE device is re-determined according to the updated active/standby state of the MC-LAG; if the PeerLink interface of the local PE device If the DF status of the ESI of the MC-LAG corresponding to the PeerLink interface is Non-DF, all MC-LAG interfaces are closed.
  • Embodiments of the present disclosure provide a computer storage medium having stored thereon a computer program that, when executed by a processor, implements the steps of any of the above methods.
  • the present disclosure combines the ESI technology and the MC-LAG Peerlink technology, and sets the filtering and forwarding rules on the basis of the disclosure, thereby supporting the dual-homing load sharing transmission, and solving the problem that the BUM packet loopback and/or the BUM packet cannot be received.
  • the problem is that the embodiment of the present disclosure can support the application scenario of single-homing and dual-homing hybrid access.
  • FIG. 1 is a networking diagram of VXLAN single-homing and dual-homing hybrid access in the related art
  • FIG. 2 is a schematic diagram of a BUM message loopback in the related art
  • FIG. 4 is a flowchart of a VXLAN single-homing and dual-homing hybrid access method according to a first embodiment of the present disclosure
  • FIG. 5 is a flow chart showing the steps of performing a single dual-homed hybrid access configuration in accordance with a second embodiment of the present disclosure
  • FIG. 6 is a schematic diagram of a VXLAN single-homing and dual-homing hybrid access network according to a second embodiment of the present disclosure
  • FIG. 8 is a schematic diagram of a network for forwarding a BUM message on a CE side according to a third embodiment of the present disclosure
  • FIG. 9 is a flowchart of steps of forwarding a PeerLink BUM message according to a third embodiment of the present disclosure.
  • FIG. 10 is a schematic diagram of a network for forwarding a PeerLink BUM message according to a third embodiment of the present disclosure.
  • FIG. 13 is a schematic diagram of a PeerLink interface failure according to a fourth embodiment of the present disclosure.
  • FIG. 14 is a schematic diagram of a PeerLink interface failure according to a fourth embodiment of the present disclosure.
  • the BGP EVPN neighbor device If the BGP EVPN neighbor device is faulty, the BGP EVPN neighbor device sends the corresponding forwarding table entry.
  • This embodiment combines the ESI technology and the MC-LAG Peerlink technology, and sets the filtering and forwarding rules on the basis of this.
  • the VXLAN packet does not have an ESI label
  • the BUM packet loopback and the BUM packet do not occur.
  • This embodiment can support the application scenario of single-homing and dual-homing hybrid access.
  • FIG. 5 is a flow chart showing steps of performing a single dual-homing hybrid access configuration according to a second embodiment of the present disclosure
  • FIG. 6 is a schematic diagram of a VXLAN single-homing and dual-homing hybrid access network according to a second embodiment of the present disclosure.
  • TS1, PC1, PC2, and TS2 are CE devices
  • DUT1, DUT2, and DUT3 are PE devices
  • TS1 is dual-homed to DUT1 and DUT2
  • PC1 is directly connected to DUT1
  • PC2 is directly connected to DUT2
  • TS2 is single. Go to DUT3.
  • the MC-LAG is configured on the MC-LAG interface of the DUT1 and the DUT2, and the MC-LAC is set up between the DUT1 (the local PE device), the TS1 (the CE device), and the DUT2 (the peer PE device).
  • the MC-LAG corresponding to DUT1 is master (main)
  • the DF of the MC-LAG is marked as DF
  • the MC-LAG corresponding to DUT2 is backup
  • Step S520 Configure a PeerLink link on the PeerLink interface of the local PE device.
  • the local PE device carries the ESI of the MC-LAG corresponding to the local PE device in the RT-2 routing information. After receiving the RT-2 routing information, the BGP EVPN neighbor device can form a corresponding redundant route.
  • Step S550 Configure a filtering and forwarding rule and a fault handling rule for the local PE device.
  • the unicast forwarding mechanism if the unicast packet is received from the MC-LAG interface and the single-homed interface, the unicast packet is forwarded according to the forwarding table entry. Further, when receiving the unicast packet from the MC-LAG interface and the single-homed interface, it is determined whether the forwarding table entry corresponding to the unicast packet exists in the forwarding table, and if yes, forwarding according to the forwarding table entry, if not If yes, the unicast packet is an unknown unicast packet. If the unknown broadcast is allowed, the packet is forwarded according to the preset filtering and forwarding rule. If the unknown broadcast is not allowed, the unknown unicast packet is discarded. Further, if the unicast packet is received from the access side, the ESI load sharing routing information (forwarding table entry) advertised by the BGP EVPN neighbor device included in the forwarding table may be used for load sharing forwarding.
  • the fault handling rules include:
  • the active/standby status of the MC-LAG corresponding to the local PE device is updated, and the corresponding PE device is re-determined according to the updated active/standby status of the MC-LAG.
  • the filtering and forwarding rules are set to ensure that the loopback problem does not occur in the BUM packets.
  • the dual-homing node it can achieve local-to-distal load sharing, remote-to-local load sharing, and protection against device or link failure.
  • the single-homing and dual-homing hybrid access method in this embodiment can support the normal forwarding of unicast and multicast packets, and does not affect the standard forwarding rules of VXLAN packets from other vendors on the network side.
  • This embodiment further describes the use of filter forwarding rules.
  • the execution subject is DUT1.
  • Step S710 receiving traffic from the CE device side.
  • step S720 it is determined whether the traffic is a BUM traffic; if yes, step S730 is performed; if not, step S740 is performed.
  • step S740 if it is a unicast traffic, the forwarding table is queried to determine whether there is a forwarding entry (forwarding table entry) corresponding to the unicast traffic in the forwarding table; if yes, step S750 is performed; if no, step S730 is performed.
  • Step S750 If the forwarding entry corresponding to the unicast traffic is queried in the forwarding table, the unicast traffic is forwarded according to the forwarding entry.
  • Broadcasting the unicast traffic in the VXLAN domain includes forwarding the unicast traffic to a single-homed interface, an MC-LAG interface, a PeerLink interface, and a VXLAN EVPN network side in addition to the interface that receives the traffic.
  • BUM traffic from TS1 will be forwarded to PC1, DUT1, PC2, DUT3 and TS2.
  • FIG. 9 is a flow chart showing the steps of forwarding a PeerLink BUM message according to the third embodiment of the present disclosure.
  • 10 is a network diagram for forwarding a PeerLink BUM message according to the third embodiment of the present disclosure.
  • Step S910 receiving traffic from the Peerlink interface.
  • step S920 it is determined whether the traffic is a BUM traffic; if yes, step S930 is performed; if not, step S940 is performed.
  • step S940 if it is a unicast traffic, the forwarding table is queried to determine whether there is a forwarding entry corresponding to the unicast traffic in the forwarding table; if yes, step S950 is performed; if no, step S930 is performed.
  • Step S950 forwarding the unicast traffic according to the forwarding entry.
  • FIG. 11 is a flowchart of a step of forwarding a network side BUM message according to a third embodiment of the present disclosure.
  • FIG. 12 is a network diagram of forwarding a network side BUM message according to a third embodiment of the present disclosure.
  • step S1110 traffic from the VXLAN EVPN network side is received.
  • step S1130 if it is BUM traffic, it is broadcast to the single-homed access side and the dual-homing ESI DF access side in the VXLAN domain, and is not broadcast to the Peerlink side, and the ESI Non-DF access port is filtered.
  • the DUT1 after receiving the BUM message from the VXLAN EVPN network side, the DUT1 can send the BUM message to the PC1 and the TS1, and after receiving the BUM message from the VXLAN EVPN network side, the DUT2 receives the BUM message from the VXLAN EVPN network side.
  • the BUM message can be forwarded to PC2.
  • FIG. 15 is a schematic diagram of an MC-LAC interface failure according to a fourth embodiment of the present disclosure.
  • the DUT1 receives the BUM message from the TS1, and then forwards the BUM message to the PC1 through the AC4 and forwards it to the DUT2 through the VXLAN EVPN network according to the procedure shown in Figure 7, through the PeerLink chain. The way is forwarded to DUT2.
  • FIG. 16 is a schematic diagram of an MC-LAC interface failure according to a fourth embodiment of the present disclosure.
  • the DUT1 receives the BUM message from the DUT3 through the VXLAN EVPN network, and then forwards the BUM message to the PC1 through the AC4 and forwards it to the TS1 through the AC1 according to the procedure shown in FIG.
  • the DTU2 forwards the BUM message to the PC2 through the AC5 according to the procedure shown in FIG. 11, and the DF state of the ESI of the MC-LAG configured by the MC-LAG interface of the DUT2. It is Non DF, so DUT2 does not send BUM messages to TS1.
  • FIG. 17 is a schematic diagram of a failure of a PE device according to a fourth embodiment of the present disclosure.
  • This embodiment provides a VXLAN single-homing and dual-homing hybrid access device.
  • 18 is a structural diagram of a VXLAN single-homing and dual-homing hybrid access device according to a fifth embodiment of the present disclosure.
  • the VXLAN single-homing and dual-homing hybrid access device of this embodiment may be disposed on the PE device side.
  • the VXLAN single-homed and dual-homed hybrid access device includes:
  • the configuration module 1810 is configured to perform a single dual-homing hybrid access configuration, where the MC-LAG is configured, and the PeerLink interface corresponding to the MC-LAG is configured; and the MC-LAG interface is configured with the peer PE.
  • the binding module 1820 is configured to bind the MC-LAG interface, the PeerLink interface, and the single-homed interface to the VXLAN domain.
  • the forwarding module 1830 is configured to load and forward the unicast packet and broadcast the received BUM packet in the VXLAN domain according to a preset filtering and forwarding rule.
  • the forwarding module 1830 is configured to:
  • the unicast packet is received from the MC-LAG interface and the single-homed interface, the unicast packet is forwarded according to the forwarding table entry;
  • the BUM message is received from the MC-LAG interface and the single-homed interface, the BUM message is directly broadcasted in the VXLAN domain;
  • the BUM message is prohibited from being broadcast to the MC-LAG interface and the VXLAN EVPN network side in the VXLAN domain, and only the single-homed interface is broadcasted to the single-homed interface.
  • the BUM message is prohibited from being broadcast to the PeerLink interface in the VXLAN domain, and only the single-homed interface and the MC-LAG interface that meet the preset condition are The BUM message is broadcasted; the preset condition is that the DF state of the ESI configured on the MC-LAG interface is DF.
  • the apparatus further includes a processing module (not shown).
  • the processing module is configured to:
  • the active/standby state of the MC-LAG corresponding to the local PE device is updated, and the MC-LAG corresponding to the local PE device is re-determined according to the updated active/standby state of the MC-LAG.
  • DF state of ESI If the fault of the peer PE device is detected, the active/standby state of the MC-LAG corresponding to the local PE device is updated, and the MC-LAG corresponding to the local PE device is re-determined according to the updated active/standby state of the MC-LAG.
  • the forwarding module 1830 is configured to: when the unicast packet is received, if the unicast packet has a corresponding forwarding table entry, forward the packet according to the forwarding table rule; and receive the unknown unicast packet. And determining, in the VXLAN domain, whether the broadcast function in the unknown packet domain is enabled; if the broadcast function in the unknown packet domain is enabled, the unknown unicast packet is broadcasted in the VXLAN domain according to a preset filtering and forwarding rule; Otherwise, the unknown unicast message is discarded.
  • the embodiment further provides a computer program, a storage medium storing the program, and a PE device.
  • the program is executed to implement: performing a single dual-homing hybrid access configuration; wherein, configuring an MC-LAG, and configuring a PeerLink interface corresponding to the MC-LAG; configuring, on the MC-LAG interface, the MC-LAG The same ESI of the MC-LAG corresponding to the peer PE device; the MC-LAG interface, the PeerLink interface, and the single-homed interface are bound to the VXLAN domain; in the single-and-double hybrid access scenario, the packet is forwarded according to preset filtering.
  • the rule is that in the VXLAN domain, the load sharing forwards the unicast packet and broadcasts the received broadcast & unknown unicast & multicast BUM message.
  • the method further includes: prohibiting the PE device that is the same as the ESI of the MC-LAG from being a border gateway protocol BGP Ethernet virtual private network EVPN neighbor; The active/standby state of the MC-LAG is determined, and the DF state of the ESI of the MC-LAG is determined.
  • the load sharing forwards the unicast packet and broadcasts the received BUM packet, including: if the MC-LAG interface and the single-homing interface are Receiving the unicast packet, and forwarding the unicast packet according to the forwarding table entry; if the BUM packet is received from the MC-LAG interface and the single-homed interface, directly broadcasting in the VXLAN domain.
  • the BUM message if the BUM message is received from the PeerLink interface, the BUM message is prohibited from being broadcast to the MC-LAG interface and the VXLAN EVPN network side in the VXLAN domain, only to the The single-homed interface broadcasts the BUM message; if the BUM message is received from the VXLAN EVPN network side, the BUM message is prohibited from being broadcast to the PeerLink interface in the VXLAN domain, and only the single-homed interface is And the MC-LAG interface that meets the preset condition broadcasts the BUM
  • the MC-LAG interface of the local PE device is used, If the fault occurs, the active/standby status of the MC-LAG corresponding to the local PE device is updated, and the DF status of the ESI of the MC-LAG corresponding to the local PE device is re-determined according to the updated active/standby status of the MC-LAG; If the PeerLink interface of the local PE device is faulty, and the DF state of the ESI of the MC-LAG corresponding to the PeerLink interface is Non-DF, all MC-LAG interfaces are closed.
  • the load sharing forwards the unicast packet and broadcasts the received BUM packet, including: determining the VXLAN domain when receiving the unknown unicast packet If the broadcast function in the unknown packet domain is enabled, if the broadcast function in the unknown packet domain is enabled, the unknown unicast packet is broadcasted in the VXLAN domain according to the preset filtering and forwarding rule; otherwise, the unknown is discarded. Unicast message.
  • the storage medium is mainly configured to store the above program. Therefore, the program in the storage medium is not described in detail in this embodiment; and the storage medium can store the above program.
  • the storage medium may be a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the steps of the method of the embodiments of the invention.
  • FIG. 19 is a schematic diagram of a hardware structure of a PE device that implements a VXLAN single-homed and dual-homed hybrid access method according to an embodiment of the present disclosure.
  • PE device 1900 can include one or more (only one shown) processor 1910 (processor 1910 can include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA).
  • processor 1910 can include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA).
  • a memory 1920 configured to store data and a data transceiver 1930 configured as a communication function.
  • the structure shown in FIG. 19 is merely illustrative and does not impose a single limitation on the structure of the above electronic device.
  • the PE device 1900 may further include more or less components than those shown in FIG. 19 by splitting or merging the above functions, or have a configuration different from that shown in FIG.
  • the memory 1920 can be configured as a software program and a module for storing application software, and the program instructions/modules corresponding to the VXLAN single-homed and dual-homed hybrid access methods corresponding to the PE device disclosed in the foregoing embodiment can be stored in the memory 1920, regarding the VXLAN list.
  • the dual-homing hybrid access method has been described in detail in the previous embodiments, and thus the present embodiment will not be repeated in detail.
  • the processor 1910 performs various functional applications and data processing by executing (executing) software programs and modules stored in the memory 1920, that is, implementing the above method.
  • Memory 1920 can include high speed random access memory, and can also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • memory 1920 can further include memory (cloud memory) remotely located relative to processor 1910, which can be connected to PE device 1900 via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the data transceiver 1930 is configured to receive or transmit data via a network.
  • the network specific examples described above may include a wireless network provided by a communication provider of the PE device 1900.
  • the data transceiver 1930 includes a NIC (Network Interface Controller) that can be connected to other network devices through a base station to communicate with the Internet.
  • data transceiver 1930 includes an RF (Radio Frequency) module configured to communicate with the Internet wirelessly.
  • NIC Network Interface Controller
  • the solution provided by the embodiment of the present disclosure is configured to perform a single-homing hybrid access configuration, where the MC-LAG is configured, and the PeerLink interface corresponding to the MC-LAG is configured; and the MC-LAG interface is configured and configured on the MC-LAG.
  • the load sharing forwards the unicast packet and broadcasts the received BUM packet, which combines the ESI technology and the MC-LAG Peerlink technology, and sets the filtering and forwarding rules on the basis of the VXLAN domain.
  • the load sharing is performed, and the problem that the BUM packet loopback and/or the BUM packet cannot be received is solved. Therefore, the embodiment of the present disclosure can support the application scenario of single-homing and dual-homing hybrid access.

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

本公开公开了一种VXLAN单归和双归混合接入方法、装置、PE设备和存储介质。该方法包括:执行单双归混合接入配置;其中,配置跨设备链路聚合组MC-LAG并且配置所述MC-LAG对应的PeerLink接口;配置MC-LAG接口的以太网段标识ESI,并指定转发器DF选举规则;将MC-LAG接口、PeerLink接口和其他单双归接口绑定VXLAN域;在单双归混合接入场景下,根据预设的过滤转发规则,在所述VXLAN域内,负荷分担转发单播报文并广播接收到的BUM报文。

Description

VXLAN单归和双归混合接入方法、装置、PE设备和存储介质
相关申请的交叉引用
本申请基于申请号为201710236485.8、申请日为2017年04月12日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本公开涉及云计算和数据中心技术领域,特别是涉及一种VXLAN(Virtual Extensible LAN,虚拟扩展局域网)单归和双归混合接入方法、装置、PE(Provider Edge,运营商边缘)设备和存储介质。
背景技术
目前,VXLAN EVPN(Ethernet Virtual Private Network,以太网虚拟专用网络)技术作为用于数据中心大二层互联的主要技术,在IETF(The Internet Engineering Task Force,国际互联网工程任务组)的RFC7432标准中,对于CE(Customer Edge,用户网络边缘)设备多归混合接入到PE设备的场景有相应的描述。
为了便于理解,以图1所示的VXLAN单归和双归混合接入的典型组网图进行说明,图1中,TS1双归接入DUT1和DUT2,PC1单归接入DUT1,PC2单归接入DUT2,TS2单归接入DUT3;AC1~AC5为物理链路。
对于CE(TS1)双归接入PE(DUT1和DUT2)而言,PE需要为CE与PE之间的物理链路配置MC-LAG(Multi-Chassis Link Aggregation Group,跨设备链路聚合组),并且配置相应的ESI(Ethernet Segment Identifier,以太网段标识),以及设置相应的多活/单活开关;与同一个CE连接的PE,MC-LAG的ESI需要配置成一致,例如:与TS1连接的DUT1和DUT2的MC-LAG需要配置相同的ESI;对于为MC-LAG配置相同ESI的各PE设 备,需要进行EVPN的RT(Router Type,路由器类型)-4的协商,选举出DF(Designated Forwarder,指定转发器),以便对多余的BUM(Broadcast&unknown&unicast&multicast,广播&未知单播&组播)流量进行过滤,其中,BUM报文为多播报文,只有DF设备能够接收多播报文,而Non-DF设备不接收多播报文。PE设备在发送RT-1和RT-4类型的路由信息时,需要携带所配置的ESI,以便在远端PE设备形成多活/单活冗余路由。
在相关技术中,对于单播报文转发,协议规定的方案能够很好地支持现有场景。但是,对于多播报文转发,协议规定的方案存在一定问题。如图2所示的BUM报文回环的示意图,由于VXLAN数据报文协议上没有规定封装ESI标签,对于BUM报文,CE侧MC-LAG采用负荷分担方式,有可能将BUM报文发送给Non-DF PE设备,Non-DF PE设备会向网络侧广播报文,DF PE设备收到流量后,无法判断BUM报文来源的ESI,所以DF PE设备还会将BUM报文发送给原来的CE,导致BUM报文回环。
针对BUM报文回环的问题,可以设置双归PE之间不发送BUM报文,那么PE设备从CE侧收到的BUM流量就不会往ESI邻居发送,这虽然解决了BUM报文回环问题,但是又引发了其他问题,即对于双归和单归混合配置的场景,会导致单归节点无法收到BUM报文,如图3所示。
发明内容
本公开实施例提供一种VXLAN单归和双归混合接入方法、装置、PE设备和存储介质。
本公开实施例是通过以下技术方案来解决的:
本公开实施例提供一种VXLAN单归和双归混合接入方法,在PE设备执行,包括:执行单双归混合接入配置;其中,配置MC-LAG,并且配置所述MC-LAG对应的PeerLink接口;在MC-LAG接口为所述MC-LAG配置与对端PE设备对应的MC-LAG相同的ESI;将所述MC-LAG接口、所述PeerLink接口和单归接口绑定VXLAN域;在单双归混合接入场景下,根据预设的过滤转发规则,在所述VXLAN域内,负荷分担转发单播报文 并广播接收到的BUM报文。
其中,在所述执行单双归混合接入配置时,所述方法还包括:禁止与所述MC-LAG的ESI相同的PE设备成为BGP(Border Gateway Protocol,边界网关协议)EVPN(以太网虚拟专用网络)邻居;根据所述MC-LAG的主备状态,确定所述MC-LAG的ESI的DF状态。
其中,所述根据预设的过滤转发规则,在所述VXLAN域内,负荷分担转发单播报文并广播接收到的BUM报文,包括:如果从所述MC-LAG接口和所述单归接口接收到所述单播报文,则根据转发表条目转发所述单播报文;如果从所述MC-LAG接口和所述单归接口接收到所述BUM报文,则直接在所述VXLAN域内广播所述BUM报文;如果从所述PeerLink接口接收到所述BUM报文,则在所述VXLAN域内禁止向所述MC-LAG接口和VXLAN EVPN网络侧广播所述BUM报文,仅向所述单归接口广播所述BUM报文;如果从VXLAN EVPN网络侧接收到所述BUM报文,则在所述VXLAN域内禁止向所述PeerLink接口广播所述BUM报文,仅向所述单归接口和符合预设条件的MC-LAG接口广播所述BUM报文;所述预设条件是指:在所述MC-LAG接口配置的ESI的DF状态为DF。
其中,所述方法还包括:如果感知到对端PE设备故障,则更新本端PE设备对应的MC-LAG的主备状态,并根据更新后的所述MC-LAG的主备状态重新确定本端PE设备对应的MC-LAG的ESI的DF状态;如果通过BGP设备感知到BGP EVPN邻居设备故障,则删除所述BGP EVPN邻居设备传递的对应转发表条目;如果本端PE设备的所述MC-LAG接口故障,则删除所述MC-LAG接口对应的转发表条目,并通知所述BGP设备以便BGP EVPN邻居设备进行远端表项删除;如果本端PE设备的所述MC-LAG接口故障,则更新本端PE设备对应的MC-LAG的主备状态,并根据更新后的所述MC-LAG的主备状态重新确定本端PE设备对应的MC-LAG的ESI的DF状态;如果本端PE设备的所述PeerLink接口故障,且所述PeerLink接口对应的MC-LAG的ESI的DF状态为Non-DF,则将所有MC-LAG接口关闭。
其中,所述根据预设的过滤转发规则,在所述VXLAN域内,负荷分 担转发单播报文并广播接收到的BUM报文,包括:在接收到未知单播报文时,判断所述VXLAN域是否已经开启未知报文域内广播功能;如果已经开启所述未知报文域内广播功能,则根据预设的过滤转发规则,在所述VXLAN域内广播所述未知单播报文;反之,丢弃所述未知单播报文。
本公开实施例提供了一种VXLAN单归和双归混合接入装置,在PE设备执行,包括:配置模块,配置为执行单双归混合接入配置;其中,配置MC-LAG,并且配置所述MC-LAG对应的PeerLink接口;在MC-LAG接口为所述MC-LAG配置与对端PE设备对应的MC-LAG相同的ESI;绑定模块,配置为将所述MC-LAG接口、所述PeerLink接口和单归接口绑定VXLAN域;转发模块,配置为在单双归混合接入场景下,根据预设的过滤转发规则,在所述VXLAN域内,负荷分担转发单播报文并广播接收到的BUM报文。
其中,所述配置模块,还配置为:在所述执行单双归混合接入配置时,禁止与所述MC-LAG的ESI相同的PE设备成为BGP EVPN邻居;根据所述MC-LAG的主备状态,确定所述MC-LAG的ESI的DF状态。
其中,所述转发模块,配置为:如果从所述MC-LAG接口和所述单归接口接收到所述单播报文,则根据转发表条目转发所述单播报文;如果从所述MC-LAG接口和所述单归接口接收到所述BUM报文,则直接在所述VXLAN域内广播所述BUM报文;如果从所述PeerLink接口接收到所述BUM报文,则在所述VXLAN域内禁止向所述MC-LAG接口和VXLAN EVPN网络侧广播所述BUM报文,仅向所述单归接口广播所述BUM报文;如果从VXLAN EVPN网络侧接收到所述BUM报文,则在所述VXLAN域内禁止向所述PeerLink接口广播所述BUM报文,仅向所述单归接口和符合预设条件的MC-LAG接口广播所述BUM报文;所述预设条件是指:在所述MC-LAG接口配置的ESI的DF状态为DF。
其中,所述装置还包括处理模块;所述处理模块,配置为:如果感知到对端PE设备故障,则更新本端PE设备对应的MC-LAG的主备状态,并根据更新后的所述MC-LAG的主备状态重新确定本端PE设备对应的MC-LAG的ESI的DF状态;如果通过BGP设备感知到BGP EVPN邻居设 备故障,则删除所述BGP EVPN邻居设备传递的对应转发表条目;如果本端PE设备的所述MC-LAG接口故障,则删除所述MC-LAG接口对应的转发表条目,并通知所述BGP设备以便BGP EVPN邻居设备进行远端表项删除;如果本端PE设备的所述MC-LAG接口故障,则更新本端PE设备对应的MC-LAG的主备状态,并根据更新后的所述MC-LAG的主备状态重新确定本端PE设备对应的MC-LAG的ESI的DF状态;如果本端PE设备的所述PeerLink接口故障,且所述PeerLink接口对应的MC-LAG的ESI的DF状态为Non-DF,则将所有MC-LAG接口关闭。
其中,所述转发模块,还配置为:在接收到未知单播报文时,判断所述VXLAN域是否已经开启未知报文域内广播功能;如果已经开启所述未知报文域内广播功能,则根据预设的过滤转发规则,在所述VXLAN域内广播所述未知单播报文;反之,丢弃所述未知单播报文。
本公开实施例还提供了一种PE设备,所述PE设备包括进行数据处理的处理器、配置为数据存储的存储器和用于数据发送和/或接收的数据收发器,其中,所述处理器执行所述存储器中存储的数据时,执行如下操作:执行单双归混合接入配置;其中,配置MC-LAG,并且配置所述MC-LAG对应的PeerLink接口;在MC-LAG接口为所述MC-LAG配置与对端PE设备对应的MC-LAG相同的ESI;将所述MC-LAG接口、所述PeerLink接口和单归接口绑定VXLAN域;在单双归混合接入场景下,根据预设的过滤转发规则,在所述VXLAN域内,负荷分担转发单播报文并广播接收到的BUM报文。
其中,所述处理器执行所述存储器中存储的数据时,还执行如下操作:在所述执行单双归混合接入配置时,禁止与所述MC-LAG的ESI相同的PE设备成为BGP EVPN邻居;根据所述MC-LAG的主备状态,确定所述MC-LAG的ESI的DF状态。
其中,所述根据预设的过滤转发规则,在所述VXLAN域内,负荷分担转发单播报文并广播接收到的BUM报文,包括:如果从所述MC-LAG接口和所述单归接口接收到所述单播报文,则根据转发表条目转发所述单播报文;如果从所述MC-LAG接口和所述单归接口接收到所述BUM报文, 则直接在所述VXLAN域内广播所述BUM报文;如果从所述PeerLink接口接收到所述BUM报文,则在所述VXLAN域内禁止向所述MC-LAG接口和VXLAN EVPN网络侧广播所述BUM报文,仅向所述单归接口广播所述BUM报文;如果从VXLAN EVPN网络侧接收到所述BUM报文,则在所述VXLAN域内禁止向所述PeerLink接口广播所述BUM报文,仅向所述单归接口和符合预设条件的MC-LAG接口广播所述BUM报文;所述预设条件是指:在所述MC-LAG接口配置的ESI的DF状态为DF。
其中,所述处理器执行所述存储器中存储的数据时,还执行如下操作:
如果感知到对端PE设备故障,则更新本端PE设备对应的MC-LAG的主备状态,并根据更新后的所述MC-LAG的主备状态重新确定本端PE设备对应的MC-LAG的ESI的DF状态;如果通过BGP设备感知到BGP EVPN邻居设备故障,则删除所述BGP EVPN邻居设备传递的对应转发表条目;如果本端PE设备的所述MC-LAG接口故障,则删除所述MC-LAG接口对应的转发表条目,并通知所述BGP设备以便BGP EVPN邻居设备进行远端表项删除;如果本端PE设备的所述MC-LAG接口故障,则更新本端PE设备对应的MC-LAG的主备状态,并根据更新后的所述MC-LAG的主备状态重新确定本端PE设备对应的MC-LAG的ESI的DF状态;如果本端PE设备的所述PeerLink接口故障,且所述PeerLink接口对应的MC-LAG的ESI的DF状态为Non-DF,则将所有MC-LAG接口关闭。
其中,所述根据预设的过滤转发规则,在所述VXLAN域内,负荷分担转发单播报文并广播接收到的BUM报文,包括:在接收到未知单播报文时,判断所述VXLAN域是否已经开启未知报文域内广播功能;如果已经开启所述未知报文域内广播功能,则根据预设的过滤转发规则,在所述VXLAN域内广播所述未知单播报文;反之,丢弃所述未知单播报文。
本公开实施例提供了一种计算机存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述任一方法的步骤。
本公开实施例有益效果如下:
本公开有机结合了ESI技术和MC-LAG Peerlink技术,并在此基础上设定过滤转发规则,进而支持双归的负荷分担发送,并解决了BUM报文回 环和/或BUM报文无法接收的问题,因此本公开实施例可以支持单归和双归混合接入的应用场景。
附图说明
图1是相关技术中VXLAN单归和双归混合接入的组网图;
图2是相关技术中BUM报文回环的示意图;
图3是相关技术中ESI成员之间不发送BUM报文的示意图;
图4是根据本公开第一实施例的VXLAN单归和双归混合接入方法的流程图;
图5是根据本公开第二实施例的执行单双归混合接入配置的步骤流程图;
图6是根据本公开第二实施例的VXLAN单归和双归混合接入网络示意图;
图7是根据本公开第三实施例的转发CE侧BUM报文的步骤流程图;
图8是根据本公开第三实施例的转发CE侧BUM报文的网络示意图;
图9是根据本公开第三实施例的转发PeerLink侧BUM报文的步骤流程图;
图10是根据本公开第三实施例的转发PeerLink侧BUM报文的网络示意图;
图11是根据本公开第三实施例的转发网络侧BUM报文的步骤流程图;
图12是根据本公开第三实施例的转发网络侧BUM报文的网络示意图;
图13是根据本公开第四实施例的PeerLink接口故障的示意图;
图14是根据本公开第四实施例的PeerLink接口故障的示意图;
图15是根据本公开第四实施例的MC-LAC接口故障的示意图;
图16是根据本公开第四实施例的MC-LAC接口故障的示意图;
图17是根据本公开第四实施例的PE设备故障的示意图;
图18是根据本公开第五实施例的VXLAN单归和双归混合接入装置的 结构图;
图19是根据本公开第六实施例的PE设备的硬件结构示意图。
具体实施方式
以下结合附图以及实施例,对本公开进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本公开,并不限定本公开。
实施例一
本实施例提供了一种VXLAN单归和双归混合接入方法。本实施例的执行主体是PE设备(即下面所述的本端PE设备)。图4是根据本公开第一实施例的VXLAN单归和双归混合接入方法的流程图。
步骤S410,执行单双归混合接入配置。
单双归混合接入配置,包括:配置MC-LAG并且配置所述MC-LAG对应的PeerLink接口;在MC-LAG接口为所述MC-LAG配置与对端PE设备对应的MC-LAG相同的ESI,即本端PE设备对应的MC-LAG的ESI和对端PE设备对应的MC-LAG的ESI相同。
具体地,为本端PE设备配置MC-LAG的相关参数和规则以及PeerLink链路。进一步地,配置该MC-LAG对应的各个PeerLink子接口。
还可以为本端PE设备配置MC-LAG的ESI DF选举规则,包括:禁止与所述MC-LAG的ESI相同的PE设备成为BGP EVPN邻居;在配置所述MC-LAG的ESI之后,根据所述MC-LAG的主备状态,确定所述MC-LAG的ESI的DF状态。根据本实施例的配置,DF状态受MC-LAG的主备状态控制,后续DF状态还需要根据MC-LAG的主备状态的更新而更新。
如果MC-LAG的主备状态为主,则确定该MC-LAG的ESI的DF状态为DF;如果MC-LAG的主备状态为备,则确定该MC-LAG的ESI的DF状态为Non-DF。在一实施例中,MC-LAG初始化的主备状态可以根据MC-LAG接口的优先级高低确定,高优先级的MC-LAG接口配置的MC-LAG为主,低优先级的MC-LAG接口配置的MC-LAG为备。
步骤S420,将MC-LAG接口、PeerLink接口和单归接口绑定VXLAN 域。
配置VXLAN实例,将单归接口、MC-LAG接口和PeerLink接口绑定到该VXLAN实例中,即是将单归接口、MC-LAG接口和PeerLink接口绑定VXLAN域。进一步地,将各个PeerLink子接口绑定到VXLAN域中,还需要将用于连接VXLAN EVPN网络的接口绑定到VXLAN域中。
步骤S430,在单双归混合接入场景下,根据预设的过滤转发规则,在所述VXLAN域内,负荷分担转发单播报文并广播接收到的BUM报文。
所述过滤转发规则,包括:
如果从所述MC-LAG接口和所述单归接口接收到所述单播报文,则根据转发表条目转发所述单播报文;
如果从所述MC-LAG接口和所述单归接口接收到所述BUM报文,则直接在所述VXLAN域内广播所述BUM报文;
如果从所述PeerLink接口接收到所述BUM报文,则在所述VXLAN域内禁止向所述MC-LAG接口和VXLAN EVPN网络侧广播所述BUM报文,仅向所述单归接口广播所述BUM报文;
如果从VXLAN EVPN网络侧接收到所述BUM报文,则在所述VXLAN域内禁止向所述PeerLink接口广播所述BUM报文,仅向所述单归接口和符合预设条件的MC-LAG接口广播所述BUM报文;所述预设条件是指:在所述MC-LAG接口配置的MC-LAG的ESI的DF状态为DF。
基于上述过滤转发规则,在将单归接口、MC-LAG接口和PeerLink接口绑定到VXLAN域中之后,本端PE设备在接收到单播报文和BUM报文时,单归接口、MC-LAG接口和PeerLink接口就可以按照该过滤转发规则进行报文转发了。
在本实施例中,在接收到未知单播报文时,判断所述VXLAN域是否已经开启未知报文域内广播功能;如果已经开启所述未知报文域内广播功能,则根据预设的过滤转发规则,在所述VXLAN域内广播所述未知单播报文;反之,丢弃所述未知单播报文。
本实施例在单双归混合接入场景下,还可以根据预设的故障处理规则 进行故障处理,具体包括:
如果感知到对端PE设备故障,则更新本端PE设备对应的MC-LAG的主备状态,并根据更新后的所述MC-LAG的主备状态重新确定本端PE设备对应的MC-LAG的ESI的DF状态;
如果通过BGP设备感知到BGP EVPN邻居设备故障,则删除所述BGP EVPN邻居设备传递的对应转发表条目;
如果本端PE设备的所述MC-LAG接口故障,则删除所述MC-LAG接口对应的转发表条目,并通知所述BGP设备以便BGP EVPN邻居设备进行远端表项删除;
如果本端PE设备的所述MC-LAG接口故障,则更新本端PE设备对应的MC-LAG的主备状态,并根据更新后的所述MC-LAG的主备状态重新确定本端PE设备对应的MC-LAG的ESI的DF状态;
如果本端PE设备的所述PeerLink接口故障,且所述PeerLink接口对应的MC-LAG的ESI的DF状态为Non-DF,则将所有MC-LAG接口关闭。
本实施例有机结合了ESI技术和MC-LAG Peerlink技术,并在此基础上设定过滤转发规则,进而在VXLAN报文没有ESI标签的情况下,也不会出现BUM报文回环和BUM报文无法接收的问题,因此本实施例可以支持单归和双归混合接入的应用场景。
实施例二
下面对上述执行单双归混合接入配置的步骤进行进一步地说明。
图5是根据本公开第二实施例的执行单双归混合接入配置的步骤流程图;图6是根据本公开第二实施例的VXLAN单归和双归混合接入网络示意图。在图6中,TS1、PC1、PC2和TS2为CE设备,DUT1、DUT2和DUT3为PE设备;TS1双归接入DUT1和DUT2,PC1单归接入DUT1,PC2单归接入DUT2,TS2单归接入DUT3。
步骤S510,为本端PE设备配置MC-LAG以及ESI DF选举规则。
在CE设备单归和双归混合接入本端PE设备后,在本端PE设备的 MC-LAG接口配置MC-LAG、ESI DF选举规则、以及负荷分担方式。
通过配置MC-LAG,可以在本端PE设备、CE设备和对端PE设备之间组建MC-LAC成员链路。本端PE设备与对端PE设备连接同一CE设备。
在本端PE设备的SG(Smart Group,以太捆绑接口)接口,可以配置MC-LAG的ESI,其中,与同一CE设备相连接的PE设备配置相同的ESI。换言之,PE设备双归接入侧的接口需要配置相同的ESI,单归接入侧的接口不需要配置ESI。
禁止本端PE设备与MC-LAG配置相同ESI的PE设备成为BGP EVPN邻居关系,即禁止双归节点之间配置BGP EVPN邻居关系,从而可以避免出现BUM报文还回问题。
禁止本端PE设备与MC-LAG配置相同ESI的PE设备之间进行ESI DF选举,而是根据本端PE设备对应的MC-LAC的主备状态,设置该MC-LAG的ESI的DF标记(DF或者Non DF)。DF标记用于体现ESI的DF状态。
如图6所示,通过分别在DUT1和DUT2的MC-LAG接口配置MC-LAG,在DUT1(本端PE设备)、TS1(CE设备)和DUT2(对端PE设备)之间组建MC-LAC成员链路AC1和AC2;DUT1和DUT2分别对应的MC-LAG的ESI相同;DUT1和DUT2禁止成为BGP EVPN邻居;根据DUT1和DUT2分别对应的MC-LAG的主备状态确定各自ESI的DF状态。在图6中,DUT1对应的MC-LAG为master(主),该MC-LAG的ESI的DF标记为DF,DUT2对应的MC-LAG为backup(备),该MC-LAG的ESI的DF标记为Non DF。
步骤S520,在本端PE设备的PeerLink接口配置PeerLink链路。
PeerLink链路用于互联本端PE设备和对端PE设备,如图6所示。
进一步地,配置本端PE设备的PeerLink接口,并配置PeerLink接口的子接口,实现PeerLink链路的配置。
步骤S530,使用本端PE设备的不同本地IP(Internet Protocol Address,互联网协议地址)地址与远端设备建立BGP EVPN邻居,并将为MC-LAG配置的ESI发送给BGP EVPN邻居设备,以便位于远端的BGP EVPN邻居 设备可以建立对应的VXLAN EVPN路由。
如图6所示,DUT1可以使用不同的IP地址与远端设备DUT3建立BGP EVPN邻居,使DUT3成为DUT1的BGP EVPN邻居设备。
本端PE设备在RT-2路由信息中携带本端PE设备对应的MC-LAG的ESI,BGP EVPN邻居设备在接收到RT-2路由信息之后可以形成对应的冗余路由。
步骤S540,将本端PE设备对应的MC-LAG的主备状态、转发表同步给对端PE设备,并将该转发表向BGP EVPN邻居设备发布。
可以通过PeerLink链路或者VXLAN EVPN网络将本端PE设备对应的MC-LAG的主备状态、转发表同步给对端PE设备。
可以将该转发表转换成RFC(Request For Comments,请求评议)定义的标准格式,形成远端转发表,并发布给BGP EVPN邻居。
步骤S550,为本端PE设备配置过滤转发规则和故障处理规则。
该过滤转发规则,包括:
单播转发机制:如果从所述MC-LAG接口和所述单归接口接收到所述单播报文,则根据转发表条目转发所述单播报文。进一步地,在从MC-LAG接口和单归接口接收到单播报文时,判断转发表中是否存在该单播报文对应的转发表条目,如果存在,则按照该转发表条目进行转发,如果不存在,则确定该单播报文为未知单播报文,如果允许未知广播,则根据预设的过滤转发规则进行转发,如果不允许未知广播,则舍弃该未知单播报文。更进一步地,如果从接入侧接收到单播报文,则可以根据转发表中包含的BGP EVPN邻居设备发布的ESI负荷分担路由信息(转发表条目),进行负荷分担转发。
普通转发机制:如果从所述MC-LAG接口和所述单归接口接收到所述BUM报文,则直接在所述VXLAN域内广播所述BUM报文。
单项隔离机制:如果从所述PeerLink接口接收到所述BUM报文,则在所述VXLAN域内禁止向所述MC-LAG接口和VXLAN EVPN网络侧广播所述BUM报文,仅向所述单归接口广播所述BUM报文。
DF过滤机制:如果从VXLAN EVPN网络侧接收到所述BUM报文,则在所述VXLAN域内禁止向所述PeerLink接口广播所述BUM报文,仅向所述单归接口和符合预设条件的MC-LAG接口广播所述BUM报文;所述预设条件是指:在所述MC-LAG接口配置的MC-LAG的ESI的DF状态为DF。
该故障处理规则,包括:
如果本端PE设备的感知到对端PE设备故障,则更新本端PE设备对应的MC-LAG的主备状态,并根据更新后的所述MC-LAG的主备状态重新确定本端PE设备对应的MC-LAG的ESI的DF状态;
如果本端PE设备的通过BGP设备感知到BGP EVPN邻居设备故障,则删除所述BGP EVPN邻居设备传递的对应转发表条目;
如果本端PE设备的MC-LAG接口故障,则删除所述MC-LAG接口对应的转发表条目,并通知BGP设备以便BGP EVPN邻居设备进行远端表项删除;
如果本端PE设备的MC-LAG接口故障,则更新本端PE设备对应的MC-LAG的主备状态,并根据更新后的所述MC-LAG的主备状态重新确定本端PE设备对应的MC-LAG的ESI的DF状态;
如果本端PE设备的PeerLink接口故障,且所述PeerLink接口对应的MC-LAG的ESI的DF状态为Non-DF,则将所有MC-LAG接口关闭。
本实施例克服了RFC7432协议规定的配置ESI带来的组播回环问题,也克服了ESI成员之间不发送BUM报文导致无法支持单双归混合接入的问题。
本实施例在VXLAN EVPN网络冗余接入场景。通过将MC-LAG Peerlink技术与ESI技术结合,使得单归节点和双归节点能够混合接入到PE设备中,以提供负荷分担和保护功能。
本实施例通过设置过滤转发规则,保证BUM报文不出现回环问题。对于双归节点,既能达到本地到远端的负荷分担,也能实现远端到本地的负荷分担,并且还具有在设备或者链路故障时的保护功能。本实施例的单归 和双归混合接入方法能够支持单播和多播报文的正常转发,并且不会影响到网络侧其他厂商对于VXLAN报文的标准转发规则。
实施例三
本实施例对过滤转发规则的使用进行进一步地描述。在本实施例中,执行主体为DUT1。
图7是根据本公开第三实施例的转发CE侧BUM报文的步骤流程图;图8是根据本公开第三实施例的转发CE侧BUM报文的网络示意图。
步骤S710,接收到来自CE设备侧的流量。
步骤S720,判断该流量是否为BUM流量;如果是,则执行步骤S730;如果否,则执行步骤S740。
步骤S730,如果是BUM流量,则直接在VXLAN域内广播该BUM流量。
在VXLAN域内广播该BUM流量包括:向除了接收该流量的接口之外的单归接口、MC-LAG接口、PeerLink接口以及VXLAN EVPN网络侧转发该BUM流量。从而来自TS1的BUM流量会被转发给PC1、DUT1、PC2、DUT3和TS2。
步骤S740,如果是单播流量,则查询转发表,确定转发表中是否存在该单播流量对应的转发条目(转发表条目);如果是,则执行步骤S750;如果否,则执行步骤S730。
步骤S750,如果在该转发表中查询到单播流量对应的转发条目,则根据转发条目转发该单播流量。
在VXLAN域内广播该单播流量包括:向除了接收该流量的接口之外的单归接口、MC-LAG接口、PeerLink接口以及VXLAN EVPN网络侧转发该单播流量。从而来自TS1的BUM流量会被转发给PC1、DUT1、PC2、DUT3和TS2。
图9是根据本公开第三实施例的转发PeerLink侧BUM报文的步骤流 程图;10是根据本公开第三实施例的转发PeerLink侧BUM报文的网络示意图。
步骤S910,接收来自Peerlink接口的流量。
步骤S920,判断该流量是否为BUM流量;如果是,则执行步骤S930;如果否,则执行步骤S940。
步骤S930,如果是BUM流量,则在VXLAN域内禁止向MC-LAG接口和VXLAN EVPN网络侧广播该BUM流量,仅向单归接口广播该BUM流量。
步骤S940,如果是单播流量,则查询转发表,确定转发表中是否存在该单播流量对应的转发条目;如果是,则执行步骤S950;如果否,则执行步骤S930。
步骤S950,根据转发条目转发该单播流量。
图11是根据本公开第三实施例的转发网络侧BUM报文的步骤流程图;图12是根据本公开第三实施例的转发网络侧BUM报文的网络示意图。
步骤S1110,接收到来自VXLAN EVPN网络侧的流量。
步骤S1120,判断该流量是否为BUM流量;如果是,则执行步骤S1130;如果否,则执行步骤S1140。
步骤S1130,如果是BUM流量,则在VXLAN域内,向单归接入侧和双归ESI DF接入侧广播,不向Peerlink侧广播,过滤ESI Non-DF接入口。
具体而言,在VXLAN域内禁止向PeerLink接口广播该BUM流量,仅向单归接口和符合预设条件的MC-LAG接口广播该单播流量;所述预设条件是指:在MC-LAG接口配置的MC-LAG的ESI的DF状态为DF,进而过滤掉配置的MC-LAG的ESI的DF状态为Non DF的MC-LAG接口。
步骤S1140,如果是单播流量,则查询转发表,确定转发表中是否存在该单播流量对应的转发条目;如果是,则执行步骤S1150;如果否,则执行步骤S1130。
步骤S1150,根据转发条目转发该单播流量。
本实施例能够在正常情况下,对应CE设备和网络侧的流量进行负荷分担转发,提高了带宽利用率。在PeerLink链路故障,双归节点(PE设备)故障,以及MC-LAG接口故障的情况下,能够对CE设备和网络侧的流量进行保护,提高VXLAN EVPN网络的可靠性。
如图13所示,为根据本公开第四实施例的PeerLink接口故障的示意图。
如果PeerLink接口故障,那么DUT1在接收到来自TS1的BUM报文之后,可以图7所示的步骤进行报文转发,将BUM报文通过AC4转发给PC1,通过VXLAN EVPN网络转发给DUT3。
如图14所示,为根据本公开第四实施例的PeerLink接口故障的示意图。
如果PeerLink接口故障,那么DUT3发送的BUM报文将通过VXLAN EVPN网络到达DUT1和DUT1。DUT1对应的MC-LAG的主备状态为master,该MC-LAG的ESI的DF状态为DF。DTU1对应的MC-LAG的主备状态为backup,该MC-LAG的ESI的DF状态为Non-DF。根据图11所示的步骤,DUT1在接收到来自VXLAN EVPN网络侧的BUM报文之后,可以将该BUM报文发送给PC1和TS1,DUT2在接收到来自VXLAN EVPN网络侧的BUM报文之后,可以将该BUM报文转发给PC2。
如图15所示,为根据本公开第四实施例的MC-LAC接口故障的示意图。
如果DUT2的MC-LAG接口故障,则DUT1接收到来自TS1的BUM报文之后,根据图7所示的步骤,将BUM报文通过AC4转发给PC1、通过VXLAN EVPN网络转发给DUT2,通过PeerLink链路转发给DUT2。
如图16所示,为根据本公开第四实施例的MC-LAC接口故障的示意图。
如果DUT2的MC-LAG接口故障,则DUT1通过VXLAN EVPN网络接收到来自DUT3的BUM报文之后,根据图11所示的步骤,将BUM报文通过AC4转发给PC1,通过AC1转发给TS1。DTU2通过VXLAN EVPN网络接收到来自DUT3的BUM报文之后,根据图11所示的步骤,将BUM报文通过AC5转发给PC2,由于DUT2的MC-LAG接口配置的MC-LAG的ESI的DF状态为Non DF,所以DUT2不向TS1发送BUM报文。
如图17所示,为根据本公开第四实施例的PE设备故障的示意图。
如果DUT2故障,则DUT1接收到来自TS1的BUM报文之后,根据图7所示的步骤,将BUM报文通过AC4转发给PC1、通过VXLAN EVPN网络转发给DUT2。
实施例五
本实施例提供一种VXLAN单归和双归混合接入装置。图18是根据本公开第五实施例的VXLAN单归和双归混合接入装置的结构图。本实施例的VXLAN单归和双归混合接入装置可以设置在PE设备侧。
该VXLAN单归和双归混合接入装置,包括:
配置模块1810,配置为执行单双归混合接入配置;其中,配置MC-LAG,并且配置所述MC-LAG对应的PeerLink接口;在MC-LAG接口为所述MC-LAG配置与对端PE设备对应的MC-LAG相同的ESI。
绑定模块1820,配置为将MC-LAG接口、所述PeerLink接口和单归接口绑定VXLAN域;
转发模块1830,配置为在单双归混合接入场景下,根据预设的过滤转发规则,在所述VXLAN域内,负荷分担转发单播报文并广播接收到的BUM报文。
在一实施例中,所述配置模块1810,配置为在所述执行单双归混合接入配置时,禁止与所述MC-LAG的ESI相同的PE设备成为边界网关协议BGP以太网虚拟专用网络EVPN邻居;根据所述MC-LAG的主备状态,确定所述ESI的DF状态。换言之,所述配置模块1810,配置ESI的DF状态受MC-LAG的主备状态控制。
在一实施例中,所述转发模块1830,配置为:
如果从所述MC-LAG接口和所述单归接口接收到所述单播报文,则根据转发表条目转发所述单播报文;
如果从所述MC-LAG接口和所述单归接口接收到所述BUM报文,则直接在所述VXLAN域内广播所述BUM报文;
如果从所述PeerLink接口接收到所述BUM报文,则在所述VXLAN域内禁止向所述MC-LAG接口和VXLAN EVPN网络侧广播所述BUM报文,仅向所述单归接口广播所述BUM报文;
如果从VXLAN EVPN网络侧接收到所述BUM报文,则在所述VXLAN域内禁止向所述PeerLink接口广播所述BUM报文,仅向所述单归接口和符合预设条件的MC-LAG接口广播所述BUM报文;所述预设条件是指:在所述MC-LAG接口配置的ESI的DF状态为DF。
在一实施例中,所述装置还包括处理模块(图中未示出)。
所述处理模块,配置为:
如果感知到对端PE设备故障,则更新本端PE设备对应的MC-LAG的主备状态,并根据更新后的所述MC-LAG的主备状态重新确定本端PE设备对应的MC-LAG的ESI的DF状态;
如果通过BGP设备感知到BGP EVPN邻居设备故障,则删除所述BGP EVPN邻居设备传递的对应转发表条目;
如果本端PE设备的所述MC-LAG接口故障,则删除所述MC-LAG接口对应的转发表条目,并通知所述BGP设备以便BGP EVPN邻居设备进行远端表项删除;
如果本端PE设备的所述MC-LAG接口故障,则更新本端PE设备对应的MC-LAG的主备状态,并根据更新后的所述MC-LAG的主备状态重新确定本端PE设备对应的MC-LAG的ESI的DF状态;
如果本端PE设备的所述PeerLink接口故障,且所述PeerLink接口对应的MC-LAG的ESI的DF状态为Non-DF,则将所有MC-LAG接口关闭。
在一实施例中,所述转发模块1830,配置为:在接收到单播报文时,如果该单播报文存在对应的转发表条目,则根据转发表规则进行转发;在接收到未知单播报文时,判断所述VXLAN域是否已经开启未知报文域内广播功能;如果已经开启未知报文域内广播功能,则根据预设的过滤转发规则,在所述VXLAN域内,广播所述未知单播报文;反之,丢弃所述未知单播报文。
本实施例所述的装置的功能已经在图4~图17所示的方法实施例中进行了描述,故本实施例的描述中未详尽之处,可以参见前述实施例中的相关说明,在此不做赘述。
实施例六
本实施例还提供了一种计算机程序、存储有该程序的存储介质和PE设备。
其中,执行该程序用于实现:执行单双归混合接入配置;其中,配置MC-LAG,并且配置所述MC-LAG对应的PeerLink接口;在MC-LAG接口为所述MC-LAG配置与对端PE设备对应的MC-LAG相同的ESI;将所述MC-LAG接口、所述PeerLink接口和单归接口绑定VXLAN域;在单双归混合接入场景下,根据预设的过滤转发规则,在所述VXLAN域内,负荷分担转发单播报文并广播接收到的广播&未知单播&组播BUM报文。
进一步地,在所述执行单双归混合接入配置时,所述方法还包括:禁止与所述MC-LAG的ESI相同的PE设备成为边界网关协议BGP以太网虚拟专用网络EVPN邻居;根据所述MC-LAG的主备状态,确定所述MC-LAG的ESI的DF状态。
进一步地,所述根据预设的过滤转发规则,在所述VXLAN域内,负荷分担转发单播报文并广播接收到的BUM报文,包括:如果从所述MC-LAG接口和所述单归接口接收到所述单播报文,则根据转发表条目转发所述单播报文;如果从所述MC-LAG接口和所述单归接口接收到所述BUM报文,则直接在所述VXLAN域内广播所述BUM报文;如果从所述PeerLink接口接收到所述BUM报文,则在所述VXLAN域内禁止向所述MC-LAG接口和VXLAN EVPN网络侧广播所述BUM报文,仅向所述单归接口广播所述BUM报文;如果从VXLAN EVPN网络侧接收到所述BUM报文,则在所述VXLAN域内禁止向所述PeerLink接口广播所述BUM报文,仅向所述单归接口和符合预设条件的MC-LAG接口广播所述BUM报文;所述预设条件是指:在所述MC-LAG接口配置的ESI的DF状态为DF。
进一步地,所述方法还包括:如果感知到对端PE设备故障,则更新本 端PE设备对应的MC-LAG的主备状态,并根据更新后的所述MC-LAG的主备状态重新确定本端PE设备对应的MC-LAG的ESI的DF状态;如果通过BGP设备感知到BGP EVPN邻居设备故障,则删除所述BGP EVPN邻居设备传递的对应转发表条目;如果本端PE设备的所述MC-LAG接口故障,则删除所述MC-LAG接口对应的转发表条目,并通知所述BGP设备以便BGP EVPN邻居设备进行远端表项删除;如果本端PE设备的所述MC-LAG接口故障,则更新本端PE设备对应的MC-LAG的主备状态,并根据更新后的所述MC-LAG的主备状态重新确定本端PE设备对应的MC-LAG的ESI的DF状态;如果本端PE设备的所述PeerLink接口故障,且所述PeerLink接口对应的MC-LAG的ESI的DF状态为Non-DF,则将所有MC-LAG接口关闭。
进一步地,所述根据预设的过滤转发规则,在所述VXLAN域内,负荷分担转发单播报文并广播接收到的BUM报文,包括:在接收到未知单播报文时,判断所述VXLAN域是否已经开启未知报文域内广播功能;如果已经开启所述未知报文域内广播功能,则根据预设的过滤转发规则,在所述VXLAN域内广播所述未知单播报文;反之,丢弃所述未知单播报文。
该存储介质主要是配置为存储上述程序,因此,本实施例不再详细描述存储介质内的程序;而存储介质只要能存储上述程序即可。
具体而言,所述存储介质可以是计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现本发明实施例所述方法的步骤。
前述实施例所公开的PE设备对应的VXLAN单归和双归混合接入的技术方案可以通过在PE设备中实施执行,以得到对应的PE设备。本实施例以运行在PE设备上为例进行说明,图19是本公开实施例的一种实现VXLAN单归和双归混合接入方法的PE设备的硬件结构示意图。如图19所示,PE设备1900可以包括一个或多个(图中仅示出一个)处理器1910(处理器1910可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)、配置为存储数据的存储器1920、以及配置为通信功能的数据收发器1930。本领域普通技术人员可以理解,图19所示的结构仅为示 意,其并不对上述电子装置的结构造成单一限定。例如,PE设备1900通过对上述功能的拆分或合并,还可包括比图19中所示更多或者更少的组件,或者具有与图19所示不同的配置。
存储器1920可以配置为存储应用软件的软件程序以及模块,前述实施例中公开的PE设备对应的VXLAN单归和双归混合接入方法对应的程序指令/模块就可以存储在存储器1920,关于VXLAN单归和双归混合接入方法在之前的实施例已经详细描述,因此本实施例不再详细重述。
处理器1910通过运行(执行)存储在存储器1920内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的方法。存储器1920可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器1920可进一步包括相对于处理器1910远程设置的存储器(云存储器),这些远程存储器可以通过网络连接至PE设备1900。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
数据收发器1930配置为经由一个网络接收或者发送数据。上述的网络具体实例可包括PE设备1900的通信供应商提供的无线网络。在一个实例中,数据收发器1930包括一个NIC(Network Interface Controller,网络适配器),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,数据收发器1930包括RF(Radio Frequency,射频)模块,其配置为通过无线方式与互联网进行通讯。
尽管为示例目的,已经公开了本公开的优选实施例,本领域的技术人员将意识到各种改进、增加和取代也是可能的,因此,本公开的范围应当不限于上述实施例。
工业实用性
本公开实施例提供的方案,执行单双归混合接入配置;其中,配置MC-LAG,并且配置所述MC-LAG对应的PeerLink接口;在MC-LAG接口为所述MC-LAG配置与对端PE设备对应的MC-LAG相同的ESI;将所述MC-LAG接口、所述PeerLink接口和单归接口绑定VXLAN域;在单双 归混合接入场景下,根据预设的过滤转发规则,在所述VXLAN域内,负荷分担转发单播报文并广播接收到的BUM报文,有机结合了ESI技术和MC-LAG Peerlink技术,并在此基础上设定过滤转发规则,进而支持双归的负荷分担发送,并解决了BUM报文回环和/或BUM报文无法接收的问题,因此本公开实施例可以支持单归和双归混合接入的应用场景。

Claims (16)

  1. 一种虚拟扩展局域网VXLAN单归和双归混合接入方法,在运营商边缘PE设备执行,包括:
    执行单双归混合接入配置;其中,配置跨设备链路聚合组MC-LAG,并且配置所述MC-LAG对应的PeerLink接口;在MC-LAG接口为所述MC-LAG配置与对端PE设备对应的MC-LAG相同的以太网段标识ESI;
    将所述MC-LAG接口、所述PeerLink接口和单归接口绑定VXLAN域;
    在单双归混合接入场景下,根据预设的过滤转发规则,在所述VXLAN域内,负荷分担转发单播报文并广播接收到的广播&未知单播&组播BUM报文。
  2. 根据权利要求1所述的方法,其中,在所述执行单双归混合接入配置时,所述方法还包括:
    禁止与所述MC-LAG的ESI相同的PE设备成为边界网关协议BGP以太网虚拟专用网络EVPN邻居;
    根据所述MC-LAG的主备状态,确定所述MC-LAG的ESI的DF状态。
  3. 根据权利要求2所述的方法,其中,所述根据预设的过滤转发规则,在所述VXLAN域内,负荷分担转发单播报文并广播接收到的BUM报文,包括:
    如果从所述MC-LAG接口和所述单归接口接收到所述单播报文,则根据转发表条目转发所述单播报文;
    如果从所述MC-LAG接口和所述单归接口接收到所述BUM报文,则直接在所述VXLAN域内广播所述BUM报文;
    如果从所述PeerLink接口接收到所述BUM报文,则在所述VXLAN域内禁止向所述MC-LAG接口和VXLAN EVPN网络侧广播所述BUM报文,仅向所述单归接口广播所述BUM报文;
    如果从VXLAN EVPN网络侧接收到所述BUM报文,则在所述VXLAN域内禁止向所述PeerLink接口广播所述BUM报文,仅向所述单归接口和 符合预设条件的MC-LAG接口广播所述BUM报文;所述预设条件是指:在所述MC-LAG接口配置的ESI的DF状态为DF。
  4. 如权利要求2所述的方法,其中,所述方法还包括:
    如果感知到对端PE设备故障,则更新本端PE设备对应的MC-LAG的主备状态,并根据更新后的所述MC-LAG的主备状态重新确定本端PE设备对应的MC-LAG的ESI的DF状态;
    如果通过BGP设备感知到BGP EVPN邻居设备故障,则删除所述BGP EVPN邻居设备传递的对应转发表条目;
    如果本端PE设备的所述MC-LAG接口故障,则删除所述MC-LAG接口对应的转发表条目,并通知所述BGP设备以便BGP EVPN邻居设备进行远端表项删除;
    如果本端PE设备的所述MC-LAG接口故障,则更新本端PE设备对应的MC-LAG的主备状态,并根据更新后的所述MC-LAG的主备状态重新确定本端PE设备对应的MC-LAG的ESI的DF状态;
    如果本端PE设备的所述PeerLink接口故障,且所述PeerLink接口对应的MC-LAG的ESI的DF状态为Non-DF,则将所有MC-LAG接口关闭。
  5. 根据权利要求1至4任一项所述的方法,其中,所述根据预设的过滤转发规则,在所述VXLAN域内,负荷分担转发单播报文并广播接收到的BUM报文,包括:
    在接收到未知单播报文时,判断所述VXLAN域是否已经开启未知报文域内广播功能;
    如果已经开启所述未知报文域内广播功能,则根据预设的过滤转发规则,在所述VXLAN域内广播所述未知单播报文;反之,丢弃所述未知单播报文。
  6. 一种虚拟扩展局域网VXLAN单归和双归混合接入装置,在运营商边缘PE设备执行,包括:
    配置模块,配置为执行单双归混合接入配置;其中,配置跨设备链路聚合组MC-LAG,并且配置所述MC-LAG对应的PeerLink接口;在 MC-LAG接口为所述MC-LAG配置与对端PE设备对应的MC-LAG相同的以太网段标识ESI;
    绑定模块,配置为将所述MC-LAG接口、所述PeerLink接口和单归接口绑定VXLAN域;
    转发模块,配置为在单双归混合接入场景下,根据预设的过滤转发规则,在所述VXLAN域内,负荷分担转发单播报文并广播接收到的广播&未知单播&组播BUM报文。
  7. 根据权利要求6所述的装置,其中,所述配置模块,还配置为:
    在所述执行单双归混合接入配置时,禁止与所述MC-LAG的ESI相同的PE设备成为边界网关协议BGP以太网虚拟专用网络EVPN邻居;
    根据所述MC-LAG的主备状态,确定所述MC-LAG的ESI的DF状态。
  8. 根据权利要求7所述的装置,其中,所述转发模块,配置为:
    如果从所述MC-LAG接口和所述单归接口接收到所述单播报文,则根据转发表条目转发所述单播报文;
    如果从所述MC-LAG接口和所述单归接口接收到所述BUM报文,则直接在所述VXLAN域内广播所述BUM报文;
    如果从所述PeerLink接口接收到所述BUM报文,则在所述VXLAN域内禁止向所述MC-LAG接口和VXLAN EVPN网络侧广播所述BUM报文,仅向所述单归接口广播所述BUM报文;
    如果从VXLAN EVPN网络侧接收到所述BUM报文,则在所述VXLAN域内禁止向所述PeerLink接口广播所述BUM报文,仅向所述单归接口和符合预设条件的MC-LAG接口广播所述BUM报文;所述预设条件是指:在所述MC-LAG接口配置的ESI的DF状态为DF。
  9. 如权利要求7所述的装置,其中,所述装置还包括处理模块;所述处理模块,配置为:
    如果感知到对端PE设备故障,则更新本端PE设备对应的MC-LAG的主备状态,并根据更新后的所述MC-LAG的主备状态重新确定本端PE设备对应的MC-LAG的ESI的DF状态;
    如果通过BGP设备感知到BGP EVPN邻居设备故障,则删除所述BGP EVPN邻居设备传递的对应转发表条目;
    如果本端PE设备的所述MC-LAG接口故障,则删除所述MC-LAG接口对应的转发表条目,并通知所述BGP设备以便BGP EVPN邻居设备进行远端表项删除;
    如果本端PE设备的所述MC-LAG接口故障,则更新本端PE设备对应的MC-LAG的主备状态,并根据更新后的所述MC-LAG的主备状态重新确定本端PE设备对应的MC-LAG的ESI的DF状态;
    如果本端PE设备的所述PeerLink接口故障,且所述PeerLink接口对应的MC-LAG的ESI的DF状态为Non-DF,则将所有MC-LAG接口关闭。
  10. 根据权利要求6至9任一项所述的装置,其中,所述转发模块,还配置为:
    在接收到未知单播报文时,判断所述VXLAN域是否已经开启未知报文域内广播功能;
    如果已经开启所述未知报文域内广播功能,则根据预设的过滤转发规则,在所述VXLAN域内广播所述未知单播报文;反之,丢弃所述未知单播报文。
  11. 一种运营商边缘PE设备,所述PE设备包括进行数据处理的处理器、配置为数据存储的存储器和配置为数据发送和/或接收的数据收发器,所述处理器执行所述存储器中存储的数据时,执行如下操作:
    执行单双归混合接入配置;其中,配置跨设备链路聚合组MC-LAG,并且配置所述MC-LAG对应的PeerLink接口;在MC-LAG接口为所述MC-LAG配置与对端PE设备对应的MC-LAG相同的以太网段标识ESI;
    将所述MC-LAG接口、所述PeerLink接口和单归接口绑定VXLAN域;
    在单双归混合接入场景下,根据预设的过滤转发规则,在所述VXLAN域内,负荷分担转发单播报文并广播接收到的广播&未知单播&组播BUM报文。
  12. 根据权利要求11所述的PE设备,其中,所述处理器执行所述存 储器中存储的数据时,还执行如下操作:
    在所述执行单双归混合接入配置时,禁止与所述MC-LAG的ESI相同的PE设备成为边界网关协议BGP以太网虚拟专用网络EVPN邻居;
    根据所述MC-LAG的主备状态,确定所述MC-LAG的ESI的DF状态。
  13. 根据权利要求12所述的PE设备,其中,所述根据预设的过滤转发规则,在所述VXLAN域内,负荷分担转发单播报文并广播接收到的BUM报文,包括:
    如果从所述MC-LAG接口和所述单归接口接收到所述单播报文,则根据转发表条目转发所述单播报文;
    如果从所述MC-LAG接口和所述单归接口接收到所述BUM报文,则直接在所述VXLAN域内广播所述BUM报文;
    如果从所述PeerLink接口接收到所述BUM报文,则在所述VXLAN域内禁止向所述MC-LAG接口和VXLAN EVPN网络侧广播所述BUM报文,仅向所述单归接口广播所述BUM报文;
    如果从VXLAN EVPN网络侧接收到所述BUM报文,则在所述VXLAN域内禁止向所述PeerLink接口广播所述BUM报文,仅向所述单归接口和符合预设条件的MC-LAG接口广播所述BUM报文;所述预设条件是指:在所述MC-LAG接口配置的ESI的DF状态为DF。
  14. 如权利要求12所述的PE设备,其中,所述处理器执行所述存储器中存储的数据时,执行如下操作:
    如果感知到对端PE设备故障,则更新本端PE设备对应的MC-LAG的主备状态,并根据更新后的所述MC-LAG的主备状态重新确定本端PE设备对应的MC-LAG的ESI的DF状态;
    如果通过BGP设备感知到BGP EVPN邻居设备故障,则删除所述BGP EVPN邻居设备传递的对应转发表条目;
    如果本端PE设备的所述MC-LAG接口故障,则删除所述MC-LAG接口对应的转发表条目,并通知所述BGP设备以便BGP EVPN邻居设备进行远端表项删除;
    如果本端PE设备的所述MC-LAG接口故障,则更新本端PE设备对应的MC-LAG的主备状态,并根据更新后的所述MC-LAG的主备状态重新确定本端PE设备对应的MC-LAG的ESI的DF状态;
    如果本端PE设备的所述PeerLink接口故障,且所述PeerLink接口对应的MC-LAG的ESI的DF状态为Non-DF,则将所有MC-LAG接口关闭。
  15. 根据权利要求11至14任一项所述的PE设备,其中,所述根据预设的过滤转发规则,在所述VXLAN域内,负荷分担转发单播报文并广播接收到的BUM报文,包括:
    在接收到未知单播报文时,判断所述VXLAN域是否已经开启未知报文域内广播功能;
    如果已经开启所述未知报文域内广播功能,则根据预设的过滤转发规则,在所述VXLAN域内广播所述未知单播报文;反之,丢弃所述未知单播报文。
  16. 一种计算机存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1至5任一项所述方法的步骤。
PCT/CN2018/077796 2017-04-12 2018-03-01 Vxlan单归和双归混合接入方法、装置、pe设备和存储介质 Ceased WO2018188425A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710236485.8A CN108696416A (zh) 2017-04-12 2017-04-12 一种vxlan单归和双归混合接入方法、装置和pe设备
CN201710236485.8 2017-04-12

Publications (1)

Publication Number Publication Date
WO2018188425A1 true WO2018188425A1 (zh) 2018-10-18

Family

ID=63793113

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/077796 Ceased WO2018188425A1 (zh) 2017-04-12 2018-03-01 Vxlan单归和双归混合接入方法、装置、pe设备和存储介质

Country Status (2)

Country Link
CN (1) CN108696416A (zh)
WO (1) WO2018188425A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114679405A (zh) * 2022-04-12 2022-06-28 烽火通信科技股份有限公司 SRv6报文转发方法、存储介质、电子设备及装置

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109495368B (zh) * 2018-12-19 2021-07-16 锐捷网络股份有限公司 Mac地址转发表的更新方法及网络设备
CN111385182B (zh) * 2018-12-29 2022-04-29 中兴通讯股份有限公司 流量的传输方法及装置,系统
CN110505152B (zh) * 2019-09-11 2022-02-22 迈普通信技术股份有限公司 路由过滤方法、装置及电子设备
CN115665008A (zh) * 2019-10-22 2023-01-31 华为技术有限公司 报文检测方法、连通性协商关系建立方法以及相关设备
CN112769587B (zh) * 2019-11-05 2024-05-14 中兴通讯股份有限公司 双归设备接入流量的转发方法、设备及存储介质
CN113132221A (zh) 2019-12-31 2021-07-16 华为技术有限公司 一种路由信息的处理方法及装置
CN113132220B (zh) * 2019-12-31 2022-12-06 华为技术有限公司 一种路由信息的处理方法及装置
CN111865779B (zh) * 2020-07-13 2022-08-02 中国联合网络通信集团有限公司 一种路由同步方法及跨设备链路聚合组
CN115514699A (zh) * 2021-06-22 2022-12-23 中兴通讯股份有限公司 一种跨设备链路通信方法、交换机、系统及存储介质
CN115065614B (zh) * 2022-06-22 2023-10-13 杭州云合智网技术有限公司 Vpws多活的业务连通性的识别方法
CN117459453A (zh) * 2022-07-19 2024-01-26 中兴通讯股份有限公司 数据传输方法、运营商边缘设备、计算机可读介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130235876A1 (en) * 2012-03-09 2013-09-12 Cisco Technology, Inc. Managing hierarchical ethernet segments
CN105049373A (zh) * 2015-06-30 2015-11-11 盛科网络(苏州)有限公司 基于aps的mlag切换保护方法
EP2981031A1 (en) * 2014-07-31 2016-02-03 Arista Networks, Inc. Method and system for vtep redundancy in a multichassis link aggregation domain
CN105493454A (zh) * 2014-05-13 2016-04-13 华为技术有限公司 双活接入多链接透明互联(trill)边缘
CN105743780A (zh) * 2014-12-09 2016-07-06 华为技术有限公司 报文传输方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130235876A1 (en) * 2012-03-09 2013-09-12 Cisco Technology, Inc. Managing hierarchical ethernet segments
CN105493454A (zh) * 2014-05-13 2016-04-13 华为技术有限公司 双活接入多链接透明互联(trill)边缘
EP2981031A1 (en) * 2014-07-31 2016-02-03 Arista Networks, Inc. Method and system for vtep redundancy in a multichassis link aggregation domain
CN105743780A (zh) * 2014-12-09 2016-07-06 华为技术有限公司 报文传输方法及装置
CN105049373A (zh) * 2015-06-30 2015-11-11 盛科网络(苏州)有限公司 基于aps的mlag切换保护方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114679405A (zh) * 2022-04-12 2022-06-28 烽火通信科技股份有限公司 SRv6报文转发方法、存储介质、电子设备及装置

Also Published As

Publication number Publication date
CN108696416A (zh) 2018-10-23

Similar Documents

Publication Publication Date Title
WO2018188425A1 (zh) Vxlan单归和双归混合接入方法、装置、pe设备和存储介质
EP3691185B1 (en) Method for processing message, device, and system
US8503329B2 (en) Signaling of attachment circuit status and automatic discovery of inter-chassis communication peers
US10791053B2 (en) Service function chain SFC-based communication method, and apparatus
CN101741742B (zh) 报文处理方法、接入设备和通信系统
US20170264496A1 (en) Method and device for information processing
US8891536B2 (en) Layer-3 services for united router farm
CN104735001B (zh) 软件定义网络中的链路发现方法、装置及系统
CN112929274A (zh) 一种处理路由的方法、设备及系统
CN112422307B (zh) Evpn和vpls共存双活的方法、设备及系统
US9660898B2 (en) Enhanced protocol independent multicast source registration over a reliable transport
US20140185429A1 (en) Communication system, path switching method and communication device
EP3675431B1 (en) Core isolation for logical tunnels stitching multi-homed evpn and l2 circuit
CN113364610A (zh) 网络设备的管理方法、装置及系统
CN108696414A (zh) 多归接入方法、装置及多归属节点
US9497104B2 (en) Dynamic update of routing metric for use in routing return traffic in FHRP environment
CN107154896B (zh) 一种数据传输方法以及转发设备
CN106921473B (zh) 一种轨道交通无线局域网的数据传输方法及相关设备
CN102239670B (zh) 一种负载分担方法和装置
CN104426777B (zh) 路由更新方法和路由设备
EP3817341A1 (en) Bulk configuration of devices behind a network address translation device
CN107018072A (zh) 一种数据帧发送方法和接入设备
WO2018108121A1 (zh) 设备堆叠建立
Alimi Bandwidth management and loop prevention in redundant networks
CN119383500B (zh) Fttr网关业务处理方法、网关设备以及网关系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18784705

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18784705

Country of ref document: EP

Kind code of ref document: A1