O'Reilly logo
  • Varun Chopra thinks this is interesting:

Note that bgp always-compare-med also enforces deterministic behavior in the path selection. If you use this statement you do not need to also use the bgp deterministic-med statement. The difference between the two, of course, is that the former is only used when you want to compare the MEDs of routes from different autonomous systems.


They're not the same! a-c-m supercedes d-m will finish the job at MED in the BGP decision algo.
Nothing else like whether the prefix is ebgp or ibgp-learnt or what is the lower router-id need be checked.