The external cost is only considered if the cost to the ASBR is the same for both routes. I think you are using "forward metric" for the cost to the ASBR, and "route metric" for the cost of the route injected into the OSPF routing domain (?), so it would be 2.
Hmmm...fat fingered my answer: the first route (lower route metric) would be used.
This is what RFC2328 has to say:
(d) If the new AS external path is still indistinguishable...select the preferred path based on a least cost comparison...Type 2 external paths advertising equal type 2 metrics are compared by looking at the distance to the forwarding addresses.
Right--you have to define by what you mean by "cost" and "metric." The forward metric (cost) is the cost to the ASBR. The "metric" is the cost injected into OSPF when the route is redistributed. The forward metric (cost to the ASBR) is only considered if the injected metric is the same on both routes.
We have 3 identical switches configured by someone else and would like to claim some of the Gigabit ports(G1/G2/G3/G4) for use on servers. When we try to change the wiring and configuration, we run in to connectivity issues. Attached is a des...
This is actually a pretty cool feature, i didn't even know it existed until I was looking for a solution to advertise a subnet (prefix in BGP talk), only if a certain condition existed. This is exactly what conditional advertisements does
j ai une question j ai achete un routeur cisco 887VA-k9 , je le configuré avec la configuration ci- dessous
si je le lier avec mon pc portable sur l un de ses ports directement ça marche toute est bien ( la connexion internet + m...