Internet-Draft EVPN BMP Statistics August 2025
Dikshit Expires 13 February 2026 [Page]
Workgroup:
GROW Working Group
Internet-Draft:
draft-saum-grow-bmp-afi-safi-evpn-00
Published:
Intended Status:
Standards Track
Expires:
Author:
S. Dikshit
Aruba, HPE

EVPN-Specific BMP RIB Statistics Extensions

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.

Table of Contents

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.

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).

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
  • 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:

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

[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, , <https://datatracker.ietf.org/doc/html/draft-ietf-bess-evpn-ip-aliasing-00>.
[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, , <https://datatracker.ietf.org/doc/html/draft-ietf-grow-bmp-bgp-rib-stats-03>.
[RFC2119]
Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, , <https://www.rfc-editor.org/info/rfc2119>.
[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, , <https://www.rfc-editor.org/info/rfc7432>.
[RFC7854]
Scudder, J., Ed., Fernando, R., and S. Stuart, "BGP Monitoring Protocol (BMP)", RFC 7854, DOI 10.17487/RFC7854, , <https://www.rfc-editor.org/info/rfc7854>.
[RFC8174]
Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, , <https://www.rfc-editor.org/info/rfc8174>.
[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, , <https://www.rfc-editor.org/info/rfc8365>.
[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, , <https://www.rfc-editor.org/info/rfc9135>.
[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, , <https://www.rfc-editor.org/info/rfc9136>.

Author's Address

Saumya Dikshit
Aruba Networks, HPE
Mahadevpura
Bangalore 560 048
Karnataka
India