BGP Communities – Knowledgebase

Inter.link offers a cross-continental 100G network with high-quality connectivity to carriers, content providers, and internet exchanges. ​ This section explains Inter.link’s BGP communities for traffic engineering. BGP communities are provided on a best effort basis and not subject to product-specific SLAs. They are subject to change and customers and peers should check this site for updates.

BGP Origin Communities

Learned BGP routes are tagged at ingress with origin communities. These have informational value and indicate where a prefix was learned and from whom. The corresponding IDs are listed in the Appendix shown below.
CommunityPurposeRemarks
5405:PLearned from peer type (P)Customers, Transit, Peering or PNI
5405:1RLearned at scope continent (1), on continent (R)
5405:2CCLearned at scope country (2), in country (CC)
5405:3ZZZLearned at scope city (3), in city (ZZZ)
5405:4SSSLearned at scope PoP (4), in PoP (SSS)
Examples The community combination 5405:3 5405:15 5405:208 5405:3003 5405:4004 attached to a route tells the following about the origin:
CommunityExplanation
5405:3Peering IXP (3)
5405:15continent (1) Europe (5)
5405:208country (2) Germany (08)
5405:3003city (3) Berlin (003)
5405:4004PoP (4) BER1-DE (004)

    BGP Signalling Communities

    BGP Large Communities can be used to control the behaviour of the routing service. Multiple of them can be attached to a single BGP announcement. They are stripped upon annuncement to other peers.
    AbbreviationNameRemarks
    RContinent Identifier0 = all continents (1)
    CCCountry Identifier00 = all countries (1)
    ZZZCity Identifier000 = all cities (1)
    PPeer Type Identifier0 = all peer types (1)
    AAA4 Byte ASN0 = all ASNs (1)
    ¹ Only applies to AS-path prepending and propagation restriction, not to (selective) blackholing.  

    PATH PREPENDING COMMUNITIES

    • Path prepends of the ASN 5405 are supported up to three times (x = 1, 2, 3).
    • Prepends within a scope (e. g. country) are non-additive, the lower value is processed.
    • Prepends in multiples scopes (e. g. country and city) are additive.
    • Prepending (x = 1, 2, 3) supersedes filtering (x = 9).
    CommunityPurpose
    5405:1 RPx:AAAscope continent (1), continent, peer type, prepend x times to ASN
    5405:2 CCPx:AAAscope country (2), country, peer type, prepend x times to ASN
    5405:3 ZZZPx:AAAscope city (3), city, peer type, prepend x times to ASN

    RESTRICT PROPAGATION

    CommunityPurpose
    5405:1 RP9:AAAscope continent (1), continent, peer type, do not advertise (9) to ASN
    5405:2 CCP9:AAAscope country (2), country, peer type, do not advertise (9) to ASN
    5405:3 ZZZP9:AAAscope city (3), city, do not advertise (9) to ASN

    WELL-KNOWN COMMUNITIES

    The following well-known communities are honoured.
    CommunityPurposeRemarks
    GRACEFUL_SHUTDOWN (65535:0)lower local-pref to 1RFC8326
    BLACKHOLE (65535:666)blackhole traffic, see RTBHRFC7999
    NO_EXPORT (65535:65281)do not announce to any other ASNRFC1997
    NO_ADVERTISE (65535:65282)do not announce beyond receiving PE routerRFC1997
    Altering of LOCAL_PREF (5405:30)decrease local-pref by 30RFC1998
    Altering of LOCAL_PREF (5405:50)decrease local-pref by 50RFC1998

    REMOTE TRIGGERED BLACKHOLING (RTBH)

    We support Remote Triggered Blackholing (RTBH) announcements that can activate across our global backbone, or more specific regions of it, depending on the attached community. See below for examples for choosing the right region. RTBH announcements are discarded if the prefix isn’t covered by the prefix filters configured for the peer announcing the route.
    CommunityPurposeRemarks
    65535:666Global RTBHwell-known community defined in RFC7999
    5405:666:1RRTBH inside a continent (R)
    5405:666:2CCRTBH inside a country (CC)
    5405:666:3ZZZRTBH inside a city (ZZZ)

    The accepted IDs for R,CC,ZZZ can be found in the Appendix below.

     

    If the scope of the selective blackholing matches the only origin of the route, a global blackhole is the result.

    Permitted prefix length range for RTBH routes is restricted to /20 to /32 for IPv4 and /48 to /128 for IPv6. Routes with the well-known community 65535:666 are propagated to other peer/upstream ASNs as well.

    For peers supporting the BLACKHOLE community, different blackhole route prefix lengths might lead to different results:

    • Announcements carrying Hostroutes (IPv4 /32 and IPv6 /128) are usually accepted and the traffic is dropped in the peer network.
    • Announcements carrying IPv4 prefixes with a length between /20 and /32 or IPv6 prefixes with a length between /48 and /128 might be accepted or rejected depending on the peer’s routing policy.

    EXAMPLES

    CommunityExplanation
    5405:1002:65550scope continent (1), all continents (0), all peer types (0), prepend twice (2), to ASN 65550
    5405:1539:0scoper continent (1), Europe (5), all IXP peerings (3), do not announce (9), all ASNs (0)
    5405:666:3003Selective Blackhole, scope city (3), city Berlin (003)
    5405:21749:0scope country (2), Spain (17), PNI peerings (4), do not advertise (9), all (0)
    5405:1039:0scope continent (1), all continents (0), IXP peerings (3), do not announce (9), all ASNs (0)
    5405:1049:0scope continent (1), all continents (0), PNI peerings (4), do not announce (9), all ASNs (0)
    5405:1039:0 5405:1049:0The combination of these two communities mimics NOPEER community

    APPENDIX

    Continent IDs

    Continent ID (R)Continent Name
    1Africa
    2Antarctica
    3Asia
    4Australia
    5Europe
    6North America
    7Central America
    8South America

    Country IDs

    Country NameCountry ID (CC)
    Australia1
    Austria2
    China3
    Czechia4
    Denmark5
    Finland6
    France7
    Germany8
    Hong Kong9
    Ireland10
    Italy11
    Japan12
    Netherlands13
    Norway14
    Portugal15
    Singapore16
    Spain17
    Sweden18
    Switzerland19
    United Arab Emirates20
    United Kingdom of Great Britain and Northern Ireland21
    United States of America22
    Hungary23
    Slovenia24
    Romania25
    Bulgaria26
    Greece27

    City IDs

    City NameCity ID (ZZZ)

    Amsterdam

    001

    Ashburn

    002

    Berlin

    003

    Copenhagen

    004

    Dubai

    005

    Dublin

    006

    Dusseldorf

    007

    Frankfurt

    008

    Helsinki

    009

    Hongkong

    010

    Lisbon

    011

    London

    012

    Los Angeles

    013

    Madrid

    014

    Miami

    015

    Milan

    016

    Munich

    017

    New York

    018

    Nuremberg

    019

    Oslo

    020

    Paris

    021

    Prague

    022

    Seattle

    023

    Silicon Valley

    024

    Singapore

    025

    Stockholm

    026

    Stuttgart

    027

    Sydney

    028

    Tokyo

    029

    Vienna

    030

    Zurich

    031

    Marseille

    032

    Budapest

    033

    Ahrensburg

    034

    Hamburg

    035

    Reston

    036

    Ljubljana

    037

    Bucharest

    038

    Aarhus

    039

    Skanderborg

    040

    Sofia041
    Thessaloniki042

    PoP IDs

    PoP NamePoP ID (SSS)

    AMS1-NL

    1

    AMS2-NL

    2

    ASH1-US

    3

    BER1-DE

    4

    BER2-DE

    6

    BER3-DE

    7

    BER4-DE

    8

    CPH1-DK

    14

    DUB1-IE

    15

    DUS1-DE

    16

    FRA1-DE

    18

    FRA2-DE

    19

    FRA3-DE

    20

    LON1-GB

    24

    MAD1-ES

    26

    MIL1-IT

    28

    MUC1-DE

    29

    NUE1-DE

    30

    NYC1-US

    31

    PAR1-FR

    33

    PRG1-CZ

    34

    SEA1-US

    35

    STO1-SE

    38

    STO2-SE

    39

    STR1-DE

    40

    VIE1-AT

    43

    VIE2-AT

    44

    ZRH1-CH

    45

    MRS1-FR

    47

    BUD1-HU

    48

    AHR1-DE

    49

    HAM1-DE

    50

    RTV1-US

    51

    LJU1-SI

    52

    BUH1-RO

    53

    AAR1-DK

    54

    AAR2-DK

    55

    CPH2-DK

    56

    CPH3-DK

    57

    SKG1-DK

    58

    SKG2-DK

    59

    MUC2-DE

    60

    SOF1-BG

    61

    SKG1-GR

    62

    QAS1-US

    69

    Peer Type IDs

    Peer Type ID (P)Peer Type Name
    1Customers
    2Transit
    3Peering IXP and IXP Router Servers
    4Peering PNI