Visual RFC.
ALL RFCs / RFC 7313
Read the RFC ↗
RFC 7313 / ENHANCED ROUTE REFRESH

Read request and boundary subtypes

02

The ROUTE-REFRESH message reuses the old reserved octet as a subtype. AFI (Address Family Identifier) and SAFI (Subsequent Address Family Identifier) identify the address family; the subtype says whether this is a request, a beginning marker or an ending marker.

RFC 7313 · § 3.2EXAMPLE
4 / 4
Read request and boundary subtypesAfter re-advertisement completes, B sends A EoRR. The byte is2, not the Graceful Restart End-of-RIB marker.ROUTE-REFRESH fixed body · 4 octetsAFI: 1Subtype 2SAFI: 12 octets1 octet1 octet00 01 02 01AB2 · EoRR after advertisementsRFC7313 · fictional peers / routes · schematic
04
Use subtype2 to finish the response

After re-advertisement completes, B sends A EoRR. The byte is2, not the Graceful Restart End-of-RIB marker.

Source for this drawing: RFC 7313 · Read RFC section 3.2 ↗

Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

A message needs an address.

Think of a packet as a small addressed envelope. Devices pass it onward; transport protocols decide what delivery promises an application gets.

Helpful first, if these ideas are unfamiliar

These pictures are analogies to help you learn. The linked RFC explains the actual rules.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

KEY POINT

Subtype0 is the normal Route Refresh request, with or without the separate Outbound Route Filtering extension. Subtype1 is BoRR, Beginning of Route Refresh. Subtype2 is EoRR, End of Route Refresh.

  • Subtype0 is the normal Route Refresh request, with or without the separate Outbound Route Filtering extension. Subtype1 is BoRR, Beginning of Route Refresh. Subtype2 is EoRR, End of Route Refresh.
  • The fixed fields are AFI16bits, subtype8bits and SAFI8bits. For subtype1 or2, the length excluding the fixed BGP header must be4 octets. Do not apply that boundary-marker length rule to all subtype0 messages.
  • Example family is AFI1/SAFI1 (IPv4 unicast). A boundary body is00 01 / subtype /01; the standard19-octet BGP header gives total length23. Fields are drawn to byte proportions, header omitted.
  • Subtype255 is reserved; values other than0,1,2 are ignored under the enhanced error rules. Section6 records the original registry assignments, not a live registry snapshot.
DETAILS

RFC7313 §§3.2,4–6, RFC2918 §3. Only fixed four-octet examples are encoded here; this is not an ORF or general BGP parser.

Read the RFC section ↗

All chapters in RFC 7313

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗