CubePath Networks - BGP Communities Reference
This document describes the BGP communities supported by CubePath Networks (AS26141). Customers can attach these communities to prefixes announced to us in order to control how their routes are exported, prepended, and handled across our network.
Table of Contents
- How It Works
- Network Locations
- Local Preference Control
- Blackhole / RTBH
- DDoS Scrubbing
- No-Export Control
- Selective Export Override
- AS-Path Prepending
- MED Handling
- Examples
How It Works
When you announce a prefix to CubePath, you can attach standard BGP communities in the format 26141:XXXXX to control how we handle your route. Communities are processed in the following order:
- Local preference is set based on customer action communities
- No-export communities are evaluated to determine which providers should NOT receive your prefix
- Selective export overrides are applied to force export despite no-export tags
- Prepending communities are applied to influence inbound traffic patterns
- Blackhole communities trigger RTBH if present
Customer routes always receive the highest local preference in our network (200) and are always preferred over transit, IXP, or PNI routes.
Network Locations
CubePath currently operates in the following locations:
| Region | Location | Transits | IXPs |
|---|---|---|---|
| Europe | Barcelona, Spain | Cogent, GTT, NEAR IP | DE-CIX Barcelona |
| Europe | Amsterdam, Netherlands | Cogent, GTT, NEAR IP | Inter-IX, Speed-IX, Frys-IX, PiterIX-FRA, PiterIX-MSK (Moscow), PiterIX-SPB (St. Petersburg) |
| North America | Houston, Texas | Lumen, Cogent, GTT | - |
| North America | Miami, Florida | Cogent, NEAR IP | FL-IX |
| North America | Ashburn, Virginia | Cogent, GTT | - |
1. Local Preference Control
These communities allow you to influence which of our routers prefer your prefix. Useful for active/backup setups when you are multi-homed to CubePath at multiple locations.
| Community | Effect |
|---|---|
26141:8000 | Lowers local-pref to 90 on all routers outside the continent where the prefix is received. Routers on the same continent keep the default local-pref (200). |
26141:8090 | Lowers local-pref to 90 on all routers network-wide. Makes the prefix a global backup. |
Default behavior (no community): Local preference is set to 200 on all routers.
When to use
- Active/Backup across continents: Announce your prefix from both sites. On the backup site, attach
26141:8000so that only routers on the same continent as the backup use it; all other continents prefer the primary. - Global backup: Attach
26141:8090on the backup session to make it the last-resort path everywhere.
2. Blackhole / RTBH
Remote Triggered Black Hole (RTBH) allows you to instruct CubePath and its upstreams to drop all traffic destined to a specific prefix. This is used for DDoS mitigation.
| Community | Effect |
|---|---|
26141:666 | Triggers internal blackhole and signals upstream providers to blackhole the prefix |
65535:666 | Standard RFC 7999 well-known blackhole community. Also accepted. |
Requirements:
- Blackhole announcements must be /32 (IPv4) or /128 (IPv6)
- The prefix must be covered by a less-specific prefix already announced by you
- Both communities are propagated to upstream transit providers that support RTBH
Supported upstream RTBH: Cogent (AS174), Lumen (AS3356), GTT (AS3257), NEAR IP (AS49600).
3. DDoS Scrubbing
If you are under a volumetric DDoS attack and want CubePath to route your traffic through upstream scrubbing services instead of blackholing it, use the scrubbing community.
| Community | Effect |
|---|---|
26141:112 | Activates inline DDoS scrubbing. Traffic to the tagged prefix is routed through dedicated inline filtering appliances that clean malicious traffic and forward legitimate traffic back to you. |
How it works:
- By default, CubePath mitigates volumetric DDoS attacks locally without any community required.
- The
26141:112community routes traffic through dedicated inline filters for deeper inspection and mitigation. - Your IP remains fully reachable — only attack traffic is dropped.
Difference from blackhole:
- Blackhole (
26141:666) drops all traffic to the prefix — the IP becomes unreachable. - Scrubbing (
26141:112) filters attack traffic through inline appliances and delivers legitimate traffic — the IP remains reachable.
Note: This community is only available for customers with the AntiDDoS Premium protection plan.
4. No-Export Control
These communities prevent CubePath from exporting your prefix to specific providers, geographies, or provider types. This gives you fine-grained control over where your routes are visible on the Internet.
Global
| Community | Effect |
|---|---|
26141:9000 | Do not export to any provider (transit, IXP, or PNI) |
By Provider Type
| Community | Effect |
|---|---|
26141:30000 | Do not export to any transit provider |
26141:40000 | Do not export to any IXP |
By Specific Transit Provider
| Community | Provider |
|---|---|
26141:30010 | NEAR IP (AS49600) |
26141:30020 | Lumen (AS3356) |
26141:30030 | Cogent (AS174) |
26141:30040 | GTT (AS3257) |
By Specific IXP
| Community | IXP |
|---|---|
26141:40010 | FL-IX (Miami) |
26141:40020 | Inter-IX (Amsterdam) |
26141:40030 | Speed-IX (Amsterdam) |
26141:40040 | Frys-IX (Amsterdam) |
26141:40050 | PiterIX-FRA (Amsterdam) |
26141:40060 | PiterIX-MSK (Moscow) |
26141:40070 | PiterIX-SPB (St. Petersburg) |
26141:40080 | DE-CIX Barcelona (Barcelona) |
By Geographic Region
Continent level - suppress export at all sites within a continent:
| Community | Region |
|---|---|
26141:51000 | Europe (all EU sites) |
26141:52000 | North America (all NA sites) |
Country / State level - suppress export at all sites within a country or state:
| Community | Location |
|---|---|
26141:51010 | Spain (Barcelona) |
26141:51020 | Netherlands (Amsterdam) |
26141:52010 | Texas (Houston) |
26141:52020 | Florida (Miami) |
26141:52030 | Virginia (Ashburn) |
5. Selective Export Override
These communities override no-export rules. They are useful when you want to suppress export broadly (e.g., to all transits) but still allow export to a specific provider.
Selective export communities are only meaningful when combined with a no-export community. They have no effect on their own.
By Provider Type
| Community | Effect |
|---|---|
26141:9120 | Override no-export for all transit providers |
26141:9110 | Override no-export for all IXPs |
By Specific Transit Provider
| Community | Provider |
|---|---|
26141:9121 | Force export to NEAR IP (AS49600) |
26141:9122 | Force export to Lumen (AS3356) |
26141:9123 | Force export to Cogent (AS174) |
26141:9124 | Force export to GTT (AS3257) |
By Specific IXP
| Community | IXP |
|---|---|
26141:9111 | Force export to FL-IX (Miami) |
26141:9112 | Force export to Inter-IX (Amsterdam) |
26141:9113 | Force export to Speed-IX (Amsterdam) |
26141:9114 | Force export to Frys-IX (Amsterdam) |
26141:9115 | Force export to PiterIX-FRA (Amsterdam) |
26141:9116 | Force export to PiterIX-MSK (Moscow) |
26141:9117 | Force export to PiterIX-SPB (St. Petersburg) |
26141:9118 | Force export to DE-CIX Barcelona (Barcelona) |
6. AS-Path Prepending
These communities instruct CubePath to prepend its own ASN (26141) to the AS-PATH when announcing your prefix to specific providers or regions. This makes the path appear longer, causing remote networks to prefer shorter paths through other providers or locations.
Global Prepending
Applied to all providers (transits and IXPs) at all sites:
| Community | Effect |
|---|---|
26141:9001 | Prepend 1x to all providers everywhere |
26141:9002 | Prepend 2x to all providers everywhere |
26141:9003 | Prepend 3x to all providers everywhere |
Geographic Prepending - By Continent
Applied to all providers at sites within the specified continent:
| Community | Effect |
|---|---|
26141:51001 | Prepend 1x at all European sites |
26141:51002 | Prepend 2x at all European sites |
26141:51003 | Prepend 3x at all European sites |
26141:52001 | Prepend 1x at all North American sites |
26141:52002 | Prepend 2x at all North American sites |
26141:52003 | Prepend 3x at all North American sites |
Geographic Prepending - By Country / State
Applied to all providers at sites within the specified country or state:
| Community | Effect |
|---|---|
26141:51011 | Prepend 1x at Spain (Barcelona) |
26141:51021 | Prepend 1x at Netherlands (Amsterdam) |
26141:52011 | Prepend 1x at Texas (Houston) |
26141:52021 | Prepend 1x at Florida (Miami) |
26141:52031 | Prepend 1x at Virginia (Ashburn) |
Note: Prepend 2x and 3x variants are also available for each country/state following the same pattern (replace the last digit: 1 = 1x prepend, 2 = 2x, 3 = 3x).
Provider-Specific Prepending - Transit
Applied only when exporting to the specified transit provider:
| Community | Effect |
|---|---|
26141:30011 | Prepend 1x to NEAR IP (AS49600) |
26141:30012 | Prepend 2x to NEAR IP |
26141:30013 | Prepend 3x to NEAR IP |
26141:30021 | Prepend 1x to Lumen (AS3356) |
26141:30022 | Prepend 2x to Lumen |
26141:30023 | Prepend 3x to Lumen |
26141:30031 | Prepend 1x to Cogent (AS174) |
26141:30032 | Prepend 2x to Cogent |
26141:30033 | Prepend 3x to Cogent |
26141:30041 | Prepend 1x to GTT (AS3257) |
26141:30042 | Prepend 2x to GTT |
26141:30043 | Prepend 3x to GTT |
Provider-Specific Prepending - IXP
Applied only when exporting to the specified IXP:
| Community | Effect |
|---|---|
26141:40011 | Prepend 1x to FL-IX (Miami) |
26141:40012 | Prepend 2x to FL-IX |
26141:40013 | Prepend 3x to FL-IX |
26141:40021 | Prepend 1x to Inter-IX (Amsterdam) |
26141:40022 | Prepend 2x to Inter-IX |
26141:40023 | Prepend 3x to Inter-IX |
26141:40031 | Prepend 1x to Speed-IX (Amsterdam) |
26141:40032 | Prepend 2x to Speed-IX |
26141:40033 | Prepend 3x to Speed-IX |
26141:40041 | Prepend 1x to Frys-IX (Amsterdam) |
26141:40042 | Prepend 2x to Frys-IX |
26141:40043 | Prepend 3x to Frys-IX |
26141:40051 | Prepend 1x to PiterIX-FRA (Amsterdam) |
26141:40052 | Prepend 2x to PiterIX-FRA |
26141:40053 | Prepend 3x to PiterIX-FRA |
26141:40061 | Prepend 1x to PiterIX-MSK (Moscow) |
26141:40062 | Prepend 2x to PiterIX-MSK |
26141:40063 | Prepend 3x to PiterIX-MSK |
26141:40071 | Prepend 1x to PiterIX-SPB (St. Petersburg) |
26141:40072 | Prepend 2x to PiterIX-SPB |
26141:40073 | Prepend 3x to PiterIX-SPB |
26141:40081 | Prepend 1x to DE-CIX Barcelona (Barcelona) |
26141:40082 | Prepend 2x to DE-CIX Barcelona |
26141:40083 | Prepend 3x to DE-CIX Barcelona |
7. MED Handling
CubePath honors MED (Multi-Exit Discriminator) values set by customers. Your MED is never modified on inbound and is preserved throughout our network.
Use case: If you are multi-homed to CubePath at multiple sites and want fine-grained control over which site is preferred, set MED values on your announcements. Lower MED = more preferred.
Example:
Your prefix 10.0.0.0/24:
- Announced from Miami with MED = 50 (preferred)
- Announced from Houston with MED = 100 (backup)
Result: All CubePath routers prefer the Miami path.
Note: MED comparison only applies when comparing paths with equal local preference and AS-path length. Since all customer routes have local-pref 200, MED is the tiebreaker between multiple paths from the same customer.
8. Examples
Example 1: Announce only to Cogent
Suppress export to everyone, then selectively allow Cogent:
Communities: 26141:9000, 26141:9123
26141:9000= Do not export to anyone26141:9123= Override: force export to Cogent
Result: Your prefix is only visible via Cogent (AS174).
Example 2: Announce everywhere except IXPs
Communities: 26141:40000
26141:40000= Do not export to any IXP
Result: Your prefix is announced to all transits but no IXPs.
Example 3: Prefer European traffic via Amsterdam, US traffic via Houston
From your Amsterdam session, announce normally (no communities). From your Houston session, announce with:
Communities: 26141:51001
26141:51001= Prepend 1x at all European sites
Result: European networks see a shorter path via Amsterdam (no prepend) and a longer path via Houston's European announcements (1x prepend). US networks see both paths without prepending.
Example 4: Backup site in Miami
From your primary site (e.g., Houston), announce normally. From Miami, announce with:
Communities: 26141:8000
26141:8000= Lower local-pref beyond region
Result: All routers in North America use the Miami path normally (local-pref 200). European routers will prefer the Houston path (local-pref 200) over the Miami path (local-pref 90).
Example 5: DDoS mitigation - blackhole a /32
If you are under attack on 203.0.113.42:
Announce: 203.0.113.42/32
Communities: 26141:666
Result: CubePath and its upstream providers drop all traffic to 203.0.113.42. Remove the announcement to restore traffic.
Example 6: No-export to a specific region
Announce everywhere except from North American sites:
Communities: 26141:52000
26141:52000= Do not export at North American sites
Result: Your prefix is only announced to European providers (Barcelona, Amsterdam). North American providers (Houston, Miami, Ashburn) will not receive the prefix.
Example 7: Provider-specific prepending
Make Lumen's path less preferred than other transits:
Communities: 26141:30022
26141:30022= Prepend 2x to Lumen
Result: Lumen sees AS-PATH 26141 26141 26141 <your-asn>, while other transits see 26141 <your-asn>. Networks with multiple paths will prefer non-Lumen paths.
Support
For questions about BGP communities or traffic engineering, contact CubePath support at [email protected] or open a ticket via the customer portal.


