Internet-Draft BMP in MRT October 2025
Petrie & Hendriks Expires 23 April 2026 [Page]
Workgroup:
Global Routing Operations
Internet-Draft:
draft-petrie-grow-mrt-bmp-01
Published:
Intended Status:
Standards Track
Expires:
Authors:
C. Petrie
NTT
L. Hendriks
NLnet Labs

Storing BMP messages in MRT Format

Abstract

This document extends the Multi-threaded Routing Toolkit (MRT) export format to support the storage of 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 23 April 2026.

Table of Contents

1. Introduction

The MRT record format [RFC6396] was developed to provide researchers and engineers a means to encapsulate, export, and archive routing protocol transactions and routing information base snapshots.

BMP [RFC7854] was developed to monitor BGP sessions, and also includes messages containing routing protocol transactions and Routing Information Base contents and changes. BMP [RFC7854] does not define a mechanism for exporting and archiving BMP messages. MRT can be a suitable format for this.

This document contains an optional extension to the MRT format [RFC6396] and defines additional MRT types to permit storage of BMP messages.

1.1. Stateless Message Parsing considerations

Previous BGP support in MRT [RFC6396] has required new sub-types to be introduced every time a new BGP capability is introduced that alters the wire format of the BGP packets. This meta-information signals to the parser how to decode the packet.

In the case of this proposed BMP support, the intention is to offload this meta-information to the in-protocol BMP implmentations. The current implementations described are Stateless Parsing TLVs [I-D.ietf-grow-bmp-tlv] and Snapshot Messages [I-D.lucente-grow-bmp-offline].

It is expected that the producer of MRT files containing BMP data will ensure that these mechanisms are used to make the data in the file parseable.

As a result, this document does not define any MRT sub-types, BMP messages are encapsulated only using an outer MRT type to indicate that the enclosed messages are BMP messages

2. BMP Type

This document defines the following new MRT Types:

These MRT types support the BMP protocol. They are used to encode the exchange of BMP messages. The _ET variant is for use with the Extended Timestamp MRT Header.

The format of the MRT Message field for the BMP types is as follows:


 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|        Address Family           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                   Remote IP Address (variable)                |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                   Local IP Address (variable)                 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                  BMP Message Contents (variable)
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Figure 1

The Address Family indicates what types of addresses are in the subsequent address fields. At present, the following AFI Types are supported:

The Address Family value only applies to the IP addresses contained in the MRT header. The BMP type is otherwise transparent to the contents of the actual message that may contain any valid AFI/SAFI values.

Remote and Local IP addresses refer to the endpoints of the TCP connection carrying the BMP session, from the perspective of the BMP monitoring station that is recording these messages

3. IANA Considerations

This document requests that IANA assign Type codes to the MRT name space:

In this draft document this is requested from the Specification Required range, this may be changed to the IETF Review range by a later version of this document.

4. Security Considerations

It is not believed that this document adds any additional security considerations.

However, the security considerations of [RFC6396] and [RFC7854] are equally applicable to this document.

5. Normative References

[I-D.ietf-grow-bmp-tlv]
Lucente, P. and Y. Gu, "BMP v4: TLV Support for BGP Monitoring Protocol (BMP) Route Monitoring and Peer Down Messages", Work in Progress, Internet-Draft, draft-ietf-grow-bmp-tlv-19, , <https://datatracker.ietf.org/doc/html/draft-ietf-grow-bmp-tlv-19>.
[I-D.lucente-grow-bmp-offline]
Hendriks, L., Lucente, P., Cardona, C., and C. Petrie, "BMP Snapshots", Work in Progress, Internet-Draft, draft-lucente-grow-bmp-offline-02, , <https://datatracker.ietf.org/doc/html/draft-lucente-grow-bmp-offline-02>.
[RFC6396]
Blunk, L., Karir, M., and C. Labovitz, "Multi-Threaded Routing Toolkit (MRT) Routing Information Export Format", RFC 6396, DOI 10.17487/RFC6396, , <https://www.rfc-editor.org/info/rfc6396>.
[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>.

Authors' Addresses

Colin Petrie
NTT
Veemweg 23
3771 MT Barneveld
Netherlands
Luuk Hendriks
NLnet Labs
Science Park 400
1098 XH Amsterdam
Netherlands