- 1、本文档共15页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
usingroutemapstomanipulatebasicbgppaths
Implementing BGP Using Route Maps to Manipulate Basic BGP Paths BGP Is Designed to Implement Policy Routing Changing BGP Local Preference For All Routes Local Preference Case Study Router C BGP Table with Default Settings Route Map for Router A Router C BGP Table with Local Preference Learned Changing BGP MED for All Routes BGP Using Route Maps and the MED Route Map for Router A Route Map for Router B MED Learned by Router Z Summary The BGP local preference attribute can be changed to manipulate the best-path decision process, either for all routes or for selected routes using route maps. Higher local preference values are preferred. Local preference is used only between IBGP speakers within the same AS. The MED values can be changed to manipulate packets returning to an AS, either for all routes or for selected routes, using route maps. ?????? Lower MED values are preferred. The MED is sent to EBGP neighbors; those routers propagate the MED within their AS. The routers within the AS use the MED but do not pass it on to the next AS. Routers in a typical enterprise BGP implementation multihome to two ISPs and pass default routes to other routers within the enterprise. BGP is designed for manipulating routing paths. bgp default local-preference value Router(config-router)# This command changes the default local preference value. All routes advertised to an IBGP neighbor have the local preference set to the value specified. Local preference is used in these ways: Within an AS between IBGP speakers To determine the best path to exit theAS to reach an outside network Set to 100 by default; higher values preferred What is the best path for router C to 65003, 65004, and 65005? RouterC# show ip bgp BGP table version is 7, local router ID is 3.3.3.3 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 * i172.16.0.0
文档评论(0)