已阅读5页,还剩8页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
BGP学习试验(一)(v1.0)作者王军审核分类网络子类时间2020年3月20日版本说明版本日期内容编写人V1.02010-12-7创建文档王军目录一、拓扑及要求3二、设备配置42.1 R1配置42.2 R2配置52.3 R3配置72.4 R4配置82.5 R5配置102.6 R6配置11三、实验结果13一、拓扑及要求拓扑见上图,左边为IGP的物理连接示意图,右边为BGP逻辑连接示意图。1、 全网IGP网段:/16。不允许使用确实路由。帧中继FR为HUB-SPOKE结构,R4为HUB。2、 每个路由器上面都有环回口:lo0 ,通告进对应的IGP。R2的环回口同时属于两个IGP协议:OSPF与EIGRP。R5不运行任何除BGP之外的任何静态路由协议。3、 OSPF A0要求没有DR和BDR。4、 可以允许IGP之间重发布。5、 所有BGP的邻居关系使用环回口更新。6、 每个路由器都对应的环回口:6,并通告进BGP。7、 在AS 3内操作,R5使用R4作为下一跳到达,R5使用R6到达 。8、 R3优选R6到达R5的。9、 要求R2看到 的AS-PATH为“1 1”。10、 要求R2的2 在所有的设备上看到起源为“?”。11、 要求R3所发出的 在AS 3 内具有locPRF per为200,metric为50。12、 R5的环回口5重发布进BGP,要求在AS 3 内操作,除了R5之外所有的路由器看到的起源是I 。13、 要求所有地址可达。二、设备配置2.1 R1配置hostname r1no ip domain lookup!ip cefinterface Loopback0 ip address 55!interface Loopback1 ip address 1 55!interface Serial1/1 ip address serial restart-delay 0!router eigrp 100 network network 55 no auto-summary!router bgp 1 synchronization bgp router-id bgp log-neighbor-changes network 1 mask 55 neighbor remote-as 2 neighbor ebgp-multihop 255 neighbor update-source Loopback0 no auto-summary!ip classlessno ip http server!access-list 11 permit 1!route-map as-path permit 10 match ip address 11 set as-path prepend 1 1!route-map as-path permit 20!2.2 R2配置hostname r2!no ip domain lookup!ip cef!interface Loopback0 ip address 55 ip ospf network point-to-point!interface Loopback1 ip address 2 55!interface Serial1/0 ip address serial restart-delay 0!interface Serial1/1 ip address serial restart-delay 0!interface Serial1/2 ip address encapsulation frame-relay ip ospf network point-to-multipoint ip policy route-map 23 serial restart-delay 0 frame-relay map ip 204 broadcast no frame-relay inverse-arp!router eigrp 100 redistribute ospf 1 metric 1000 100 255 255 1500 network network 55 network 55 no auto-summary!router ospf 1 router-id log-adjacency-changes redistribute eigrp 100 subnets network area 0 network 55 area 0!router bgp 2 synchronization bgp router-id bgp log-neighbor-changes network 2 mask 55 neighbor remote-as 1 neighbor ebgp-multihop 255 neighbor update-source Loopback0 neighbor route-map as-path in neighbor route-map origin out neighbor remote-as 3 neighbor ebgp-multihop 255 neighbor update-source Loopback0 neighbor route-map origin out no auto-summary!ip classlessno ip http server!access-list 1 permit anyaccess-list 11 permit 1access-list 22 permit 2access-list 23 permit access-list 23 permit access-list 23 permit !route-map 23 permit 10 match ip address 23 set ip next-hop !route-map 23 permit 20!route-map origin permit 10 match ip address 22 set origin incomplete!route-map origin permit 20!route-map as-path permit 10 match ip address 11 set as-path prepend 1!route-map as-path permit 20line con 0 exec-timeout 0 0 stopbits 1line aux 0 stopbits 1line vty 0 4 login2.3 R3配置hostname r3!no ip domain lookup!ip cef!interface Loopback0 ip address 55!interface Loopback1 ip address 3 55!interface Serial1/0 ip address serial restart-delay 0!router eigrp 100 network network 55 no auto-summary!router bgp 3 no synchronization bgp router-id bgp log-neighbor-changes network 3 mask 55 neighbor remote-as 2 neighbor ebgp-multihop 255 neighbor update-source Loopback0 neighbor remote-as 3 neighbor update-source Loopback0 neighbor next-hop-self neighbor route-map med33 out neighbor remote-as 3 neighbor update-source Loopback0 neighbor next-hop-self neighbor route-map med33 out no auto-summary!ip classlessno ip http server!access-list 33 permit 3!route-map med33 permit 10 match ip address 33 set metric 50 set local-preference 200!route-map med33 permit 20!line con 0 exec-timeout 0 02.4 R4配置hostname r4!no ip domain lookup!ip cefinterface Loopback0 ip address 55 ip ospf network point-to-point!interface Loopback1 ip address 4 55!interface Serial1/1 ip address serial restart-delay 0!interface Serial1/2 ip address encapsulation frame-relay ip ospf network point-to-multipoint serial restart-delay 0 frame-relay map ip 402 broadcast frame-relay map ip 406 broadcast no frame-relay inverse-arp!router ospf 1 router-id log-adjacency-changes redistribute static subnets network area 0 network 55 area 0!router bgp 3 no synchronization bgp router-id bgp log-neighbor-changes network 4 mask 55 redistribute ospf 1 route-map 23 neighbor remote-as 3 neighbor update-source Loopback0 neighbor next-hop-self neighbor remote-as 4 neighbor ebgp-multihop 255 neighbor update-source Loopback0 neighbor route-map medr4 out neighbor remote-as 3 neighbor update-source Loopback0 no auto-summary!ip classlessip route 55 no ip http server!access-list 22 permit 2access-list 23 permit access-list 23 permit access-list 23 permit !route-map 23 permit 10 match ip address 23!route-map medr4 permit 10 match ip address 22 set metric 50!route-map medr4 permit 20line con 0 exec-timeout 0 0 end2.5 R5配置hostname r5!no ip domain lookup!ip cef!interface Loopback0 ip address 55!interface Loopback1 ip address 5 55!interface FastEthernet0/0 ip address duplex half!interface Serial1/0 ip address serial restart-delay 0!router bgp 4 no synchronization bgp router-id bgp log-neighbor-changes network 5 mask 55 neighbor remote-as 3 neighbor ebgp-multihop 255 neighbor update-source Loopback0 neighbor remote-as 3 neighbor ebgp-multihop 255 neighbor update-source Loopback0 no auto-summary!ip classlessip route 55 ip route 55 no ip http server!line con 0 exec-timeout 0 0 end2.6 R6配置hostname r6!boot-start-markerboot-end-marker!no aaa new-modelip subnet-zero!no ip domain lookup!ip cef!interface Loopback0 ip address 55 ip ospf network point-to-point!interface Loopback1 ip address 6 55!interface FastEthernet0/0 ip address duplex half!interface Serial1/2 ip address encapsulation frame-relay ip ospf network point-to-multipoint serial restart-delay 0 frame-relay map ip 604 broadcast!router ospf 1 router-id log-adjacency-changes network 55 area 0 network area 0!router bgp 3 no synchronization bgp router-id bgp log-neighbor-changes network 6 mask 55 neighbor remote-as 3 neighbor update-source Loopback0 neighbor next-hop-self neighbor route-map r355 out neighbor remote-as 3 neighbor update-source Loopback0 neigh
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 科技信息检索与论文写作作业
- 建筑工程项目论文六
- 临床试验远程监查与电子知情同意书的协同实施
- 产后出血预防与急救护理2026
- 函授汉语言文学毕业生自我鉴定5
- 当代学生普遍存在的问题及对策
- 05-宓咏-复旦大学信息中心主任-数据化管理与服务
- 皖西学院中文系本科毕业论文基本格式要求
- 北京科技大学本科生毕业设计(论文)治理标准
- 合并心血管疾病胃癌患者术后血流动力学监测方案
- 庆阳市陇东学院招聘事业编制笔试真题2024
- 公司好新闻大赛活动方案
- 直播保密协议书
- 碳交易培训课件
- 2025年公司员工安全培训考试试题含完整答案(考点梳理)
- 网上信息发布审核制度
- 军队文职人员(中医学)科目近年考试真题(200题)
- 血液科临床护理小讲课
- 中职高教版(2023)语文职业模块-第一单元1.4闪亮的坐标,劳模王进喜【课件】
- 《头面部穴位按摩》课件
- 《流感与普通感冒的防治》课件
评论
0/150
提交评论