GROW S. Dikshit Internet-Draft Aruba Networks, HPE Intended status: Standards Track M. Srivastava Expires: 4 June 2026 Hewlett Packard Enterprise C. Lin New H3C Technologies 1 December 2025 EVPN-Specific BMP RIB Statistics Extensions draft-saum-grow-bmp-afi-safi-evpn-04 Abstract This document defines new EVPN-specific BGP Monitoring Protocol (BMP) statistics types. These extensions include scalar counters for EVPN route types specifically, while also keeping scope for defining counters which are EVPN route-type agnostic but related to BGP-EVPN RIB like, number of multihoming Ethernet Segments, number of multihomed EVIs, number of aliased paths, number of dynamic inter-VRF route leaking (IVRL). 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 4 June 2026. 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 Dikshit, et al. Expires 4 June 2026 [Page 1] Internet-Draft EVPN BMP Stats December 2025 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 . . . . . . . . . . . . . . . . . . 2 2. EVPN-Specific BMP Statistics Extensions . . . . . . . . . . . 3 2.1. Global EVPN Route Statistics . . . . . . . . . . . . . . 3 2.1.1. Statistics Definitions . . . . . . . . . . . . . . . 3 2.1.2. Statistics Format . . . . . . . . . . . . . . . . . . 3 2.2. Per-EVI EVPN Route Statistics . . . . . . . . . . . . . . 5 2.2.1. Statistics Definitions . . . . . . . . . . . . . . . 5 2.2.2. Statistics Format . . . . . . . . . . . . . . . . . . 5 3. YANG Model Alignment . . . . . . . . . . . . . . . . . . . . 6 4. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 6 5. Security Considerations . . . . . . . . . . . . . . . . . . . 7 6. References . . . . . . . . . . . . . . . . . . . . . . . . . 7 6.1. Normative References . . . . . . . . . . . . . . . . . . 7 6.2. Informative References . . . . . . . . . . . . . . . . . 8 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 8 1. Introduction [RFC7854] defines different BMP statistics message types and [I-D.ietf-grow-bmp-bgp-rib-stats] extends the BMP statistics to provide more insights into the BGP RIBs. This document extends the BMP RIB statistics by adding EVPN-specific statistics types to monitor EVPN-related events in Adj-RIB-In, Adj-RIB-Out, and Local-RIB for the EVPN address family (AFI=25, SAFI=70) as defined in [RFC7432] and extended by [RFC9135] for integrated routing and bridging, forms the basis for these statistics. The format of the BMP statistics message remains same as defined in [RFC7854]. 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. Dikshit, et al. Expires 4 June 2026 [Page 2] Internet-Draft EVPN BMP Stats December 2025 2. EVPN-Specific BMP Statistics Extensions This section defines EVPN-specific statistics types for BMP, applicable to the EVPN address family (AFI=25, SAFI=70). These statistics type for all 5 RIB views: Adj-RIB-In-Pre, Adj-RIB-In-Post, Local-RIB, Adj-RIB-Out-Pre and Adj-RIB-Out-Pre. and to define more specific counters other than the route-types in future. 2.1. Global EVPN Route Statistics The section defines global EVPN route or other information statistics, e.g., the overall Ethernet Auto-discovery Route counters. 2.1.1. Statistics Definitions This section defines different statistics type for global EVPN monitoring type. * Type=TBD_01: Statistics for global EVPN routes received in Adj- RIB-In before inbound policy is applied. * Type=TBD_02: Statistics for global EVPN routes in Adj-RIB-In after inbound policy is applied. * Type=TBD_03: Statistics for global EVPN routes in the local RIB. * Type=TBD_04: Statistics for global EVPN routes in Adj-RIB-Out before outbound policy is applied. * Type=TBD_05: Statistics for global EVPN routes in Adj-RIB-Out after outbound policy is applied. * Type=TBD_06: Statistics for global EVPN information of ESs/EVIs/ aliased paths. 2.1.2. Statistics Format The statistics values are encoded as 1-octet Stats types, 1-octet Stats Subtype followed by 64-bit gauges. The statistics values are encoded in Stat Data as defined in 4.8 of [RFC7854]. Each counter is encoded as follows: Dikshit, et al. Expires 4 June 2026 [Page 3] Internet-Draft EVPN BMP Stats December 2025 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Stats Type | Stats Subtype | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Gauge (64 bits) | ~ ~ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ * Stats Type (1 octet): EVPN stats type. Defined types are: - Type = 0: EVPN route statistics in the RIB. - Type = 1: EVPN leaked route statistics in the local RIB. - Type = 2: EVPN multihoming Ethernet Segments (ESs) statistics. - Type = 3: EVPN multihomed EVPN instances (EVIs) statistics. - Type = 4: EVPN aliased paths statistics. * Stats Subtype (1 octet): Indicates the EVPN route type associated with this statistic, as defined in - Subtype = 0: Reserved. - Subtype = 1: EVPN route type 1 (Ethernet Auto-discovery). - Subtype = 2: EVPN route type 2 (MAC/IP Advertisement). - Subtype = 3: EVPN route type 3 (Inclusive Multicast Ethernet Tag Route). - Subtype = 4: EVPN route type 4 (Ethernet Segment Route). - Subtype = 5: EVPN route type 5 (IP Prefix Route). - Subtype = 6: EVPN route type 6 (Selective Multicast Ethernet Tag Route). - Subtype = 7: EVPN route type 7 (IGMP Join Synchronization Route). - Subtype = 8: EVPN route type 8 (IGMP Leave Synchronization Route). - Subtype = 9: EVPN route type 9 (Per-Region I-PMSI A-D route). Dikshit, et al. Expires 4 June 2026 [Page 4] Internet-Draft EVPN BMP Stats December 2025 - Subtype = 10: EVPN route type 10 (S-PMSI A-D route). - Subtype = 11: EVPN route type 11 (Leaf A-D route). Stats Subtype is only used when Stats Type is set to 0 and 1; otherwise, Stats Subtype is omitted. A BMP implementation MUST ignore unrecognized stat types on receipt, and likewise MUST ignore unexpected data in the Stat Data field. 2.2. Per-EVI EVPN Route Statistics The section defines specific EVI EVPN route statistics, e.g., per-EVI IP Prefix Route counters. 2.2.1. Statistics Definitions This section defines different statistics type for per-EVI EVPN monitoring type. * Type=TBD_07: Statistics for per-EVI EVPN routes received in Adj- RIB-In before inbound policy is applied. * Type=TBD_08: Statistics for per-EVI EVPN routes in Adj-RIB-In after inbound policy is applied. * Type=TBD_09: Statistics for per-EVI EVPN routes in the local RIB. * Type=TBD_10: Statistics for per-EVI EVPN routes in Adj-RIB-Out before outbound policy is applied. * Type=TBD_11: Statistics for per-EVI EVPN routes in Adj-RIB-Out after outbound policy is applied. 2.2.2. Statistics Format The statistics values are encoded as 1-octet Stats types, 1-octet Stats Subtype, and 8-octet Route Distinguisher (RD) followed by 64-bit gauges. The statistics values are encoded in Stat Data as defined in 4.8 of [RFC7854]. Each counter is encoded as follows: Dikshit, et al. Expires 4 June 2026 [Page 5] Internet-Draft EVPN BMP Stats December 2025 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Stats Type | Stats Subtype | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Route Distinguisher (RD) | | (8 octets) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Gauge (64 bits) | ~ ~ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ * Stats Type (1 octet): EVPN stats type, as defined in Section 2.1.2. * Stats Subtype (1 octet): Indicates the EVPN route type associated with this statistic, as defined in Section 2.1.2. * Route Distinguisher (RD) (8 octets): Indicates source EVI associated with the EVPN route. The Route Distinguisher (RD) field MUST be populated with the corresponding source EVI's RD of the EVPN route. 3. YANG Model Alignment The counters defined in this document align with the EVPN YANG model described in [I-D.ietf-bess-evpn-yang-07]. Route type counters map to YANG leaves for EVPN route statistics, multihoming and IVRL counters align with Ethernet Segment and VRF-related leaves, the route-map bitmap aligns with policy-related leaves, and segment failure impact aligns with failure event counters. The referenced EVPN YANG model is expired but used due to its relevance to EVPN statistics alignment. Implementations SHOULD check for newer versions. Implementations SHOULD ensure compatibility with the YANG model for integrated monitoring. 4. IANA Considerations This document requests that IANA assign new BMP statistics types from the "BMP Statistics Type" registry for the following: * Type TBD_01: rib-in-pre-evpn-route-stats: Statistics for global EVPN routes received before inbound policy is applied. * Type TBD_02: rib-in-post-evpn-route-stats: Statistics for global EVPN routes after inbound policy is applied. Dikshit, et al. Expires 4 June 2026 [Page 6] Internet-Draft EVPN BMP Stats December 2025 * Type TBD_03: loc-rib-evpn-route-stats: Statistics for global EVPN routes in the local RIB. * Type TBD_04: rib-out-pre-evpn-route-stats: Statistics for global EVPN routes before outbound policy is applied. * Type TBD_05: rib-out-post-evpn-route-stats: Statistics for global EVPN routes after outbound policy is applied. * Type TBD_06: rib-out-post-evpn-info-stats: Statistics for global EVPN information of ESs/EVIs/aliased paths. * Type TBD_07: rib-in-pre-evpn-route-per-evi-stats: Statistics for per-EVI EVPN routes received before inbound policy is applied. * Type TBD_08: rib-in-post-evpn-route-per-evi-stats: Statistics for per-EVI EVPN routes after inbound policy is applied. * Type TBD_09: loc-rib-evpn-route-per-evi-stats: Statistics for per- EVI EVPN routes in the local RIB. * Type TBD_10: rib-out-pre-evpn-route-per-evi-stats: Statistics for per-EVI EVPN routes before outbound policy is applied. * Type TBD_11: rib-out-post-evpn-route-per-evi-stats: Statistics for per-EVI EVPN routes after outbound policy is applied. The 11 types are sufficient to provide generic monitoring of EVPN route types across Adj-RIB-In, Adj-RIB-Out, and Local-RIB. 5. Security Considerations The security considerations of [RFC7854] apply to this document. No additional security risks are introduced by these EVPN-specific statistics, including the route-map attributes bitmap. 6. References 6.1. Normative References [RFC7854] Scudder, J., Fernando, R., and S. Stuart, "BGP Monitoring Protocol (BMP)", RFC 7854, DOI 10.17487/RFC7854, June 2016, . [RFC7432] Sajassi, A., 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, . Dikshit, et al. Expires 4 June 2026 [Page 7] Internet-Draft EVPN BMP Stats December 2025 [RFC9135] Sajassi, A., Drake, J., Boutros, S., and J. Rabadan, "Integrated Routing and Bridging in Ethernet VPN (EVPN)", RFC 9135, DOI 10.17487/RFC9135, October 2021, . [I-D.ietf-grow-bmp-bgp-rib-stats] Srivastava, M., Liu, Y., Lin, C., and J. Li, "Definition For New BGP Monitoring Protocol (BMP) Statistics Types", Work in Progress draft-ietf-grow-bmp-bgp-rib-stats-15, April 2025, . [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997, . [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, May 2017, . 6.2. Informative References [I-D.ietf-bess-evpn-yang-07] Brissette, P., Shah, H., Chen, I., and K. Patel, "Yang Data Model for EVPN", Work in Progress draft-ietf-bess- evpn-yang-07, March 2019, . Authors' Addresses Saumya Dikshit Aruba Networks, HPE Mahadevpura Bangalore 560 048 Karnataka India Email: saumya.dikshit@hpe.com Mukul Srivastava Hewlett Packard Enterprise 10 Technology Park Dr Westford, MA 01886 United States of America Email: mukul.srivastava@hpe.com Dikshit, et al. Expires 4 June 2026 [Page 8] Internet-Draft EVPN BMP Stats December 2025 Changwang Lin New H3C Technologies 8 Yongjia North Road Beijing Haidian District, 100094 China Email: linchangwang.04414@h3c.com Dikshit, et al. Expires 4 June 2026 [Page 9]