BGP Community(团体)配置实例
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了BGP Community(团体)配置实例,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含3241字,纯文字阅读大概需要5分钟。
内容图文
该实验是引用了BGP路由聚合配置实例的基础上,再深入探讨BGP团体实验。如下链接为“BGP路由聚合配置实例”基础部份: http: // www.cnblogs.com/vincent-liang/p/6441860.html 当你收到一个BGP路由带有no-export属性的,该台路由器将不再向eBGP路由节点发送该访问控制列表的IP路由。 查看R4没有no-export属性的BGP路由如下: R4#show ip bgp BGP table version is19, local router ID is4.4.4.4 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 * 11.11.11.0/243.3.3.301 i *> 2.2.2.201 i * 22.22.22.0/243.3.3.301 i *> 2.2.2.2001 i * 33.33.33.0/242.2.2.201 i *> 3.3.3.3001 i *> 44.44.44.0/240.0.0.0032768 i *> 55.55.55.0/245.5.5.5005 i *> 66.66.66.0/246.6.6.6006 i *> 101.1.0.0/220.0.0.010032768 {1,6} i s 101.1.1.0/243.3.3.301 i s> 2.2.2.201 i *> 101.1.2.0/246.6.6.6006 i *> 101.1.3.0/246.6.6.6006 i *> 106.1.1.0/246.6.6.6006 i access-list 1 permit 55.55.55.00.0.0.255 route-map orange permit 10 match ip address 1set community no-export router bgp 5 neighbor 4.4.4.4 send-community neighbor 4.4.4.4 route-map orange out 查看R4带有no-export属性的BGP路由如下: R4#show ip bgp BGP table version is24, local router ID is4.4.4.4 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 * 11.11.11.0/243.3.3.301 i *> 2.2.2.201 i * 22.22.22.0/243.3.3.301 i *> 2.2.2.2001 i * 33.33.33.0/242.2.2.201 i *> 3.3.3.3001 i *> 44.44.44.0/240.0.0.0032768 i *> 66.66.66.0/246.6.6.6006 i *> 101.1.0.0/220.0.0.010032768 {1,6} i s 101.1.1.0/243.3.3.301 i s> 2.2.2.201 i *> 101.1.2.0/246.6.6.6006 i *> 101.1.3.0/246.6.6.6006 i *> 106.1.1.0/246.6.6.6006 i
配置no-advertise前BGP路由 R1#show ip bgp BGP table version is16, local router ID is1.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 *> 11.11.11.0/240.0.0.0032768 i *>i22.22.22.0/242.2.2.201000 i *>i33.33.33.0/243.3.3.301000 i * i44.44.44.0/244.4.4.4010004 i *>i 4.4.4.4010004 i *>i55.55.55.0/244.4.4.40100045 i * i 4.4.4.40100045 i *>i66.66.66.0/244.4.4.40100046 i * i 4.4.4.40100046 i *> 101.1.1.0/240.0.0.0032768 i *>i101.1.2.0/244.4.4.40100046 i * i 4.4.4.40100046 i *>i101.1.3.0/244.4.4.40100046 i * i 4.4.4.40100046 i *>i106.1.1.0/244.4.4.40100046 i * i 4.4.4.40100046 i access-list 4 permit 44.44.44.00.0.0.255 route-map apple permit 10 match ip address 4set community no-advertise neighbor 2.2.2.2 send-community neighbor 2.2.2.2 route-map apple out neighbor 3.3.3.3 send-community neighbor 3.3.3.3 route-map apple out 配置no-advertise后BGP路由 R1#show ip bgp BGP table version is34, local router ID is1.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 *> 11.11.11.0/240.0.0.0032768 i *>i22.22.22.0/242.2.2.201000 i *>i33.33.33.0/243.3.3.301000 i *> 101.1.1.0/240.0.0.0032768 i
原文:http://www.cnblogs.com/vincent-liang/p/6443372.html
内容总结
以上是互联网集市为您收集整理的BGP Community(团体)配置实例全部内容,希望文章能够帮你解决BGP Community(团体)配置实例所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。