BGP Always Compare MED Behavior Between IOSs
While doing some of the best path selection labs, I noticed that if the bgp always compare med command is used, MED is always compared regardless of AS_PATH length.
I read elsewhere in the workbook and heard in one of the ATC videos that if bgp always compare med is used, the med is always compared between different ASN's but only if the AS_PATH length was the same.
I.e., if a router learned 126.96.36.199/24 via AS_PATH 111 222 and 333 444 555, even with BGP always compare med, the MED would not be compared between these two paths because their length is different.
If however that AS_PATH was 111 222 and 333 444, then the MEDs would be compared with the bgp always compare med command enabled because their AS_PATH length is the same.
In practice on the rack rentals, this is not the case. When bgp always compare med is enabled, the med is always compared regardless of AS_PATH length.
What has everyone else seen relating to how this command behaves on other IOSs?