Internet-Draft | PBB-EVPN ISID-based CMAC-flush | June 2022 |
Rabadan, et al. | Expires 25 December 2022 | [Page] |
Provider Backbone Bridging (PBB) can be combined with Ethernet VPN (EVPN) to deploy Ethernet Local Area Network (ELAN) services in large Multi-Protocol Label Switching (MPLS) networks (PBB-EVPN). Single-Active Multi-homing and per-I-SID (per Service Instance Identifier) Load-Balancing can be provided to access devices and aggregation networks. In order to speed up the network convergence in case of failures on Single-Active Multi-Homed Ethernet Segments, PBB-EVPN defines a flush mechanism for Customer MACs (CMAC-flush) that works for different Ethernet Segment Backbone MAC (BMAC) address allocation models. This document complements those CMAC-flush procedures for cases in which no PBB-EVPN Ethernet Segments are defined (the attachment circuit is associated to a zero Ethernet Segment Identifier) and a Service Instance Identifier based (I-SID-based) CMAC-flush granularity is required.¶
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 25 December 2022.¶
Copyright (c) 2022 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.¶
[RFC7623] defines how Provider Backbone Bridging (PBB) can be combined with Ethernet VPN (EVPN) to deploy ELAN services in very large MPLS networks. [RFC7623] also describes how Single-Active Multi-homing and per-I-SID Load-Balancing can be provided to access devices and aggregation networks. When Access Ethernet/MPLS Networks exists, [I-D.ietf-bess-evpn-virtual-eth-segment] describes how virtual Ethernet Segments can be associated to a group of Ethernet Virtual Circuits (EVCs) or even Pseudowires (PWs). In order to speed up the network convergence in case of failures on Single-Active Multi-Homed Ethernet Segments, [RFC7623] defines a CMAC-flush mechanism that works for different Ethernet Segment BMAC address allocation models.¶
In some cases, the administrative entities that manage the access devices or aggregation networks do not demand Multi-Homing Ethernet Segments (ES) from the PBB-EVPN provider, but simply multiple single-homed ES. If that is the case, the PBB-EVPN network is no longer aware of the redundancy offered by the access administrative entity. Figure 1 shows an example where the PBB-EVPN network provides four different Attachment Circuits (ACs) for I-SID1, with those ACs not being part of any ES or vES (therefore they are referred to as null vES).¶
In the example in Figure 1, CE1, CE2 and CE3 are attached to the same service, identified by I-SID1, in the PBB-EVPN PEs. CE1 and CE2 are connected to the PEs via G.8032 Ethernet Ring Protection Switching, and their ACs to PE1 and PE2 are represented by a port and VLAN identifier. CE3 is dual-homed to PE3 and PE4 through an active-standby PW, and its AC to the PEs is represented by a PW. Each of the four PEs uses a dedicated BMAC address as source MAC address (BMAC1, BMAC2, BMAC3 and BMAC4, respectively) when encapsulating customer frames in PBB packets and forwarding those PBB packets to the remote PEs as per [RFC7623]. There are no multi-homed Ethernet Segments defined in the PBB-EVPN network of the example, that is why the four ACs in Figure 1 show the text "ES null", which means the Ethernet Segment Identifier on those ACs is zero. Since there are no multi-homed ES defined, the PEs keep their ACs active as long as the physical connectivity is established and the CEs are responsible for managing the redundancy, avoiding loops and providing per-I-SID load balancing to the PBB-EVPN network.¶
For instance, CE2 will block its link to CE1 and CE3 will block its forwarding path to PE4. In this situation, a failure in one of the redundant ACs will trigger the CEs to start using their redundant paths, however those failures will not trigger any CMAC-flush procedures in the PEs that implement [RFC7623], since the PEs are not using the PBB-EVPN multi-homing procedures. For example, if the active PW from CE3 (to PE3) fails, PE3 will not issue any CMAC-flush message and therefore the remote PEs will continue pointing at PE3's BMAC to reach CE3's CMACs, until the CMACs age out in the I-SID1 forwarding tables.¶
[RFC7623] provides a CMAC-flush solution based on a shared BMAC update along with the MAC Mobility extended community where the sequence number is incremented. However, the procedure is only used along with multi-homed Ethernet Segments. Even if that procedure could be used for null Ethernet Segments, as in the example of Figure 1, the [RFC7623] CMAC-flush procedure would result in unnecessary flushing of unaffected I-SIDs on the remote PEs, and subsequent flooding of unknown unicast traffic in the network.¶
This document describes an extension of the [RFC7623] CMAC-flush procedures, so that in the above failure example, PE3 can trigger a CMAC-flush notification that makes PE1, PE2 and PE4 flush all the CMACs associated to PE3's BMAC3 and (only) I-SID1. This new CMAC-flush procedure explained in this document will be referred to as "PBB-EVPN I-SID-based CMAC-flush" and can be used in PBB-EVPN networks with null or non-null (virtual) Ethernet Segments.¶
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.¶
AC: Attachment Circuit.¶
B-Component: Backbone Component, as in [RFC7623].¶
BMAC: Backbone MAC address.¶
BMAC/0 route: an EVPN MAC/IP Advertisement route that uses a BMAC in the MAC address field and a zero Ethernet Tag ID.¶
BMAC/I-SID route: an EVPN MAC/IP Advertisement route that uses a BMAC in the MAC address field and an I-SID in the Ethernet Tag field, and it is used to notify remote PEs about the required CMAC-flush procedure for the CMACs associated with the advertised BMAC and I-SID.¶
CE: Customer Edge router.¶
CMAC: Customer MAC address.¶
ES, vES and ESI: Ethernet Segment, virtual Ethernet Segment and Ethernet Segment Identifier.¶
EVI: EVPN Instance.¶
EVPN: Ethernet Virtual Private Networks, as in [RFC7432].¶
G.8032: Ethernet Ring Protection.¶
I-Component: Service Instance Component, as in [RFC7623].¶
I-SID: Service Instance Identifier.¶
MAC-VRF: A Virtual Routing and Forwarding table for MAC addresses.¶
PBB-EVPN: Provider-Backbone-Bridging and EVPN, as in [RFC7623].¶
PE: Provider Edge router.¶
RD: Route Distinguisher.¶
RT: Route Target.¶
The following requirements are followed by the CMAC-flush solution described in this document:¶
The solution does not use any new BGP attributes but reuses the MAC Mobility extended community as an indication of CMAC-flush (as in [RFC7623]) and encodes the I-SID in the Ethernet Tag field of the EVPN MAC/IP advertisement route. As a reference, Figure 2 shows the MAC Mobility extended community and the EVPN MAC/IP advertisement route that are used specified in [RFC7432] and used in this document as a CMAC-flush notification message.¶
Where:¶
All the other fields are set and used as defined in [RFC7623]. This document will refer to this route as the BMAC/I-SID route, as opposed to the [RFC7623] BMAC/0 route (BMAC route sent with Ethernet Tag ID = 0).¶
Note that this BMAC/I-SID route will be accepted and reflected by any [RFC7432] RR, since no new attributes or values are used. A PE receiving the route will process the received BMAC/I-SID update only in case of supporting the procedures described in this document.¶
Figure 1 will be used in the description of the solution. CE1, CE2 and CE3 are connected to ACs associated to I-SID1, where no (Multi-Homed) Ethernet Segments have been enabled, and the ACs and PWs are in active or standby state as per Figure 1.¶
Enabling or disabling I-SID-based CMAC-flush SHOULD be an administrative choice on the system that MAY be configured per I-SID (I-Component). When enabled on a PE:¶
When I-SID-based CMAC-flush is disabled, the PE will follow the [RFC7623] procedures for CMAC-flush.¶
This CMAC-flush specification is described in three sets of procedures:¶
The following behavior MUST be followed by the PBB-EVPN PEs following this specification. Figure 1 is used as a reference.¶
If, for instance, there is a failure on PE1's AC, PE1 will generate an update including BMAC1/1 along with the MAC Mobility extended community where the Sequence Number has been incremented. The reception of the BMAC1/1 with a delta in the sequence number will trigger the CMAC-flush procedures on the receiving PEs.¶
A PE receiving a CMAC-flush notification will follow these procedures:¶
Note that the CMAC-flush procedures described in [RFC7623] for BMAC/0 routes are still valid and a PE receiving [RFC7623] CMAC-flush notification messages MUST observe the behavior specified in [RFC7623].¶
The I-SID-based CMAC-flush solution described in this document has the following benefits:¶
Security considerations described in [RFC7623] apply to this document.¶
In addition, this document suggests additional procedures, that can be activated on a per I-SID basis, and generate additional EVPN MAC/IP Advertisement routes in the network. The format of these additional EVPN MAC/IP Advertisement routes is backwards compatible with [RFC7623] procedures and should not create any issues on receiving PEs not following this specification, however, the additional routes may consume extra memory and processing resources on the receiving PEs. Because of that, it is RECOMMENDED to activate this feature only when necessary (when multi-homed networks or devices are attached to the PBB-EVPN PEs), and not by default in any PBB-EVPN PE.¶
The authors want to thank Vinod Prabhu, Sriram Venkateswaran, Laxmi Padakanti, Ranganathan Boovaraghavan for their review and contributions.¶