Visual RFC.
ALL RFCs / RFC 1997
Read the RFC ↗
RFC 1997 / BGP COMMUNITIES

Read four-octet values and reserved ranges

02

Each community is a 32-bit value. For the non-reserved range, the first two octets identify an AS and the final two have AS-defined meaning.

RFC 1997 · COMMUNITIES encoding and well-known values · p.3EXAMPLE
4 / 4
Read four-octet values and reserved rangesThe specific well-known valueFFFFFF01 encodesNO_EXPORT; not all reserved values have its semantics.Specified well-known valueNO_EXPORT = FFFFFF01 hexwire: FF FF FF 01Global propagation rule, not a local AS tagType Code8 · optional transitive · attribute header not drawn
04
Recognize a specified well-known value

FF FF FF 01 is NO_EXPORT. Its global rule differs from the local meaning of 64512:80; other reserved values do not inherit that rule.

Source for this drawing: RFC 1997 · Read RFC source: COMMUNITIES encoding and well-known values · p.3 ↗

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

The ordinary example 64512:80 encodes as FC 00 00 50 in network byte order: two octets for the AS, then two for the local value.

  • The ordinary example 64512:80 encodes as FC 00 00 50 in network byte order: two octets for the AS, then two for the local value.
  • RFC 1997 reserves 0x00000000–0x0000FFFF and 0xFFFF0000–0xFFFFFFFF. The rest uses the two-octet AS and two-octet local assignment.
  • The well-known NO_EXPORT value is 0xFFFFFF01. Not every reserved value is well-known or assigned; 0:0 must not be inferred to be a formally registered well-known community.
  • Two community values take eight attribute-value octets. Attribute headers and the enclosing UPDATE are separate. This classic layout does not hold a four-octet AS number in its two-octet AS part.
DETAILS

Fictional routes and private AS numbers. These are bounded teaching examples, not a complete BGP implementation. Display a tag as AS:local only to help read its two 16-bit parts; the wire contains four octets.

Read the RFC section ↗

All chapters in RFC 1997

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 ↗