# Axivora Connect Ltd · AS204539 BGP Communities All communities below are customer-facing and can be combined as needed. --- ## Action Bitmask | Bit | Meaning | Notes | | --- | ------- | ----- | | 0 | Do not announce to target | Also used as "disable" action. | | 1 | Prepend 1 time | | | 2 | Prepend 2 times | | | 4 | Prepend 4 times | | | 8 | Prepend 8 times | | > **Bitmask primer:** The prepend flags (1/2/4/8) follow a binary mask. Sum the values to produce the total prepend count (e.g. 1 + 2 + 8 = 11 prepends). --- ## Scope Selectors | Pattern | Scope | Description | | ------- | ----- | ----------- | | `(204539, 807, 0)` | All backbone nodes | Apply to every Axivora edge/router. | | `(204539, 807, 1)` | Single router | Apply only to the direct connect node. | --- ## Internal Route Handling Communities | Community | Purpose | | --------- | ------- | | `(204539, 1, *)` | Do not send to iBGP | | `(204539, 2, *)` | Do not send to eBGP | | `(204539, 3, *)` | Do not send to kernel | | `(204539, 4, *)` | Send to kernel but mark unreachable | | `(204539, 5, *)` | Send to kernel but mark blackhole | | `(204539, 101, *)` | Allow `bgp_local_perf` | | `(204539, 201, *)` | Transit routes | | `(204539, 202, *)` | IXP route-server routes | | `(204539, 203, *)` | Peer routes | | `(204539, 204, *)` | Customer routes | | `(204539, 209, *)` | iBGP routes | --- `*` in the third field represents "any action bitmask" as defined above. ## Control Communities | Community Pattern | Description | | ----------------- | ----------- | | `(204539, 1*00, 0)` | Apply action to everyone | | `(204539, 1*01, )` | Exclude the action for a specific ASN | | `(204539, 1*02, )` | Apply the action only to the specified ASN | | `(204539, 1*10, 0)` | Apply action to every region | | `(204539, 1*11, )` | Exclude the action from a specific region | | `(204539, 1*12, )` | Apply the action only to the specified region | | `(204539, 1019, 0)` | Reset regional filters (overrides `(204539, 1010, 0)` blocks) | | `(204539, 1*20, 0)` | Apply action to every country | | `(204539, 1*21, )` | Exclude the action from a specific country | | `(204539, 1*22, )` | Apply the action only to the specified country | | `(204539, 1*30, 1)` | Target upstreams | | `(204539, 1*30, 2)` | Target IXP route servers | | `(204539, 1*30, 3)` | Target peers | | `(204539, 1*30, 4)` | Target downstreams | | `(204539, 1*30, 8)` | Target route collectors | `*` in the second field represents "any action bitmask" as defined above. > **Precedence:** If both `(204539, 1010, 0)` ("block all regions") and `(204539, 1019, 0)` ("reset regional filters") are present, `(204539, 1019, 0)` wins and re-enables announcements globally. --- ## Usage Examples ```text Prepend 11 times to AS13335: (204539, 1102, 13335) # prepend 1 time to AS13335 (204539, 1202, 13335) # prepend 2 times to AS13335 (204539, 1802, 13335) # prepend 8 times to AS13335 => 1 + 2 + 8 = 11 prepend times Prepend 2 to everyone except AS13335: (204539, 1200, 0) # prepend 2 to everyone (204539, 1201, 13335) # exclude AS13335 from that action Do not announce to anyone: (204539, 1000, 0) Announce to Europe only: (204539, 1010, 0) # block all regions (204539, 1011, 41) # re-allow region 41 (Europe, Amsterdam) ``` --- ## Informational Communities | Community | Meaning | | --------- | ------- | | `(204539, 10000, )` | Route received from region `` | | `(204539, 10001, )` | Route received from country `` | --- ## Region Codes (Axivora Datacenters) | Code | Region | | ---- | ------ | | 41 | Europe (Axivora - Amsterdam) | | 42 | North America - East | | 43 | North America - Central | | 44 | North America - West | | 45 | Central America | | 46 | South America - Central | | 47 | South America - West | | 48 | Africa - North (above Sahara) | | 49 | Africa - South (below Sahara) | | 50 | Asia - South (IN, PK, BD) | | 51 | Asia - Southeast (TH, SG, PH, ID, MY) | | 52 | Asia - East (JP, KR, TW, HK, CN) | | 53 | Pacific & Oceania (AU, NZ, FJ) | | 54 | Antarctica | | 55 | Asia - North (RU) | | 56 | Asia - West (IR, TR, UAE) | | 57 | Central Asia (AF, UZ, KZ) | --- ## Country Codes Use ISO-3166 numeric-3 codes for country-based selectors. Other formats are not guaranteed to match. --- ## 社区参考 (中文) 下列社区均供客户使用,可按需求组合。 ### 动作位掩码 | 位 | 含义 | 说明 | | --- | --- | --- | | 0 | 不向目标发布 | 用于禁止传播。 | | 1 | AS Path 前置 1 次 | | | 2 | AS Path 前置 2 次 | | | 4 | AS Path 前置 4 次 | | | 8 | AS Path 前置 8 次 | 1 + 2 + 8 = 11 次前置。 | > 前置位 (1/2/4/8) 遵循二进制叠加,可组合成任意前置次数。 ### 作用范围选择 | 模式 | 范围 | 描述 | | --- | --- | --- | | `(204539, 807, 0)` | 所有骨干节点 | 作用于所有 Axivora 边界/骨干路由。 | | `(204539, 807, 1)` | 当前节点 | 仅作用于直接连接的节点。 | `*` 表示第三个字段可填写任意动作位掩码。 ### 内部路由处理社区 | Community | 用途 | | --- | --- | | `(204539, 1, *)` | 不向 iBGP 发布 | | `(204539, 2, *)` | 不向 eBGP 发布 | | `(204539, 3, *)` | 不写入内核路由 | | `(204539, 4, *)` | 写入内核但标记不可达 | | `(204539, 5, *)` | 写入内核但标记黑洞 | | `(204539, 101, *)` | 允许 `bgp_local_perf` | | `(204539, 201, *)` | Transit 路由 | | `(204539, 202, *)` | IXP Route Server 路由 | | `(204539, 203, *)` | 对等体路由 | | `(204539, 204, *)` | 客户路由 | | `(204539, 209, *)` | iBGP 路由 | ### 控制社区 | Community 模式 | 说明 | | --- | --- | | `(204539, 1*00, 0)` | 对所有对象执行动作 | | `(204539, 1*01, )` | 对指定 ASN 停止动作 | | `(204539, 1*02, )` | 仅对指定 ASN 执行动作 | | `(204539, 1*10, 0)` | 对所有区域执行动作 | | `(204539, 1*11, )` | 对指定区域停止动作 | | `(204539, 1*12, )` | 仅对指定区域执行动作 | | `(204539, 1019, 0)` | 重置区域过滤 (覆盖 `(204539, 1010, 0)`) | | `(204539, 1*20, 0)` | 对所有国家执行动作 | | `(204539, 1*21, )` | 对指定国家停止动作 | | `(204539, 1*22, )` | 仅对指定国家执行动作 | | `(204539, 1*30, 1)` | 作用于上游 | | `(204539, 1*30, 2)` | 作用于 IXP Route Server | | `(204539, 1*30, 3)` | 作用于对等体 | | `(204539, 1*30, 4)` | 作用于下游 | | `(204539, 1*30, 8)` | 作用于路由采集器 | `*` 表示第二个字段使用任意动作位掩码 (0、1、2、4、8 及其组合) ### 使用示例 ``` 为 AS13335 前置 11 次: (204539, 1102, 13335) # 前置 1 次 (204539, 1202, 13335) # 前置 2 次 (204539, 1802, 13335) # 前置 8 次 => 1 + 2 + 8 = 11 次 除 AS13335 外全部前置 2 次: (204539, 1200, 0) # 对所有对象前置 2 次 (204539, 1201, 13335) # 排除 AS13335 不向任何对象发布: (204539, 1000, 0) 仅向欧洲区域发布: (204539, 1010, 0) # 阻止所有区域 (204539, 1011, 41) # 重新允许 41 区域 (欧洲,阿姆斯特丹) ``` ### 信息类社区 | Community | 含义 | | --- | --- | | `(204539, 10000, )` | 路由来源于指定区域 | | `(204539, 10001, )` | 路由来源于指定国家 | ### 区域代码 | 代码 | 区域 | | --- | --- | | 41 | 欧洲 (Axivora - 阿姆斯特丹) | | 42 | 北美东部 | | 43 | 北美中部 | | 44 | 北美西部 | | 45 | 中美洲 | | 46 | 南美中部 | | 47 | 南美西部 | | 48 | 非洲北部 (撒哈拉以北) | | 49 | 非洲南部 (撒哈拉以南) | | 50 | 亚洲南部 (印度、巴基斯坦、孟加拉) | | 51 | 亚洲东南部 (泰国、新加坡、菲律宾、印度尼西亚、马来西亚) | | 52 | 亚洲东部 (日本、韩国、台湾、香港、中国) | | 53 | 太平洋及大洋洲 (澳大利亚、新西兰、斐济) | | 54 | 南极洲 | | 55 | 亚洲北部 (俄罗斯) | | 56 | 亚洲西部 (伊朗、土耳其、阿联酋) | | 57 | 中亚 (阿富汗、乌兹别克斯坦、哈萨克斯坦) | ### 国家代码 请使用 ISO-3166 数字三位国家代码,其他格式不保证识别。