RFC 5512 · PROPOSED STANDARD · 2009

The BGP Encapsulation Subsequent Address Family Identifier and the BGP Tunnel Encapsulation Attribute

Overview

RFC 5512, “The BGP Encapsulation Subsequent Address Family Identifier and the BGP Tunnel Encapsulation Attribute”, is a Proposed Standard document published in April 2009 by P. Mohapatra, E. Rosen. It has been obsoleted by RFC 9012 — refer to the newer document for the authoritative version. The canonical text is published by the RFC Editor.

Abstract

In certain situations, transporting a packet from one Border Gateway Protocol (BGP) speaker to another (the BGP next hop) requires that the packet be encapsulated by the first BGP speaker and decapsulated by the second. To support these situations, there needs to be some agreement between the two BGP speakers with regard to the "encapsulation information", i.e., the format of the encapsulation header as well as the contents of various fields of the header.

The encapsulation information need not be signaled for all encapsulation types. In cases where signaling is required (such as Layer Two Tunneling Protocol - Version 3 (L2TPv3) or Generic Routing Encapsulation (GRE) with key), this document specifies a method by which BGP speakers can signal encapsulation information to each other. The signaling is done by sending BGP updates using the Encapsulation Subsequent Address Family Identifier (SAFI) and the IPv4 or IPv6 Address Family Identifier (AFI). In cases where no encapsulation information needs to be signaled (such as GRE without key), this document specifies a BGP extended community that can be attached to BGP UPDATE messages that carry payload prefixes in order to indicate the encapsulation protocol type to be used. [STANDARDS-TRACK]

Abstract as published in the RFC, via rfc-editor.org.

What “Proposed Standard” means

An entry-level standards-track specification: stable, peer-reviewed and a solid basis for implementation, though it may still evolve before becoming an Internet Standard.

Read this RFC

The canonical text of RFC 5512 is hosted at rfc-editor.org. Available in TXT,HTML.

Relationships to other RFCs
Obsoleted by
RFC 9012
Other RFCs from 2009

Who Is Online

In total there are 72 users online: 0 registered, 67 guests and 5 bots.

Most users ever online was 1,226 on 13 Jun 2026, 3:56 am.

Bots: AhrefsBot Applebot Other Bot SemrushBot Sogou

Users active in the past 15 minutes. Total registered members: 354