跳到主要内容

7.6. ES-Import Route Target (ES-Import 路由目标)

7.6. ES-Import Route Target (ES-Import 路由目标)

这是一个新的传递性 Route Target extended community, 与 Ethernet Segment route 一起携带。使用时, 它使连接到同一多宿主站点的所有 PEs 能够导入 Ethernet Segment routes。该值对于 ESI Types 1, 2 和 3 自动派生, 方法是在 ES-Import Route Target 中对 9 个八位字节 ESI Value 的高位 6 个八位字节部分进行编码, 该部分对应于 MAC 地址。此 Extended Community 的格式如下:

0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

    | Type=0x06     | Sub-Type=0x02 |          ES-Import            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ES-Import Cont'd |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

本文档扩展了 Route Target extended community 的定义, 允许高位八位字节 (Type 字段) 的值为 0x06 (除了 [RFC4360] 中指定的值之外)。低位八位字节 (Sub-Type 字段) 值 0x02 表示此 Extended Community 的类型为 "Route Target"。新的 Type 字段值 0x06 表示此 RT 的结构是 6 个八位字节的值 (例如 MAC 地址)。实现 RT Constraint [RFC4684] 的 BGP speaker 必须将 RT Constraint 过程应用于 ES-Import RT。

有关此属性的过程和用法, 请参阅第 8.1 节 ("Multihomed Ethernet Segment Auto-discovery")。