跳到主要内容

2. BGP CAR SAFI Part 2 (续)

本页补充 BGP CAR SAFI 的 encoding, LCM-EC 与 Color-EC 使用, 以及 error handling 细节.

LCM-EC 在跨 color domain 时表达本地 color mapping. 当 route 进入新 domain 时, boundary router 可按 local policy 添加或更新 LCM-EC, 使 downstream node 使用本 domain 的 color 进行 next-hop resolution 和 service steering.

Color-EC 用于 automated resolution. 如果 BGP CAR route 携带 Color-EC, 解析 next hop 时优先使用 Color-EC 指示的 color, 而不是 NLRI 中的 intent color. Local policy 始终优先于自动 color-based resolution.

对 malformed NLRI, unknown TLV 或不一致 key length, 实现应按 BGP UPDATE error handling 处理, 优先采用 treat-as-withdraw, 避免 session reset 造成更大范围收敛影响.