BGP Community Documentation

AS204539 BGP Communities for traffic engineering and routing control

AS204539 BGP Community Library

Select your preferred language below. English content is shown by default.

Overview

Axivora Connect (AS204539) publishes customer-facing BGP communities for traffic engineering, propagation control, and telemetry. Communities can be combined safely by following the bitmask rules below.

Action Bitmask

Bit Meaning Notes
0 Do not announce to target Disables propagation.
1 Prepend 1 time Combine prepend bits to reach the desired count.
2 Prepend 2 times
4 Prepend 4 times
8 Prepend 8 times Example: 1 + 2 + 8 = 11 prepends.

The prepend flags (1/2/4/8) follow a binary mask. Sum them to express the total prepend count in a single community.

Scope Selectors

Pattern Scope Description
(204539, 807, 0) All backbone nodes Apply to every Axivora edge/router.
(204539, 807, 1) Single router Apply only to the direct connect node.

Wildcard: * in the third field represents any action bitmask.

Internal Route Handling Communities

Community Purpose
(204539, 1, *)Do not send to iBGP
(204539, 2, *)Do not send to eBGP
(204539, 3, *)Do not send to kernel
(204539, 4, *)Send to kernel but mark unreachable
(204539, 5, *)Send to kernel but mark blackhole
(204539, 101, *)Allow bgp_local_perf
(204539, 201, *)Transit routes
(204539, 202, *)IXP route-server routes
(204539, 203, *)Peer routes
(204539, 204, *)Customer routes
(204539, 209, *)iBGP routes

Control Communities

Community Pattern Description
(204539, 1*00, 0)Apply action to everyone
(204539, 1*01, <asn>)Exclude the action for a specific ASN
(204539, 1*02, <asn>)Apply the action only to the specified ASN
(204539, 1*10, 0)Apply action to every region
(204539, 1*11, <region>)Exclude the action from a specific region
(204539, 1*12, <region>)Apply the action only to the specified region
(204539, 1019, 0)Reset regional filters (overrides (204539, 1010, 0))
(204539, 1*20, 0)Apply action to every country
(204539, 1*21, <country>)Exclude the action from a specific country
(204539, 1*22, <country>)Apply the action only to the specified country
(204539, 1*30, 1)Target upstreams
(204539, 1*30, 2)Target IXP route servers
(204539, 1*30, 3)Target peers
(204539, 1*30, 4)Target downstreams
(204539, 1*30, 8)Target route collectors

Wildcard: * in the third field represents any action bitmask.

Precedence: If both (204539, 1010, 0) and (204539, 1019, 0) are attached, the reset community wins and re-enables announcements globally.

Usage Examples

Prepend 11 times to AS13335:
(204539, 1102, 13335)  # prepend 1 time to AS13335
(204539, 1202, 13335)  # prepend 2 times to AS13335
(204539, 1802, 13335)  # prepend 8 times to AS13335
=> 1 + 2 + 8 = 11 prepend times

Prepend 2 to everyone except AS13335:
(204539, 1200, 0)      # prepend 2 to everyone
(204539, 1201, 13335)  # exclude AS13335

Do not announce to anyone:
(204539, 1000, 0)

Announce to Europe only:
(204539, 1010, 0)  # block all regions
(204539, 1011, 41) # re-allow region 41 (Europe, Amsterdam)

Informational Communities

Community Meaning
(204539, 10000, <region>)Route received from region <region>
(204539, 10001, <country>)Route received from country <country>

Region Codes

Code Region
41Europe (Axivora – Amsterdam)
42North America – East
43North America – Central
44North America – West
45Central America
46South America – Central
47South America – West
48Africa – North (above Sahara)
49Africa – South (below Sahara)
50Asia – South (IN, PK, BD)
51Asia – South-East (TH, SG, PH, ID, MY)
52Asia – East (JP, KR, TW, HK, CN)
53Pacific & Oceania (AU, NZ, FJ)
54Antarctica
55Asia – North (RU)
56Asia – West (IR, TR, UAE)
57Central Asia (AF, UZ, KZ)

Country Codes

Use ISO-3166 numeric-3 country codes when populating <country>. Other formats are not guaranteed to match.

Need Help with BGP Communities?

Our network engineers are available to assist with traffic engineering and routing policies. Contact our NOC for guidance on implementing BGP communities.

Contact NOC