如上图,
(1)R1与R2之间的BGP的AS都是12,两者建立iBGP邻居、
(2)R1与R2之间的直连网段是12.1.1.0/24、
(3)IGP运行OSPF且所有接口宣告进OSPF进程号1及区域号为0、
(4)R2把从R1通过OSPF学习到的1.1.1.1/32宣告进BGP进程、
(5)R2的BGP配置如下:
R2(config)#do sh run | s bgp
router bgp 12
no synchronization
bgp log-neighbor-changes
network 1.1.1.1 mask 255.255.255.255
neighbor 12.1.1.1 remote-as 12
no auto-summary
R2(config)#
(6)现象如下:
R1#show ip bgp
BGP table version is 3, local router ID is 1.1.1.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight P