Informational BGP communities

Route origin

The route server will mark all routes with certain BGP Communities to indicate their origin. You can use this information to determine where a certain route has been injected into the 1-IX EU switching platform. This gives you the option to filter routes learned from the route servers based on geographical location. 

Currently we mark the following information:

Switch: Indicates at which switch a route has been injected into the 1-IX EU platform. We tag the corresponding edge switch of the port.

  • Example: sw02-eqx-waw

Metro: The metropolitan region corresponding to the switch.

  • Example: Warsaw

Country: The country corresponding to the above ( UN M49 format).

  • Example: Poland

Continent: The continent corresponding to the above ( UN M49 format).

  • Example: Europe

This means that every route you will learn from the route servers will have four (additional) Large BGP Communities attached which indicate location information.

To avoid ambiguity about the semantics of a certain BGP Community, especially when being present multiple times, we strip all BGP Communities from the range that we use for route origin tagging on import. This is:                 
 

  • Large Communities
    • 50263:1911:*
    • 50263:1912:*
    • 50263:1913:*
    • 50263:1914:*

where 50263 is the corresponding route server ASN at 1-IX EU IXP.

Overview

Continent Continent BGP Community Country Country BGP Community Metro (access locations) Metro BGP Community Switch Switch BGP Community
Europe 50263:1914:150 Czechia 50263:1913:203 Prague 50263:1912:109 sw01-cecolo-pra 50263:1911:81
    Germany 50263:1913:276 Frankfurt 50263:1912:108 sw01-eqx-fr5 50263:1911:60
            sw02-eqx-fr5 50263:1911:61
            sw03-eqx-fr5 50263:1911:62
    Netherlands 50263:1913:528 Amsterdam 50263:1912:110 sw01-eqx-am5 50263:1911:30
            sw02-eqx-am5 50263:1911:52
            sw03-eqx-am5 50263:1911:57
            sw04-eqx-am5 50263:1911:64
            sw01-nikhef-ams 50263:1911:68
            sw02-nikhef-ams 50263:1911:69
    Poland 50263:1913:724 Warsaw 50263:1912:107 sw01-eqx-waw 50263:1911:23
            sw02-eqx-waw 50263:1911:45
            sw03-eqx-waw 50263:1911:28
            sw04-eqx-waw 50263:1911:76
            sw01-atm-waw2 50263:1911:53
            sw02-atm-waw2 50263:1911:77
            sw01-atm-waw1 50263:1911:67
            sw02-atm-waw1 50263:1911:53
    Slovakia 50263:1913:703 Bratisava 50263:1912:111 sw01-sit-bra 50263:1911:74
            sw02-sit-bra 50263:1911:75
    Ukraine 50263:1913:804 Kharkiv 50263:1912:103 sw01-pit-kh 50263:1911:70
        Kyiv 50263:1912:101 sw02-nt-kv 50263:1911:21
            sw03-nt-kv 50263:1911:22
            sw04-nt-kv 50263:1911:27
            sw05-nt-kv 50263:1911:34
            sw02-uk-kv 50263:1911:18
            sw03-uk-kv 50263:1911:20
            sw04-uk-kv 50263:1911:32
            sw02-l9-kv 50263:1911:15
            sw03-l9-kv 50263:1911:16
            sw04-l9-kv 50263:1911:19
            sw05-l9-kv 50263:1911:39
            sw01-d10-kv 50263:1911:36
            sw01-den-kv 50263:1911:71
        Lviv 50263:1912:102 sw01-sk11-lviv 50263:1911:42
            sw02-sk11-lviv 50263:1911:49
            sw01-d41-lviv 50263:1911:56
            sw02-d41-lviv 50263:1911:66
        Odesa 50263:1912:105 sw03-tr-od 50263:1911:40
            sw04-tr-od 50263:1911:65
            sw01-bug-od 50263:1911:58
            sw02-bug-od 50263:1911:59
        Uzhgorod 50263:1912:106 sw01-mik15-uzh 50263:1911:73
    United Kingdom 50263:1913:826 London 50263:1912:112 sw01-eqx-ld8 50263:1911:78
            sw02-eqx-ld8 50263:1911:79
            sw03-eqx-ld8 50263:1911:80
Asia 50263:1914:142            
Africa 50263:1914:2            
North America 50263:1914:21            
South America 50263:1914:419            
Australia 50263:1914:36            
Unknown continent 50263:1914:65535 Unknown Country 50263:1913:65535 Unknown Metro 50263:1912:65535 Unknown Switch 50263:1911:65535


 

Please note: If the exact location of a customer cannot be determined from the 1-IX EU database, or in certain special cases, we mark these routes with 6510{1-4}:65535 and 50263:191{1-4}:65535, meaning "unknown".

Examples

Example 1

A route has the following BGP Communities attached to it:

  • 50263:1914:150
  • 50263:1913:804
  • 50263:1912:101
  • 50263:1911:21

From these BGP Communities you can deduce that this particular route has been injected in Europe (6695:1914:150), Ukraine (6695:1913:804) in metro region Kyiv (6695:1912:101) at sw02-nt-kv (6695:1911:21) at 1-IX EU (ASN 50263).

Example 2

A route has the following BGP Communities attached to it:

  • 50263:1914:150
  • 50263:1913:724
  • 50263:1912:107
  • 50263:1911:45

From these BGP Communities you can deduce that this particular route has been injected in Europe (50263:1914:150), Poland (50263:1913:724) in metro region Warsaw (50263:1912:107) at sw02-eqx-waw (50263:1911:45).

Filtering Example 1

If you would like to receive only Ukrainian routes and filter all the others, you can accept only 50263:1913:804 ,and reject others.

set policy-options community 1-IX-EU-import-Ukraine members large:50263:1913:804  
set policy-options policy-statement import-1-IX-EU term 1 from community 1-IX-EU-import-Ukraine  
set policy-options policy-statement import-1-IX-EU term 1 then accept  
set policy-options policy-statement import-1-IX-EU then reject  
show | compare  
[edit policy-options]  
+ policy-statement import-1-IX-EU {  
+    term 1 {  
+       from community 1-IX-EU-from-Ukraine;  
+       then accept;  
+    }  
+    then reject;  
+ }  
[edit policy-options]  
+ community 1-IX-EU-import-Ukraine members large:50263:1913:804  
 


 

Filtering Example 2

If you would like to receive all European routes and filter the United Kingdom and Slovakian , you can reject 50263:1913:826 and 50263:1913:703 and then accept only 50263:1914:150

set policy-options community 1-IX-EU-import-UK members large:50263:1913:826   
set policy-options community 1-IX-EU-import-Slovakia members large:50263:1913:703  
set policy-options community 1-IX-EU-import-Europe members large:50263:1914:150  
set policy-options policy-statement import-1-IX-EU term 1 from community 1-IX-EU-import-UK  
set policy-options policy-statement import-1-IX-EU term 1 from community 1-IX-EU-import-Slovakia  
set policy-options policy-statement import-1-IX-EU term 1 then reject  
set policy-options policy-statement import-1-IX-EU term 2 from community 1-IX-EU-import-Europe  
set policy-options policy-statement import-1-IX-EU term 2 then accept  
set policy-options policy-statement import-1-IX-EU then reject  
# show | compare  
[edit policy-options]  
+ policy-statement import-1-IX-EU {  
+    term 1 {  
+       from community [ 1-IX-EU-import-UK 1-IX-EU-import-Slovakia ];  
+       then reject;  
+    }  
+    term 2 {  
+       from community 1-IX-EU-import-Europe;  
+       then accept;  
+    }  
+    then reject;  
+ }  
[edit policy-options]  
+ community 1-IX-EU-import-Europe members large:50263:1914:150;  
+ community 1-IX-EU-import-Slovakia members large:50263:1913:703;  
+ community 1-IX-EU-import-UK members large:50263:1913:826;