| Internet-Draft | L2VPN VPWS to EVPN-VPWS over SRv6 | December 2026 |
| Zhu & Huang | Expires 4 June 2027 | [Page] |
This document specifies a solution for seamlessly evolving existing L2VPN Virtual Private Wire Service (VPWS) to EVPN-VPWS carried over SRv6. The solution allows EVPN and L2VPN services to coexist in the same Point-to-Point (P2P) VPN instance and supports segment-by-segment evolution to EVPN-VPWS over SRv6 in Multi-Segment Pseudowire (MSPW) scenarios. Three key elements are introduced: (1) when EVPN-VPWS and L2VPN VPWS paths coexist on the same Attachment Circuit (AC), the EVPN-VPWS path is preferred according to the operator's local policy, the switchover is performed in a make-before-break fashion to minimize packet loss, and fallback to the L2VPN VPWS path is supported; (2) an explicit association mechanism between the EVPN-VPWS path and the L2VPN VPWS PW is specified: a Composite PE carries its local L2VPN PW information (the LDP peer address, PW ID, and PW type) in the Ethernet A-D per EVI route, so that the receiving PE can identify and verify the associated L2VPN PW and perform the association switchover even when the two paths terminate on different remote PEs in multi-homed scenarios; (3) a new SRv6 endpoint behavior, End.DX2PW, is defined for the Gateway PE in MSPW scenarios. End.DX2PW decouples the re-encapsulation for the next tunnel segment from the SID, so that evolving the subsequent segment from MPLS to SRv6 does not require re-allocating a new SID. With this solution, service providers can seamlessly migrate existing L2VPN VPWS networks to EVPN-VPWS over SRv6.¶
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.¶
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.¶
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."¶
This Internet-Draft will expire on 4 June 2027.¶
Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
Point-to-point Layer 2 VPN services (VPWS) are widely deployed by operators as private line services. Traditional VPWS is provided in the following ways:¶
MSPW [RFC6073] establishes PW connections between different Packet Switched Network (PSN) domains, or between two or more different PW control-plane domains, to provide end-to-end pseudowire services for large-scale hierarchical networks or heterogeneous networks spanning multiple domains.¶
EVPN-VPWS [RFC8214] [RFC9014] provides point-to-point Ethernet services using BGP-EVPN signaling, with benefits such as unified signaling and multi-homing (single-active/all-active). When a network evolves to SRv6 [RFC8402], EVPN-VPWS over SRv6 becomes the natural choice for carrying private line services: the egress PE advertises an SRv6 service SID via BGP overlay service routes [RFC9252], the ingress PE encapsulates the payload in an outer IPv6 header whose destination address is the service SID, and the underlay is only required to support plain IPv6 forwarding [RFC8200]. When an underlay service level agreement (SLA) is required, the Color extended community [RFC9012] can be used to steer traffic to an SR Policy [RFC9256], carrying the segment list in a Segment Routing Header (SRH) [RFC8754].¶
Two related work items exist in the BESS Working Group:¶
Building on this prior work, this document focuses on three increments:¶
Section 3 gives the terminology; Section 4 gives the reference architecture and PE types; Section 5 gives the solution requirements; Section 6 gives the solution overview; Section 7 specifies the association mechanism between the EVPN-VPWS and L2VPN VPWS paths; Section 8 and Section 9 give the detailed procedures for single-segment evolution and MSPW evolution, respectively; Section 10 defines the End.DX2PW behavior; Section 11 gives deployment scenarios and use cases; Section 12, Section 13, and Section 14 give operational, security, and IANA considerations; Section 15 lists the references.¶
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
This solution involves four PE roles, consistent with [I-D.ietf-bess-evpn-vpws-seamless] and [I-D.ietf-bess-evpn-vpws-gateway], extended to SRv6 transport:¶
Figure 1 gives a reference architecture example: a Composite PE (PE-1) runs a legacy PW with an L2VPN PE (PE-2) on one side and EVPN-VPWS over SRv6 with an EVPN-VPWS PE (PE-3) on the other; the three PE types coexist in the same P2P VPN instance.¶
+------+ AC +--------+ legacy PW +--------+ AC +------+
| CE-A |-------| PE-2 |---------------| PE-1 |--------| CE-C |
+------+ | L2VPN | |Composite| +------+
| PE | | PE |
+--------+ +--------+
|
EVPN-VPWS |
over SRv6 |
|
+----+----+ AC +------+
| PE-3 |-------| CE-B |
| EVPN- | | |
| VPWS PE | +------+
+---------+
The target state of the evolution is that the PEs at both ends of the private line (or at both ends of each MSPW segment) are EVPN-VPWS PEs, and services are carried by EVPN-VPWS over SRv6. During the evolution, L2VPN PEs, EVPN-VPWS PEs, Composite PEs, and Gateway PEs can coexist in the same P2P VPN instance, and the migration proceeds site-by-site and private-line-by-private-line.¶
The SRv6 seamless evolution solution for point-to-point Ethernet VPN satisfies the following requirements:¶
Together, these requirements allow existing L2VPN VPWS to evolve seamlessly to EVPN-VPWS over SRv6 with minimal impact on private line services.¶
The evolution proceeds in four phases (taking the single-segment scenario as an example; the MSPW scenario is covered in Section 9):¶
Figure 2 gives the topology after single-segment evolution: both end PEs are Composite PEs, and the same AC is associated with two paths - EVPN-VPWS (SRv6, preferred) and legacy PW (MPLS, retained for fallback).¶
+------+ AC +-----------+ +-----------+ AC +------+
| CE-A |------| PE-1 |---(EVPN-VPWS)---| PE-2 |------| CE-B |
+------+ | Composite | (SRv6) | Composite | +------+
| PE |---(legacy PW)---| PE |
+-----------+ (MPLS) +-----------+
In the basic single-segment scenario of Section 8, the L2VPN VPWS path and the EVPN-VPWS path terminate on the same remote PE. The association between the two paths is implicit: when a Composite PE receives both the L2VPN PW route and the EVPN Ethernet A-D per EVI route from the same remote PE for the same P2P VPN instance, the EVPN-VPWS path is preferred for discovery and forwarding, as specified in [I-D.ietf-bess-evpn-vpws-seamless].¶
In multi-homed scenarios, however, the two paths may terminate on different remote PEs. Taking Figure 3 as an example, the remote CE is multi-homed to PE-2 (a Composite PE) and PE-3 (a legacy L2VPN PE): the EVPN-VPWS path terminates on PE-2, while the standby L2VPN PW terminates on PE-3. In this case, the implicit "same remote PE" rule cannot determine which L2VPN PW the EVPN-VPWS path should be associated with, and the switchover between the two paths (referred to as association switchover in this document) is not well defined.¶
+------+ AC +-----------+ (EVPN-VPWS) +-----------+ AC +------+
| CE-A |------| PE-1 |------------------| PE-2 |------| CE |
+------+ | Composite | (SRv6) | Composite | | (MHD)|
| PE |------------------| PE |------| |
| | (L2VPN PW) | | | |
+-----------+ (MPLS) +-----------+ | |
| | |
| [L2VPN PW (MPLS, standby)] | |
| | |
+---------+ | |
| PE-3 |---------------------------------------| |
| L2VPN | | |
+---------+ | |
+------+
To address this, this section specifies an explicit association mechanism: a Composite PE that has an L2VPN VPWS PW on the same AC carries the local L2VPN PW information in the Ethernet A-D per EVI route. The receiving PE uses this information to identify and verify the associated L2VPN PW, and performs the association switchover only after the association is established.¶
This document defines two new transitive EVPN Extended Communities (Type 0x06) that carry the local L2VPN PW information in the Ethernet A-D per EVI route:¶
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Type (0x06) |Sub-Type (TBD-1)| PW Type | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PW ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
The L2VPN PW Association Extended Community carries the PW Type (16 bits, from the IANA "Pseudowire Types" registry, e.g., 0x0004 for Ethernet VLAN and 0x0005 for Ethernet) and the PW ID (32 bits) of the associated L2VPN PW, as defined in the PW ID FEC Element of [RFC8077], Section 5.1.¶
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Type (0x06) |Sub-Type (TBD-2)| Address Fam. | Reserved | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LDP Peer Address (IPv4) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
The L2VPN PW Peer Address Extended Community carries the Address Family (1 for IPv4; other values are for future study) and the LDP Peer Address of the advertising PE, i.e., the source address of the targeted LDP session used to signal the associated L2VPN PW [RFC8077]. The LDP peer address may differ from the BGP next hop of the Ethernet A-D per EVI route, hence it is carried explicitly.¶
Both extended communities MUST be carried together in the Ethernet A-D per EVI route when the association information is present. They are only present when the advertising PE is a Composite PE for the P2P VPN instance and the associated L2VPN PW is an LDP PW. For BGP-AD PWs [RFC6624], the PW ID FEC Element is already signaled in-band in the VPWS A-D route, and the implicit association of [I-D.ietf-bess-evpn-vpws-seamless] applies.¶
The association and switchover procedures are as follows:¶
The association mechanism does not change the EVPN DF election and the P/B-bit procedures of [RFC8214] and [RFC8584]; it only defines which local L2VPN PW the EVPN-VPWS path maps to, so that the association switchover is well defined when the two paths terminate on the same or different remote PEs.¶
Initial state: the existing L2VPN VPWS is established normally, and the PEs at both ends of the private line are legacy L2VPN PEs.¶
The evolution does not require any changes to existing L2VPN PEs; PEs without EVPN-VPWS signaling configured continue to operate as legacy PWs.¶
Initial state (L2VPN VPWS only):¶
After EVPN-VPWS signaling is deployed (two paths coexist):¶
Single-Active scenario (primary/backup consistent before and after the evolution):¶
AS for all-active scenario, per the DF election of [RFC8584], All-Active redundancy mode is configured for the multi-homed AC; after the EVPN-VPWS signaling is established at both ends, traffic is forwarded in All-Active mode. During the evolution, the L2VPN-side path is retained as a fallback path and does not participate in forwarding.¶
In the scenario where the remote CE is multi-homed to two PEs, the EVPN-VPWS path and the L2VPN PW may terminate on different remote PEs. Taking Figure 3 as an example: CE-A is connected to PE-1; CE-B is multi-homed to PE-2 (a Composite PE) and PE-3 (a legacy L2VPN PE); before the evolution, PE-1 runs a Single-Active active/standby L2VPN PW pair to PE-2 (primary) and PE-3 (standby).¶
During the evolution, the DF/NDF state remains consistent with the active/standby PW state to avoid loops and duplicate forwarding.¶
Initial state: the existing L2VPN VPWS multi-segment PW (MSPW [RFC6073]) is established normally, and the end-to-end Layer 2 service runs normally; the head-end PE, the intermediate SPE, and the tail-end PE are all legacy L2VPN PEs.¶
Segment-by-segment evolution (taking the evolution of the first segment as an example):¶
EVPN-VPWS signaling is configured for the corresponding VPN instance on the head-end PE and the intermediate SPE. After configuration:¶
The intermediate node (Gateway PE) interconnects the EVPN-VPWS on one side and the L2VPN VPWS on the other within a single P2P VPN instance, forming an end-to-end private line.¶
After the EVPN-VPWS signaling negotiation between the head-end PE and the intermediate node completes, the first segment (head-end PE to SPE) evolves to EVPN-VPWS over SRv6; the second segment (SPE to tail-end PE) remains a legacy PW (MPLS).¶
The second segment evolves on demand: EVPN-VPWS signaling is deployed on the intermediate SPE and the tail-end PE. After the evolution completes, the end-to-end signaling has fully evolved to EVPN-VPWS, and the transport network has evolved from MPLS to SRv6.¶
Key design - SID allocation at the intermediate node:¶
When the head-end PE to the intermediate node evolves to EVPN SRv6, SRv6 service SIDs need to be allocated for EVPN-VPWS:¶
If the End.DT2M behavior defined in [RFC8986], Section 6.4, is used, its behavior is fixed to MPLS encapsulation; when the segment from the intermediate node to the tail-end PE later evolves to SRv6, a new SID with a new behavior (e.g., End.DX2) would need to be allocated, which cannot achieve seamless evolution.¶
Therefore, this document defines a new endpoint behavior, End.DX2PW, through a decoupled design (see Section 10): after decapsulating SRv6, the PW cross-connect forwarding table is looked up, and an MPLS tunnel or an SRv6 tunnel is encapsulated according to the tunnel type associated with the entry. This decouples the tunnel evolution of the different MSPW segments, so that the SID does not need to be changed when the segment from the intermediate node to the tail-end PE evolves.¶
Figure 6 gives the topology after MSPW evolution: the first segment (PE-1 to SPE) is EVPN-VPWS over SRv6, and the second segment (SPE to PE-2) is a legacy PW (MPLS).¶
+------+ AC +-----------+ Segment-1 +--------+ Segment-2 +---------+ AC +------+
| CE-A |----| PE-1 |-----------| SPE |-----------| PE-2 |----| CE-B |
+------+ | Composite | EVPN-VPWS | Gateway| legacy PW | L2VPN | +------+
| PE | over SRv6 | PE | (MPLS) | PE |
+-----------+ +--------+ +---------+
Initial state (all-MPLS MSPW):¶
After the first segment evolves to EVPN-VPWS over SRv6:¶
After the second segment also evolves to EVPN-VPWS over SRv6:¶
Multi-homing in MSPW scenarios can occur at the head segment (CE multi-homed to the head-end PE) or at the tail segment (CE multi-homed to the tail-end PE). The evolution principles are consistent with Section 8.3:¶
The Gateway PE needs an SRv6 service SID that, after decapsulating SRv6, does not directly cross-connect to an AC (End.DX2) and does not always encapsulate in MPLS (End.DT2M), but selects the encapsulation of the next tunnel segment (MPLS or SRv6) according to the PW cross-connect entry associated with the SID, and then forwards.¶
Relationship to existing behaviors:¶
Significance of the decoupling: in MSPW segment-by-segment evolution, when the segment from the intermediate node to the tail-end PE evolves from MPLS to SRv6, the End.DX2PW SID remains unchanged; only the PW cross-connect entry is updated (from "encapsulate in MPLS" to "encapsulate in SRv6"). If End.DT2M were used, a new behavior SID would need to be allocated during the evolution, requiring re-advertisement and reprogramming at the head-end PE, which introduces a risk of service interruption.¶
The SRv6 SID of the End.DX2PW behavior is allocated for Layer 2 virtual private wire service as specified in [RFC8214]. The End.DX2PW behavior cross-connects the virtual Layer 2 payload to the next-segment PW. The Upper-Layer Header type is 143, as the payload is Ethernet, consistent with the convention of End.DX2 and End.DT2M in [RFC8986].¶
When N receives a packet destined to S and S is a local End.DX2PW SID, N does:¶
S01. When an SRH is processed {
S02. If (Segments Left != 0) {
S03. Send an ICMP Parameter Problem to the Source Address,
Code 0 (Erroneous header field encountered),
Pointer set to the Segments Left field,
interrupt packet processing and discard the packet.
S04. }
S05. Proceed to process the next header in the packet
S06. }
¶
When processing the Upper-Layer header of a packet matching a SID entry locally instantiated as an End.DX2PW SID, N does:¶
S01. If (Upper-Layer Header type == 143 (Ethernet)) {
S02. Remove the outer IPv6 Header with all its extension headers
S03. Look up the PW cross-connect entry associated with S
S04. If (the cross-connect entry is associated with an MPLS tunnel) {
S05. Push the MPLS label stack from the cross-connect entry
S06. } Else If (the cross-connect entry is associated with an SRv6
tunnel) {
S07. Push the SRv6 SID from the cross-connect entry (and the SRH
if required)
S08. } Else {
S09. Drop the packet
S10. }
S11. Forward the resulting packet to the next hop from the
cross-connect entry
S12. } Else {
S13. Drop the packet
S14. }
¶
Notes:¶
The End.DX2PW SID is allocated by the Gateway PE, and its locator part MUST be routable within the SRv6 domain. The SID is advertised via EVPN routes; the encoding follows the SRv6 Services TLV of [RFC9252] and is carried in the Ethernet A-D per EVI route [RFC8214]. The ingress PE that receives this route uses the End.DX2PW SID as the outer IPv6 destination address (or the last segment of the SRH segment list) to encapsulate the service packet.¶
As described in Section 10.2, the End.DX2PW behavior supports the PSP/USP flavors: when an SRH is used, the penultimate node can perform PSP (Penultimate Segment Pop) to pop the SRH, and the final node performs USP (Ultimate Segment Pop). If the SID is used as the sole segment directly as the IPv6 destination address (without SRH), the behavior processes the packet normally.¶
Topology: CE-A and CE-B are interconnected via an L2VPN VPWS within a single MPLS domain, and both end PEs are L2VPN PEs (see the phase description of Figure 2).¶
Use case: the operator plans to evolve this private line to EVPN-VPWS over SRv6.¶
Steps:¶
Expected result: the service is uninterrupted throughout; any step can be rolled back to the previous state.¶
Topology: CE-A and CE-B are interconnected via two PW segments (PE-1-SPE and SPE-PE-2) (see Figure 6).¶
Use case: the operator first evolves the first segment (PE-1-SPE) to SRv6; the second segment evolves later according to plan.¶
Steps:¶
Expected result: segment-by-segment evolution does not block each other; the End.DX2PW SID does not need to be re-allocated when the second segment evolves.¶
Topology: CE-A connects to PE-1 (single-homed); CE-B is multi-homed to PE-2 (a Composite PE) and PE-3 (a legacy L2VPN PE) (see Figure 3); initially, PE-1 runs a Single-Active active/standby L2VPN PW pair to PE-2 (primary) and PE-3 (standby).¶
Use case: evolve to EVPN-VPWS while keeping the primary/backup consistent, in a multi-homed scenario where the EVPN-VPWS path and the L2VPN PW terminate on different remote PEs.¶
Steps:¶
Expected result: the primary/backup remains consistent before and after the evolution; the association switchover between the EVPN-VPWS path and the L2VPN PW is well defined even though the two paths terminate on different remote PEs.¶
Topology: a single-segment (or MSPW) private line after the evolution.¶
Use case: after the evolution completes, the EVPN-VPWS path becomes abnormal (e.g., an SRv6 domain failure).¶
Steps:¶
Expected result: the service is uninterrupted during the fallback; the legacy configuration is retained until the EVPN service is confirmed stable in the long term.¶
Topology: new sites are added to an existing VPWS network.¶
Use case: newly opened private line sites directly deploy EVPN-VPWS over SRv6 and interoperate with existing legacy VPWS sites.¶
Steps:¶
Expected result: new and existing sites interoperate seamlessly, and the existing network does not require a wholesale migration.¶
This document defines a new SRv6 endpoint behavior, End.DX2PW.¶
IANA is requested to allocate an identifier value for End.DX2PW in the "SRv6 Endpoint Behaviors" sub-registry of the "Segment Routing Parameters" registry group (established by [RFC8986]). The registration procedure for this registry is IETF Review. The suggested value is to be determined (TBD); it is suggested to pick an available value in the registry at the time of allocation (e.g., a suggested candidate value of 63).¶
This document also defines two new transitive extended communities of Type 0x06 (Transitive Extended Community) in the "Transitive Extended Community" registry of the "Border Gateway Protocol (BGP) Extended Communities" registry group (established by [RFC4360]):¶
Both Sub-Types are to be allocated from the Sub-Type space of Type 0x06, and the registration procedure is IETF Review. The suggested values are to be determined (TBD).¶
The authors would like to thank the reviewers who provided comments and suggestions on earlier versions of this document (list to be completed).¶