Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products

Dell EMC SmartFabric OS10 User Guide Release 10.5.0

PDF

route-target

配置 EVPN 路由使用的路由目标 (RT) 值。

语法
route-target {auto | value {import | export | both} [asn4]}
参数
value {import | export | both}
2-octet-ASN:4-octet-number4-octet-ASN:2-octet-number 格式配置 RT 导入或导出值或两个值。
  • 2-octet ASN 或编号为 1 到 65535。
  • 4-octet ASN 或编号为 1 到 4294967295。
auto
将 RT 导入和导出值配置为自动生成。
asn4
(可选)在 RT 值中通告 4 字节 AS 编号。
默认
未配置
命令模式
EVPN-EVI 和 EVPN-VRF
使用情况信息

RT 确定了 EVPN 路由在 EVPN 实例之间的分布方式。使用导入和导出值配置每个 RT。当 EVPN 路由通告时,为导出配置的 RT 导出值会连接到每个路由。接收 VTEP 将路由导出值与本地 RT 导入值进行比较。如果值匹配,路由将下载并安装在 VTEP 上。

  • 对于 2 字节自治系统,RT 从 2 字节 AS 和 3 字节 VNI 自动配置为类型 0 — 类型编码为 0x0002。
  • 对于 4 字节自治系统,RT 从 4 字节 AS 和 2 字节 EVI 自动配置为类型 2 — 类型编码为 0x0202。

在租户 VRF 中配置用于 EVPN 对称 IRB 流量的路由目标。

示例
OS10(config)# evpn
OS10(config-evpn)# evi 10
OS10(config-evpn-evi)# vni 10000
OS10(config-evpn-evi)# rd 111.111.111.111:65535
OS10(config-evpn-evi)# route-target 1:3 both
OS10(config)# evpn
OS10(config-evpn)# vrf vrf-blue
OS10(config-evpn-vrf-vrf-blue)# route-target auto
支持的版本
10.4.2.0 or later

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\