Leaflet
12-43
思科 ASA 系列命令参考,A 至 H 命令
第 12 章 dhcpd address 至 distribute-list out (BGP) 命令
distance bgp
注意事项 更改内部 BGP 路由的管理距离存在风险,不推荐这样做。配置不正确会导致路由表不一致和路
由中断。
distance bgp 命令取代了 distance mbgp 命令
示例 在以下示例中,外部距离设置为 10,内部距离设置为 50,且本地距离设置为 100:
ciscoasa(config)# router bgp 50000
ciscoasa(config-router)# address family ipv4
ciscoasa(config-router-af)# network 10.108.0.0
ciscoasa(config-router-af)# neighbor 192.168.6.6 remote-as 123
ciscoasa(config-router-af)# neighbor 172.16.1.1 remote-as 47
ciscoasa(config-router-af)# distance bgp 10 50 100
ciscoasa(config-router-af)# end