I am currently studying about the BGP path selection process and I came across MED and AS Path Prepending which can both be used to affect how traffic enters our network.
Are there any scenarios where we might want to use MED over AS PP? Since AS PP seems much better in my opinion, because it’s propagated across the other autonomous systems while the MED attribute is only valid for the neighboring ASes.
Plus if we had a multi-homed connection using 2 ISPs And we wanted all traffic to go through the top path/link, for example, then applying MED would be of no use since ISP-B will use the 4th tiebreaker (AS Path) and will always use the bottom path. Plus MED is not even further propagated to other autonomous systems.
So are there any situations where using MED would be more preferrable than AS Path Prepending?
Thank you in advance