Internet-Draft | BGP Available Paths Count Extended Commu | January 2023 |
White & Abraitis | Expires 13 July 2023 | [Page] |
This document defines a new BGP Opaque Extended Community to carry the number of paths available for an arbitrary prefix.¶
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 July 2023.¶
Copyright (c) 2023 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.¶
This document defines a new BGP Opaque Extended Community to carry the number of paths available for an arbitrary prefix. BGP speakers that receive this extended community can configure local instance to influence their decision process by preferring routes with a higher number of paths over others.¶
[RFC7911] defines a BGP extension to send multiple paths for the same address prefix without the new paths implicitly replacing any previous ones. However, if the ADD-PATH capability is not possible to use between BGP speakers, Available Paths Count Extended Community can be another way to prefer a prefix which has more paths.¶
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC2119].¶
This is an Transitive Opaque Extended Community [RFC4360] with the following encoding:¶
If the BGP speaker supports the extension defined in this document, it SHOULD attach the Available Paths Count Extended Community to BGP UPDATE messages sent to iBGP peers implicitly.¶
The receiving BGP speaker, SHOULD derive a count of available paths from the last octet of the extended community if present.¶
An implementation SHOULD NOT send more than one instance of the Available Paths Count extended community.¶
By default, an implementation SHOULD NOT send this extended community to eBGP peers. However, it SHOULD be possible to configure an implementation to send or accept the community when configured.¶
The implementation SHOULD provide a way to explicitly disable sending this community.¶
Also, the implementation could provide an OPTIONAL way to involve Available Paths Count Extended Community into the best path selection process. The prefix with the higher count of paths SHOULD win. If at least one of the routes does not have Available Paths Count Extended Community, the best path selection process is not affected, and this step is ignored. If both routes have the community, defined in this extension, the normal BGP decision is changed so that the Available Paths Count Extended Community is checked before Multi Exit Discriminator (MED). It MUST be possible to enable or disable this extra step (comparing Available Paths Count Extended Community) in the best path selection process.¶
If the count of paths changed, the implementation SHOULD NOT send an UPDATE immediately. Available Paths Count Extended Community SHOULD be adjusted only when the best path changes.¶
This memo requests IANA assign a number from the Transitive Opaque Extended Community Sub-Types registry for "Available Paths Count" extended community. Registration procedures come under the First Come First Served.¶