Ospf use cost to built short path algorithm,these cost depend on bandwith ( cost=100 000 000/bandwith). The E2 use Ethernetwhich has more bandwith than IA with serial, the cost via E2 is less than cost via IA.
if you want IA to be preferred than E2, you change cost of serial interface with command ip ospf cost.
This is not an OSPF issue as the IA would normally be selected over the E2.
This is in an MPLS VPN context, right? And I suppose the IA is being received over BGP via the MPLS core, right? The issue is probably that you are redistributing the E2 in BGP then.
As soon as the IA dissapears, the E2 is selected and then redistributed into BGP. Even when the IA comes back (via BGP) BGP will select the locally originated route (the redistributed E2) and will ignore the route coming from the other side of the cloud.
One way to prevent this is by filtering when you redistribute from OSPF to BGP on this PE.
Hope this helps,
Harold Ritter Sr. Technical Leader CCIE 4168 (R&S, SP) email@example.com México móvil: +52 1 55 8312 4915 Cisco México Paseo de la Reforma 222 Piso 19 Cuauhtémoc, Juárez Ciudad de México, 06600 México
Question We run asr9001 with XR 6.1.3, and we have a very long delay to
login w/ SSH 1 or 2 to the device compare to IOS device. After
investigation, the there is 1s delay between the client KEXDH_INIT and
the server (XR) KEXDH_REPLY. After debug ssh serv...
Introduction The purpose of this document is to demonstrate the Open
Shortest Path First (OSPF) behavior when the V-bit (Virtual-link bit) is
present in a non-backbone area. The V-bit is signaled in Type-1 LSA only
if the router is the endpoint of one or ...
Hi, I am seeing quite a few issues with patch install and wanted to
share my experience and workaround to this. Login to admin via CLI, then
access root with the “shell” command Issue “df –h” and you’ll probably
see the following directory full or nearly ...