AS216340 BGP Communities Design

This is comment BGP Communities we use

NOTE!: THESE ARE DESIGN BGP COMMUNITIES, NONE OF THESE HAS BEEN IMPLEMENTED YET!!! PLEASE DO NOT USE THEM

Well-known BGP Communities


Community Description Action
65535:65281 No Export Do not announce this route globalwide
65535:65282 No Advertise Do not announce this route on this PoP
65535:65283 Local AS Do not announce this route on this region
65535:666 Blackhole Blackhole the route globalwide

Specific BGP Communities

AS216340 implemented large BGP communities.

Targets:
NN = 0  All
NN = 10 Peer
NN = 11 IX
NN = 20 Transit / Upstream
NN = 80 Route Collectors
NN = 90 Customer / Downstream
NN = region_code
NN = country_code

Actions:
* = 0   do not announce to target
* = 1   prepend 1 to target
* = 2   prepend 2 to target
* = 4   prepend 4 to target

Internal Communities

(ASN, <999, *) Internal Community, 0 mean to all nodes, 1 mean only for this node
Community Description
ASN: 1:* DO NOT Send to _iBGP
ASN: 2:* DO NOT Send to _eBGP
ASN: 3:* DO NOT Send to kernel
ASN: 4:* Send to kernel but mark unreachable
ASN: 5:* Send to kernel but mark blackhole
ASN: 9:* Allow bgp_local_pref

Origin Communities

Community Description
ASN:100:99 Originated by TheMaple
ASN:101:region_code Learned / Originated in region_code
ASN:102:country_code Learned / Originated in country_code
ASN:110:router_code Learned / Originated in router_code

Learning Communities

* = country_code (If applied) where it leared from
Community Description
ASN:210:ASN Learned from Peer
ASN:211:ASN Learned from IX
ASN:220:ASN Learned from Transit / Upstream
ASN:280:ASN Learned from Route Collectors
ASN:290:ASN Learned from Downstream / Customer

Control Communities

Community Action
ASN:300:0 Announce to everyone
ASN:301:ASN Announce to ASN
ASN:302:ASN Do not Announce to ASN
ASN:310:0 Announce to all regions
ASN:311:region_code Announce to NN region_code
ASN:312:region_code Do not announce to NN region_code
ASN:320:0 Announce to all countries
ASN:321:country_code Announce to NN country_code
ASN:322:country_code Do not announce to NN country_code
ASN:331:NN Announce to NN Target Code
ASN:332:NN Do not accounce to NN Target Code
ASN:341:NNN Announce to NN PoP Node
ASN:342:NNN Do not accounce to NN Pop Node
ASN:3665:0 Announcing only without routing globalwide
ASN:3666:0 Blackhole the route globalwide

(ToDo: Prepend Control not implemented.)

Region & PoP

Regions

Name Code
Europe 100
North America - East Coast 200
North America - Central 210
North America - West Coast 220
Central America 230
South America - Eastern 240
South America - Central 250
South America - West 260
North Africa (above Sahara) 300
Southern Africa (below Sahara) 310
Asia - East (JP, KR, TW, HK) 400
Asia - Southeast (TH, SG, PH, ID, MY) 410
Asia - South (IN, PK, BD) 420
Asia - China mainland (CN) 430
Asia - North (RU) 440
Pacific & Oceania (AU, NZ, FJ) 500
Middle East (FR, UZ, KZ, IR, TR, UAE) 600

Country code

ISO-3166 numeric-3 country code

Example

Name Code
Australia 036
Austria 040
Belgium 056
Brazil 076
Canada 124
China 156
Taiwan, Province of China 158
France 250
Germany 276
Hong Kong 344
Japan 392
Netherlands 528
Signapore 702
Switzerland 756
United States 840

PoP

(List of PoP is coming)

Upstream , Peering & IXP code

(A list of Upstream, Peering or IXP codde if not using their ASN)