最近几天又看了一遍BGP,觉得对于BGP又理解了不少,尤其是这次做了不少实验,看样子实验对于理论的理解是很有帮助的。以前对于BGP的同步规则不是很理解:
BGP Synchroniztion rule:Do not use or advertise to an external neighbor a route learned by IBGP until a matching route has been learned from an IGP
BGP同步规则:不要把从IBGP邻居学习到的路由通告给一个EBGP,直到IGP也学习到了一个匹配的路由。
解决方法:
(1)使用no synchronization关闭同步条件,在cisco IOS 12.8T以后的版本中默认都是关闭的
r1#sh ip protocols
Routing Protocol is "bgp 64512"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
IGP synchronization is disabled
Automatic route summarization is disabled
(2)重分布BGP的路由到IBGP协议中,但不推荐。