API Guide

Identifier GUID-21EA852F-52F3-4183-886C-9E72F9FD0D12
Version 7
Status Translation approved
本地 AS
BGP 网络迁移过程中您可以保持现有的 AS 编号。在迁移后使用要禁用的新信息重新配置您的路由器。被动对等模板不支持
网络迁移。您必须先配置对等模板然后才能将其指定为 AS
1. ROUTER-BGP 模式下输入邻居 IP 地址 A.B.C.D
neighbor ip-address
2. 输入对等节点的本地 AS 编号 AS 值未预置未在 ROUTER-NEIGHBOR 模式下来自邻居的通告 1 4294967295
local-as as number [no prepend]
3. 返回到 ROUTER-BGP 模式。
exit
4. ROUTER-BGP 模式下输入为对等组分配的模板名称。最多 16 个字符。
template template-name
5. ROUTER-TEMPLATE 模式下输入对等主机的本地 AS 编号。
local-as as number [no prepend]
6. ROUTER-TEMPLATE 模式下添加远程 AS( 1 65535 适用于 2 字节或从 1 4294967295 适用于 4 字节)
remote-as as-number
允许来自邻居的外部路由
OS10(config)# router bgp 10
OS10(conf-router-bgp-10)# neighbor 32.1.1.2
OS10(conf-router-neighbor)# local-as 50
OS10(conf-router-neighbor)# exit
OS10(conf-router-bgp-10)# template bgppg1
OS10(conf-router-template)# fall-over
OS10(conf-router-template)# local-as 400
OS10(conf-router-template)# remote-as 102
本地 AS 编号已禁用
OS10(config)# router bgp 102
OS10(conf-router-bgp-102)# neighbor 32.1.1.2
OS10(conf-router-neighbor)# no local-as 100
Identifier
GUID-1B72B740-9D71-457A-9BFE-C78A68802648
Version 6
Status Translation approved
AS 编号限制
设置 AS 路径中 AS 编号出现的次数。allow-as 参数将许可 BGP 扬声器允许在从对等方收到的更新中配置的次数的 AS 编号。
如果本地 AS 编号显示的次数超过命令中的次数则会检测到 AS-PATH 循环。
1. ROUTER-BGP 模式下输入要使用 AS 路径的邻居 IP 地址。
neighbor ip address
2. ROUTER-NEIGHBOR 模式下输入地址系列模式。
address-family {{ipv4 | ipv6} unicast | l2vpn evpn}
554 3