API Guide

ROUTER-BGP-AF 模式下包括直接连接或用户配置的静态路由。
redistribute {connected | static}
ROUTER-BGP-AF 模式下包括 IS-IS 中的特定 OSPF 路由1 65535
redistribute ospf process-id
禁用重新分发的路由
OS10(conf-router-bgp-af)# no redistribute ospf route-map ospf-to-bgp
重新分发路由 重新分发路由
OS10(config)# router bgp 102
OS10(config-router-bgp-102)# address-family ipv4 unicast OS10
(configure-router-bgpv4-af)# redistribute ospf 12
Identifier GUID-7CF350E9-EBA7-4828-A23B-BD8AC45372C3
Version 7
Status Translation approved
其他路径
默认情况下add-path 命令已禁用。
1. CONFIGURATION 模式下分配 AS 编号。
router bgp as-number
2. ROUTER-BGP 模式下输入邻居和 IP 地址 (A.B.C.D)
neighbor ip-address
3. ROUTER-NEIGHBOR 模式下输入地址系列模式。
address-family {[ipv4 | ipv6] [unicast])
4. 允许指定的邻居在 ROUTER-BGP 模式下发送或接收多个路径通告。count 参数可以控制已通告的路径数量而不是收到的路径
数。
add-path [both | received | send] count
启用其他路径
OS10(config)# router bgp 102
OS10(conf-router-bgp-102)# neighbor 32.1.1.2
OS10(conf-router-neighbor)# address-family ipv4 unicast
OS10(conf-router-bgp-neighbor-af)# add-path both 3
Identifier
GUID-786A589E-74E1-4724-9E7B-2C25AB3E7CE0
Version 6
Status Translation approved
MED 属性
与相同的 EBGP 路径进行比较时OS10 使用 MULTI_EXIT_DISC MED 属性。不会采用与数字不同的相邻路径执行 MED 比较。
1. 从与在 ROUTER-BGP 模式下不同的邻居在路径中启用 MED 比较。
always-compare-med
2. ROUTER-BGP 模式下更改 MED 选择的最佳路径。
bestpath med {confed | missing-as-best}
556 3