A network management method, device, equipment and machine-readable storage medium
By establishing a bidirectional forwarding detection of BFD links and updating MAC tables in the EVPN network, packet loss and traffic loop problems caused by link failures in multi-home EVPN technology are solved, and the stability and reliability of the network are improved.
Patent Information
- Application Number
- CN202210755188.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-30
- Publication Date
- 2024-12-31
- Estimated Expiration
- 2042-06-30
AI Technical Summary
In the multi-home EVPN technical solution, when the link between the PE device and the CE device fails, the MAC-IP routing update time is long, which may lead to a large number of packet loss, and when the CE device fails, the traffic may be looped.
In EVPN networking, a two-way forward detection BFD link is established with other PE devices that belong to the same Ethernet segment, receive BFD fault notification messages and set the relevant link to the offline status, delete the learned MAC address, and send MAC-IP routing cancels notification messages, and the forwarding link is set to bypass state so that traffic is forwarded to other PE devices, and the MAC table is updated in a timely manner to avoid packet loss and traffic being looped.
By timely updating the BFD link status and MAC table, packet loss and traffic formation are avoided, and the reliability and stability of the network are improved.
Smart Images

Figure CN115277305B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communication technology, and in particular to a network management method, apparatus, device, and machine-readable storage medium. Background Art
[0002] EVPN: Ethernet Virtual Private Network, Ethernet virtual private network, is a Layer 2 VPN technology. The control plane uses MP-BGP to announce EVPN routing information, and the data plane uses VXLAN, MPLS or SRv6 encapsulation to forward messages. When the tenant's physical sites are scattered in different locations, EVPN can provide Layer 2 interconnection for the same subnet of the same tenant based on the existing service provider or enterprise IP network.
[0003] CE: Customer Edge, user network edge. The user network side equipment directly connected to the service provider network.
[0004] PE: Provider Edge, service provider network edge. The service provider network side device connected to CE. PE is mainly responsible for the access of EVPN VPLS services and completes the mapping and forwarding of messages from the user network to the public network tunnel and from the public network tunnel to the user network.
[0005] AC: Attachment Circuit. A physical circuit or virtual circuit connecting CE and PE.
[0006] Multi-homing group: When a CE accesses an EVPN through multiple links, all PEs connected to the CE form a multi-homing group.
[0007] ES: Ethernet Segment. In EVPN, an Ethernet segment refers to the set of all links of a CE accessing an EVPN. Therefore, in an EVPN, the PEs associated with the same ES can be regarded as a multi-homing group. In the multi-active mode, traffic arriving at any device in the multi-homing group can be forwarded to the CE device associated with this ES. In an ES, only one link is a DF (Designated Forwarder).
[0008] MAC-IP routing: used to advertise MAC addresses and host routing information (i.e. ARP information and ND information).
[0009] BFD: Bidirectional Forwarding Detection. It is a general, standardized, media-independent and protocol-independent fast fault detection mechanism used to detect the connectivity of the forwarding path and ensure that communication faults between devices can be quickly detected so that timely measures can be taken to ensure continuous service operation.
[0010] In a multi-homing solution, when a link between a PE device and a CE device fails, it is necessary to switch to another PE device, which may cause a large number of packet losses before the MAC-IP routing update is completed. Since the amount of MAC address learning is large, the update takes a long time. In addition, when the CE device fails, it may cause traffic loops. Summary of the invention
[0011] In view of this, the present disclosure provides a network management method, device, electronic device, and machine-readable storage medium to at least improve one of the above technical problems.
[0012] The specific technical solutions are as follows:
[0013] The present disclosure provides a network management method, which is applied to a service provider network edge PE device in an Ethernet virtual private network (EVPN) networking. The method includes: establishing a bidirectional forwarding detection BFD link with other PE devices belonging to the same Ethernet segment ES in the EVPN networking; receiving a BFD fault notification message sent by other PE devices that have established the BFD link, and setting the BFD link associated with the BFD fault notification message to an offline state according to the BFD fault notification message; detecting the link state of other devices belonging to the same ES, if all BFD links and an access link AC connected to a user network edge CE device are in an offline state, deleting a learned MAC address associated with the AC connected to the CE device, and sending an associated MAC-IP route revocation notification message; the BFD fault notification message is sent by the other PE devices according to the offline state of the AC of the PE device and the CE device; the MAC-IP route revocation notification message is used to enable other PE devices in the EVPN networking that have learned an associated MAC table to delete the associated MAC table in response to the MAC-IP route revocation notification message.
[0014] As a technical solution, after the step of establishing a bidirectional forwarding detection BFD link with other PE devices belonging to the same Ethernet segment ES in the EVPN network, it includes: detecting the link status of the AC connected to the CE device, and if the link status is offline, setting the forwarding link status associated with the CE device to a bypass state, so that the traffic associated with the CE device is forwarded to other PE devices belonging to the same ES; configuring the BFD link with the other PE devices to be offline, and sending a BFD fault notification message.
[0015] As a technical solution, after the step of establishing a bidirectional forwarding detection BFD link with other PE devices belonging to the same Ethernet segment ES in the EVPN network, it includes: receiving traffic associated with a CE device forwarded by other PE devices belonging to the same ES, and forwarding the traffic associated with the CE device according to a MAC table; the MAC table is synchronized from the other PE devices through MAC-IP routing; the traffic associated with the CE device is forwarded to the local PE device after the link status of the AC of the other PE devices and the CE device is offline.
[0016] As a technical solution, after the step of establishing a bidirectional forwarding detection BFD link with other PE devices belonging to the same Ethernet segment ES in the EVPN network, it includes: receiving a MAC-IP route withdrawal notification message sent by other PE devices belonging to the same ES, and deleting the learned associated MAC table in response to the MAC-IP route withdrawal notification message; the MAC-IP route withdrawal notification message is sent by the other PE device after detecting that all its BFD links and the AC connected to the CE device are in an offline state.
[0017] The present disclosure also provides a network management device, which is applied to a service provider network edge PE device in an Ethernet virtual private network EVPN networking. The device includes: a link module, which is used to establish a bidirectional forwarding detection BFD link with other PE devices belonging to the same Ethernet segment ES in the EVPN networking; a configuration module, which is used to receive a BFD fault notification message sent by other PE devices that have established the BFD link, and set the BFD link associated with the BFD fault notification message to an offline state according to the BFD fault notification message; a management module, which is used to detect the link state with other devices belonging to the same ES, and if all BFD links and an access link AC connected to a user network edge CE device are in an offline state, delete the learned MAC address associated with the AC connected to the CE device, and send an associated MAC-IP route revocation notification message; the BFD fault notification message is sent by the other PE devices according to the offline state of the AC of the PE device and the CE device; the MAC-IP route revocation notification message is used to enable other PE devices in the EVPN networking that have learned the associated MAC table to delete the associated MAC table in response to the MAC-IP route revocation notification message.
[0018] As a technical solution, the management module is also used to detect the link status of the AC connected to the CE device after the link module establishes a bidirectional forwarding detection BFD link with other PE devices belonging to the same Ethernet segment ES in the EVPN network. If the link status is offline, the forwarding link status associated with the CE device is set to a bypass state so that the traffic associated with the CE device is forwarded to other PE devices belonging to the same ES; configure the BFD link with the other PE devices to be offline, and send a BFD fault notification message.
[0019] As a technical solution, the management module is also used to receive traffic associated with a CE device forwarded by other PE devices belonging to the same Ethernet segment ES in the EVPN network after the link module establishes a bidirectional forwarding detection BFD link with other PE devices belonging to the same Ethernet segment ES in the EVPN network, and forward the traffic associated with the CE device according to the MAC table; the MAC table is synchronized from the other PE devices through MAC-IP routing; the traffic associated with the CE device is forwarded to the local PE device after the link status of the AC of the other PE devices and the CE device is offline.
[0020] As a technical solution, the management module is also used to receive a MAC-IP route withdrawal notification message sent by other PE devices belonging to the same Ethernet segment ES after the link module establishes a bidirectional forwarding detection BFD link with other PE devices belonging to the same Ethernet segment ES in the EVPN network, and delete the learned associated MAC table in response to the MAC-IP route withdrawal notification message; the MAC-IP route withdrawal notification message is sent by the other PE device after detecting that all its BFD links and the AC connected to the CE device are in an offline state.
[0021] The present disclosure also provides an electronic device, including a processor and a machine-readable storage medium, wherein the machine-readable storage medium stores machine-executable instructions that can be executed by the processor, and the processor executes the machine-executable instructions to implement the aforementioned network management method.
[0022] The present disclosure also provides a machine-readable storage medium, which stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the aforementioned network management method.
[0023] The above technical solution provided by the present disclosure brings at least the following beneficial effects:
[0024] Update the BFD link status with other PE devices in the ES and detect the link status with the AC of the CE device. When all links are offline, delete the MAC table in time and make the associated PE device delete the corresponding MAC table, so that the associated traffic of the learned MAC becomes unknown unicast traffic, thereby improving the technical problems of packet loss and / or traffic looping. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments of the present disclosure or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present disclosure. For ordinary technicians in this field, other drawings can also be obtained based on these drawings of the embodiments of the present disclosure.
[0026] Figure 1 is a flow chart of a network management method in one embodiment of the present disclosure;
[0027] Figure 2 is a structural diagram of a network management device in one embodiment of the present disclosure;
[0028] Figure 3 It is a hardware structure diagram of an electronic device in one embodiment of the present disclosure.
[0029] Figure 4 This is a networking diagram. DETAILED DESCRIPTION
[0030] The terms used in the embodiments of the present disclosure are only for the purpose of describing specific embodiments, rather than limiting the present disclosure. The singular forms of "a", "said" and "the" used in the present disclosure and claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to any or all possible combinations of one or more associated listed items.
[0031] It should be understood that although the terms first, second, third, etc. may be used to describe various information in the embodiments of the present disclosure, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, in addition, the word "if" used may be interpreted as "at the time of" or "when" or "in response to determining".
[0032] like Figure 4 In one technical solution, PE1, PE2, and PE3 form an EVPN point-to-multipoint network to provide Layer 2 connectivity between CE1 and CE2. The forwarding plane between PE1, PE2, and PE3 can use VxLan encapsulation, MPLS encapsulation, or SRv6 encapsulation. CE1 accesses EVPN through ES dual homing.
[0033] CE1 and CE2 can be virtual machines or Ethernet switches. If CE1 and CE2 are Ethernet switches, a large number of virtual machines will access the EVPN network through CE1 and CE2.
[0034] For ES dual-homing to EVPN, there are two modes: multi-active mode and single-active mode. In single-active mode, for one ES, all traffic can only be sent and received from one link, so only DF can learn the user-side MAC. In multi-active mode, traffic from the user side to the network side can be load-balanced to two PEs, so both PEs can learn the user-side MAC. However, for the same MAC, generally only one PE learns this MAC address.
[0035] After a PE learns a local MAC, it will synchronize the MAC to other PEs through MAC-IP routing. For the MAC learned from the AC of PE1, it will be synchronized to PE2 and PE3. On PE3, if it is a single-active ES, the outbound direction of the MAC should point to the primary and backup paths of PE1 and PE2; if it is a multi-active ES, the outbound direction of the MAC should point to the equal-cost path of PE1 and PE2. On PE2, the outbound direction of the MAC points to the AC of CE1.
[0036] When the link between PE1 and CE1 fails, on PE3, if it is an active-active ES, the MAC outbound direction needs to be changed from the equal-cost path to PE1 and PE2 to the single path of PE2; if it is a single-active ES, the active-standby path to PE1 and PE2 needs to be changed to the standby path to take effect.
[0037] Since the number of MAC addresses learned on the AC of PE1 is huge, if all MAC-IP routes are updated, many packets will be lost due to wrong outbound directions.
[0038] If bypass is configured directly on PE1, when AC fails, traffic can be forwarded to PE2 from the bypass link, such as the link between PE1 and PE2. PE1 needs to retain the locally learned MAC, that is, when PE1's AC fails, the MAC learned from the AC is still retained, and the outbound direction is changed to the bypass link. There is a scenario where, when CE fails, the AC of PE1 and PE2 cannot forward traffic. At this time, the MAC on PE1 is still retained, and the traffic on PE3 is still forwarded to PE1 or PE2. After reaching PE1 or PE2, there are still MAC entries, which will reach another home PE through the bypass link, causing traffic to form a loop.
[0039] In view of this, the present disclosure provides a network management method, device, electronic device, and machine-readable storage medium to at least improve one of the above technical problems.
[0040] Specifically, the technical solution is as described below.
[0041] In one embodiment, the present disclosure provides a network management method, which is applied to a service provider network edge PE device in an Ethernet virtual private network EVPN networking, the method comprising: establishing a bidirectional forwarding detection BFD link with other PE devices belonging to the same Ethernet segment ES in the EVPN networking; receiving a BFD fault notification message sent by other PE devices that have established the BFD link, and setting the BFD link associated with the BFD fault notification message to an offline state according to the BFD fault notification message; detecting the link state of other devices belonging to the same ES, if all BFD links and an access link AC connected to a user network edge CE device are in an offline state, deleting the learned MAC address associated with the AC connected to the CE device, and sending an associated MAC-IP route revocation notification message; the BFD fault notification message is sent by the other PE devices according to the offline state of the AC of the PE device and the CE device; the MAC-IP route revocation notification message is used to enable other PE devices in the EVPN networking that have learned the associated MAC table to delete the associated MAC table in response to the MAC-IP route revocation notification message.
[0042] Specifically, Figure 1 , including the following steps:
[0043] Step S11, establishing a bidirectional forwarding detection BFD link with other PE devices belonging to the same Ethernet segment ES in the EVPN network;
[0044] Step S12, receiving a BFD fault notification message sent by other PE devices that have established a BFD link, and setting a BFD link associated with the BFD fault notification message to an offline state according to the BFD fault notification message;
[0045] Step S13, detect the link status with other devices belonging to the same ES. If all BFD links and the access link AC connected to the user network edge CE device are offline, delete the learned MAC address associated with the AC connected to the CE device and send the associated MAC-IP route revocation notification message.
[0046] Update the BFD link status with other PE devices in the ES and detect the link status with the AC of the CE device. When all links are offline, delete the MAC table in time and make the associated PE device delete the corresponding MAC table, so that the associated traffic of the learned MAC becomes unknown unicast traffic, thereby improving the technical problems of packet loss and / or traffic looping.
[0047] In one embodiment, after the step of establishing a bidirectional forwarding detection BFD link with other PE devices belonging to the same Ethernet segment ES in the EVPN network, it includes: detecting the link status of the AC connected to the CE device, if the link status is offline, setting the forwarding link status associated with the CE device to the bypass state, so that the traffic associated with the CE device is forwarded to other PE devices belonging to the same ES; configuring the BFD link with the other PE devices to be offline, and sending a BFD fault notification message. Set the local PE device to the bypass state, and let other PE devices handle the traffic associated with the CE device instead, and set the BFD link between other PE devices and the local PE device to the offline state to prevent the traffic of other PE devices from being forwarded to the local PE device.
[0048] In one embodiment, after the step of establishing a bidirectional forwarding detection BFD link with other PE devices belonging to the same Ethernet segment ES in the EVPN network, it includes: receiving traffic associated with a CE device forwarded by other PE devices belonging to the same ES, and forwarding the traffic associated with the CE device according to the MAC table; the MAC table is synchronized from the other PE devices through MAC-IP routing; the traffic associated with the CE device is forwarded to the local PE device after the link status of the AC of the other PE devices and the CE device is offline.
[0049] In one embodiment, after the step of establishing a bidirectional forwarding detection BFD link with other PE devices belonging to the same Ethernet segment ES in the EVPN network, it includes: receiving a MAC-IP route withdrawal notification message sent by other PE devices belonging to the same ES, and deleting the learned associated MAC table in response to the MAC-IP route withdrawal notification message; the MAC-IP route withdrawal notification message is sent by the other PE device after detecting that all its BFD links and the AC connected to the CE device are in an offline state.
[0050] In one embodiment, Figure 4Take networking as an example. A BFD is established between PE1 and PE2. On PE2, AC is associated with BFD. That is, when the AC status changes to Down, the BFD status is set to Down. Since the BFD status on PE2 changes to Down, PE1 is notified through BFD packets, and the BFD status on PE1 also changes to Down. On PE1, BFD is associated with ES. That is, the ES includes the local AC and a bypass BFD. When the CE fails, the AC status of PE1 and PE2 both change to Down. When the AC on PE1 changes to Down, the outbound direction of MAC is changed to bypass. When the AC on E2 changes to Down, the outbound direction of MAC is changed to bypass, and the BFD status is set to Down. PE1 senses that the BFD status has changed to Down. It is found that all ACs and bypass bfds under ES have changed to Down. All MACs learned on AC are deleted, and all corresponding MAC-IP routes are revoked. PE2 and PE3 receive the MAC-IP route revocation and delete the MAC table. Through the above steps, the packet loss and / or traffic looping problems are improved when the CE fails, and no MAC table entries remain. Unicast traffic will become unknown unicast traffic rate-limited, which will not occupy too many forwarding resources; and traffic will not form loops between multi-homed PEs.
[0051] In one embodiment, the present disclosure also provides a network management device, such as Figure 2 , applied to a service provider network edge PE device in an Ethernet virtual private network EVPN networking, the device comprising: a link module 21, used to establish a bidirectional forwarding detection BFD link with other PE devices belonging to the same Ethernet segment ES in the EVPN networking; a configuration module 22, used to receive a BFD fault notification message sent by other PE devices that have established a BFD link, and set the BFD link associated with the BFD fault notification message to an offline state according to the BFD fault notification message; a management module 23, used to detect the link state with other devices belonging to the same ES, if all BFD links and the access link AC connected to the user network edge CE device are in an offline state, then delete the learned MAC address associated with the AC connected to the CE device, and send an associated MAC-IP route revocation notification message; the BFD fault notification message is sent by the other PE devices according to the offline state of the AC of the PE device and the CE device; the MAC-IP route revocation notification message is used to enable other PE devices in the EVPN networking that have learned the associated MAC table to delete the associated MAC table in response to the MAC-IP route revocation notification message.
[0052] In one embodiment, the management module is also used to detect the link status of the AC connected to the CE device after the link module establishes a bidirectional forwarding detection BFD link with other PE devices belonging to the same Ethernet segment ES in the EVPN network. If the link status is offline, the forwarding link status associated with the CE device is set to a bypass state so that the traffic associated with the CE device is forwarded to other PE devices belonging to the same ES; configure the BFD link with the other PE devices to be offline, and send a BFD fault notification message.
[0053] In one embodiment, the management module is also used to receive traffic associated with a CE device forwarded by other PE devices belonging to the same Ethernet segment ES in the EVPN network after the link module establishes a bidirectional forwarding detection BFD link with other PE devices belonging to the same Ethernet segment ES in the EVPN network, and forward the traffic associated with the CE device according to the MAC table; the MAC table is synchronized from the other PE devices through MAC-IP routing; the traffic associated with the CE device is forwarded to the local PE device after the link status of the AC of the other PE devices and the CE device is offline.
[0054] In one embodiment, the management module is also used to receive a MAC-IP route withdrawal notification message sent by other PE devices belonging to the same Ethernet segment ES after the link module establishes a bidirectional forwarding detection BFD link with other PE devices belonging to the same Ethernet segment ES in the EVPN network, and delete the learned associated MAC table in response to the MAC-IP route withdrawal notification message; the MAC-IP route withdrawal notification message is sent by the other PE device after detecting that all its BFD links and the AC connected to the CE device are in an offline state.
[0055] The device implementation is the same as or similar to the corresponding method implementation, and will not be described in detail here.
[0056] In one embodiment, the present disclosure provides an electronic device, including a processor and a machine-readable storage medium, wherein the machine-readable storage medium stores machine-executable instructions that can be executed by the processor, and the processor executes the machine-executable instructions to implement the aforementioned network management method. From a hardware level, the hardware architecture diagram can be seen in Figure 3 shown.
[0057] In one embodiment, the present disclosure provides a machine-readable storage medium storing machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the aforementioned network management method.
[0058] Here, the machine-readable storage medium may be any electronic, magnetic, optical or other physical storage device that may contain or store information, such as executable instructions, data, etc. For example, the machine-readable storage medium may be: RAM (RadomAccess Memory), volatile memory, non-volatile memory, flash memory, storage drive (such as hard disk drive), solid state drive, any type of storage disk (such as CD, DVD, etc.), or similar storage medium, or a combination thereof.
[0059] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer, which may be in the form of a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email transceiver, a game console, a tablet computer, a wearable device or a combination of any of these devices.
[0060] For the convenience of description, the above device is described in terms of functions and is divided into various units and described separately. Of course, when implementing the present disclosure, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0061] It will be appreciated by those skilled in the art that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may be provided in the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the embodiments of the present disclosure may be provided in the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0062] The present disclosure is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present disclosure. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0063] Moreover, these computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0064] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0065] It will be appreciated by those skilled in the art that the embodiments of the present disclosure may be provided as methods, systems or computer program products. Therefore, the present disclosure may be in the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may be in the form of a computer program product implemented on one or more computer-usable storage media (which may include but are not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0066] The above description is only an embodiment of the present disclosure and is not intended to limit the present disclosure. For those skilled in the art, the present disclosure may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present disclosure shall be included in the scope of the claims of the present disclosure.
Claims
1. A network management method, characterized in that: A service provider network edge PE device applied to Ethernet virtual private network EVPN networking, the method comprising: Establish a bidirectional forwarding detection (BFD) link with other PE devices in the same Ethernet segment ES in the EVPN network. receiving a BFD fault notification message sent by other PE devices that have established a BFD link, and setting a BFD link associated with the BFD fault notification message to an offline state according to the BFD fault notification message; Check the link status with other devices belonging to the same ES. If all BFD links and the access link AC connected to the user network edge CE device are offline, delete the learned MAC address associated with the AC connected to the CE device and send the associated MAC-IP route revocation notification message; The BFD fault notification message is sent by the other PE device according to the offline state of the AC of the PE device and the CE device; The MAC-IP route withdrawal notification message is used to enable other PE devices in the EVPN network that have learned the associated MAC table to delete the associated MAC table in response to the MAC-IP route withdrawal notification message.
2. The method according to claim 1, characterized in that After the step of establishing a bidirectional forwarding detection BFD link with other PE devices belonging to the same Ethernet segment ES in the EVPN network, the method further includes: Detect the link status of the AC connected to the CE device. If the link status is offline, set the forwarding link status associated with the CE device to bypass status so that the traffic associated with the CE device is forwarded to other PE devices belonging to the same ES. The BFD link with the other PE device is configured to be offline, and a BFD fault notification message is sent.
3. The method according to claim 1, characterized in that After the step of establishing a bidirectional forwarding detection BFD link with other PE devices belonging to the same Ethernet segment ES in the EVPN network, the method further includes: Receive traffic associated with CE devices forwarded by other PE devices belonging to the same ES, and forward the traffic associated with CE devices according to the MAC table; The MAC table is synchronized from the other PE devices through MAC-IP routing; The traffic associated with the CE device is forwarded to the local PE device after the link status between the other PE devices and the AC of the CE device is offline.
4. The method according to claim 1, characterized in that: After the step of establishing a bidirectional forwarding detection BFD link with other PE devices belonging to the same Ethernet segment ES in the EVPN network, the method further includes: Receive a MAC-IP route withdrawal notification message sent by other PE devices belonging to the same ES, and delete the learned associated MAC table in response to the MAC-IP route withdrawal notification message; The MAC-IP route withdrawal notification message is sent by the other PE device after detecting that all its BFD links and the AC connected to the CE device are in an offline state.
5. A network management device, characterized in that: A service provider network edge PE device applied to Ethernet virtual private network EVPN networking, the device comprising: Link module, used to establish a bidirectional forwarding detection BFD link with other PE devices belonging to the same Ethernet segment ES in the EVPN network; A configuration module, configured to receive a BFD fault notification message sent by other PE devices that have established a BFD link, and set a BFD link associated with the BFD fault notification message to an offline state according to the BFD fault notification message; The management module is used to detect the link status of other devices belonging to the same ES. If all BFD links and the access link AC connected to the user network edge CE device are offline, the learned MAC address associated with the AC connected to the CE device is deleted and the associated MAC-IP route revocation notification message is sent; The BFD fault notification message is sent by the other PE device according to the offline state of the AC of the PE device and the CE device; The MAC-IP route withdrawal notification message is used to enable other PE devices in the EVPN network that have learned the associated MAC table to delete the associated MAC table in response to the MAC-IP route withdrawal notification message.
6. The device according to claim 5, characterized in that The management module is also used for, after the link module establishes a bidirectional forwarding detection BFD link with other PE devices belonging to the same Ethernet segment ES in the EVPN network, Detect the link status of the AC connected to the CE device. If the link status is offline, set the forwarding link status associated with the CE device to bypass status so that the traffic associated with the CE device is forwarded to other PE devices belonging to the same ES. The BFD link with the other PE device is configured to be offline, and a BFD fault notification message is sent.
7. The device according to claim 5, characterized in that The management module is also used for, after the link module establishes a bidirectional forwarding detection BFD link with other PE devices belonging to the same Ethernet segment ES in the EVPN network, Receive traffic associated with CE devices forwarded by other PE devices belonging to the same ES, and forward the traffic associated with CE devices according to the MAC table; The MAC table is synchronized from the other PE devices through MAC-IP routing; The traffic associated with the CE device is forwarded to the local PE device after the link status between the other PE devices and the AC of the CE device is offline.
8. The device according to claim 5, characterized in that The management module is also used for, after the link module establishes a bidirectional forwarding detection BFD link with other PE devices belonging to the same Ethernet segment ES in the EVPN network, Receive a MAC-IP route withdrawal notification message sent by other PE devices belonging to the same ES, and delete the learned associated MAC table in response to the MAC-IP route withdrawal notification message; The MAC-IP route withdrawal notification message is sent by the other PE device after detecting that all its BFD links and the AC connected to the CE device are in an offline state.
9. An electronic device, characterized in that: include: A processor and a machine-readable storage medium, wherein the machine-readable storage medium stores machine-executable instructions that can be executed by the processor, and the processor executes the machine-executable instructions to implement the method described in any one of claims 1 to 4.
10. A machine-readable storage medium, characterized in that: The machine-readable storage medium stores machine-executable instructions, and when the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement any one of the methods of claims 1-4.
Citation Information
Patent Citations
MAC (Media Access Control) address withdrawing method in VPLS (Virtual Private Local Area Network Service) network and PE (Provider Edge) equipment
CN102546855A
Media access control address convergence method and media access control address convergence device
CN105703996A
Message processing method and device, and network system
CN108574614A
Message sending method, device and system
CN113973072A
Fault processing method and device
CN114513453A