收藏 分销(赏)

操作BGP路由过滤(基于路由条目)案例.doc

上传人:xrp****65 文档编号:6601842 上传时间:2024-12-16 格式:DOC 页数:3 大小:83.50KB 下载积分:10 金币
下载 相关 举报
操作BGP路由过滤(基于路由条目)案例.doc_第1页
第1页 / 共3页
操作BGP路由过滤(基于路由条目)案例.doc_第2页
第2页 / 共3页


点击查看更多>>
资源描述
操作BGP路由过滤(基于路由条目)案例   路由能够基于网络号过滤到或来自于某个特定邻居的路由更新。由访问列表组成的过滤器被应用到所有发送到或来自于某个特定邻居的BGP更新上。   本案例中,我们在R1上配置一个distribute-list,防止1.0.0.0/8被通告入AS200中。     //// r1 //// int f2/0   ip ad 192.1.1.1 255.255.255.0   int f3/0   ip ad 193.1.1.1 255.255.255.0   int lo0   ip ad 1.1.1.1 255.255.255.0   int lo1   ip ad 2.2.2.2 255.255.255.0   router bgp 100   no syn   neighbor 192.1.1.2 remote-as 200   neighbor 193.1.1.3 remote-as 200   network 1.0.0.0   network 1.0.0.0   neighbor 193.1.1.3 distribute-list 1 out   access-list 1 deny 1.0.0.0 0.255.255.255 access-list 1 permit any       //// r2 //// int f2/0   ip ad 192.1.1.2 255.255.255.0   int f4/0   ip ad 194.1.1.2 255.255.255.0   router os 1   netw 0.0.0.0 255.255.255.255 a 0   passive-interface f2/0   router bgp 200   no syn   neighbor 192.1.1.1 remote-as 100   neighbor 194.1.1.4 remote-as 200   neighbor 195.1.1.3 remote-as 200   neighbor 194.1.1.4 next-hop-self     //// r3 //// int f3/0   ip ad 193.1.1.3 255.255.255.0   int f5/0   ip ad 195.1.1.3 255.255.255.0   router os 1   netw 0.0.0.0 255.255.255.255 a 0   passive-interface f3/0   router bgp 200   no syn   neighbor 193.1.1.1 remote-as 100   neighbor 195.1.1.4 remote-as 200   neighbor 195.1.1.4 next-hop-self   neighbor 194.1.1.2 remote-as 200     //// r4 //// int f4/0   ip ad 194.1.1.4 255.255.255.0   int f5/0   ip ad 195.1.1.4 255.255.255.0   int lo0   ip ad 4.4.4.4 255.255.255.0   router os 1   netw 0.0.0.0 255.255.255.255 a 0   router bgp 200   no syn   neighbor 194.1.1.2 remote-as 200   neighbor 195.1.1.3 remote-as 200   netw 4.0.0.0       验证: r2#sh ip bgp    Network          Next Hop            Metric LocPrf Weight Path *> 1.0.0.0          192.1.1.1                0             0 100 i * i2.0.0.0          193.1.1.1                0    100      0 100 i *>                  192.1.1.1                0             0 100 i *>i4.0.0.0          194.1.1.4                0    100      0 i   由193.1.1.1学来的1.0.0.0/8路由条目已被过滤!
展开阅读全文

开通  VIP会员、SVIP会员  优惠大
下载10份以上建议开通VIP会员
下载20份以上建议开通SVIP会员


开通VIP      成为共赢上传

当前位置:首页 > 学术论文 > 其他

移动网页_全站_页脚广告1

关于我们      便捷服务       自信AI       AI导航        抽奖活动

©2010-2026 宁波自信网络信息技术有限公司  版权所有

客服电话:0574-28810668  投诉电话:18658249818

gongan.png浙公网安备33021202000488号   

icp.png浙ICP备2021020529号-1  |  浙B2-20240490  

关注我们 :微信公众号    抖音    微博    LOFTER 

客服