GROW Working Group S. Dikshit Internet-Draft Aruba, HPE Intended status: Standards Track 12 August 2025 Expires: 13 February 2026 EVPN-Specific BMP RIB Statistics Extensions draft-saum-grow-bmp-afi-safi-evpn-00 Abstract This document defines EVPN-specific BMP statistics types that extend the generic BMP RIB statistics defined in draft-ietf-grow-bmp-bgp- rib-stats. It includes counters for EVPN multihoming for both layer-2 and layer-3 (IP aliasing), dynamic IVRL, route-map application on routes, and EVPN route-type visibility for all route- types from 1 to 8. The Border Gateway Protocol Monitoring Protocol (BMP) provides a convenient interface for obtaining BGP-related data. This document extends BMP RIB statistics to include EVPN-specific counters and metrics, enabling enhanced visibility into EVPN route processing and behavior. This document registers new EVPN BMP statistic type identifiers in the BMP Statistics Type registry. These identifiers are used to represent EVPN-specific counters in BMP messages. Status of This Memo 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 13 February 2026. Dikshit Expires 13 February 2026 [Page 1] Internet-Draft EVPN BMP Statistics August 2025 Copyright Notice Copyright (c) 2025 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. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 1.1. Requirements Language . . . . . . . . . . . . . . . . . . 3 2. EVPN BMP Statistics Extensions . . . . . . . . . . . . . . . 3 2.1. Stat Type = TBD1: EVPN Route Type Statistics . . . . . . 3 2.2. Stat Type = TBD2: EVPN Locally Originated Routes . . . . 3 2.3. Stat Type = TBD3: EVPN Multihoming Ethernet Segments . . 4 2.4. Stat Type = TBD4: EVPN Multihomed EVIs . . . . . . . . . 4 2.5. Stat Type = TBD5: EVPN Aliased Paths Count per EVI . . . 4 2.6. Stat Type = TBD6: EVPN Dynamic IVRL . . . . . . . . . . . 4 2.7. Stat Type = TBD7: EVPN Route-Map, Policy Applicability Count . . . . . . . . . . . . . . . . . . . . . . . . . . 4 3. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 5 4. Security Considerations . . . . . . . . . . . . . . . . . . . 5 5. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 5 6. Normative References . . . . . . . . . . . . . . . . . . . . 5 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 7 1. Introduction RFC 7854 defined different BMP statistics message types to observe events on the router. The statistics are defined as counters or gauges to provide insights into BGP processing. This document extends the BMP RIB statistics defined in [I-D.draft-ietf-grow-bmp-bgp-rib-stats] by adding EVPN-specific statistics types to monitor EVPN-related events in RIB-In and RIB-Out for the EVPN address family (AFI=25, SAFI=70). These EVPN-specific statistics provide enhanced visibility into multihoming, IP aliasing, dynamic inter-VRF route leaking (IVRL), route-map applications, and route-type specific counters, among others. Dikshit Expires 13 February 2026 [Page 2] Internet-Draft EVPN BMP Statistics August 2025 The statistics defined herein are gauges (64-bit unsigned integers) unless otherwise specified, following the conventions in [RFC7854]. They apply specifically to to the EV bombing in the EVPN SAFI and extend the per-AFI/SAFI structure where applicable. 1.1. Requirements Language 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. 2. EVPN BMP Statistics Extensions This section defines EVPN-specific statistics types for BMP. These statistics are applicable to the EVPN address family (AFI=25, SAFI=70) and extend the RIB statistics framework in [I-D.draft-ietf-grow-bmp-bgp-rib-stats]. Each statistic is a 64-bit gauge unless noted otherwise, and the value can increase or decrease based on route processing events. The counters provide bits and bitmap to indicate Rib-In, Rib-Out and Pre, Post policy indicators if applicable. 2.1. Stat Type = TBD1: EVPN Route Type Statistics Consolidated counter for Standard EVPN route types (Type-1 to Type-8) across RIB-In and RIB-Out, Pre-policy and Post-policy stages. Extends BMP RIB statistics defined in [I-D.draft-ietf-grow-bmp-bgp-rib-stats]. This statistic is specific to AFI=25, SAFI=70 and includes breakdowns for: * 1st byte represents Type-1 to Type-8 * 2nd bit represent Rib-In or Rib-Out * 3rd bit represent Pre or Post 2.2. Stat Type = TBD2: EVPN Locally Originated Routes Number of EVPN routes are only originated by the router and not relayed. It's helpful to keep a count of hosted EVI's (IMET for layer-2 EVIs) and Ethernet Segments (ESI and I-ESI) via Type-1 and Type-4). Dikshit Expires 13 February 2026 [Page 3] Internet-Draft EVPN BMP Statistics August 2025 The first byte is used for indicating the route-type. As of today, standard route types for EVPN are numbered from 1 to 8 2.3. Stat Type = TBD3: EVPN Multihoming Ethernet Segments Number of Ethernet Segments (ESI) configured for multihoming. Based on [RFC7432] and [RFC9135]. The first two bit indicates if its a segment representing layer-2 multihoming or layer-3 multihoming or I-ESI. 2.4. Stat Type = TBD4: EVPN Multihomed EVIs Number of EVIs tied to an ESI or I-ESI. The first two bit indicate type of Ethernet Segment. The next 80 bits (10 bytes) can represent the ESI value. 2.5. Stat Type = TBD5: EVPN Aliased Paths Count per EVI Number of Aliased path per-EVI. First 4 bytes represent the EVI. 2.6. Stat Type = TBD6: EVPN Dynamic IVRL Number of EVPN routes leaked across VRFs due to matching route- targets. Related to RIB-In Post-policy (Type 2) as defined in [I-D.draft-ietf-grow-bmp-bgp-rib-stats]. The first bit makes a distinction if the leak is indicated by MAC-VRF or layer-3, routing VRF. TBD: if need be, each counter can be indexed with Combination of source VRF and destination VRF. 2.7. Stat Type = TBD7: EVPN Route-Map, Policy Applicability Count Bitmap indicating which route attributes were modified by route-map (e.g., local-preference, AS-path, MED, community). The 2-byte bitmap includes flags for following attributes and many more, TBD. The exact bitmap for each category can be assigned later: * Local Preference * AS Path * MED * Community Dikshit Expires 13 February 2026 [Page 4] Internet-Draft EVPN BMP Statistics August 2025 * Extended Community * Prefix List * MAC address list * Next Hop * EVI * Vendor specific Range This statistic provides visibility into route-map modifications applied to EVPN routes on a per-attribute basis. 3. IANA Considerations IANA is requested to assign the following new parameters to the "BMP Statistics Type" registry: * Type = TBD1: EVPN Route Type Statistics * Type = TBD2: EVPN Locally Originated Routes * Type = TBD3: EVPN Multihoming Ethernet Segments * Type = TBD4: EVPN Multihomed EVIs * Type = TBD5: EVPN Aliased Paths Count per EVI * Type = TBD6: EVPN Dynamic IVRL * Type = TBD9: EVPN Route-Map, Policy Applicability Count 4. Security Considerations The EVPN-specific statistics defined in this document do not introduce any new security considerations beyond those already specified in [RFC7854] for BMP and in [I-D.draft-ietf-grow-bmp-bgp-rib-stats] for RIB statistics. BMP sessions should be protected using mechanisms such as TCP-AO or TLS to prevent unauthorized access to monitoring data. 5. Acknowledgements 6. Normative References Dikshit Expires 13 February 2026 [Page 5] Internet-Draft EVPN BMP Statistics August 2025 [I-D.draft-ietf-bess-evpn-ip-aliasing] Rabadan, J., Sathappan, S., Nagaraj, K., and W. Lin, "EVPN IP Aliasing for Multi-Homing", Work in Progress draft- ietf-bess-evpn-ip-aliasing-00, 25 October 2021, . [I-D.draft-ietf-grow-bmp-bgp-rib-stats] Evens, T., Bayraktar, S., Lucente, P., Xu, K., and S. Zhuang, "BGP RIB Related BMP Statistic Types", Work in Progress draft-ietf-grow-bmp-bgp-rib-stats-03, 8 May 2024, . [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997, . [RFC7432] Sajassi, A., Ed., Aggarwal, R., Bitar, N., Isaac, A., Uttaro, J., Drake, J., and W. Henderickx, "BGP MPLS-Based Ethernet VPN", RFC 7432, DOI 10.17487/RFC7432, February 2015, . [RFC7854] Scudder, J., Ed., Fernando, R., and S. Stuart, "BGP Monitoring Protocol (BMP)", RFC 7854, DOI 10.17487/RFC7854, June 2016, . [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, May 2017, . [RFC8365] Sajassi, A., Ed., Drake, J., Ed., Bitar, N., Shekhar, R., Uttaro, J., and W. Henderickx, "A Network Virtualization Overlay Solution Using Ethernet VPN (EVPN)", RFC 8365, DOI 10.17487/RFC8365, April 2018, . [RFC9135] Sajassi, A., Salam, S., Thoria, S., Drake, J., Rabadan, J. A., and L. Andersson, "Integrated Routing and Bridging in Ethernet VPN (EVPN)", RFC 9135, DOI 10.17487/RFC9135, October 2021, . [RFC9136] Rabdadan, J., Ed., Henderickx, W., Drake, J., Lin, W., and A. Sajassi, "IP Prefix Advertisement in Ethernet VPN (EVPN)", RFC 9136, DOI 10.17487/RFC9136, October 2021, . Dikshit Expires 13 February 2026 [Page 6] Internet-Draft EVPN BMP Statistics August 2025 Author's Address Saumya Dikshit Aruba Networks, HPE Mahadevpura Bangalore 560 048 Karnataka India Email: saumya.dikshit@hpe.com Dikshit Expires 13 February 2026 [Page 7]