BGP路由策略与选路控制.doc
《BGP路由策略与选路控制.doc》由会员分享,可在线阅读,更多相关《BGP路由策略与选路控制.doc(8页珍藏版)》请在三一办公上搜索。
1、wordBGP路由策略与选路控制1、 实验目标:根据BGP路由选择原如此,用BGP属性控制BGP路由2、 网络拓扑图:3、 配置:IP地址如下列图用OSPF实现IGP路由可达BGP配置如下:no synchronization No auto-summary Update-source lo0 Next-hop-self R3和R4为同簇路由反射器,R1,R2分别为R3和R4的客户端 R3,R4建立普通IBGP邻居 R1与R5,R2与R6建立EBGP现分析下面路由RT1#show ip bgp Network Next Hop Metric LocPrf Weight Path* 10.0.1
2、5.2 0 0 65001 i* 10.0.15.2 0 0 65001 i根据EBGP路由优先于IBGP路由BGP routing table entry for 10.5.0.0/16, version 11Paths: (2 available, best #2, table Default-IP-Routing-Table) Advertised to update-groups: 2 65001 10.0.0.2 (metric 101) from 10.0.0.4 (10.0.0.4) Origin IGP, metric 0, localpref 100, valid, inte
3、rnal 65001 10.0.15.2 from (10.5.0.1) Origin IGP, metric 0, localpref 100, valid, external, bestRT2#show ip bgp R2同R1 Network Next Hop Metric LocPrf Weight Path* i 10.0.0.1 0 100 0 65001 i* i 10.0.0.1 0 100 0 65001 iBGP routing table entry for 10.5.0.0/16, version 10Paths: (2 available, best #1, tabl
4、e Default-IP-Routing-Table) Advertised to update-groups: 2 65001 10.0.26.2 from (10.6.0.1) Origin IGP, metric 0, localpref 100, valid, external, best 65001 10.0.0.1 (metric 101) from 10.0.0.3 (10.0.0.3) Origin IGP, metric 0, localpref 100, valid, internalRT3#show ip bgp Network Next Hop Metric LocPr
5、f Weight Path* i 10.0.0.2 0 100 0 65001 i*i 10.0.0.1 0 100 0 65001 i* i 10.0.0.2 0 100 0 65001 i*i 10.0.0.1 0 100 0 65001 i根据到达下一跳IGP开销小的BGP routing table entry for 10.5.0.0/16, version 18Paths: (3 available, best #3, table Default-IP-Routing-Table) Advertised to update-groups: 1 2 65001, (Received
6、from a RR-client) 10.0.0.2 (metric 201) from Origin IGP, metric 0, localpref 100, valid, internal 65001 10.0.0.2 (metric 201) from 10.0.0.4 (10.0.0.4) Origin IGP, metric 0, localpref 100, valid, internalOriginator: 10.0.0.2, Cluster list: 10.0.0.4 10.0.0.4反射得来,只反射最优路由 65001, (Received from a RR-clie
7、nt) 10.0.0.1 (metric 101) from Origin IGP, metric 0, localpref 100, valid, internal, best注:R3上该路由的最优路由来自RT1,所以不会反射回给RT1 同理,RT4不会反射给RT2RT4#show ip bgp R4同R3 Network Next Hop Metric LocPrf Weight Path* i 10.0.0.1 0 100 0 65001 i* i 10.0.0.1 0 100 0 65001 i* i 10.0.0.1 0 100 0 65001 i* i 10.0.0.1 0 100
8、 0 65001 iRT4#show ip bgp 10.5.0.0 BGP routing table entry for 10.5.0.0/16, version 8Paths: (3 available, best #1, table Default-IP-Routing-Table) Advertised to update-groups: 1 2 65001, (Received from a RR-client) 10.0.0.2 (metric 101) from 10.0.0.2 (10.0.0.2) Origin IGP, metric 0, localpref 100, v
9、alid, internal, best 6500110.0.0.1 (metric 201) from 10.0.0.3 (10.0.0.3) Origin IGP, metric 0, localpref 100, valid, internal 65001, (Received from a RR-client) 10.0.0.1 (metric 201) from 10.0.0.1 (10.0.0.1) Origin IGP, metric 0, localpref 100, valid, internalR5、R6选路根据EBGP路由优先于IBGP路由RT5#show ip bgp
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- BGP 路由 策略 控制
![提示](https://www.31ppt.com/images/bang_tan.gif)
链接地址:https://www.31ppt.com/p-1163865.html