Internet-Draft | Well Known Large Community | September 2021 |
Heitz, et al. | Expires 12 March 2022 | [Page] |
A range of BGP Autonomous System Numbers is reserved to create a set of BGP Well Known Large Communities.¶
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 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 March 2022.¶
Copyright (c) 2021 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 Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License.¶
The Global Administrator field of the BGP Large community [RFC8092] is an Autonomous System Number (ASN). To create a set of Well Known Large Communities, a set of ASNs must be reserved for them, such that a real ASN in the Global Administrator field cannot be mistaken for a Well Known Large Community.¶
Each BGP Well Known Large Community value is encoded as a 12-octet quantity, 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |1 1 1 1 0 1| T | WKLC ID | Data 1 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Data 2 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Data 3 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+¶
The fields are as shown below:¶
The Large Community path attribute is a transitive attribute. Thus, BGP speakers that do not implement the transitivity described here will transit the WKLC regardless. If such a speaker wishes not to receive a particular large community, it MUST filter it out using local policy. The transitivity field determines how BGP speakers transfer the WKLC across real Autonomous System (AS) boundaries. The values are:¶
A criterion considered important is the number of data octets available for any WKLC type. This is maximized to 10 at the expense of ASN space and type space.¶
8 bits for the type is considered to be plenty. 255 types are more than enough for WKLC, considering how many extended community types have been used so far (22 at time of this publication). If a large set of types, each of which requires less than 10 octets of data, is required, then they can all be specified under a single type code and further distinguished by using the Data 1 field as a sub-type. An equivalent example is the EVPN Extended Community type, which defines further sub types.¶
The range of AS numbers currently unallocated by IANA is 399,261 to 4,199,999,999. The WKLC reserves 67,108,864 AS numbers. That still leaves 4,132,491,874 unallocated AS numbers. For comparison, there are 94,968,317 AS numbers reserved for private use. Thus, the number of ASNs reserved for WKLCs is considered insignificant.¶
The BGP Large Community Path attribute is transitive. Thus, a BGP speaker that does not recognize the transitivity field may transmit the WKLC contrary to the advisement of the transitivity field. If a BGP speaker wishes not to receive any Large Community, it must continue to filter it in the same way it was doing before the transitivity field was introduced.¶
In some cases, a received route that contains an AS number from the range assigned to WKLC in its AS_PATH may be considered unusual. A receiving BGP speaker MAY drop such a received route in route-policy.¶
IANA is requested to assign the range 4093640704 (0xF4000000) to 4160749567 (0xF7FFFFFF) from the BGP ASN registry for BGP Well Known Large Communities.¶
IANA is requested to create a registry of Well Known Large Communities in the range 0 to 255. Numbers from this registry are to be assigned in accordance with the policies defined in [RFC8126]. The policies for the following number ranges are:¶