Internet-Draft | BMP TLV EBIT | November 2022 |
Lucente & Gu | Expires 12 May 2023 | [Page] |
Message types defined by the BGP Monitoring Protocol (BMP) do provision for data in TLV - Type, Length, Value - format, either in the shape of a TLV message body, ie. Route Mirroring and Stats Reports, or optional TLVs at the end of a BMP message, ie. Peer Up and Peer Down. However the space for Type value is unique and governed by IANA. To allow the usage of vendor-specific TLVs, a mechanism to define per-vendor Type values is required. In this document we introduce an Enterprise Bit, or E-bit, for such purpose.¶
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 12 May 2023.¶
Copyright (c) 2022 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.¶
The BGP Monitoring Protocol (BMP) is defined in RFC 7854 [RFC7854]. Support for TLV data is extended by TLV support for BMP Route Monitoring and Peer Down Messages [I-D.ietf-grow-bmp-tlv].¶
Vendors need the ability to define proprietary Information Elements for various reasons such as delivering a pre-standard product. This aligns with Section 4.1 of [RFC8126].¶
Also for code point assignment to be eligible, an IETF document needs to be adopted at a Working Group and in a stable condition. In this context E-bit helps during early development phases where inter-operability among vendors is tested and shipped to network operators for testing. This aligns with Section 4.2 of [RFC8126].¶
This document re-defines the format of IANA-registered TLVs in a backward compatible manner with respect to previous documents and existing IANA allocations; it also defines the format for newly introduced enterprise-specific TLVs.¶
The concept of an E-bit, or Enterprise Bit, is not new. For example, such mechanism is defined in Section 3.2 of [RFC7011] for a very similar purpose.¶
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 RFC 2119 [RFC2119] RFC 8174 [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
Existing TLV encodings are defined in Section 4.4 of [RFC7854] (Information TLVs), Section 4.7 of [RFC7854] (Route Mirroring TLVs), Section 4.8 of [RFC7854] (Stats Reports TLVs), draft-ietf-grow-bmp-tlv [I-D.ietf-grow-bmp-tlv] and draft-ietf-grow-bmp-peer-up [I-D.ietf-grow-bmp-peer-up] and are updated as follows:¶
Enterprise-specific TLV encoding is defined as follows:¶
In case of indexed TLVs, as defined by TLV support for BMP Route Monitoring and Peer Down Messages [I-D.ietf-grow-bmp-tlv], the index value follows the Enterprise number.¶
The TLV encoding specified in this document applies to all existing BMP Message Types and their namespaces defined in RFC 7854 [RFC7854], TLV support for BMP Route Monitoring and Peer Down Messages [I-D.ietf-grow-bmp-tlv] and BMP Peer Up Message Namespace [I-D.ietf-grow-bmp-peer-up]. While the proposed encoding is not per-se backward compatible, there is no existing IANA-allocated Type value that makes use of the most significant bit (which is being used in this document to define the E-bit).¶
Future BMP Message Types MUST make use of the TLV encoding defined in this document.¶
This document refers to TLV support for BMP Route Monitoring and Peer Down Messages [I-D.ietf-grow-bmp-tlv] for any recommendations regarding the use of TLVs (ie. repetitions, ordering, etc.).¶
This document does not add any additional security considerations.¶
It is recommended that vendors making use of the Enterprise Bit extension have a well-defined internal registry for privately assigned code points that is also exposed to the public.¶
The TLV Type values used by BMP are managed by IANA as are the Private Enterprise Numbers used by enterprise-specific Type values IANA-PEN [IANA-PEN]. This document makes no changes to these registries.¶
The authors would like to thank Thomas Graf, Jeff Haas, Pierre Francois and Camilo Cardona for their valuable input.¶