- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
BGP 基本实验
RT1 sh run
RT1(config)#do sh run Building configuration...
interface Loopback0
ip address 55
!
interface Serial0/0
ip address 52
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial0/1
ip address 52
serial restart-delay 0
no dce-terminal-timing-enable interface FastEthernet1/0
ip address 52
duplex auto speed auto
!
router ospf 1
router-id
log-adjacency-changes passive-interface Serial0/0
network area 0
network area 0
network 55 area 0
!
router bgp 100
no synchronization
bgp log-neighbor-changes
network mask 52
// RT2 到 网段要行成两条路径的话
必须发布,因为不发布时,RT3-RT1-RT2这个路径的下一跳连通性都没有解决
network mask //只发布 网段 ..只在求业务网段能通
neighbor remote-as 100
neighbor update-source Loopback0 //指定回环接口为发起源接口neighbor remote-as 200
no auto-summary end
RT1#sh ip bgp sum
BGP router identifier , local AS number 100 BGP table version is 21, main routing table version 21 5 network entries using 585 bytes of memory
7 path entries using 364 bytes of memory
8/5 BGP path/bestpath attribute entries using 992 bytes of memory 3 BGP AS-PATH entries using 72 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory 0 BGP filter-list cache entries using 0 bytes of memory BGP using 2013 total bytes of memory
BGP activity 6/1 prefixes, 16/9 paths, scan interval 60 secs
Neighbor
State/PfxRcd
V
AS MsgRcvd MsgSent
TblVer InQ OutQ
Up/Down
4
100
170 175 21
0 0 00:49:31
3
4 200 165 169 21 0 0 02:32:13 2
RT1#sh ip bgp
BGP table version is 21, local router ID is
Status codes: s suppressed, d damped, h history, * valid, best, i - internal, r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
* i/30
0
100
0 i
*
0
32768 i
// 表 本地始发的,向 BGP 邻居通告时,将下一跳改变为自己
* /24
74
32768 i
ri/24
0
74
100
0 i
* /24
0
0 200 i
*i/24
0
100
0 300 i
*
0 200 300 i
RT1#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N
您可能关注的文档
最近下载
- 医学三基考试(康复科)题库及答案(最新版).docx
- 学生调换宿舍申请表(模板).pdf VIP
- 陆上石油天然气开采安全规程.pdf VIP
- 综合与实践 探秘曹冲称象第2课时 活动二 课件 2025-2026学年度西师大版数学三年级上册.pptx VIP
- 国开电大 机电控制与可编程序控制器技术 形考任务1-3答案.doc VIP
- 钢管桩施工方案.doc VIP
- 2025凉山州继续教育公需科目满分答案-数字时代的心理健康.docx VIP
- 湘教(2024)八上数学综合与实践:空瓶换汽水.pptx VIP
- 智启未来,育见新篇——AI赋能教育教学的探索 课件.pptx VIP
- 2025年海南省初中学业水平考试地理卷试题真题(含答案).pdf VIP
文档评论(0)