API Guide
支持的版本
10.2.0E or later
Identifier GUID-DBC64E52-E7C8-41F1-983C-5A7D9C8FB921
Version 5
Status Translation approved
as-notation
更改 AS 数字表示法的格式,并且需要 four-octet-assupport。
语法
as-format {asdot | asdot+ | asplain}
参数
• asdot — 指定为 asdot 格式的 AS 数字表示法。
• asdot+ — 指定为 asdot+ 格式的 AS 数字表示法。
• asplain — 指定为 asplain 格式的 AS 数字表示法。
默认
asplain
命令模式
ROUTER-BGP
使用情况信息
注: 要为非默认 VRF 实例配置这些设置,请先使用以下命令进入 ROUTER-CONFIG-VRF 子模式:
1. 使用 router bgp as-number 命令进入 ROUTER BGP 模式。
2. 在 ROUTER BGP 模式下,使用 vrf vrf-name 命令进入 ROUTER BGP VRF 模式。
示例
OS10(conf-router-bgp-2)# as-notation asdot
OS10(conf-router-bgp-2)# as-notation asdot+
OS10(conf-router-bgp-2)# as-notation asplain
支持的版本
10.1.0E or later
Identifier GUID-991DC6E3-58D2-4681-8E7E-3E23CFCA99F9
Version 7
Status Translation approved
bestpath as-path
为最佳路径计算配置 AS 路径选择条件。
语法
bestpath as-path {ignore | mutlipath-relax}
参数
• ignore — 输入以在 BGP 最佳路径计算中忽略 AS 路径。
• mutlipath-relax — 输入以在多路径计算期间包含从不同 AS 路径接收的前缀。
默认 已启用
命令模式
ROUTER-BGP
使用情况信息
要在不同的 EBGP 对等节点上启用负载均衡,请配置 mutlipath-relax 选项。如果同时配置 ignore 或
multipath-relax 选项,则会显示系统生成的错误消息。此命令的 no 版本将禁用配置。
注: 要为非默认 VRF 实例配置这些设置,先使用以下命令进入 ROUTER-CONFIG-VRF 子模式:
1. 使用 router bgp as-number 命令进入 ROUTER BGP 模式。
2. 在 ROUTER BGP 模式下,使用 vrf vrf-name 命令进入 ROUTER BGP VRF 模式。
示例
OS10(conf-router-bgp-10)# bestpath as-path multipath-relax
支持的版本
10.3.0E or later
570 第 3 层