Selecting a BGP Path参考.ppt

  1. 1、本文档共33页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Selecting a BGP Path参考

Selecting a BGP Path BGP Path Attributes BGP的度量通常也被称为路由路径属性(path attributes). 路径属性的分类: 公认必遵 公认自决 任选可传递 任选不可传递 Well-Known Attributes Well-known attributes 必须被所有的BGP实施识别 发送给其他的对等体 Well-known mandatory attributes 必须包含在更新消息中 Well-known discretionary attributes 可能会出现在更新消息中 Optional Attributes Optional attributes 被某些BGP实施识别,可以是私有的 被识别的属性会被传送给其他的对等体 Optional transitive attributes 如果没有被识别,该属性会被标识为partial,然后发送给其他的对等体 Optional nontransitive attributes Discarded if not recognized BGP Attributes AS Path Attribute 路由穿过的所有的自治系统的列表 在路由器B上,到达192.168.1.0的网络的路径属性包含 (65500, 64520). 路径属性是公认必遵可传遵递. Origin Attribute IGP (i) network command EGP (e) Redistributed from EGP Incomplete (?) Redistributed from IGP or static Next-Hop Behavior BGP是一种AS-by-AS的路由协议. 在BGP中,下一跳并不意味下一台路由器.而是指出通过那一个IP地址可以到达下一个自治系统. 路由器A通告172.16.0.0网络给EBGP的邻居路由器B,其下一跳为10.10.10.3. 路由器B通告172.16.0.0的网络给IBGP的邻居路由器C,其下一跳仍然保持为10.10.10.3. Next Hop on a Multiaccess Network next-hop-self Command 强制通告给指定邻居更新数据包中的下一跳为自己. 用于下一跳的地址与BGP的分组中的源地址相同. Example: next-hop-self Configuration Local Preference Attribute MED Attribute Weight Attribute (Cisco Only) BGP Route Selection 在BGP的转发表中,对于某个目标网络可能存在多个路径。 BGP不是设计用于负载均分的协议: 根据策略选择最佳路径. 带宽不会影响BGP的路径选择 BGP通过比较每条路径的属性,选择出一条最优的路径。 BGP和其它路由协议使用administrative distance进行比较。 拥有最低管理距离的路由协议产生的路由会被装载到路由表. IBGP distance = 200 EBGP distance = 20 Route Selection Decision Process 如果下一跳不可达或路由没有同步,则该路由被忽略 Prefer highest weight (local to router) Prefer highest local preference (global within AS) Prefer route originated by the local router (next hop = 0.0.0.0) Prefer shortest AS path Prefer lowest origin code (IGP EGP incomplete) Prefer lowest MED (from other AS) Prefer EBGP path over IBGP path Prefer the path through the closest IGP neighbor Prefer oldest route for EBGP paths Prefer the path with the lowest neighbor BGP router ID END Using Route Maps to Manipulate Basic BGP Paths BGP Is Designed to Implement Policy Routing BGP Local Preference Setting a Default Local Preference BGP Multi-Exit Discrimin

文档评论(0)

2017meng + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档