HCIP-15.2.13 BGP其他可选特性
特性1:聚合路由团体属性丢失,可以在聚合时追加团体属性
dis bgp routing-table community
R5:
bgp 100
peer 200.1.57.7 advertise-communi
R7:
R5:
bgp 100
aggregate 10.2.0.0 16 detail-suppressed as-set
R7:
R5:
acl 2010
rule 5 permit source 10.2.0.0 0.0.255.255
#
route-policy CO per no 10
if-ma acl 2010
app commu 200:99
route-poli CO per no 20
#
bgp 100
aggregate 10.2.0.0 16 as-set detail-suppressed attribute-policy CO
特性2:向邻居发布默认路由(缺省路由)
ospf 1
default-route-advertise always
ospf 会向所有邻居发送缺省路由
rip 1
default-route originate
rip 发送缺省路由
R5:
bgp 100
peer 200.1.57.7 default-route-advertise
bgp 向R7发送缺省路由,R7也会将缺省发给R8
特性3:环回口建立EBGP邻居TTL=1问题
R3:
ip route-static 10.3.7.7 32 200.1.37.7
bgp 100
peer 10.3.7.7 as 300
peer 10.3.7.7 con loo 0
peer 10.3.7.7 ebgp-max-hop 2 # 指定EBGP报文跳数为2,默认1
默认TTL=1,而环回口EBGP邻居有2跳,默认无法建立邻居。
R7:
ip route-s 10.1.3.3 32 200.1.37.3
bgp 300
peer 10.1.3.3 as 100
peer 10.1.3.3 con loo 0
peer 10.1.3.3 ebgp-max-hop 2
reset bgp all
本文链接:https://www.orcy.net.cn/4165.html,转载请附上原文出处链接
发表评论