Border Gateway Protocol (BGP) Parameters Last Updated 2018-04-13 Available Formats [IMG] XML [IMG] HTML [IMG] Plain text Registries included below * BGP Message Types * BGP Path Attributes * BGP Error (Notification) Codes * BGP Error Subcodes * Message Header Error subcodes * OPEN Message Error subcodes * UPDATE Message Error subcodes * BGP Finite State Machine Error Subcodes * BGP Cease NOTIFICATION message subcodes * BGP ROUTE-REFRESH Message Error subcodes * BGP Outbound Route Filtering (ORF) Types * BGP OPEN Optional Parameter Types * BGP Tunnel Encapsulation Attribute Tunnel Types * BGP Tunnel Encapsulation Attribute Sub-TLVs * BGP Layer 2 Encapsulation Types * BGP Layer 2 TLV Types * BGP AIGP Attribute Types * BGP Route Refresh Subcodes * P-Multicast Service Interface Tunnel (PMSI Tunnel) Tunnel Types * P-Multicast Service Interface (PMSI) Tunnel Attribute Flags * BGP MCAST-VPN Route Types BGP Message Types Registration Procedure(s) Standards Action Reference [RFC4271] Available Formats [IMG] CSV Value Name Reference 0 Reserved 1 OPEN [RFC4271] 2 UPDATE [RFC4271] 3 NOTIFICATION [RFC4271] 4 KEEPALIVE [RFC4271] 5 ROUTE-REFRESH [RFC2918] 6-255 Unassigned BGP Path Attributes Registration Procedure(s) Standards Action Reference [RFC4271] Available Formats [IMG] CSV Value Code Reference 0 Reserved 1 ORIGIN [RFC4271] 2 AS_PATH [RFC4271] 3 NEXT_HOP [RFC4271] 4 MULTI_EXIT_DISC [RFC4271] 5 LOCAL_PREF [RFC4271] 6 ATOMIC_AGGREGATE [RFC4271] 7 AGGREGATOR [RFC4271] 8 COMMUNITY [RFC1997] 9 ORIGINATOR_ID [RFC4456] 10 CLUSTER_LIST [RFC4456] 11 DPA (deprecated) [Chen, E., Bates, T., "Destination Preference Attribute for BGP", Work in progress, March 1996.][RFC6938] ADVERTISER 12 (historic) [RFC1863][RFC4223][RFC6938] (deprecated) RCID_PATH / 13 CLUSTER_ID [RFC1863][RFC4223][RFC6938] (Historic) (deprecated) 14 MP_REACH_NLRI [RFC4760] 15 MP_UNREACH_NLRI [RFC4760] 16 EXTENDED [Eric_Rosen][draft-ramachandra-bgp-ext-communities-00][RFC4360] COMMUNITIES 17 AS4_PATH [RFC6793] 18 AS4_AGGREGATOR [RFC6793] SAFI Specific 19 Attribute (SSA) [Gargi_Nalawade][draft-kapoor-nalawade-idr-bgp-ssa-00][draft-nalawade-idr-mdt-safi-00][draft-wijnands-mt-discovery-00] (deprecated) Connector 20 Attribute [RFC6037] (deprecated) 21 AS_PATHLIMIT [draft-ietf-idr-as-pathlimit] (deprecated) 22 PMSI_TUNNEL [RFC6514] Tunnel 23 Encapsulation [RFC5512] Attribute 24 Traffic [RFC5543] Engineering IPv6 Address 25 Specific Extended [RFC5701] Community 26 AIGP [RFC7311] 27 PE Distinguisher [RFC6514] Labels BGP Entropy Label 28 Capability [RFC6790][RFC7447] Attribute (deprecated) 29 BGP-LS Attribute [RFC7752] 30 Deprecated [RFC8093] 31 Deprecated [RFC8093] 32 LARGE_COMMUNITY [RFC8092] 33 BGPsec_Path [RFC8205] BGP Community Container Attribute 34 (TEMPORARY - [draft-ietf-idr-wide-bgp-communities] registered 2017-07-28, expires 2018-07-28) Internal Only To Customer (TEMPORARY - 35 registered [draft-ietf-idr-bgp-open-policy] 2018-03-29, expires 2019-03-29) 36-39 Unassigned BGP Prefix-SID (TEMPORARY - registered 2015-09-30, 40 extension [draft-ietf-idr-bgp-prefix-sid] registered 2017-08-31, expires 2018-09-30) 41-127 Unassigned 128 ATTR_SET [RFC6368] 129 Deprecated [RFC8093] 130-240 Unassigned 241 Deprecated [RFC8093] 242 Deprecated [RFC8093] 243 Deprecated [RFC8093] 244-254 Unassigned 255 Reserved for [RFC2042] development BGP Error (Notification) Codes Registration Procedure(s) Standards Action Reference [RFC4271][RFC7313] Available Formats [IMG] CSV Value Name Reference 0 Reserved 1 Message Header Error [RFC4271] 2 OPEN Message Error [RFC4271] 3 UPDATE Message Error [RFC4271] 4 Hold Timer Expired [RFC4271] 5 Finite State Machine Error [RFC4271] 6 Cease [RFC4271] 7 ROUTE-REFRESH Message Error [RFC7313] 8-255 Unassigned BGP Error Subcodes Registration Procedure(s) Standards Action Reference [RFC4271] Message Header Error subcodes Registration Procedure(s) Standards Action Reference [RFC4271] Available Formats [IMG] CSV Value Name Reference 0 Unspecific [RFC Errata 4493] 1 Connection Not Synchronized [RFC4271] 2 Bad Message Length [RFC4271] 3 Bad Message Type [RFC4271] 4-255 Unassigned OPEN Message Error subcodes Registration Procedure(s) Standards Action Reference [RFC4271] Available Formats [IMG] CSV Value Name Reference 0 Unspecific [RFC Errata 4493] 1 Unsupported Version Number [RFC4271] 2 Bad Peer AS [RFC4271] 3 Bad BGP Identifier [RFC4271] 4 Unsupported Optional Parameter [RFC4271] 5 [Deprecated] [RFC4271] 6 Unacceptable Hold Time [RFC4271] 7 Unsupported Capability [RFC5492] 8 Role Mismatch (TEMPORARY - registered 2018-03-29, expires 2019-03-29) [draft-ietf-idr-bgp-open-policy] 9-255 Unassigned UPDATE Message Error subcodes Registration Procedure(s) Standards Action Reference [RFC4271] Available Formats [IMG] CSV Value Name Reference 0 Unspecific [RFC Errata 4493] 1 Malformed Attribute List [RFC4271] 2 Unrecognized Well-known Attribute [RFC4271] 3 Missing Well-known Attribute [RFC4271] 4 Attribute Flags Error [RFC4271] 5 Attribute Length Error [RFC4271] 6 Invalid ORIGIN Attribute [RFC4271] 7 [Deprecated] [RFC4271] 8 Invalid NEXT_HOP Attribute [RFC4271] 9 Optional Attribute Error [RFC4271] 10 Invalid Network Field [RFC4271] 11 Malformed AS_PATH [RFC4271] 12-255 Unassigned BGP Finite State Machine Error Subcodes Registration Procedure(s) Standards Action Reference [RFC6608] Available Formats [IMG] CSV Value Name Reference 0 Unspecified Error [RFC6608] 1 Receive Unexpected Message in OpenSent State [RFC6608] 2 Receive Unexpected Message in OpenConfirm State [RFC6608] 3 Receive Unexpected Message in Established State [RFC6608] 4-255 Unassigned BGP Cease NOTIFICATION message subcodes Registration Procedure(s) Standards Action or Early IANA Allocation process Reference [RFC4486] Available Formats [IMG] CSV Value Name Reference 0 Reserved 1 Maximum Number of Prefixes Reached [RFC4486] 2 Administrative Shutdown [RFC4486][RFC8203] 3 Peer De-configured [RFC4486] 4 Administrative Reset [RFC4486][RFC8203] 5 Connection Rejected [RFC4486] 6 Other Configuration Change [RFC4486] 7 Connection Collision Resolution [RFC4486] 8 Out of Resources [RFC4486] 9 Hard Reset (TEMPORARY - registered 2017-04-21, extension registered 2018-04-13, expires 2019-04-21) [draft-ietf-idr-bgp-gr-notification] 10-255 Unassigned BGP ROUTE-REFRESH Message Error subcodes Reference [RFC7313] Available Formats [IMG] CSV Range Registration Procedures 0-127 Standards Action 128-255 First Come First Served Value Name Reference 0 Reserved [RFC7313] 1 Invalid Message Length [RFC7313] 2-255 Unassigned BGP Outbound Route Filtering (ORF) Types Reference [RFC5291] Available Formats [IMG] CSV Range Registration Procedures Note 0-63 Standards Action 64-127 First Come First Served 128-255 Vendor-Specific IANA does not assign Value Description Reference 0 Reserved [RFC5291] 1-63 Unassigned 64 Address Prefix ORF [RFC5292] 65 CP-ORF [RFC7543] 66-127 Unassigned 128-255 Reserved for Vendor-Specific [RFC5291] BGP OPEN Optional Parameter Types Registration Procedure(s) IETF Review Reference [RFC5492] Available Formats [IMG] CSV Value Name Reference 0 Reserved [RFC5492] 1 Authentication (deprecated) [RFC4271][RFC5492] 2 Capabilities [RFC5492] 3-255 Unassigned BGP Tunnel Encapsulation Attribute Tunnel Types Registration Procedure(s) First Come First Served Reference [RFC5512] Available Formats [IMG] CSV Value Name Reference 0 Reserved [RFC5512] 1 L2TPv3 over IP [RFC5512] 2 GRE [RFC5512] 3 Transmit tunnel endpoint [RFC5566] 4 IPsec in Tunnel-mode [RFC5566] 5 IP in IP tunnel with IPsec Transport Mode [RFC5566] 6 MPLS-in-IP tunnel with IPsec Transport Mode [RFC5566] 7 IP in IP [RFC5512] 8 VXLAN Encapsulation [RFC8365] 9 NVGRE Encapsulation [RFC8365] 10 MPLS Encapsulation [RFC8365] 11 MPLS in GRE Encapsulation [RFC8365] 12 VXLAN GPE Encapsulation [RFC8365] 13 MPLS in UDP Encapsulation [RFC7510][RFC Errata 4350] 14 IPv6 Tunnel [Martin_Djernaes] 15 SR TE Policy Type [draft-previdi-idr-segment-routing-te-policy] 16 Bare [Nischal_Sheth] 17-65535 Unassigned BGP Tunnel Encapsulation Attribute Sub-TLVs Registration Procedure(s) Standards Action Reference [RFC5512] Available Formats [IMG] CSV Value Name Reference 0 Reserved [RFC5512] 1 Encapsulation [RFC5512] 2 Protocol Type [RFC5512] 3 IPsec Tunnel Authenticator [RFC5566] 4 Color [RFC5512] 5 Load-Balancing Block [RFC5640] 6 Remote Endpoint (TEMPORARY - registered 2017-07-18, expires 2018-07-18) [draft-ietf-idr-tunnel-encaps] 7 IPv4 DS Field (TEMPORARY - registered 2017-07-18, expires 2018-07-18) [draft-ietf-idr-tunnel-encaps] 8 UDP Destination Port (TEMPORARY - registered 2017-07-18, expires 2018-07-18) [draft-ietf-idr-tunnel-encaps] 9 Embedded Label Handling (TEMPORARY - registered 2017-07-18, expires 2018-07-18) [draft-ietf-idr-tunnel-encaps] 10 MPLS Label Stack (TEMPORARY - registered 2017-07-18, expires 2018-07-18) [draft-ietf-idr-tunnel-encaps] 11 Prefix SID (TEMPORARY - registered 2017-07-18, expires 2018-07-18) [draft-ietf-idr-tunnel-encaps] 12 Preference sub-TLV (TEMPORARY - registered 2017-10-12, expires 2018-10-12) [draft-ietf-idr-segment-routing-te-policy] 13 Binding SID sub-TLV (TEMPORARY - registered 2017-10-12, expires 2018-10-12) [draft-ietf-idr-segment-routing-te-policy] 14-127 Unassigned 128 Segment List sub-TLV (TEMPORARY - registered 2017-10-12, expires 2018-10-12) [draft-ietf-idr-segment-routing-te-policy] 129-255 Unassigned BGP Layer 2 Encapsulation Types Reference [RFC6624] Available Formats [IMG] CSV Range Registration Procedures 0-127 Expert Review 128-251 First Come First Served 252-255 Experimental Use Value Description Reference 0 Reserved [RFC6624] 1 Frame Relay [RFC4446] 2 ATM AAL5 SDU VCC transport [RFC4446] 3 ATM transparent cell transport [RFC4816] 4 Ethernet (VLAN) Tagged Mode [RFC4448] 5 Ethernet Raw Mode [RFC4448] 6 Cisco HDLC [RFC4618] 7 PPP [RFC4618] 8 SONET/SDH Circuit Emulation Service [RFC4842] 9 ATM n-to-one VCC cell transport [RFC4717] 10 ATM n-to-one VPC cell transport [RFC4717] 11 IP Layer 2 Transport [RFC3032] 12-14 Unassigned 15 Frame Relay Port mode [RFC4619] 16 Unassigned 17 Structure-agnostic E1 over packet [RFC4553] 18 Structure-agnostic T1 (DS1) over packet [RFC4553] 19 VPLS [RFC4761] 20 Structure-agnostic T3 (DS3) over packet [RFC4553] 21 Nx64kbit/s Basic Service using Structure-aware [RFC5086] 22-24 Unassigned 25 Frame Relay DLCI [RFC4619] 25-39 Unassigned 40 Structure-agnostic E3 over packet [RFC4553] 41 Octet-aligned payload for Structure-agnostic DS1 circuits [RFC4553] 42 E1 Nx64kbit/s with CAS using Structure-aware [RFC5086] 43 DS1 (ESF) Nx64kbit/s with CAS using Structure-aware [RFC5086] 44 DS1 (SF) Nx64kbit/s with CAS using Structure-aware [RFC5086] 45-127 Unassigned 128-251 Unassigned 252-255 Experimental Use [RFC6624] BGP Layer 2 TLV Types Reference [RFC6624] Available Formats [IMG] CSV Range Registration Procedures 0-127 Expert Review 128-251 First Come First Served 252-255 Experimental Use Value Description Reference 0 Reserved [RFC6624] 1 Circuit Status Vector [RFC6624] 2-127 Unassigned 128-251 Unassigned 252-255 Experimental Use [RFC6624] BGP AIGP Attribute Types Registration Procedure(s) Standards Action Reference [RFC7311] Available Formats [IMG] CSV Value Description Reference 0 Reserved [RFC7311] 1 AIGP [RFC7311] 2-255 Unassigned BGP Route Refresh Subcodes Reference [RFC7313] Available Formats [IMG] CSV Range Registration Procedures 0-127 Standards Action 128-254 First Come First Served Value Code Reference 0 Route-Refresh [RFC2918][RFC5291] 1 BoRR [RFC7313] 2 EoRR [RFC7313] 3-254 Unassigned 255 Reserved [RFC7313] P-Multicast Service Interface Tunnel (PMSI Tunnel) Tunnel Types Registration Procedure(s) IETF Review Reference [RFC7385][RFC8317] Note The status of value 0xFF may only be changed through Standards Action [RFC8126]. Available Formats [IMG] CSV Value Meaning Reference 0x00 no tunnel information present [RFC6514] 0x01 RSVP-TE P2MP LSP [RFC6514] 0x02 mLDP P2MP LSP [RFC6514] 0x03 PIM-SSM Tree [RFC6514] 0x04 PIM-SM Tree [RFC6514] 0x05 BIDIR-PIM Tree [RFC6514] 0x06 Ingress Replication [RFC6514] 0x07 mLDP MP2MP LSP [RFC6514] 0x08 Transport Tunnel [RFC7524] 0x09 Unassigned 0x0A Assisted-Replication Tunnel (TEMPORARY - registered 2016-06-30, extension registered 2017-06-28, [draft-ietf-bess-evpn-optimized-ir] expires 2018-06-30) 0x0B BIER [RFC-ietf-bier-mvpn-11] 0x0C-0x7A Unassigned 0x7B-0x7E Reserved for Experimental Use [RFC8317] 0x7F Reserved [RFC8317] 0x80-0xFA Reserved for Composite Tunnel [RFC8317] 0xFB-0xFE Reserved for Experimental Use [RFC7385] 0xFF wildcard transport tunnel type [RFC8338] P-Multicast Service Interface (PMSI) Tunnel Attribute Flags Registration Procedure(s) Standards Action Reference [RFC7902] Available Formats [IMG] CSV Value Name Reference 0 Unassigned 1 Extension [RFC7902] 2 Unassigned 3-4 Assisted-Replication Type (T) (TEMPORARY - registered 2016-06-30, extension registered 2017-06-28, [draft-ietf-bess-evpn-optimized-ir] expires 2018-06-30) 5 Broadcast and Multicast (BM) (TEMPORARY - registered 2016-06-30, extension registered 2017-06-28, [draft-ietf-bess-evpn-optimized-ir] expires 2018-06-30) 6 Unknown (U) (TEMPORARY - registered 2016-06-30, extension registered 2017-06-28, expires 2018-06-30) [draft-ietf-bess-evpn-optimized-ir] 7 Leaf Information Required (L) [RFC6514] BGP MCAST-VPN Route Types Registration Procedure(s) Standards Action Reference [RFC7441][RFC6514] Note Values may be assigned from one of several ranges: - Range 0x01-0x3f: Generic/PIM Range. Values are assigned from this range when the NLRI format associated with the route type presupposes that PIM or IGMP is the C-multicast control protocol, or when the NLRI format associated with the route type is independent of the C-multicast control protocol. - Range 0x43-0x7f: mLDP Range. Values are assigned from this range when the NLRI format associated with the route type presupposes that mLDP is the C-multicast control protocol. - Range 0x80-0xff: This range is reserved; values should not be assigned from this range. In general, whenever an assignment is requested from this registry, two codepoints should be requested at the same time: one from the Generic/PIM range (0x01-0x3f) and one from the mLDP range (0x43-0x7f). The two codepoints should have the same low-order 6 bits. If one of the two codepoints is not actually needed, it should be registered anyway, and marked as "Reserved." Available Formats [IMG] CSV Value Meaning Reference 0x00 Reserved [RFC7441][RFC6514] 0x01 Intra-AS I-PMSI A-D route [RFC7441][RFC6514] 0x02 Inter-AS I-PMSI A-D route [RFC7441][RFC6514] 0x03 S-PMSI A-D route [RFC7441][RFC6514] 0x04 Leaf A-D route [RFC7441][RFC6514] 0x05 Source Active A-D route [RFC7441][RFC6514] 0x06 Shared Tree Join route [RFC7441][RFC6514] 0x07 Source Tree Join route [RFC7441][RFC6514] 0x08-0x3f Unassigned (Generic/PIM range) 0x40-0x42 Reserved [RFC7441] 0x43 S-PMSI A-D route for C-multicast mLDP [RFC7441] 0x44 Leaf A-D route for C-multicast mLDP [RFC7441] 0x45-0x46 Reserved [RFC7441] 0x47 Source Tree Join route for C-multicast mLDP [RFC7441] 0x48-0x7f Unassigned (mLDP range) 0x80-0xff Reserved [RFC7441] People ID Name Contact URI Last Updated [Eric_Rosen] Eric Rosen mailto:erosen&cisco.com 2010-02-23 [Gargi_Nalawade] Gargi Nalawade mailto:gargi&cisco.com 2004-02 [Martin_Djernaes] Martin Djernaes mailto:mdjernaes&juniper.net 2016-03-30 [Nischal_Sheth] Nischal Sheth mailto:nsheth&juniper.net 2017-08-16