A Look into the BGP MED Attribute
What is the MED?
The MED (Multi-Exit Discriminator) is an optional BGP attribute, that is used when there are multiple external points for a single AS.
For example, you may want traffic coming into your AS destined for network A to take one path but traffic destined for network B