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:

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: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
Europe 50263:1914:150 Bulgaria 50263:1913:100 Sofia 50263:1912:120
Czechia 50263:1913:203 Prague 50263:1912:109
France 50263:1913:250 Paris 50263:1912:118
Germany 50263:1913:276 Frankfurt 50263:1912:108
Netherlands 50263:1913:528 Amsterdam 50263:1912:110
Poland 50263:1913:616 Warsaw 50263:1912:107
Katowice 50263:1912:121
Wroclaw 50263:1912:122
Slovakia 50263:1913:703 Bratisava 50263:1912:111
Spain 50263:1913:724 Madrid 50263:1912:119
Ukraine 50263:1913:804 Chernivtsi 50263:1912:117
Bilhorod Dnistrovskyi 50263:1912:125
Dnipro 50263:1912:123
Kharkiv 50263:1912:103
Kyiv 50263:1912:101
Lviv 50263:1912:102
Odesa 50263:1912:105
Poltava 50263:1912:116
Shkarivka 50263:1912:126
Smila 50263:1912:127
Uman 50263:1912:124
Uzhgorod 50263:1912:106
United Kingdom 50263:1913:826 London 50263:1912:112
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


 

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 (50263:1914:150), Ukraine (50263:1913:804) in metro region Kyiv (50263:1912:101) at sw02-nt-kv (50263: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).

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;