CN115174438B - Method for identifying service connectivity of VPWS dual-activity dual-homing - Google Patents
Method for identifying service connectivity of VPWS dual-activity dual-homing Download PDFInfo
- Publication number
- CN115174438B CN115174438B CN202210783414.0A CN202210783414A CN115174438B CN 115174438 B CN115174438 B CN 115174438B CN 202210783414 A CN202210783414 A CN 202210783414A CN 115174438 B CN115174438 B CN 115174438B
- Authority
- CN
- China
- Prior art keywords
- network side
- dual
- equipment
- ccm message
- home
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4633—Interconnection of networks using encapsulation techniques, e.g. tunneling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
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 invention discloses a method for identifying service connectivity of VPWS dual-activity dual-homing, which comprises the following steps: setting up an EVPN VPWS dual-homing dual-activity scene; forming ECMP of PW on network side equipment in scene, and carrying out double sending to CCM message of AC port of network side equipment; the home equipment and the opposite-end home equipment in the scene can both receive the CCM message, so that the states of the MEPs of the home equipment and the opposite-end home equipment are normal. The invention adopts a message double-sending mode, can realize normal use of CCM message, and is simple and convenient for identifying service connectivity of EVPN VPWS double-attribution double-activity scene. The scheme is simple and reliable, and has important significance in practical application.
Description
Technical Field
The invention relates to the technical field of network communication, in particular to a method for identifying service connectivity of VPWS dual-activity dual-homing.
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 Edge connected with CE) is mainly responsible for accessing EVPN service, and mapping and forwarding of message from user network to public network tunnel and from public network tunnel to user network.
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, the influence of PE single-point faults on network service is avoided, the reliability of the network is improved, and the 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-activity redundancy mode, only one of PE1 and PE2 forwards traffic, and two PW on PE1 and PE2 are in a main-standby relation, so that when the main PW fails, the traffic is immediately switched to the standby PW, and traffic forwarding is continued. The main and standby PW can be determined through DF election. When the PW of the PE1 is unavailable, the PE3 will enable the backup PW, and forward the message of the CE 2 to the PE2 through the backup PW, and then forward the message to the CE 1 from the PE2.
As shown in fig. 3, in the dual-homing multi-active redundancy mode, two PWs on PE3 form an equivalent load sharing forwarding data packet. The redundant mode is configured to be more active on PE1 and PE2, and the same ESI is configured on the access side interface, and both PE1 and PE2 are in the 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 adopted to confirm the service connectivity conventionally, 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 PE3 is sent by the load sharing of PW, only PE1 or PE2 can receive the CCM message, so that one state of MEPs in PE1 and PE2 is fixed as DOWN, and the forwarding state of the real EVPN VPWS dual-homing cannot be reflected.
Disclosure of Invention
According to the embodiment of the invention, a method for identifying service connectivity of VPWS dual-activity dual-homing is provided, which comprises the following steps:
setting up an EVPN VPWS dual-homing dual-activity scene;
forming ECMP of PW on network side equipment in scene, and carrying out double sending to CCM message of AC port of network side equipment;
the home equipment and the opposite-end home equipment in the scene can both receive the CCM message, so that the states of the MEPs of the home equipment and the opposite-end home equipment are normal.
Further, performing double sending on the CCM message of the AC port of the network side device specifically includes:
creating a multicast group on the network side device;
sending CCM message of AC port of network side equipment to multicast group;
the multicast group encapsulates the CCM message and then sends the CCM message to the home equipment and the opposite-end home equipment.
Further, the members of the multicast group include PW from the network side device to the home device direction, PW from the network side device to the opposite home device direction.
Further, the multicast group encapsulates the CCM message through the PW from the network side device to the home device direction and the PW from the network side device to the opposite-end home device direction, respectively.
Further, performing double sending on the CCM message of the AC port of the network side device specifically includes:
issuing two ACL rules, wherein the two ACL rules are matched with a CCM message of an AC port of network side equipment and PW from the network side equipment to the direction of home equipment or PW from the network side equipment to the direction of opposite-end home equipment one by one;
if the ACL rule is successfully matched, the CCM message is copied and sent to the forwarding paths of other member PW of PW ECMP, and the CCM message of the AC port of the network side equipment is sent out by adopting the encapsulation of each PW, so that the double sending of the CCM message is realized.
Further, performing double sending on the CCM message of the AC port of the network side device specifically includes:
after constructing a CCM message at an AC port of the network side equipment, judging the type of PW bound by the CCM message;
if the type is PW ECMP type, the CCM message is encapsulated according to the attributes of the two PW, and then the CCM message is respectively sent to the home equipment and the opposite-end home equipment.
According to the method for identifying the service connectivity of the VPWS dual-activity dual-homing, the scheme adopts a message dual-sending mode, so that normal use of CCM messages can be realized, and the service connectivity of the EVPN VPWS dual-homing dual-activity scene is identified simply and conveniently. The scheme is simple and reliable, and has important significance in practical application.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and are intended to provide further explanation of the technology claimed.
Drawings
Fig. 1 is a schematic diagram of the structure of an EVPN VPWS in the prior art.
Fig. 2 is a schematic diagram of EVPN VPWS dual homing in the prior art.
Fig. 3 is a schematic diagram of EVPN VPWS dual homing dual active networking in the prior art.
Fig. 4 is a schematic diagram of EVPN VPWS dual homing dual active configuration g.8013 CCM in the prior art.
Fig. 5 is a schematic diagram of an EVPN VPWS dual-homing dual-activity CCM message Wen Shuang according to an embodiment of the present invention.
Fig. 6 is a schematic diagram of CCM message with MC dual transmission according to an embodiment of the present invention.
Fig. 7 is a flowchart of a method for identifying service connectivity of VPWS dual-activity dual-homing according to an embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in detail below with reference to the attached drawings, which further illustrate the present invention.
Firstly, a method for identifying service connectivity of VPWS dual-activity dual-homing according to an embodiment of the present invention will be described with reference to fig. 5 to 7, which is used for confirming a scheme of connectivity using a CCM mechanism of g.8013 in an EVPN VPWS dual-homing dual-activity scenario, and has a wide application scenario.
As shown in fig. 5 to 7, the method for identifying service connectivity of VPWS dual-activity dual-homing according to the embodiment of the present invention includes the following steps:
as shown in fig. 7, in S1, an EVPN VPWS dual homing dual alive scenario is constructed.
As shown in fig. 7, in S2, ECMP of PW is formed on the network side device PE3 under the scene, and CCM messages of the AC port of the network side device PE3 are sent in double.
As shown in fig. 7, in S3, both the home device PE1 and the peer home device PE2 in the scenario may receive the CCM packet, so that the states of the MEPs of the home device PE1 and the peer home device PE2 are normal.
Further, in this embodiment, when a case of multicast group MC dual transmission is adopted, the dual transmission of the CCM packet of the AC port of the network side device PE3 is specifically:
creating a multicast group MC on a network side device PE3, wherein members of the multicast group MC comprise PW from the network side device PE3 to a home device PE1 direction and PW from the network side device PE3 to a peer home device PE2 direction;
sending a CCM message of an AC port of network side equipment PE3 to a multicast group MC;
the multicast group MC encapsulates the CCM message through PW from the network side equipment PE3 to the home equipment PE1 and PW from the network side equipment PE3 to the opposite-end home equipment PE2 respectively, and then sends the CCM message to the home equipment PE1 and the opposite-end home equipment PE2.
Further, in this embodiment, when the ALC scheme is adopted, the performing dual-sending of the CCM packet of the AC port of the network side device PE3 specifically includes:
issuing two ACL rules, wherein the two ACL rules are matched with CCM messages of an AC port of network side equipment PE3 one by one and PW from the network side equipment PE3 to the direction of home equipment PE1 or PW from the network side equipment PE3 to the direction of opposite-end home equipment PE2 in a scene;
if matching is successful, copying the type of the CCM message and one of PW interface information from the network side equipment PE3 to the direction of the home equipment PE1 and PW interface information from the network side equipment PE3 to the direction of the opposite-end home equipment PE2, and transmitting the interface information to the PW from the direction of the home equipment PE1 and the PW from the network side equipment PE3 to the direction of the opposite-end home equipment PE2, thereby realizing double sending of the CCM message of the AC port of the network side equipment PE 3.
Examples are as follows: taking the message forwarding on the PW of PE3-PE1 as an example, using ACL in egress direction, matching CCM message type and PW output interface information of PE3-PE1, copying one copy to the PW of PE3-PE2 for forwarding, thus realizing the forwarding of the same CCM message on two PWs.
Further, in this embodiment, when the scheme of dual transmission of the designated port is adopted, the dual transmission of the CCM packet of the AC port of the network side device PE3 is specifically:
after constructing a CCM message at an AC port of the network side equipment PE3, judging the type of PW bound by the CCM message;
if the type is PW ECMP type, the CCM message is encapsulated according to the attributes of the two PW, and then is respectively sent to the attribution equipment PE1 and the opposite-end attribution equipment PE2.
In the above, the method for identifying the service connectivity of the dual-living dual-homing of the VPWS according to the embodiment of the invention is described with reference to fig. 5-7, and the scheme adopts a message dual-sending mode, so that normal use of CCM messages can be realized, and the service connectivity of the dual-living dual-homing scene of the VPWS of the EVPN is identified simply and conveniently. The scheme is simple and reliable, and has important significance in practical application.
It should be noted that in this specification 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 … …" does not exclude the presence of additional identical elements in a process, method, article, or apparatus that comprises an element.
While the present invention has been described in detail through the foregoing description of the preferred embodiment, it should be understood that the foregoing description is not to be considered as limiting the invention. Many modifications and substitutions of the present invention will become apparent to those of ordinary skill in the art upon reading the foregoing. Accordingly, the scope of the invention should be limited only by the attached claims.
Claims (3)
1. The method for identifying the service connectivity of the VPWS dual-activity dual-homing is characterized by comprising the following steps:
setting up an EVPN VPWS dual-homing dual-activity scene;
forming ECMP of PW on network side equipment in the scene, and carrying out double sending on CCM message of AC port of the network side equipment;
the home equipment and the opposite-end home equipment in the scene can both receive the CCM message, so that the states of the MEPs of the home equipment and the opposite-end home equipment are normal;
the method for performing double sending of the CCM message of the AC port of the network side equipment specifically comprises the following steps:
creating a multicast group on the network side device;
sending a CCM message of an AC port of the network side equipment to the multicast group;
the multicast group encapsulates the CCM message and then sends the CCM message to the home equipment and the opposite-end home equipment;
the second method for performing double sending on the CCM message of the AC port of the network side device is specifically:
issuing two ACL rules, wherein the two ACL rules are matched with CCM messages of an AC port of the network side equipment one by one, and PW from the network side equipment to the direction of the home equipment or PW from the network side equipment to the direction of the opposite-end home equipment;
if matching is successful, copying the type of the CCM message, and one of PW interface information from the network side equipment to the direction of the home equipment and PW interface information from the network side equipment to the direction of the opposite terminal home equipment, and transmitting the interface information to the other of PW from the direction of the home equipment and PW from the network side equipment to the direction of the opposite terminal home equipment, so as to realize double sending of the CCM message of the AC port of the network side equipment;
the three modes of performing double sending on the CCM message of the AC port of the network side device are as follows:
after constructing a CCM message of an AC port of the network side equipment, judging the type of PW bound by the CCM message;
and if the CCM message is of PW ECMP type, packaging the CCM message according to the attributes of the two PW, and then respectively sending the CCM message to the home equipment and the opposite-end home equipment.
2. The method for identifying service connectivity of VPWS dual-activity dual-homing as claimed in claim 1, wherein the members of the multicast group include PW from the network side device to the home device direction, PW from the network side device to the peer home device direction.
3. The method for identifying service connectivity of VPWS dual-activity dual-homing according to claim 2, wherein the multicast group encapsulates the CCM message by PW from the network side device to the home device direction and PW from the network side device to the opposite home device direction, respectively.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210783414.0A CN115174438B (en) | 2022-07-05 | 2022-07-05 | Method for identifying service connectivity of VPWS dual-activity dual-homing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210783414.0A CN115174438B (en) | 2022-07-05 | 2022-07-05 | Method for identifying service connectivity of VPWS dual-activity dual-homing |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115174438A CN115174438A (en) | 2022-10-11 |
CN115174438B true CN115174438B (en) | 2023-09-22 |
Family
ID=83491005
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210783414.0A Active CN115174438B (en) | 2022-07-05 | 2022-07-05 | Method for identifying service connectivity of VPWS dual-activity dual-homing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115174438B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101345686A (en) * | 2008-08-15 | 2009-01-14 | 华为技术有限公司 | Method, device and system for processing virtual private area network service loop |
CN108696414A (en) * | 2017-04-05 | 2018-10-23 | 中兴通讯股份有限公司 | Return cut-in method, device and more home nodes more |
CN111817881A (en) * | 2020-06-19 | 2020-10-23 | 新华三信息安全技术有限公司 | Fault processing method and related device |
CN112422307A (en) * | 2019-08-22 | 2021-02-26 | 华为技术有限公司 | Method, device and system for coexistence of EVPN and VPLS |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9813257B2 (en) * | 2010-09-10 | 2017-11-07 | Extreme Networks, Inc. | Access network dual path connectivity |
-
2022
- 2022-07-05 CN CN202210783414.0A patent/CN115174438B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101345686A (en) * | 2008-08-15 | 2009-01-14 | 华为技术有限公司 | Method, device and system for processing virtual private area network service loop |
CN108696414A (en) * | 2017-04-05 | 2018-10-23 | 中兴通讯股份有限公司 | Return cut-in method, device and more home nodes more |
CN112422307A (en) * | 2019-08-22 | 2021-02-26 | 华为技术有限公司 | Method, device and system for coexistence of EVPN and VPLS |
CN111817881A (en) * | 2020-06-19 | 2020-10-23 | 新华三信息安全技术有限公司 | Fault processing method and related device |
Non-Patent Citations (1)
Title |
---|
吴比等.《 2007通信理论与技术新发展——第十二届全国青年通信学术会议论文集(下册) 》.2007,全文. * |
Also Published As
Publication number | Publication date |
---|---|
CN115174438A (en) | 2022-10-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7283465B2 (en) | Hierarchical virtual private LAN service protection scheme | |
US9509591B2 (en) | Technique for dual homing interconnection between communication networks | |
US9338052B2 (en) | Method and apparatus for managing the interconnection between network domains | |
CN102333028B (en) | Method and communication equipment for sending messages by using layered bi-layer virtual private network | |
US8724456B1 (en) | Network path selection for multi-homed edges to ensure end-to-end resiliency | |
RU2530312C2 (en) | Stable connection to networks supporting technology of gateway via routing protocol as to state of provider communication channel (plsb) | |
US8724452B2 (en) | Technique for protecting communication traffic in a connection having redundancy | |
US9166929B1 (en) | Performing scalable L2 wholesale services in computer networks using customer VLAN-based forwarding and filtering | |
US20120201127A1 (en) | Redundant Pseudowires Between Ethernet Access Domains | |
US20090092043A1 (en) | Providing an abstraction layer in a cluster switch that includes plural switches | |
CN101924654B (en) | Point-to-multipoint service-based path switching method and system | |
US20090080438A1 (en) | Method for accessing virtual private network, virtual private system, virtual private network and provider edge device thereof | |
CN104471899A (en) | 802.1AQ support via IETF EVPN | |
JPWO2009051179A1 (en) | Carrier network connection device and carrier network | |
CN112422398B (en) | Message transmission method and communication device | |
Fang et al. | The evolution of carrier ethernet services-requirements and deployment case studies [next-generation carrier ethernet] | |
WO2018058639A1 (en) | Pseudo wire load sharing method and apparatus | |
CN108337158A (en) | Unicast message retransmission method and device | |
CN112887139A (en) | Message processing method and device | |
CN111885630B (en) | Data transmission method and communication device | |
CN115426296B (en) | Communication confirmation method, device, equipment and medium under EVPN VPWS dual-homing dual-activity | |
CN115174438B (en) | Method for identifying service connectivity of VPWS dual-activity dual-homing | |
CN112039765B (en) | Method for sending routing information, method and device for route selection | |
CN115118629B (en) | Method for identifying service connectivity of VPWS multi-activity multi-homing | |
CN115065614B (en) | Method for identifying multi-activity service connectivity of VPWS |
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: 311203 floor 12, building 2, Purple Orange International Center, No. 39, Jincheng Road, Xiaoshan District, Hangzhou, Zhejiang Province Patentee before: Hangzhou yunhezhi Network Technology Co.,Ltd. Country or region before: China |