BGP排错

来源:本站原创 CISCO 超过802 views围观 0条评论

BGP问题之同AS不传
问题r1用了local-as 11后r3 处于as11收不到路由
R1—–A111—-A11—R3
R1 :local-as 11
router bgp 111
no synchronization
bgp router-id 11.11.6.6
neighbor 150.2.11.254 remote-as 254
neighbor 150.2.11.254 local-as 11
no auto-summary
1#SH IP BGP
BGP table version is 16, local router ID is 11.11.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
*>i197.68.1.0       11.11.6.6                0    100      0 11 254 i
*>i197.68.4.0       11.11.6.6                0    100      0 11 254 i
*>i197.68.5.0       11.11.6.6                0    100      0 11 254 i
*>i197.68.21.0      11.11.6.6                0    100      0 11 254 i
*>i197.68.22.0      11.11.6.6                0    100      0 11 254 i
加 no-prepend
router bgp 111
no synchronization
neighbor 150.2.11.254 remote-as 254
neighbor 150.2.11.254 local-as 11 no-prepend
no auto-summary
R3 现在正常
r3#h ip
r3#sh ip bgp
BGP table version is 11, local router ID is 11.11.3.3
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
*> 197.68.1.0       11.11.2.2                              0 111 254 i

*> 197.68.4.0       11.11.2.2                              0 111 254 i

*> 197.68.5.0       11.11.2.2                              0 111 254 i

*> 197.68.21.0      11.11.2.2                              0 111 254 i

*> 197.68.22.0      11.11.2.2                              0 111 254 i

文章出自:CCIE那点事 http://www.jdccie.com/ 版权所有。本站文章除注明出处外,皆为作者原创文章,可自由引用,但请注明来源。 禁止全文转载。
本文标题:BGP排错
本文链接:http://www.jdccie.com/?p=1670转载请注明转自CCIE那点事
如果喜欢:点此订阅本站
下篇文章:
  • 相关文章
  • 为您推荐
  • 各种观点

暂时还木有人评论,坐等沙发!
发表评论

快捷键:Ctrl+Enter