- 1、本文档共17页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
6-4-Selecting a BGP Path
Implementing BGP
Selecting a BGP Path
BGP Path Attributes
BGP metrics are called path attributes.
Characteristics of path attributes include:
Well-known versus optional
Mandatory versus discretionary
Transitive versus nontransitive
Partial
Well-Known Attributes
Well-known attributes
Must be recognized by all compliant BGP implementations
Are propagated to other neighbors
Well-known mandatory attributes
Must be present in all update messages
Well-known discretionary attributes
May be present in update messages
Optional Attributes
Optional attributes
They are recognized by some implementations (could be private); but expected not to be recognized by all BGP routers.
Recognized optional attributes are propagated to other neighbors based on their meaning.
Optional transitive attributes
If not recognized, marked as partial and propagated to other neighbors
Optional nontransitive attributes
Discarded if not recognized
BGP Attributes
BGP attributes include the following:
AS path *
Next-hop *
Origin *
Local preference
MED
Others
* Well-known mandatory attribute
AS Path Attribute
A list of autonomous systems that a route has traversed:
For example, on router B, the path to 192.168.1.0 is the AS sequence (65500, 64520).
The AS path attribute is well-known, mandatory.
Next-Hop Attribute
The IP address of the next AS to reach a given network:
Router A advertises network 172.16.0.0 torouter B in EBGP, with anext hop of 10.10.10.3.
Router B advertises172.16.0.0 in IBGP torouter C, keeping 10.10.10.3as the next-hop address.
The next-hop attribute is well-known, mandatory.
Origin Attribute
IGP (i)
network command
EGP (e)
Redistributed from EGP
Incomplete (?)
Redistributed from IGP or static
The origin attribute informs all autonomous systems in the internetwork how the prefixes were introduced into BGP.
The origin attribute is well-known, mandatory.
Example: Origin Attribute
RouterA# show ip bgp
BGP table version is 14, local router ID is 172.31.11.1
Status codes: s suppr
文档评论(0)