Hi guys! here again with some questions:
While using BGP, I've read that prefixes have a default MED of 0 if no value is present in the updates of a EBGP peer.
My questions is, why some times the MED is present and some others it does not? I mean in the output of the " show ip bgp" I was trying to figure it out, and at first i tought that it displayed a 0 if the prefix was originated in the contiguous AS, but i found other prefixes originated many AS hops away that also displayed a 0 in the "show ip bgp". So what's the rule here? I know for example, that Local Preference defaults to 100 on prefixes from IBGP peers, but for EBGP prefixes it displays nothing, but for MED?
Thanks in advance!!