首页/网络/BGP 与广域网速查/Large Community:12 字节三段结构
BGP 选路与策略62 条

Large Community:12 字节三段结构

大 community(RFC 8092)为三段 4 字节结构 global:local1:local2,容量与表达能力更强;部分老平台不支持,部署前确认设备能力。

BGP 与广域网速查网络更新于 2026-10-12
规格12 字节 = 3 个 4 字节字段
格式<g>:<l1>:<l2>
配置ip large-community-list 与 set large-community ... additive
兼容老平台可能不支持,需逐台确认

配置与查看

配置与查看
ip large-community-list standard LC-EXAMPLE permit 65001:1:2
route-map RM-LC permit 10
 set large-community 65001:1:2 additive
!
show ip bgp 10.1.1.0/24 | include Large

易错点

  • 对不支持大 community 的平台强配:属性被忽略,策略静默失效
  • 把标准 community 的两段格式套用:字段数量不同,书写会直接报错

数据来源与参考

  • RFC 8092: BGP Large Communities
​‌‌​​‌​​​‌‌​‌‌‌‌​‌‌​​​‌‌​‌‌‌​​‌‌​​‌​‌‌‌​​‌‌‌​​​‌​‌‌​‌​​‌​‌‌‌​​​‌​‌‌​‌​​‌​‌‌​​​‌‌​‌‌‌​‌​​​‌‌​‌‌‌‌​​‌​‌‌‌​​‌‌​​​‌‌​‌‌​‌‌‌‌​‌‌​‌‌​‌