Region Codes
Geographic region codes used in AS203314 BGP communities for area-based routing policies.
Regions are grouped by geographic area with 2-digit codes used in community strings like 203314:130:XX and 203314:201:XX.
Usage: These codes identify geographic regions in internal communities (130:XX, 135:XX) and control communities (201:XX).
Region Code Reference
| Region Name | Area | Code | Notes |
|---|---|---|---|
| Asia | West | 100 | Hong Kong, Taiwan |
| Asia | East | 150 | Japan, Singapore |
| Europe | West | 200 | UK, Ireland, France |
| Europe | East | 250 | Germany, Netherlands, Russia |
| Americas | North | 300 | USA, Canada |
| Americas | South | 350 | Brazil, Argentina |
| Australia | West | 400 | Perth |
| Australia | East | 450 | Melbourne, Sydney |
| Antarctica | - | 500 | Research networks |
Regional Groupings
Asia (100, 150)
Asia West (100): Hong Kong, Taiwan, mainland China
Asia East (150): Japan, Korea, Singapore, Southeast Asia
Europe (200, 250)
Europe West (200): UK, Ireland, France, Benelux, Iberia
Europe East (250): Germany, DACH, Netherlands, Nordics, Eastern Europe
Americas (300, 350)
North America (300): United States, Canada, Mexico
South America (350): Brazil, Argentina, Chile, Colombia
Oceania (400, 450)
Australia West (400): Western Australia
Australia East (450): Eastern states (NSW, VIC, QLD)
Using Region Codes
In Internal Communities
Identify where a route was learned:
203314:130:100 → Learned in Asia West
203314:130:150 → Learned in Asia East
203314:130:300 → Learned in North AmericaIn Control Communities
Control geographic propagation:
# Keep within Asia only
203314:2:1 # Disable cross-region
203314:201:300 # Exclude North America
203314:201:200 # Exclude EuropeRegional Filtering Examples
Accept only Asian routes:
# Allow only Asia West and Asia East
if (community matches 203314:130:1*) then accept
else rejectPrefer local region:
# Higher local preference for Asia West
if (community matches 203314:130:100) then localpref 200
if (community matches 203314:130:150) then localpref 150
if (community matches 203314:130:300) then localpref 100Related Information
- PoP Codes — Specific location codes within regions
- Internal Communities — Using region codes in location-based communities
- Control Communities — Using region codes in traffic engineering
Tip: Region codes are ideal for high-level geographic traffic engineering when you don't need PoP-level granularity.