- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
BGP的多区域、最优路由、水平分割
辅导:莫鸿鹏老师
总结:张科贤
实验目的:使R7通过BGP链路访问R4上的44.44.44.0/24网络,R4通过BGP网络能访问R7上的77.77.77.0/24网络(在RIP、OSPF、Static路由中不能宣告44.44.44.0和77.77.77.0的网络)
(先不使用R1)
将各个路由器的IP地址按照拓扑图配置
按照拓扑图使用启用相应的路由协议,配置完成以后,测试通一区域内个路由器的连通性(特别是环回接口)。
以上配置是底层的互通性,只有在底层能够连同的情况下才,才可以继续配置BGP
配置BGP的命令行如下:
R7(config)#router bgp 700
R7(config-router)#no au
R7(config-router)#no synchronization
R7(config-router)#bgp router-id 7.7.7.7
R7(config-router)#neighbor 5.5.5.5 remote-as 235
R7(config-router)#neighbor 5.5.5.5 update-source loopback 0
这是BGP协议的基本配置,并指定了邻居,在其它路由器上也做同样的操作
R5(config)#router bgp 235
R5(config-router)#no au
R5(config-router)#no synchronization
R5(config-router)#bgp router-id 5.5.5.5
R5(config-router)#neighbor 7.7.7.7 remote-as 700
R5(config-router)#neighbor 7.7.7.7 update-source lo0
R5(config-router)#neighbor 2.2.2.2 remote-as 235
R5(config-router)#neighbor 2.2.2.2 update-source lo0
R2(config)#router bgp 235
R2(config-router)#bgp router-id 2.2.2.2
R2(config-router)#no sy
R2(config-router)#no au
R2(config-router)#neighbor 5.5.5.5 remote-as 235
R2(config-router)#neighbor 5.5.5.5 update-source lo0
R2(config-router)#neighbor 3.3.3.3 remote 235
R2(config-router)#neighbor 3.3.3.3 update-source lo0
R3(config)#router bgp 235
R3(config-router)#bgp router-id 3.3.3.3
R3(config-router)#no au
R3(config-router)#no sy
R3(config-router)#neighbor 2.2.2.2 remote-as 235
R3(config-router)#neighbor 2.2.2.2 update lo0
R3(config-router)#neig 4.4.4.4 remote 400
R3(config-router)#nei 4.4.4.4 update-source lo0
R4(config)#router bgp 400
R4(config-router)#no au
R4(config-router)#no sy
R4(config-router)#bgp router-id 4.4.4.4
R4(config-router)#neighbor 3.3.3.3 remote-as 235
R4(config-router)#nei 3.3.3.3 update lo0
设置好以后,我们来检查一下邻居的建立情况,检查邻居建立情况可以通过 show ip bgp neighbor,但是show ip bgp neighbor显示比较多的参数,我们可以选择show ip bgp summary来查看简要的邻居建立情况。
R7#sh ip bgp su
BGP router identifier 7.7.7.7, local AS number 700
BGP table version is 1, main routing table version 1
Neighbor V AS MsgRcvd MsgSent TblVer InQ
您可能关注的文档
最近下载
- 八代雅阁原车音响升级操作指导书.pdf VIP
- 动物疫病防治技术 动物疫病防治技术 4能力单元四 猪的传染病 4-2 猪链球菌病.ppt VIP
- 自然人独资股权转让协议.docx VIP
- 小学生活垃圾归类课件PPT.pptx VIP
- 化学品安全培训内容.pptx VIP
- 视器-眼-人体解剖学ppt课件-感觉器官.pptx VIP
- 静配中心PIVAS静脉用药调配中心设备的保养及维护.pptx VIP
- 义务教育版(2024)七年级全一册信息科技 第6课 数字身份辨设备 课件.pptx VIP
- 第9课《天上有颗“南仁东星”》课件++++++++++++2025-2026学年统编版语文八年级上册.pptx VIP
- 菜点酒水知识试卷.pdf VIP
文档评论(0)