An MX Series router has received a BGP prefix from its peer. There are multiple destination routes to the BGP
prefix with the default BGP route preference.
In this scenario, what is the first tie-breaker used to select the destination route?
A.
lowest MED
B.
shortest cluster list length
C.
highest local preference
D.
lowest origin code
Explanation:
Understanding BGP Path Selection
For each prefix in the routing table, the routing protocol process selects a single best path. After the best path is
selected, the route is installed in the routing table. The best path becomes the active route if the same prefix is
not learned by a protocol with a lower (more preferred) global preference value, also known as the
administrative distance. The algorithm for determining the active route is as follows:
1. Verify that the next hop can be resolved.
2. Choose the path with the lowest preference value (routing protocol process preference).
Routes that are not eligible to be used for forwarding (for example, because they were rejected by routing
policy or because a next hop is inaccessible) have a preference of –1 and are never chosen.
Etc.
3. Prefer the path with higher local preference.
For non-BGP paths, choose the path with the lowest preference2 value.
Etc.
https://www.juniper.net/documentation/en_US/junos12.3/topics/reference/general/routingptotocols-address-representation.html
1. Local Pref Value
2. As Path Length
3. Origin(prefer IGP than EGP than Incomplete – Lowest)
4. MED (Lowest value)
5. Prefer strictly internal paths
6. Prefer strictly external paths
7. Lowest IGP metric
8. Lowest peer router ID
9. Lowest peer IP address