- 积分
- 648
- 鸿鹄币
- 个
- 好评度
- 点
- 精华
- 注册时间
- 2010-5-11
- 最后登录
- 1970-1-1
- 阅读权限
- 40
- 听众
- 收听
中级工程师
|
发表于 2012-7-5 17:08:23
|
显示全部楼层
6.Prefer the path with the lowest multi-exit discriminator (MED). Note the following:
- q- v* ^& N8 c1 `$ W, w a.- This comparison is done only if the first (neighboring) AS is the same in the two paths; any Confederation Sub-autonomous systems are ignored. In other words, MEDs are compared only if the first AS in the AS_SEQUENCE is the same for multiple paths. Any preceding AS_CONFED_SEQUENCE is ignored.. D$ B4 X9 z4 m- \
b.- If bgp always-compare-med is enabled, MEDs are compared for all paths. This option needs to be enabled over the entire AS, otherwise, routing loops can occur.
; a8 Z1 h6 r3 D* z( v% m c.- If bgp bestpath med-confed is enabled, MEDs are compared for all paths that consist only of AS_CONFED_SEQUENCE (paths originated within the local confederation).
2 y% l+ }# `" w) T d.- Paths received from a neighbor with a MED of 4,294,967,295 will have the MED changed to 4,294,967,294 before insertion into the BGP table.
0 t( p5 _. H$ R8 b$ |$ J) g" D4 ^ e.- Paths received with no MED are assigned a MED of 0, unless bgp bestpath missing-as-worst is enabled; in that case, they are assigned a MED of 4,294,967,294.
9 g* W8 Z7 y- S) K f.- The bgp deterministic med command also can influence this step.9 r# X7 }& x6 W o; x9 {
6.优先选择具有最低MED值的路径。注意:( ]; G. s4 x+ H1 M7 t A
n 只有两条路径来自于同一个AS时,才进行MED的比较。联盟子AS将被忽略。换句话说,就是多条路径的AS_SEQUENCE中的第一个AS相同时,才比较MED。任何AS_CONFED_SEQUENCE都将被忽略' l! f. n7 R7 O! X
n 如果bgp always-compare-med被激活,将对所有路径进行MED比较。这个选项需要在整个AS中激活,否则可能出现路由环路0 T/ @* k' Y3 D$ b5 l
n 如果bgp bestpath med-confed被激活,将在仅由AS_CONFED_SEQUENCE(由本地联盟产生的路径)组成的所有路径之间比较MED
* B! H8 t& U1 t6 ~$ D- a6 R7 o/ z. Jn 从邻居收到的MED值为4294967295的路径在插入BGP表之前,要将值改为4294967294
$ T: {2 S( R ^0 ln 对于收到的没有MED值的路径,除非bgp bestpath missing-as-worst命令被激活,否则都要分配一个MED值0.在激活该命令的情况下,路径将赋予MED值4294947294 |
34#
2012-7-5 17:08:23
回复(0)
收起回复
|