CN115426296B - Communication confirmation method, device, equipment and medium under EVPN VPWS dual-homing dual-activity - Google Patents

Communication confirmation method, device, equipment and medium under EVPN VPWS dual-homing dual-activity Download PDF

Info

Publication number
CN115426296B
CN115426296B CN202211051765.9A CN202211051765A CN115426296B CN 115426296 B CN115426296 B CN 115426296B CN 202211051765 A CN202211051765 A CN 202211051765A CN 115426296 B CN115426296 B CN 115426296B
Authority
CN
China
Prior art keywords
node
ccm message
dual
ccm
bypass
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211051765.9A
Other languages
Chinese (zh)
Other versions
CN115426296A (en
Inventor
邢家茂
陈清华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yunhe Zhiwang Shanghai Technology Co ltd
Original Assignee
Hangzhou Clounix Technology Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Clounix Technology Ltd filed Critical Hangzhou Clounix Technology Ltd
Priority to CN202211051765.9A priority Critical patent/CN115426296B/en
Publication of CN115426296A publication Critical patent/CN115426296A/en
Application granted granted Critical
Publication of CN115426296B publication Critical patent/CN115426296B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Landscapes

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

Abstract

The embodiment of the invention provides a communication confirmation method, a device, equipment and a medium under EVPN VPWS dual-homing dual-activation, wherein the method comprises the following steps: at a dual-home dual-live first PE node: receiving a CCM message sent by a third PE node; matching PW input interface index and CCM message format through issued ACL rule; if the matching is successful, the CCM message is copied and sent to the second PE node through the Bypass PW, so that the second PE node receives the CCM message through the Bypass PW, unpacks the CCM message and sends the unpacked CCM message to the AC MEP for processing. The invention can simply and conveniently realize the service connectivity identification of the EVPN VPWS dual-homing dual-activity scene, and the scheme is simple and reliable and has important significance in practical application.

Description

Communication confirmation method, device, equipment and medium under EVPN VPWS dual-homing dual-activity
Technical Field
The invention relates to the technical field of computers, in particular to a communication confirmation method, device, equipment and medium under EVPN VPWS dual-homing dual-activity.
Background
EVPN (Ethernet Virtual Private Network) is a VPN technology for two-layer network interconnection. The EVPN technology transfers the MAC address learning and publishing process between two-layer networks of different network stations from the data plane to the control plane through the extended BGP protocol. The EVPN VPWS (Virtual Private Wire Service, virtual private line service) is an L2VPN service scheme for providing P2P on the basis of an EVPN service architecture, the control layer adopts MP-BGP to announce EVPN route information, and the data layer adopts tunnel encapsulation. The data message of the user network is directly forwarded through the AC and PW under the cross connection, and the MAC forwarding table item is not required to be searched, so that the point-to-point two-layer service is provided for the user.
As shown in fig. 1, the typical network model of the EVPN VPWS includes the following parts:
CE (Customer Edge), customer network side device directly connected to the service provider network.
PE (Provider Edge), service Provider network side device connected to CE. The PE is mainly responsible for accessing the EVPN service, and mapping and forwarding of the message from the user network to the public network tunnel and from the public network tunnel to the user network are completed.
AC (Attachment Circuit, access circuit), physical or virtual circuits connecting CE and PE, e.g. Ethernet interface, VLAN, PPP connection over physical interface. The AC attributes include the encapsulation type, maximum transmission unit MTU, and interface parameters for the particular link type.
The PW (Pseudowire) is a virtual bi-directional connection between two PEs, consisting of a pair of unidirectional virtual connections in opposite directions. The EVPN VPWS simplifies the control and data model, takes BGP as a unified control plane, uses the routing and next hop iteration functions of BGP to select a backbone network traffic path, and does not need to manually specify PW.
A public network Tunnel (Tunnel), which traverses the IP or MPLS backbone, is used to carry PWs, one public network Tunnel may carry multiple PWs, and the public network Tunnel may be an MPLS Tunnel, a GRE Tunnel, or a SRv Tunnel.
Cross connect (Cross connect), a connection formed by connecting two physical circuits or virtual circuits in series, wherein a message received from one physical circuit or virtual circuit is directly exchanged to the other physical circuit or virtual circuit for forwarding, and the Cross connect comprises an AC-to-AC Cross connect and an AC-to-PW Cross connect.
EVPL instances, which are in one-to-one correspondence with ACs, each have a service ID. The EVPL instance of the home PE is also in one-to-one correspondence with the EVPL instance of the far PE. And constructing a forwarding table item by mutually sending EVPN routes with service IDs between PEs, and forwarding or receiving service traffic of different ESs, thereby realizing point-to-point interconnection.
EVPN-VPWS instance deployed on border PE, with common access or network side attribute service combination, BGP-EVPN address family passes routes based on RD, RT attributes configured in each instance.
As shown in fig. 2, to avoid the influence of a single point failure of a PE on network traffic and improve the reliability of the network, a CE is connected to two PEs to form a redundant backup group, which is called EVPN VPWS dual homing. When CEs are connected to multiple PEs through different Ethernet links, these links form an ES (Ethernet Segment) and are identified as belonging to the same ES by the same ESI (ES Identifier). The redundancy backup mode of EVPN VPWS dual homing has two networking scenes of dual homing single-homing and dual homing dual-homing.
In the dual-homing single-active redundancy mode, only one of the first PE and the second PE forwards the traffic, two PW on the first PE and the second PE are in a main-standby relation, and when the main PW fails, the traffic is immediately switched to the standby PW, so that the traffic forwarding can be continued. The main and standby PW can be determined through DF election. When PW of the first PE is unavailable, the third PE starts a backup PW, and forwards a message of the second CE to the second PE through the backup PW, and then the second PE forwards the message to the first CE.
As shown in fig. 3, in the dual-homing multi-active redundancy mode, two PWs on the third PE form an equivalent load sharing forwarding data packet. The redundant mode is configured on the first PE and the second PE to be more active, and the same ESI is configured on the access side interface, and the first PE and the second PE are both in a main DF state. After the forwarding association table entry is successfully established, the flow message sent from the AC port can be directly sent to the far-end PE by using the corresponding public network tunnel according to the forwarding association table entry of the tunnel and the EVPL instance. After the remote PE receives the flow message, the remote PE searches the forwarding association table entry according to the label packaged on the flow message and forwards the forwarding association table entry to the corresponding AC port.
As shown in fig. 4, after the configuration of the EVPN VPWS is completed, the connectivity of the configured service needs to be confirmed. The CCM mechanism defined by G.8013 is generally adopted to confirm the service connectivity, MEP entities are configured on the AC port, and the service connectivity is confirmed by periodically sending CCM message simulation service messages. In the EVPN VPWS dual-homing multi-activity scene, because the CCM message sent by the AC port of the third PE is sent by the load sharing of PW, only the first PE or the second PE can receive the CCM message, so that one state of MEPs in the first PE and the second PE is fixed as DOWN, and the forwarding state of the actual EVPN VPWS dual-homing cannot be reflected.
Disclosure of Invention
In view of the above, the present invention is directed to a method, apparatus, device and medium for communication confirmation under dual homing and dual activation of EVPN VPWS, so as to improve the above-mentioned problems.
The embodiment of the invention provides a communication confirmation method under EVPN VPWS dual-homing dual-activity, which comprises the following steps:
at a dual-home dual-live first PE node:
receiving a CCM message sent by a third PE node;
matching PW input interface index and CCM message format through issued ACL rule;
if the matching is successful, the CCM message is copied and sent to the second PE node through the Bypass PW, so that the second PE node receives the CCM message through the Bypass PW, unpacks the CCM message and sends the unpacked CCM message to the AC MEP for processing.
Preferably, the method further comprises:
and confirming whether the first PE node is a dual-homing dual-living node or not through a configuration file.
Preferably, the first PE node and the second PE node form a redundant backup group.
The embodiment of the invention also provides a communication confirmation method under the dual homing and dual activation of the EVPN VPWS, which comprises the following steps:
at a dual-home dual-live first PE node:
receiving a CCM message sent by a third PE node;
adding the AC and Bypass PW of the first PE to a multicast group;
matching PW input interface index and CCM message format through issued ACL rule;
if the matching is successful, redirecting to the multicast group, forwarding the CCM message to an AC MEP corresponding to the AC, and forwarding the CCM message to a second PE through a Bypass PW, so that the second PE node decapsulates the received CCM message and sends the decapsulated CCM message to the AC MEP corresponding to the second PE node for processing.
Preferably, the method further comprises:
and confirming whether the first PE node is a dual-homing dual-living node or not through a configuration file.
Preferably, the first PE node and the second PE node form a redundant backup group.
The embodiment of the invention also provides a communication confirmation device under the dual homing and dual activation of the EVPN VPWS, which comprises:
a first message receiving unit, configured to receive a CCM message sent by a third PE node;
the first matching unit is used for matching the PW interface index and the format of the CCM message through the issued ACL rule;
and the copying unit is used for copying the CCM message if the matching is successful, and sending the CCM message to the second PE node through the Bypass PW so that the second PE node receives the CCM message through the Bypass PW, unpacking the CCM message and sending the unpacked CCM message to the AC MEP for processing.
The embodiment of the invention also provides a communication confirmation device under the dual homing and dual activation of the EVPN VPWS, which comprises:
a second message receiving unit, configured to receive a CCM message sent by a third PE node;
an adding unit, configured to add the AC and Bypass PW of the first PE to a multicast group;
the second matching unit is used for matching the PW interface index and the format of the CCM message through the issued ACL rule;
and the redirection unit is used for redirecting the CCM message to the multicast group if the matching is successful, forwarding the CCM message to an AC MEP corresponding to the AC and forwarding the CCM message to a second PE through a Bypass PW so that the second PE node unpacks the received CCM message and sends the unpacked CCM message to the AC MEP corresponding to the unpacked CCM message for processing.
The embodiment of the invention also provides a communication confirmation device under the dual-homing condition of the EVPN VPWS, which is characterized by comprising a memory and a processor, wherein the memory stores a computer program which can be executed by the processor so as to realize the communication confirmation method under the dual-homing condition of the EVPN VPWS.
The embodiment of the invention also provides a computer readable storage medium which stores a computer program, wherein the computer program can be executed by a processor of equipment where the computer readable storage medium is located, so as to realize the communication confirmation method under the dual homing and dual liveness of the EVPN VPWS.
In this embodiment, the CCM message is copied to one copy and sent to another dual-homing node through Bypass PW, so that normal transceiving of the CCM message between the third PE node 30 and the first PE node 10 and between the third PE node 20 and the second PE node 20 can be realized, and service connectivity identification of the dual-homing dual-activity scene of EVPN VPWS can be simply and conveniently realized.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is an EVPN VPWS schematic.
Fig. 2 is an EVPN VPWS dual homing schematic.
Fig. 3 is a schematic diagram of EVPN VPWS dual homing dual active networking.
Fig. 4 is a schematic diagram of EVPN VPWS dual homing dual active configuration g.8013 ccm.
Fig. 5 is a flowchart of a method for confirming connectivity under EVPN VPWS dual homing dual activation according to a first embodiment of the present invention.
Fig. 6 is a flowchart of a communication confirmation method under EVPN VPWS dual homing dual activation according to a second embodiment of the present invention.
Fig. 7 is a schematic structural diagram of a communication confirmation device under EVPN VPWS dual homing dual activation according to a third embodiment of the present invention.
Fig. 8 is a schematic structural diagram of a communication confirmation device under EVPN VPWS dual homing dual activation according to a fourth embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
For a better understanding of the technical solution of the present invention, the following detailed description of the embodiments of the present invention refers to the accompanying drawings.
It should be understood that the described embodiments are merely some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
The invention is described in further detail below with reference to the attached drawings and detailed description:
referring to fig. 4 and fig. 5, a first embodiment of the present invention provides a method for confirming connectivity under EVPN VPWS dual homing dual activation, which includes:
at the dual-home dual-living first PE node 10:
s101, receiving a CCM message sent by a third PE node;
s102, matching PW interface indexes and formats of CCM messages through issued ACL rules;
and S103, if the matching is successful, copying the CCM message, and sending the CCM message to a second PE node through a Bypass PW so that the second PE node receives the CCM message through the Bypass PW, unpacking the CCM message and sending the unpacked CCM message to an AC MEP for processing.
Specifically, in this embodiment, for example, the AC port of the third PE node 30 obtains the CCM packet from the second CE node 50, and sends the CCM packet to the first PE node 10 after processing the CCM packet by the load sharing algorithm of PW ECMP. Thus, CCM transmission and reception between the first PE node 10 and the third PE node 30 are normal, and MEPs can be found out from each other normally.
For the single ACL scheme, firstly, confirming whether the first PE node 10 and the second PE node 20 are dual-homed dual-living nodes or not through configuration, if yes, issuing an ACL rule, and then matching PW interface indexes from the third PE node 30 to the first PE node 10 through the ACL rule, and simultaneously matching the format of a CCM message; if the matching is successful, the ACL rule hits, and based on the original CCM message forwarded to the first CE node 40, the first PE node 10 copies the CCM message at the same time, and sends the copied CCM message to the Bypass PW between the first PE node 10 and the second PE 20. The second PE node 20 receives the CCM packet forwarded by the Bypass PW, decapsulates the CCM packet, and sends the CCM packet to its corresponding AC MEP for processing.
It should be noted that, in other embodiments of the present invention, it is also possible that the AC port of the third PE node 30 obtains the CCM packet from the second CE node 50, and sends the CCM packet to the second PE node 20 after processing the CCM packet by the load sharing algorithm of the PW ECMP, which are all within the protection scope of the present invention.
Referring to fig. 4 and fig. 6, the second embodiment of the present invention further provides a method for confirming connectivity under EVPN VPWS dual homing dual activation, which includes:
at a dual-home dual-live first PE node:
s201, receiving a CCM message sent by a third PE node;
s202, adding the AC and Bypass PW of the first PE into a multicast group;
s203, matching PW interface indexes and the formats of CCM messages through the issued ACL rules;
s204, if the matching is successful, redirecting to the multicast group, forwarding the CCM message to an AC MEP corresponding to the AC, and forwarding the CCM message to a second PE through a Bypass PW, so that the second PE node decapsulates the received CCM message and sends the decapsulated CCM message to the AC MEP corresponding to the second PE node for processing.
Specifically, in this embodiment, for example, the AC port of the third PE node 30 obtains the CCM packet from the second CE node 50, and sends the CCM packet to the first PE node 10 after processing the CCM packet by the load sharing algorithm of PW ECMP. Thus, CCM transmission and reception between the first PE node 10 and the third PE node 30 are normal, and MEPs can be found out from each other normally.
For the present embodiment, taking the dual-homing first PE node 10 as an example, if it can be confirmed by configuration that it is a dual-homing dual-living node, the corresponding AC port and Bypass PW are added to the multicast group. Meanwhile, an ACL rule is issued, PW input interface indexes from the third PE node 30 to the first PE node 10 are matched through the ACL rule, and meanwhile, the format of the CCM message is matched; if the ACL rule hits, the CCM message forwarded through the AC port is destined for the AC MEP, and the CCM message forwarded through the Bypass PW is destined for the second PE node 20. At the second PE node 20, the CCM message forwarded by the Bypass PW is received, decapsulated, and sent to its corresponding AC MEP for processing.
It should be noted that, in other embodiments of the present invention, it is also possible that the AC port of the third PE node 30 obtains the CCM packet from the second CE node 50, and sends the CCM packet to the second PE node 20 after processing the CCM packet by the load sharing algorithm of the PW ECMP, which are all within the protection scope of the present invention.
In the above two embodiments, the CCM message is copied and sent to another dual-homing node through Bypass PW, so that normal sending and receiving of the CCM message between the third PE node 30 and the first PE node 10 and between the third PE node 20 and the second PE node 20 can be realized, and service connectivity identification of the EVPN VPWS dual-homing scene can be simply and reliably realized.
Referring to fig. 7, the third embodiment of the present invention further provides a communication confirmation device under EVPN VPWS dual homing dual activation, which includes:
a first message receiving unit 310, configured to receive a CCM message sent by a third PE node;
a first matching unit 320, configured to match the PW interface index and the format of the CCM message according to the issued ACL rule;
and the copying unit 330 is configured to copy the CCM message if the matching is successful, and send the CCM message to the second PE node through the Bypass PW, so that the second PE node receives the CCM message through the Bypass PW, decapsulates the CCM message, and sends the CCM message to the AC MEP for processing.
Referring to fig. 8, the fourth embodiment of the present invention further provides a communication confirmation device under EVPN VPWS dual homing dual activation, which includes:
a second message receiving unit 410, configured to receive a CCM message sent by the third PE node;
an adding unit 420, configured to add the AC and Bypass PW of the first PE to a multicast group;
a second matching unit 430, configured to match the PW interface index and the format of the CCM message according to the issued ACL rule;
and a redirection unit 440, configured to redirect the CCM message to the multicast group if the matching is successful, forward the CCM message to an AC MEP corresponding to the AC, and forward the CCM message to a second PE through a Bypass PW, so that the second PE node decapsulates the received CCM message and sends the decapsulated CCM message to the AC MEP corresponding to the second PE node for processing.
The fifth embodiment of the present invention further provides a connection confirmation device under EVPN VPWS dual homing, which is characterized by comprising a memory and a processor, wherein the memory stores a computer program, and the computer program can be executed by the processor to implement the connection confirmation method under EVPN VPWS dual homing as described above.
The sixth embodiment of the present invention further provides a computer readable storage medium, where a computer program is stored, where the computer program can be executed by a processor of an apparatus where the computer readable storage medium is located, so as to implement the above-mentioned method for confirming connectivity under dual homing and dual liveness of EVPN VPWS.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. The apparatus and method embodiments described above are merely illustrative, for example, flow diagrams and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present invention may be integrated together to form a single part, or each module may exist alone, or two or more modules may be integrated to form a single part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, an electronic device, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, or other various media capable of storing program codes. It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (8)

1. A method for confirming connectivity under EVPN VPWS dual homing dual liveness, comprising:
at a dual-home dual-live first PE node:
receiving a CCM message sent by a third PE node;
matching PW input interface index and CCM message format through issued ACL rule;
if the matching is successful, copying the CCM message, and sending the CCM message to a second PE node through a Bypass PW, so that the second PE node receives the CCM message through the Bypass PW, unpacks the CCM message and sends the unpacked CCM message to an AC MEP for processing; for a single ACL scheme, firstly confirming whether a first PE node and a second PE node are dual-homing dual-living nodes or not through a configuration file, if so, issuing an ACL rule, and then matching PW interface indexes from a third PE node to the first PE node through the ACL rule, and simultaneously matching the format of a CCM message; if the matching is successful, the ACL rule hits, and on the basis of forwarding the CCM message to the first CE node originally, the first PE node copies the CCM message at the same time, and the copied CCM message is sent to a Bypass PW between the first PE node and the second PE 20; the second PE node receives the CCM message forwarded by the Bypass PW, decapsulates the CCM message and sends the CCM message to the corresponding AC MEP for processing.
2. The method of claim 1, wherein the first PE node and the second PE node form a redundant backup group.
3. A method for confirming connectivity under EVPN VPWS dual homing dual liveness, comprising:
at a dual-home dual-live first PE node:
receiving a CCM message sent by a third PE node;
adding the AC and Bypass PW of the first PE to a multicast group;
matching PW input interface index and CCM message format through issued ACL rule;
if the matching is successful, redirecting to the multicast group, forwarding the CCM message to an AC MEP corresponding to the AC, and forwarding the CCM message to a second PE through a Bypass PW, so that the second PE node decapsulates the received CCM message and sends the decapsulated CCM message to the AC MEP corresponding to the second PE node for processing; the method comprises the steps that a first PE node is confirmed to be a dual-home dual-living node through a configuration file, and an AC port and a Bypass PW corresponding to the first PE node are added into a multicast group; meanwhile, an ACL rule is issued, PW input interface indexes from the third PE node to the first PE node are matched through the ACL rule, and meanwhile, the format of the CCM message is matched; if the ACL rule hits, redirecting to a multicast group, wherein the destination of the CCM message forwarded through the AC port is an AC MEP, and the destination of the CCM message forwarded through the BypassPW is a second PE node; and at the second PE node, receiving the CCM message forwarded by the Bypass PW, decapsulating the CCM message, and sending the CCM message to the corresponding AC MEP for processing.
4. The method for confirming connectivity under EVPN VPWS dual homing dual lived according to claim 3, wherein,
the first PE node and the second PE node form a redundant backup group.
5. A connectivity verification apparatus under EVPN VPWS dual homing dual alive, comprising:
a first message receiving unit, configured to receive a CCM message sent by a third PE node;
the first matching unit is used for matching the PW interface index and the format of the CCM message through the issued ACL rule;
the copying unit is used for copying the CCM message if the matching is successful, and sending the CCM message to the second PE node through the Bypass PW so that the second PE node receives the CCM message through the Bypass PW, unpacking the CCM message and sending the unpacked CCM message to the AC MEP for processing; for a single ACL scheme, firstly confirming whether a first PE node and a second PE node are dual-homing dual-living nodes or not through a configuration file, if so, issuing an ACL rule, and then matching PW interface indexes from a third PE node to the first PE node through the ACL rule, and simultaneously matching the format of a CCM message; if the matching is successful, the ACL rule hits, and on the basis of forwarding the CCM message to the first CE node originally, the first PE node copies the CCM message at the same time, and the copied CCM message is sent to a Bypass PW between the first PE node and the second PE 20; the second PE node receives the CCM message forwarded by the Bypass PW, decapsulates the CCM message and sends the CCM message to the corresponding AC MEP for processing.
6. A connectivity verification apparatus under EVPN VPWS dual homing dual alive, comprising:
a second message receiving unit, configured to receive a CCM message sent by a third PE node;
an adding unit, configured to add the AC and Bypass PW of the first PE to a multicast group;
the second matching unit is used for matching the PW interface index and the format of the CCM message through the issued ACL rule;
a redirection unit, configured to redirect the CCM message to the multicast group if the matching is successful, forward the CCM message to an AC MEP corresponding to the AC, and forward the CCM message to a second PE through a Bypass PW, so that the second PE node decapsulates the received CCM message and sends the decapsulated CCM message to the AC MEP corresponding to the second PE node for processing; the method comprises the steps that a first PE node is confirmed to be a dual-home dual-living node through a configuration file, and an AC port and a Bypass PW corresponding to the first PE node are added into a multicast group; meanwhile, an ACL rule is issued, PW input interface indexes from the third PE node to the first PE node are matched through the ACL rule, and meanwhile, the format of the CCM message is matched; if the ACL rule hits, redirecting to a multicast group, wherein the destination of the CCM message forwarded through the AC port is an AC MEP, and the destination of the CCM message forwarded through the BypassPW is a second PE node; and at the second PE node, receiving the CCM message forwarded by the Bypass PW, decapsulating the CCM message, and sending the CCM message to the corresponding AC MEP for processing.
7. A connectivity verification device under EVPN VPWS dual homing, comprising a memory and a processor, the memory having stored therein a computer program executable by the processor to implement the connectivity verification method under EVPN VPWS dual homing of any one of claims 1 to 4.
8. A computer readable storage medium storing a computer program executable by a processor of a device in which the computer readable storage medium is located to implement the method of connectivity validation under EVPN VPWS dual homing dual liveness as claimed in any one of claims 1 to 4.
CN202211051765.9A 2022-08-31 2022-08-31 Communication confirmation method, device, equipment and medium under EVPN VPWS dual-homing dual-activity Active CN115426296B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211051765.9A CN115426296B (en) 2022-08-31 2022-08-31 Communication confirmation method, device, equipment and medium under EVPN VPWS dual-homing dual-activity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211051765.9A CN115426296B (en) 2022-08-31 2022-08-31 Communication confirmation method, device, equipment and medium under EVPN VPWS dual-homing dual-activity

Publications (2)

Publication Number Publication Date
CN115426296A CN115426296A (en) 2022-12-02
CN115426296B true CN115426296B (en) 2023-10-13

Family

ID=84200168

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211051765.9A Active CN115426296B (en) 2022-08-31 2022-08-31 Communication confirmation method, device, equipment and medium under EVPN VPWS dual-homing dual-activity

Country Status (1)

Country Link
CN (1) CN115426296B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116436729B (en) * 2023-06-08 2023-09-08 武汉绿色网络信息服务有限责任公司 Message transmission method, networking system and access cloud gateway

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685022A (en) * 2012-09-17 2014-03-26 杭州华三通信技术有限公司 Message forwarding method and service provider network edge equipment
CN108243114A (en) * 2016-12-26 2018-07-03 华为技术有限公司 A kind of method to E-Packet, equipment and system
CN111614553A (en) * 2020-03-25 2020-09-01 新华三信息安全技术有限公司 Communication method and device
CN111817881A (en) * 2020-06-19 2020-10-23 新华三信息安全技术有限公司 Fault processing method and related device
CN112422307A (en) * 2019-08-22 2021-02-26 华为技术有限公司 Method, equipment and system for coexistence of EVPN and VPLS
CN113381931A (en) * 2021-05-17 2021-09-10 浪潮思科网络科技有限公司 Method and device for supporting MLAG (Multi-level Access gateway) dual-active access in VXLAN (virtual extensible local area network)
CN113472665A (en) * 2021-06-17 2021-10-01 新华三信息安全技术有限公司 Method and device for realizing butt joint of different networks under EVPN
CN113992567A (en) * 2021-10-26 2022-01-28 新华三信息安全技术有限公司 Message forwarding method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11444807B2 (en) * 2020-01-22 2022-09-13 Ciena Corporation EVPN VPWS FXC local switching connectivity

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685022A (en) * 2012-09-17 2014-03-26 杭州华三通信技术有限公司 Message forwarding method and service provider network edge equipment
CN108243114A (en) * 2016-12-26 2018-07-03 华为技术有限公司 A kind of method to E-Packet, equipment and system
CN112422307A (en) * 2019-08-22 2021-02-26 华为技术有限公司 Method, equipment and system for coexistence of EVPN and VPLS
CN111614553A (en) * 2020-03-25 2020-09-01 新华三信息安全技术有限公司 Communication method and device
CN111817881A (en) * 2020-06-19 2020-10-23 新华三信息安全技术有限公司 Fault processing method and related device
CN113381931A (en) * 2021-05-17 2021-09-10 浪潮思科网络科技有限公司 Method and device for supporting MLAG (Multi-level Access gateway) dual-active access in VXLAN (virtual extensible local area network)
CN113472665A (en) * 2021-06-17 2021-10-01 新华三信息安全技术有限公司 Method and device for realizing butt joint of different networks under EVPN
CN113992567A (en) * 2021-10-26 2022-01-28 新华三信息安全技术有限公司 Message forwarding method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"BGP EVPN技术的研究和实现";陈丹妮;《中国优秀硕士论文全文数据库》;全文 *

Also Published As

Publication number Publication date
CN115426296A (en) 2022-12-02

Similar Documents

Publication Publication Date Title
US10693765B2 (en) Failure protection for traffic-engineered bit indexed explicit replication
US7283465B2 (en) Hierarchical virtual private LAN service protection scheme
US8724456B1 (en) Network path selection for multi-homed edges to ensure end-to-end resiliency
US9258211B1 (en) Extending VPLS support for CE lag multi-homing
US10116467B2 (en) Ethernet tag mapping in virtual private wire service using ethernet virtual private network
KR102013977B1 (en) 802.1aq support over ietf evpn
EP1557006B1 (en) Modified spanning tree protocol for metropolitan area network
US9100213B1 (en) Synchronizing VPLS gateway MAC addresses
JP7176095B2 (en) COMMUNICATION METHOD, COMMUNICATION DEVICE AND COMMUNICATION SYSTEM
US20130272114A1 (en) Pseudo wire switching method and device
US20080062986A1 (en) Providing reachability information in a routing domain of an external destination address in a data communications network
CN112422307B (en) Method, equipment and system for EVPN and VPLS coexistence dual-activity
US20140126422A1 (en) Resilient interworking of shortest path bridging and ethernet virtual private networks
CN101286922B (en) Signalling control method, system and apparatus
US8199637B2 (en) VPLS remote failure indication
US20120243442A1 (en) Directing traffic in an edge network element operable to perform layer 2 data forwarding and supporting any of various spanning tree protocols
WO2013139159A1 (en) Method for forwarding packet in network and provider edge device
EP2634978B1 (en) Message forwarding method and network device
WO2021093463A1 (en) Packet forwarding method, first network device, and first device group
CN115426296B (en) Communication confirmation method, device, equipment and medium under EVPN VPWS dual-homing dual-activity
EP2946536A1 (en) Methods and devices for implementing shortest path bridging mac mode support over a virtual private lan service network
WO2020244304A1 (en) Method for sending routing information, method and apparatus for routing selection
CN115118629B (en) Method for identifying service connectivity of VPWS multi-activity multi-homing
CN115174438B (en) Method for identifying service connectivity of VPWS dual-activity dual-homing
CN115460107A (en) Route detection method, device, system and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 3 / F, 665 Zhangjiang Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai

Patentee after: Yunhe Zhiwang (Shanghai) Technology Co.,Ltd.

Country or region after: China

Address before: 310016 room 107, building D, integrated circuit design Industrial Park, No. 858, Jianshe Second Road, Xiaoshan Economic and Technological Development Zone, Xiaoshan District, Hangzhou City, Zhejiang Province

Patentee before: Hangzhou yunhezhi Network Technology Co.,Ltd.

Country or region before: China