



全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
BGP基础之origin属性 2007/1/24 2:45:18 | By: wangyang 一 试验说明:在本实验中我们要分别建立IBGP邻居和EBGP邻居。然后研究一下BGP路由的origin属性。这个属性有3个值,分别为:1 IGP:当使用 bgp network 命令或将IGP路由重分布进BGP中。在BGP路由表中起源于IGP的路由用“i”表示2 EGP:通过BGP学习到的路由。在BGP路由表中起源于EGP的路由用“e”表示3 incomplete:当路由重分布进BGP时,即无法确定路由的始发者时,在BGP路由表中用“?”表示 二 基本配置:1 配置底层联通由于我的底层拓扑是帧中继,所以先要把帧中继配通。下面是配置RTAinterface Serial1/0 no ip address encapsulation frame-relayno frame-relay inverse-arp frame-relay lmi-type ansiinterface Serial1/0.21 point-to-point ip address 150.10.30.1 255.255.0.0 frame-relay interface-dlci 201 interface Serial1/0.23 point-to-point ip address 170.10.20.1 255.255.0.0 frame-relay interface-dlci 203 RTBinterface Loopback1 ip address 190.10.50.1 255.255.255.0interface Serial1/0 ip address 175.10.40.2 255.255.0.0 encapsulation frame-relayframe-relay map ip 175.10.40.1 401 broadcast no frame-relay inverse-arp frame-relay lmi-type ansi RTEinterface Loopback1 ip address 170.10.0.1 255.255.255.0interface Serial1/0 ip address 170.10.20.2 255.255.255.0 encapsulation frame-relay frame-relay map ip 170.10.20.1 302 broadcast no frame-relay inverse-arp frame-relay lmi-type ansi经测试底层已经联通。 2 配置IGP协议要在AS 100中配置IGP协议,首先建立IGP的连通性,本实验我们选用EIGRP作为IGP协议,现在进行配置。RTARTA(config)#router eigrp 90RTA(config-router)#no auto-summary RTA(config-router)#network 150.10.0.0RTA(config-router)#passive-interface s1/0.23RTCRTC(config)#router eigrp 90RTC(config-router)#no auto-summary RTC(config-router)#network 150.10.0.0RTC(config-router)#network 175.10.0.0RTBRTB(config)#router eigrp 90RTB(config-router)#no auto-summary RTB(config-router)#net 175.10.0.0RTB(config-router)#network 190.10.50.0 RTA#sh ip route 170.10.0.0/24 is subnetted, 1 subnetsC 170.10.20.0 is directly connected, Serial1/0.23 190.10.0.0/24 is subnetted, 1 subnetsD 190.10.50.0 90/2809856 via 150.10.30.2, 00:21:34, Serial1/0.21D 175.10.0.0/16 90/2681856 via 150.10.30.2, 00:23:10, Serial1/0.21C 150.10.0.0/16 is directly connected, Serial1/0.21EIGRP路由已经可以正常学习到。 3 配置BGPRTA router bgp 100 no synchronization network 150.10.0.0 neighbor 170.10.20.2 remote-as 300 neighbor 175.10.40.2 remote-as 100 no auto-summaryRTBrouter bgp 100 no synchronization network 190.10.50.0 mask 255.255.255.0 neighbor 150.10.30.1 remote-as 100 no auto-summaryRTErouter bgp 300 no synchronizationnetwork 170.10.0.0 mask 255.255.255.0 neighbor 170.10.20.1 remote-as 100 no auto-summary 4 配置静态路由在RTA上配置一条静态路由,然后重分布到BGP中RTA(config)#ip route 190.10.0.0 255.255.0.0 null 0RTA(config)#router bgp 100RTA(config-router)#redistribute static 三 试验测试:分别查看RTA和 RTE的BGP路由表RTA#sh ip bgpBGP table version is 5, local router ID is 170.10.20.1Status codes: s suppressed, d damped, h history, * valid, best, i - internal, r RIB-failure, S StaleOrigin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path* 150.10.0.0 0.0.0.0 0 32768 i* 170.10.0.0/24 170.10.20.2 0 0 300 i* 190.10.0.0 0.0.0.0 0 32768 ?*i190.10.50.0/24 175.10.40.2 0 100 0 iRTE#sh ip bgpBGP table version is 5, local router ID is 170.10.0.1Status codes: s suppressed, d damped, h history, * valid, best, i - internal, r RIB-failure, S StaleOrigin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path* 150.10.0.0 170.10.20.1 0 0 100 i* 170.10.0.0/24 0.0.0.0 0 32768 i* 190.10.0.0 170.10.20.1 0 0 100 ?* 190.10.50.0/24 170.10.20.1 0 100 i通过BGP路由表我们可以看到:RT
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 民族法治普法宣传课件
- 工业革命与新质生产力的演进逻辑
- 向新向实新质生产力
- 文旅新质生产力
- 2025年全科医生全科诊疗能力考核答案及解析
- 2025年心理学在皮肤病临床应用模拟测试卷答案及解析
- 2025年康复治疗学康复设备使用技巧考试答案及解析
- 2025年心血管病学思维能力与判断力检测模拟试卷答案及解析
- 2025年产科产后护理能力测试答案及解析
- 2025年外科学科常见外科手术操作技能评估答案及解析
- 2025年云南文山交通运输集团公司招聘考试笔试试卷【附答案】
- 设备维护保养基础知识
- 企业工伤赔偿培训课件
- 大学生职业生涯规划课教案
- 肝血管瘤护理查房
- 世纪佳缘会员管理制度
- 邻里纠纷及其合法合理处理课件
- 武汉工业地产市场调查分析报告30
- 【共享经济下网约工劳动关系认定问题研究-以外卖骑手为例18000字(论文)】
- 被动解除劳动合同范本
- 螃蟹养殖合同协议书模板
评论
0/150
提交评论