All right, so next up, scenario two,
we're going to look at subnet B,
which is being learned via OSPF with two different costs.
So when we run down the path selection criteria,
we are going to start technically
by looking at administrative distance.
And remember what OMP is.
OMP is always 251
if we're talking about the Cisco device,
so really the edges.
But it's going to be 250 on Viptela devices
such as the controllers.
So always keep that in mind.
But these are just OMP paths,
so the administrative distance is always locally significant,
and so it's always going to be the same
unless we manually configure something different.
So OMP preference would be next.
And again, we're assuming defaults unless otherwise told,
so this is going to be the same.
T-lock preference, also the same in this situation.
And then we start to look at that origin concept,
and it starts with the origin type.
This is sorted roughly by the administrative distance
of the learned routing protocols,
but in this case, the routing protocol is the same.
It's OSPF for both.
So if I'm advertising a route here for subnet B,
then I would say that I learned it via OSPF,
but that's going to be the same for all six of these T-locks,
saying that, hey, we've learned this via OSPF.
So lastly, we're going to look at the origin metric.
And the origin metric is going to be the cost.
In our case, cost of 10 going to edge 1,
cost of 100 going to edge 2.
So this is going to feel very similar
as far as our conversation about which paths are going to be included
because we're advertising six.
We're only going to consider four,
and we're going to advertise those four down to the remote edge.
So what would be the order here?
Well, like I said, it's going to feel somewhat similar.
We're going to go with edge 1 for the first three
because it has the lower cost,
not because it has lower tiebreaker,
but in this case because it has an actual better path to the subnet.
Then we have to decide the tiebreakers among the T-locks,
and since we didn't configure any T-lock preferences or anything,
we're going to have to use the tiebreakers.
And so this is going to once again come down to Internet 1,
Internet 2, and MPLS in that order,
followed by edge 2, which has, at this point,
it's going to get the fourth slot.
The question is which T-lock gets it.
Well, again, Internet 1 wins that tiebreaker.
So the answer ends up being the same,
but if the OSPF costs had flipped
and maybe we had 100 down here and 1,000 up here,
then at that point we would have different answers.
But what matters here is that we go down this list
of path selection criteria,
which paths are preferred over other paths.