设为首页收藏本站language 语言切换
查看: 2091|回复: 5
收起左侧

[已解决] BGP confederation

[复制链接]
发表于 2013-7-21 17:36:11 | 显示全部楼层 |阅读模式
intra-confederation eBGP什么都不announce

AS64602  BGP confederation

Sub-AS
65020 (I64602-1)
65022 (I64602-21, I64602-22)
65023 (I64602-31, I64602-32)


BGP RID
I64602-1     23.255.255.251
I64602-21           23.255.255.221
I64602-22           23.255.255.222
I64602-31           23.255.255.231
I64602-32           23.255.255.232




I64602-1(config-router)#do show ip bgp summary
BGP router identifier 23.255.255.251, local AS number 65020


Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
23.255.255.221  4 65022      53      69       18    0    0 00:48:57        0
45.127.255.251  4 64601     181      75       18    0    0 00:54:28        3
45.127.255.252  4 64601     184      75       18    0    0 00:54:16        3
103.127.255.251 4 64603      63      75       18    0    0 00:54:26        4




router bgp 65020
no synchronization
bgp log-neighbor-changes
bgp confederation identifier 64602
bgp confederation peers 65022 65023
neighbor iBGP-confed peer-group
neighbor iBGP-confed remote-as 65020
neighbor iBGP-confed update-source Loopback0
neighbor eBGP-confed peer-group
neighbor eBGP-confed ebgp-multihop 2
neighbor eBGP-confed update-source Loopback0
neighbor customer-full peer-group
neighbor customer-full ebgp-multihop 2
neighbor customer-full update-source Loopback0
neighbor 23.255.255.221 remote-as 65022
neighbor 23.255.255.221 peer-group eBGP-confed
neighbor 45.127.255.251 remote-as 64601
neighbor 45.127.255.251 peer-group customer-full
neighbor 45.127.255.252 remote-as 64601
neighbor 45.127.255.252 peer-group customer-full
neighbor 103.127.255.251 remote-as 64603
neighbor 103.127.255.251 peer-group customer-full





-----------------------------------------------------------------------------------------------------------------------------------------------------


I64602-21(config-if)#do show ip bgp su
BGP router identifier 23.255.255.221, local AS number 65022


Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
23.255.255.222  4 65022      71      70        1    0    0 01:06:00        1
23.255.255.251  4 65020      75      56        1    0    0 00:52:56        5




router bgp 65022
no synchronization
bgp log-neighbor-changes
bgp confederation identifier 64602
bgp confederation peers 65020 65023
neighbor iBGP-confed peer-group
neighbor iBGP-confed remote-as 65022
neighbor iBGP-confed update-source Loopback0
neighbor eBGP-confed peer-group
neighbor eBGP-confed ebgp-multihop 2
neighbor eBGP-confed update-source Loopback0
neighbor 23.255.255.222 peer-group iBGP-confed
neighbor 23.255.255.251 remote-as 65020
neighbor 23.255.255.251 peer-group eBGP-confed
no auto-summary




I64602-21(config-if)#do show ip bgp
BGP table version is 1, local router ID is 23.255.255.221
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
*  5.45.32.0/20     45.127.255.251           0    100      0 (65020) 64601 64611 i
*  5.133.64.0/18    103.127.255.251          0    100      0 (65020) 64603 64604 i
*  5.200.128.0/17   103.127.255.251          0    100      0 (65020) 64603 64605 i
* i24.30.224.0/19   24.30.255.251            0    100      0 64711 i
*  45.64.0.0/10     45.127.255.251           0    100      0 (65020) 64601 i
*  103.64.0.0/10    103.127.255.251          0    100      0 (65020) 64603 i


Inbound looks fine at I64602-21.


I64602-21#show ip bgp neighbors 23.255.255.251 advertised-routes


Total number of prefixes 0

screenshot.png


发表于 2013-7-24 13:08:41 | 显示全部楼层
额。3天了都,我和小伙伴们都惊呆了~

有结果了没?环境还在否?

I64602-21 上 deb ip bgp 23.255.255.251 upd 有啥信息
沙发 2013-7-24 13:08:41 回复 收起回复
回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-7-24 17:56:26 | 显示全部楼层
ititie 发表于 2013-7-24 13:08
额。3天了都,我和小伙伴们都惊呆了~

有结果了没?环境还在否?

next-hop reachability的问题
把next-hop都加到IGP里面就好了
板凳 2013-7-24 17:56:26 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2013-7-24 18:29:12 | 显示全部楼层
ccna_candidate 发表于 2013-7-24 17:56
next-hop reachability的问题
把next-hop都加到IGP里面就好了

是,21  bgp表都没有> best优选,自己都不走的路径,也就不通告了
地板 2013-7-24 18:29:12 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2013-7-24 18:30:41 | 显示全部楼层
ccna_candidate 发表于 2013-7-24 17:56
next-hop reachability的问题
把next-hop都加到IGP里面就好了

这么大的拓扑,用什么服务器跑的模拟器

可以搞得动多少台啊  
5# 2013-7-24 18:30:41 回复 收起回复
回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-7-25 10:33:34 | 显示全部楼层
ititie 发表于 2013-7-24 18:30
这么大的拓扑,用什么服务器跑的模拟器

可以搞得动多少台啊

core i7 4核的本  cpu在70%-80%吧
6# 2013-7-25 10:33:34 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-4-29 02:28 , Processed in 0.220451 second(s), 27 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表