- 1
- 0
- 约3.93千字
- 约 5页
- 2020-06-21 发布于浙江
- 举报
BGP同步详解
精品文档
精品文档
收集于网络,如有侵权请联系管理员删除
收集于网络,如有侵权请联系管理员删除
精品文档
收集于网络,如有侵权请联系管理员删除
BGP同步详解
一:不学习或宣告从IBGP学习到的路由信息给EBGP的邻居,除非从IGP路由信息中
有这条路由信息。
二:如果不是通过IGP得到的路由,或者是下一跳不可达。就不能将IBGP学习到的路
由安装在路由表中.原因,如果一台ibgp路由器后面在接一个as,那么就满足第一bgp同步
定义,所以像这第二种意思,是同步更深一步的理解。千万注意。
设备需求:Cisco2501路由器三台
实验拓扑:
实验步骤:
第一步:
配置ip地址如下:
r1#sho ip int br
Interface IP-Address OK? Method Status Protocol
Serial2/1 12.0.0.1 YES manual up up
Loopback0 1.1.1.1 YES manual up up
?
r2#sho ip int br
Interface IP-Address OK? Method Status Protocol
Serial2/1 12.0.0.2 YES manual up up
Serial2/2 23.0.0.2 YES manual up up
?
r3#sho ip int br
Interface IP-Address OK? Method Status Protocol
Serial2/1 23.0.0.3 YES manual up up
Serial2/2 34.0.0.3 YES manual up up
Loopback0 3.3.3.3 YES manual up up
?
第二步:
r1(config)#router b
r1(config)#router bgp 1
r1(config-router)#nei 12.0.0.2 remote 2
r1(config-router)#net 1.1.1.0 mask 255.255.255.0
?
r2(config)#router b
r2(config)#router bgp 2
r2(config-router)#nei 12.0.0.1 remote 1
r2(config-router)#nei 23.0.0.3 remote 2
?
r3(config)#router b
r3(config)#router bgp 2
r3(config-router)#nei 23.0.0.2 remote 2
r3(config-router)#net 3.3.3.0 mask 255.255.255.0
第三步:
r1#sho 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 Path
* 1.1.1.0/24 0.0.0.0 0 32768 i
?
r2#sho ip bgp
原创力文档

文档评论(0)