Internet-Draft | EVPN BMP Stats | September 2025 |
Dikshit & Srivastava | Expires 20 March 2026 | [Page] |
This document defines new EVPN-specific BGP Monitoring Protocol (BMP) statistics types. These extensions include scalar counters for EVPN route types (1-8) 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).¶
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 20 March 2026.¶
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.¶
[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].¶
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 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. The statistics values are encoded as 1-byte Stats types, 1 bytes stats sub-type followed by 64-bit gauges. Currently there are EVPN route types numbered 1 to 8. The remaining bits provides flexibility for future extensions to EVPN . and to define more specific counters other than the route-types in future.¶
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 bytes): EVPN stats type. Defined types are:¶
Type = 0: EVNP route statistics.¶
Stats subtype (1 bytes): The stats sub type. Defined subtypes are:¶
Subtype = 0: EVPN route type 1 (Ethernet Auto-discovery).¶
Subtype = 1: EVPN route type 2 (MAC/IP Advertisement).¶
Subtype = 2: EVPN route type 3 (Inclusive Multicast Ethernet Tag Route).¶
Subtype = 3: EVPN route type 4 (Ethernet Segment Route).¶
Subtype = 4: EVPN route type 5 (IP Prefix Route).¶
Subtype = 5: EVPN route type 6 (EVPN Inclusive Multicast Service Interface Route).¶
Subtype = 6: EVPN route type 7 (EVPN Ethernet Tag Service Interface Route).¶
Subtype = 7: EVPN route type 8 (EVPN IP Prefix Service Interface Route).¶
Subtype = 8: EVPN route type 9 (EVPN IP Prefix Route with MAC Mobility).¶
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.¶
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 EVPN routes received before inbound policy is applied.¶
Type TBD_02: rib-in-post-evpn-route-stats: Statistics for EVPN routes after inbound policy is applied.¶
Type TBD_03: loc-rib-evpn-route-stats: Statistics for EVPN routes in the local RIB.¶
Type TBD_04: rib-out-pre-evpn-route-stats: Statistics for EVPN routes before outbound policy is applied.¶
Type TBD_05: rib-out-post-evpn-route-stats: Statistics for EVPN routes after outbound policy is applied.¶
The 5 types are sufficient to provide generic monitoring of EVPN route types (1-8) across Adj-RIB-In, Adj-RIB-Out, and Local-RIB.¶
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.¶