1 / 2
文档名称:

BGP选路原则.doc

格式:doc   大小:34KB   页数:2页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

BGP选路原则.doc

上传人:mh900965 2018/3/24 文件大小:34 KB

下载得到文件列表

BGP选路原则.doc

文档介绍

文档介绍:BGP选录原则配合(前6经常用)
优选最高weight,cisco钻有,本地有效默认32768 邻居过来的为0
优先最高的local-pref,默认100,在本AS内传递
originate优先 defau-originate》default-information-work》aggregate-address
优先先最短AS path,可以使用BGP bestpath as-path ignore 这个命令来跳过这已步
最小的origin code (IGP<EGP<plete)
med同一个AS传递优先选最小MED
ebgp优于ibgp
bgp优先选择
Local preference
R1 - R2-R3
Lo1 lo2
hop self
-map。方向从R1收来,in方向
Router bgp 200
Neighbor ,1 router-map F1 in
Ip prefix-list test1 seq permit /24
Router-map F1 permit 10
Match ip add prefix-list test1
Set local-preference 888
Router-map F1 permit 20
方法2
Router bgp 100
Neighbor router-map T2 out
Neighbor remote-as 200
Ip prefix-list test1 seq 5 permit 、24
Router-map T2 permit 10
Match ip add prefix-list test1
Set as-path prepend 777 888 999
Router-map T2 permit 20

本地优先级可以用在ebgp的in方向 ibgp的in和out方向越大越优先默认是100
Router bgp 200
Neighbor 202。 router-map F1 in
Ip prefix-list test11 seq 5 permit 、24
Router-map T1 permit 10
Match ip add prefix-list test11
Set as-path prepend last-as
Router-map T1 permit 20
5
流程1在R1上配置router-map通过origincode ,
Ip pre r2 per 24
Ip pre r3 per 24
Router-map F3 per 10
Ip match add pre r3
Set ori inc
Router-map F3 per 20
Bgp bestpath
Router-map F2 p