Internet-Draft | BMP Peer Capability Update Notification | October 2025 |
Lin, et al. | Expires 23 April 2026 | [Page] |
When BGP Dynamic Capability is supported, dynamic updates of capabilities are allowed over an established BGP session. At present, after the BGP session is established, the monitored router sends a BMP Peer Up Notification message first, containing the initial capabilities. If BGP Dynamic Capability is supported, using BMP Peer Up Notification messages to report subsequent capability changes for a BGP session becomes inappropriate. This document defines a new Peer Capability Update Notification message type in BMP to report peer capability changes.¶
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.¶
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.¶
[I-D.ietf-idr-dynamic-cap] introduces BGP Dynamic Capability, which enables dynamic updates of capabilities over an established BGP session. This feature allows BGP speakers to negotiate capabilities without disrupting the existing session.¶
When a BGP session is established, a BMP Peer UP Notification message containing the initial capabilities is first sent to monitor this session [RFC7854]. If BGP Dynamic Capability is implemented, subsequent capability changes can be reported to the monitoring station by resending a Peer UP Notification message that includes all current capabilities. The capabilities in the latter message must override those in the former.¶
Normally, a BMP Peer Up Notification message should only be sent once when a BGP session is established. If the BMP Peer Up Notification message is sent multiple times, the monitoring station may mistakenly interpret the event as a peer session re-established, potentially causing the clearing of previously received route monitoring messages for the affected peers in that session. In this case, all routing monitoring messages for those peers must be resent, significantly increasing the network load.¶
Therefore, when BGP Dynamic Capability is implemented, using BMP Peer Up Notification messages to report subsequent capability changes becomes unsuitable.¶
To avoid potential problems caused by the above solution, this document defines a new BMP message type, Peer Capability Update Notification, for reporting BGP dynamic capability changes.¶
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 a new BMP message type for monitoring BGP dynamic capabilities. The assigned value for this message type is placed in the Message Type field of the common header.¶
Message Type = TBD: Peer Capability Update Notification¶
This section defines the Peer Capability Update Notification BMP message format, as illustrated in Figure 1. The message consists of four components: a Common Header, a Per-Peer Header, a CAP Flags, and a BGP Dynamic Capability PDU.¶
The Common Header and Per-Peer Header follow the same format as defined in Sections 4.1 and 4.2 of [RFC7854] respectively. The BGP Dynamic Capability PDU uses the format specified in Section 3 of [I-D.ietf-idr-dynamic-cap]. The Peer CAP Flags field is defined as follows:¶
+---------------------------------------+ | Common Header | +---------------------------------------+ | Per-Peer Header | +---------------------------------------+ | Peer CAP Flags | +---------------------------------------+ | BGP Dynamic Capability PDU | +---------------------------------------+ Figure 1: Peer Capability Update Notification Message Format¶
Peer CAP Flags (1 byte): This field provides status information about the Capability Update, including the direction of the BGP Dynamic Capability PDU. The direction flag fields are defined as follows:¶
0 1 2 3 4 5 6 7 +-+-+-+-+-+-+-+-+ |T| Reserved | +-+-+-+-+-+-+-+-+¶
The T flag (1 bit) signals the direction of the BGP Dynamic Capability PDU:¶
The remaining bits are reserved for future use. They MUST be transmitted as 0 and their values MUST be ignored on receipt.¶
The BMP Peer Capability Update Notification MUST be sent before sending any Route Monitoring message corresponding to the updated capability for the Peer.¶
The Peer Capability Update Notification message of BMP provides real-time notifications of BGP dynamic capability changes.¶
Consider a BGP speaker with a peer that supports both BGP Dynamic Capability and VPNv4 Address Family Identifier/Subsequent Address Family Identifier (AFI/SAFI) [RFC4364], where the corresponding BGP session is already established. When this peer subsequently enables the EVPN address family [RFC7432], the BGP speaker will send a BGP Dynamic Capability message containing Multiprotocol Extensions Capability for BGP-4 (including EVPN AFI/SAFI information) [RFC4760]. If the peer is being monitored via BMP, the BGP speaker must generate a BMP Peer Capability Update Notification message (with the T flag set to 0) to report this capability change, before sending any Route Monitoring Messages for EVPN address family.¶
When a BGP speaker sends a BGP Dynamic Capability message to its peer, the generation of a corresponding BMP Peer Capability Update Notification message (with the T flag set to 0) should be generated immediately and not need to await successful receipt of the BGP Dynamic Capability acknowledgment (ACK), per the procedures in [I-D.ietf-idr-dynamic-cap].¶
When a BGP speaker receives a BGP Dynamic Capability message from its peer, a corresponding BMP Peer Capability Update Notification message (with the T flag set to 1) should be generated immediately.¶
If a new BGP capability is added, after both the corresponding BMP Peer Capability Update Notification message with the T flag set to 0 and that with the T flag set to 1 are sent to monitoring station, the route information and End-of-RIB (EOR) of corresponding peer will be sent via BMP.¶
If an existing BGP capability is removed, only the corresponding BMP Peer Capability Update Notification messages will be sent, but the route withdrawal information of corresponding peer will not be sent via BMP.¶
The security considerations in Section 11 of [RFC7854] apply to this document. It is also believed that this document does not add any additional security considerations.¶
This document requests IANA to assign the following new parameter in the BMP Parameters registry (maintained at https://www.iana.org/assignments/bmp-parameters/bmp-parameters.xhtml).¶
New BMP Message Type:¶
Value: TBD (to be assigned by IANA)¶
Name: Peer Capability Update Notification¶
Reference: This document¶
In addition to the aforementioned solutions (Using New BMP Type or Peer Up Notification) to report the BGP Capability changes, This document can also define a New TLV as part of Peer Up Notification or other available BMP Message types defined in existing documents.¶
The New TLV format is defined below:¶
+---------------------------------------+ | Type (2 byte) | +---------------------------------------+ | Length (2 byte) | +---------------------------------------+ | Peer CAP Flags (1 byte) | +---------------------------------------+ | BGP Dynamic Capability PDU | +---------------------------------------+¶
Type = TBD: Peer Capability Update Notification;¶
Length: indicates the length of value in this TLV, including Peer CAP Flags and BGP Dynamic Capability PDU;¶
Peer CAP Flags and BGP Dynamic Capability PDU is same with the definition of Section 3.1 in this document.¶