标签:multi ocp size process route network bcb src 邻居
一、实验拓扑:R1(config-router)#neighbor 3.3.3.3 remote-as 65001
R1(config-router)#neighbor 3.3.3.3 update-source loopback 0
R1(config-router)#neighbor 3.3.3.3 next-hop-self
R1(config-router)#neighbor 14.1.1.4 remote-as 4
R2配置:
R2(config)#no router bgp 123
R2(config)#router bgp 65002
R2(config-router)#bgp router-id 2.2.2.2
R2(config-router)#bgp confederation identifier 123
R2(config-router)#bgp confederation peers 65001
R2(config-router)#neighbor 3.3.3.3 remote-as 65001
R2(config-router)#neighbor 3.3.3.3 update-source loopback 0
R2(config-router)#neighbor 3.3.3.3 ebgp-multihop
R3配置:
R3(config)#no router bgp 123
R3(config)#router bgp 65001
R3(config-router)#bgp router-id 3.3.3.3
R3(config-router)#bgp confederation identifier 123
R3(config-router)#bgp confederation peers 65002
R3(config-router)#neighbor 1.1.1.1 remote-as 65001
R3(config-router)#neighbor 1.1.1.1 update-source loopback 0
R3(config-router)#neighbor 2.2.2.2 remote-as 65002
R3(config-router)#neighbor 2.2.2.2 update-source loopback 0
R3(config-router)#neighbor 2.2.2.2 ebgp-multihop 255
四、验证:
R2#show ip bgp
Network Next Hop Metric LocPrf Weight Path
*> 4.4.4.0/24 1.1.1.1 0 100 0 (65001) 4 I
R4#show ip bgp summary
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
14.1.1.1 4 123 16 180 2 0 0 00:14:24
标签:multi ocp size process route network bcb src 邻居
原文地址:http://blog.51cto.com/13856092/2137893