Re: BGP - MED Attribute

From: Kevin M. Woods (kev@xxxxxxx)
Date: Mon Aug 28 2000 - 10:10:44 GMT-3


   
bgp always-compare-med - Compare the MED values regardless of the neighboring
                          ASs or sub-ASs, i.e. always compare MEDs.

bgp deterministic med - Compare the MED values on routes received from the
                          same neighboring sub-AS for routes originated
                          within a confederation.

bgp bestpath med-confed - Compare the MED values regardless of the neighboring
                          sub-ASs for routes originated within a confederation.

2.1. You are correct, but all four AS_PATHs have a length of 2 so that wouldn't
     apply to here...

A similar question to this one was posted not too long ago, check the archives
for more information.

Kevin

// Hi all:
//
// I have not clear the difference between:
//
// 1.- bgp always-compare-med
//
// 2.- bgp bestpath med-confed
// in the cisco Documentationn says:
//
// "The comparison between MEDs is only made if there are no external
// ASes in the path (an external AS is an AS that is not within the
// confederation). If there is an external AS in the path, then the
// external MED is passed transparently through the confederation, and the
// comparison is not made."
//
// path= 65000 65004, med=2
// path= 65001 65004, med=3
// path= 65002 65004, med=4
// path= 65003 1, med=1
//
// In this case, path 1 would be chosen if bgp bestpath med-confed is
// enabled. The fourth path has a lower MED, but it is not involved in the
// MED comparison because there is an external AS in this path.
//
// 2.1. Anybody knows why the path that has an external AS in his path is
// not involved in the MED comparison?
// 2.2. what about the comparison about the shortest AS PATH?, I thought it
// was previous to the MED comparison.
// 2.3. Is The behaviour different if we also have the command
// bgp always-compare-med in our conf.?
//
// 3.- bgp deterministic med
// in the cisco Documentationn says:
//
// Alejandro
// "Note If bgp always-compare-med is enabled, all paths are fully
// comparable, including those from other ASes in the confederation, even
// if bgp deterministic med is also enabled."
//
// 3.1. What about paths with external ASs in their paths?
// 3.2. If I have



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:24:31 GMT-3