查看: 5635|回复: 71

[路由交换RS] 思科学习笔记-BGP的笔记总结 分享一份超强的BGP协议总结 某培训机构内部教材

  [复制链接]

3130

主题

4853

帖子

7万

积分

管理团队

人民公仆

Rank: 20Rank: 20Rank: 20Rank: 20Rank: 20

贡献
565
技术
350
活跃
944
在线时间
6750 小时

我爱三通

发表于 2014-1-16 15:44:17 | 显示全部楼层 |阅读模式
思科学习笔记-BGP的笔记总结

节选:1 BGP 基础部分 ................................ ................................ ................................ ................................ ................................ .......................... 3
1.1 BGP 的报文 ................................ ................................ ................................ ................................ ................................ ............... 3
1.2 BGP 建立邻居经历五个状态 ................................ ................................ ................................ ................................ .................. 3
1.2.1 出现 IDLE IDLE状态: ................................ ................................ ................................ ................................ ....................... 3
1.2.2 出现 ACtiveACtive ACtive状态原因: ................................ ................................ ................................ ................................ ........... 3
1.3 邻居建立的条件 ................................ ................................ ................................ ................................ ................................ ........ 3
1.4 BGP 的 TTLTTL ................................ ................................ ................................ ................................ ................................ ................ 4
1.5 BGP 的路由表 ................................ ................................ ................................ ................................ ................................ ........... 4
1.6 BGP 路由优化的条件 ................................ ................................ ................................ ................................ ............................... 4
1.7 BGP RIB BGP RIB BGP RIB-FailureFailureFailure Failure ................................ ................................ ................................ ................................ ................................ ...... 4
1.7.1 RIB 产生的原因: ................................ ................................ ................................ ................................ ........................... 4
1.7.2 RIB 的结果: ................................ ................................ ................................ ................................ ................................ ... 4
1.7.3 查看 BGP 的路由条目: ................................ ................................ ................................ ................................ ........... 4
2 BGP 的各种特殊情况 ................................ ................................ ................................ ................................ ................................ ............. 5
2.1 BGP 中自动汇总的情况环境: ................................ ................................ ................................ ................................ .............. 5
2.2 BGP 中解决路由黑洞: ................................ ................................ ................................ ................................ ........................... 5
2.3 peer group peer grouppeer grouppeer group peer grouppeer grouppeer group 作用 ................................ ................................ ................................ ................................ ................................ ...... 5
2.4 路由聚合(汇总) ................................ ................................ ................................ ................................ ................................ .... 6
2.4.1 手工创建: ................................ ................................ ................................ ................................ ................................ .. 6
2.4.2 创建静态路由并重分布进 BGP : ................................ ................................ ................................ ........................... 6
2.5 BGP 的默认路由产生 ................................ ................................ ................................ ................................ ............................... 7
2.5.1 对所有邻居发送默认 路由: ................................ ................................ ................................ ................................ ..... 7
2.5.2 只对特定的邻居发送默认路由: ................................ ................................ ................................ ............................ 7
2.6 BGP 的密码认证 ................................ ................................ ................................ ................................ ................................ ....... 7
2.7 BGP 的过滤 ................................ ................................ ................................ ................................ ................................ ............... 7
2.7.1 根据路由的 IP 来过滤之外 ................................ ................................ ................................ ................................ ....... 7
2.7.2 根据路由携带的 AS_Path AS_PathAS_PathAS_Path 来过滤: ................................ ................................ ................................ ....................... 8
2.8 BGP 条件路由 ................................ ................................ ................................ ................................ ................................ ........... 8
2.9 通过 AS 欺骗的形式来建立邻居 ................................ ................................ ................................ ................................ ............ 8
3 BGP 的反射器 ................................ ................................ ................................ ................................ ................................ .......................... 9
3.1 为什么需要配置 BGP 的反射器: 的反射器: ................................ ................................ ................................ ................................ ......... 9
3.2 BGP 的反射器机制: ................................ ................................ ................................ ................................ ........................... 9
3.3 BGP 的反射器特点: ................................ ................................ ................................ ................................ ......................... 10
3.4 BGP 的反射器命令配置: ................................ ................................ ................................ ................................ .................... 10
3.5 BGP 的反射器中修改 cluster IDcluster ID cluster IDcluster IDcluster ID cluster ID: ................................ ................................ ................................ ................................ ..... 10
4 BGP 联邦 ................................ ................................ ................................ ................................ ................................ ................................ 10
4.1 为什么需要配置联邦 ................................ ................................ ................................ ................................ .............................. 10
4.2 BGP 联邦的机制: ................................ ................................ ................................ ................................ ................................ . 10
4.3 BGP 联邦的特点: ................................ ................................ ................................ ................................ ................................ . 10
4.4 BGP 联邦的配置命令步骤: ................................ ................................ ................................ ................................ ................ 11
5 BGP 属性: ................................ ................................ ................................ ................................ ................................ ............................ 12
5.1 no -exportexport exportexport ................................ ................................ ................................ ................................ ................................ ............... 13
5.2 no -advertiseadvertise advertiseadvertiseadvertise advertise ................................ ................................ ................................ ................................ ................................ .......... 17
5.3 local locallocallocal-as ................................ ................................ ................................ ................................ ................................ .................... 18
5.4 私有 Community Community Community ................................ ................................ ................................ ................................ ................................ ... 19
6 BGP 选路原则 ................................ ................................ ................................ ................................ ................................ ........................ 22
6.1 WeigWeigWeig ht ................................ ................................ ................................ ................................ ................................ ..................... 22
6.2 local locallocallocal-preference preference ................................ ................................ ................................ ................................ ................................ ... 24
6.3 本地路由始发( Next Next -Hop Hop) ................................ ................................ ................................ ................................ .............. 25
6.4 AS -PatPatPath ................................ ................................ ................................ ................................ ................................ ................... 27
6.5 Origin Origin 属性 ................................ ................................ ................................ ................................ ................................ ............. 28
6.6 MED ................................ ................................ ................................ ................................ ................................ .......................... 30
6.7 eBGPeBGP 优于 iBGP iBGP ................................ ................................ ................................ ................................ ................................ ..... 32
6.8 下一跳的 MetricMetricMetric Metric ................................ ................................ ................................ ................................ ................................ ..... 34
6.9 负载均衡 ................................ ................................ ................................ ................................ ................................ ................... 36
6.10 下一跳都为 eBGPeBGP ,则选择最早学习到的路由 ,则选择最早学习到的路由 ................................ ................................ ................................ ................. 38
6.11 最低 RouterRouterRouter RouterRouter-ID 下一跳 ................................ ................................ ................................ ................................ ......................... 40
6.12 Cluster list list ................................ ................................ ................................ ................................ ................................ .............. 42
6.13 BGP 的 PeerPeerPeerPeer地址 ................................ ................................ ................................ ................................ ................................ ... 44

购买主题 已有 7 人购买  本主题需向作者支付 3 金币 才能浏览

0

主题

352

帖子

2050

积分

论坛VIP原价+免回复特权

Rank: 8Rank: 8

贡献
0
技术
0
活跃
-2
在线时间
0 小时
发表于 2014-1-16 19:55:05 | 显示全部楼层
思科Cisoc视频、华为H3C视频、CCNA视频、CCNP视频、CCIE视频绝对是远程学习IT的第一站!www.santongit.com

0

主题

645

帖子

9615

积分

论坛VIP原价+免回复特权

Rank: 8Rank: 8

贡献
0
技术
0
活跃
-2
在线时间
0 小时
发表于 2014-3-19 18:00:11 | 显示全部楼层
三通IT学院是个学习技术的好地方,加油吧各位!

0

主题

213

帖子

585

积分

Gib

Rank: 5Rank: 5

贡献
0
技术
0
活跃
0
在线时间
0 小时
发表于 2014-4-1 21:56:25 | 显示全部楼层
三通IT学院是个学习技术的好地方,加油吧各位!

2

主题

350

帖子

2712

积分

Pib

Rank: 8Rank: 8

贡献
150
技术
0
活跃
667
在线时间
57 小时
发表于 2014-4-6 12:21:30 | 显示全部楼层
什么?你说的这个是真的?

1

主题

244

帖子

1711

积分

Gib

Rank: 5Rank: 5

贡献
0
技术
0
活跃
346
在线时间
29 小时
发表于 2014-12-4 22:58:53 | 显示全部楼层
不错,顶一下

0

主题

583

帖子

3903

积分

Zib

Rank: 9Rank: 9Rank: 9

贡献
0
技术
0
活跃
738
在线时间
49 小时
发表于 2014-12-5 10:33:31 | 显示全部楼层
IT技术大师,尽在三通IT学院

0

主题

10

帖子

20

积分

Byte

Rank: 2

贡献
0
技术
0
活跃
11
在线时间
0 小时
发表于 2014-12-23 11:31:54 | 显示全部楼层
每天来学习,跟三通一起成长!

0

主题

61

帖子

340

积分

Kib

Rank: 3Rank: 3

贡献
0
技术
0
活跃
59
在线时间
3 小时
发表于 2014-12-26 01:22:09 | 显示全部楼层
坚持学习,成就技术技术之王!

0

主题

1554

帖子

1万

积分

论坛贵宾VIP-永久权限

Rank: 8Rank: 8

贡献
0
技术
0
活跃
1836
在线时间
211 小时
发表于 2014-12-29 11:29:43 | 显示全部楼层
dddddddddddddddddddd
使用 高级模式(可批量传图、插入视频等)
您需要登录后才可以回帖 登录 | 立即注册

快速回复 返回顶部 返回列表