- 积分
- 648
- 鸿鹄币
- 个
- 好评度
- 点
- 精华
- 最后登录
- 1970-1-1
- 阅读权限
- 40
- 听众
- 收听
中级工程师
   
|
发表于 2012-7-5 17:08:23
|
显示全部楼层
6.Prefer the path with the lowest multi-exit discriminator (MED). Note the following: F2 v4 @7 B' @3 E \
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.1 b q- r& R! _& _3 }
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.
$ v, `; b! ]- 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).1 [; T" B* }3 B* q4 J. ^1 }
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.
+ A( {$ G* `# K 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 P# m5 ]) _" b2 O2 L5 O f.- The bgp deterministic med command also can influence this step., N6 h6 j" b4 i
6.优先选择具有最低MED值的路径。注意:
" f: L+ }2 r+ @0 ln 只有两条路径来自于同一个AS时,才进行MED的比较。联盟子AS将被忽略。换句话说,就是多条路径的AS_SEQUENCE中的第一个AS相同时,才比较MED。任何AS_CONFED_SEQUENCE都将被忽略
" s4 ` W. B5 G: D% En 如果bgp always-compare-med被激活,将对所有路径进行MED比较。这个选项需要在整个AS中激活,否则可能出现路由环路
, j0 _+ c) s8 ]8 Y# Jn 如果bgp bestpath med-confed被激活,将在仅由AS_CONFED_SEQUENCE(由本地联盟产生的路径)组成的所有路径之间比较MED
, l) g% K& @: Y4 U) H. x5 `n 从邻居收到的MED值为4294967295的路径在插入BGP表之前,要将值改为4294967294
+ n- f0 x+ H8 g: M0 B8 Qn 对于收到的没有MED值的路径,除非bgp bestpath missing-as-worst命令被激活,否则都要分配一个MED值0.在激活该命令的情况下,路径将赋予MED值4294947294 |
|