<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Ospf new dynamic route learnt in Routing and SD-WAN</title>
    <link>https://community.cisco.com/t5/routing-and-sd-wan/ospf-new-dynamic-route-learnt/m-p/3678754#M299486</link>
    <description>I don't see anything here that can say why you're getting the route from the other peer. Can you share your config please on all devices (route-maps and ospf).&lt;BR /&gt;You forgot adding the new detailed diagram.</description>
    <pubDate>Wed, 01 Aug 2018 01:33:09 GMT</pubDate>
    <dc:creator>Francesco Molino</dc:creator>
    <dc:date>2018-08-01T01:33:09Z</dc:date>
    <item>
      <title>Ospf new dynamic route learnt</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/ospf-new-dynamic-route-learnt/m-p/3675930#M299212</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Hope someone can shed some light on a perplexing issue Iam having with ospf.&lt;/P&gt;
&lt;P&gt;So I have a router with 2 peers (asbr's) connected to bgp peers further upstream into mpls.&lt;/P&gt;
&lt;P&gt;If I am learning a prefix from peer 1 all is good and well, now let's say several hours later peer 2 also learnt the same route from upstream mpls.&lt;/P&gt;
&lt;P&gt;It's come into my routers ospf database and has a better metric than the one my router already installed in its route table via peer 1.&lt;/P&gt;
&lt;P&gt;Should the routing table discard the route to the prefix via peer1 and now install the route via peer 2?&lt;/P&gt;
&lt;P&gt;I thought it should but seems the update is not dynamic by nature...&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Has anyone else come across this problem?&lt;/P&gt;
&lt;P&gt;Thanks all&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jul 2018 01:38:29 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/ospf-new-dynamic-route-learnt/m-p/3675930#M299212</guid>
      <dc:creator>IrmanGhaffar</dc:creator>
      <dc:date>2018-07-27T01:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: Ospf new dynamic route learnt</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/ospf-new-dynamic-route-learnt/m-p/3675974#M299215</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;Based on description, a better route will always be preferred.&lt;BR /&gt;&lt;BR /&gt;Now to see why it's not your case, can you show the detail of how this prefix is learned in ospf from both peers, also share the ospf database info for this specific prefix please.</description>
      <pubDate>Fri, 27 Jul 2018 04:22:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/ospf-new-dynamic-route-learnt/m-p/3675974#M299215</guid>
      <dc:creator>Francesco Molino</dc:creator>
      <dc:date>2018-07-27T04:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: Ospf new dynamic route learnt</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/ospf-new-dynamic-route-learnt/m-p/3676064#M299219</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;It all depends on how the metric is seen, Ospf&amp;nbsp;can count the costing of external&amp;nbsp;routes differently.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Type E1 counts the sum of internal cost to the asbr and the external cost of the route&lt;BR /&gt;Type&amp;nbsp;E2 counts the cost only the external cost of the route&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now if either of these are the same and a newer lsa comes in&amp;nbsp;and that has&amp;nbsp;a shorter path the the asbr then it should be that new lsa which gets installed into the rib.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;sh ip ospf border-routers&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;res&lt;/P&gt;
&lt;P&gt;Paul&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jul 2018 08:23:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/ospf-new-dynamic-route-learnt/m-p/3676064#M299219</guid>
      <dc:creator>paul driver</dc:creator>
      <dc:date>2018-07-27T08:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Ospf new dynamic route learnt</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/ospf-new-dynamic-route-learnt/m-p/3676124#M299222</link>
      <description>&lt;P&gt;Thanks for the replies.&lt;/P&gt;
&lt;P&gt;A bit more on the topology then.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Core-1 and Core-2 have an Uplink to their respective local WAN router and run OSPF process 10 to it.&lt;/P&gt;
&lt;P&gt;The local WAN router runs BGP up to the MPLS, and redistributes BGP routes --&amp;gt; OSPF 10 with a&amp;nbsp; &lt;U&gt;metric of 255&lt;/U&gt; and tags them. Core-1 routes are in OSPF process 10 and get redistributed into BGP so its all mutual.&lt;/P&gt;
&lt;P&gt;The direct link between Core-1 and Core-2 is running OSPF process 11 as a P2P.&lt;/P&gt;
&lt;P&gt;Core-1 and Core-2 also redistribute OSPF 10 --&amp;gt; 11 and visa versa.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now lets look at Core-1 route table:&lt;/P&gt;
&lt;P&gt;O E2 10.1.104.0/24 [110/255] via 10.2.101.253, 00:03:05, Vlan101&lt;BR /&gt;O E2 10.1.103.0/24 [110/255] via 10.2.101.253, 00:03:05, Vlan101&lt;/P&gt;
&lt;P&gt;This shows the routes are E2, have a metric of 255 etc... This is coming from the local WAN router.&lt;/P&gt;
&lt;P&gt;Meanwhile, 10.1.xxx.x actually originates from Core-2 (Vlans) in OSPF Process 10. Since redistribution is in play, it should also be an E2 route but should be a better metric than 255.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is Core-1 OSPF Database:&lt;/P&gt;
&lt;P&gt;OSPF Router with ID (10.255.255.252) (Process ID 11)&lt;/P&gt;
&lt;P&gt;Router Link States (Area 0)&lt;/P&gt;
&lt;P&gt;Link ID ADV Router Age Seq# Checksum Link count&lt;BR /&gt;10.255.255.252 10.255.255.252 444 0x8000002A 0x006981 1&lt;BR /&gt;10.255.255.253 10.255.255.253 463 0x8000002B 0x006581 1&lt;/P&gt;
&lt;P&gt;Net Link States (Area 0)&lt;/P&gt;
&lt;P&gt;Link ID ADV Router Age Seq# Checksum&lt;BR /&gt;10.255.255.253 10.255.255.253 463 0x80000026 0x0009ED&lt;/P&gt;
&lt;P&gt;Type-5 AS External Link States&lt;/P&gt;
&lt;P&gt;Link ID ADV Router Age Seq# Checksum Tag&lt;BR /&gt;0.0.0.0 10.255.255.252 464 0x80000001 0x009D05 11&lt;BR /&gt;0.0.0.0 10.255.255.253 494 0x80000001 0x00970A 11&lt;BR /&gt;10.1.101.0 10.255.255.252 444 0x80000002 0x002C35 8888&lt;BR /&gt;10.1.101.0 10.255.255.253 1456 0x80000025 0x00C028 9991&lt;BR /&gt;10.1.102.0 10.255.255.252 444 0x80000002 0x00213F 8888&lt;BR /&gt;10.1.102.0 10.255.255.253 1456 0x80000025 0x00B532 9991&lt;BR /&gt;10.1.103.0 10.255.255.252 444 0x80000002 0x001649 8888&lt;BR /&gt;10.1.103.0 10.255.255.253 1457 0x80000025 0x00AA3C 9991&lt;BR /&gt;10.1.104.0 10.255.255.252 445 0x80000002 0x000B53 8888&lt;BR /&gt;10.1.104.0 10.255.255.253 1457 0x80000025 0x009F46 9991&lt;BR /&gt;10.2.101.0 10.255.255.252 954 0x80000024 0x0067DC 8881&lt;BR /&gt;10.2.101.0 10.255.255.253 464 0x80000002 0x008182 9999&lt;BR /&gt;10.2.102.0 10.255.255.252 954 0x80000024 0x005CE6 8881&lt;BR /&gt;10.2.102.0 10.255.255.253 464 0x80000002 0x00768C 9999&lt;BR /&gt;10.2.103.0 10.255.255.252 954 0x80000024 0x0051F0 8881&lt;BR /&gt;10.2.103.0 10.255.255.253 464 0x80000002 0x006B96 9999&lt;BR /&gt;10.2.104.0 10.255.255.252 954 0x80000024 0x0046FA 8881&lt;BR /&gt;10.2.104.0 10.255.255.253 464 0x80000002 0x0060A0 9999&lt;BR /&gt;10.173.0.0 10.255.255.252 697 0x80000023 0x0027D2 8888&lt;BR /&gt;10.173.0.2 10.255.255.253 972 0x80000023 0x007427 9999&lt;/P&gt;
&lt;P&gt;OSPF Router with ID (10.2.101.254) (Process ID 10)&lt;/P&gt;
&lt;P&gt;Router Link States (Area 0)&lt;/P&gt;
&lt;P&gt;Link ID ADV Router Age Seq# Checksum Link count&lt;BR /&gt;10.2.101.253 10.2.101.253 1152 0x80000027 0x00034A 1&lt;BR /&gt;10.2.101.254 10.2.101.254 1127 0x8000002A 0x009A1F 4&lt;/P&gt;
&lt;P&gt;Net Link States (Area 0)&lt;/P&gt;
&lt;P&gt;Link ID ADV Router Age Seq# Checksum&lt;BR /&gt;10.2.101.253 10.2.101.253 1152 0x80000024 0x00C493&lt;/P&gt;
&lt;P&gt;Type-5 AS External Link States&lt;/P&gt;
&lt;P&gt;Link ID ADV Router Age Seq# Checksum Tag&lt;BR /&gt;10.1.101.0 10.2.101.253 395 0x80000002 0x0050A8 8888&lt;BR /&gt;10.1.102.0 10.2.101.253 395 0x80000002 0x0045B2 8888&lt;BR /&gt;10.1.103.0 10.2.101.253 395 0x80000002 0x003ABC 8888&lt;BR /&gt;10.1.104.0 10.2.101.253 395 0x80000002 0x002FC6 8888&lt;BR /&gt;10.173.0.0 10.2.101.253 900 0x80000023 0x004B46 8888&lt;BR /&gt;10.173.0.2 10.2.101.254 357 0x80000002 0x00DA79 9999&lt;BR /&gt;10.255.255.252 10.2.101.253 397 0x80000002 0x00CF93 8888&lt;BR /&gt;10.255.255.252 10.2.101.254 359 0x80000002 0x0092A9 0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I wonder what happens If i bring down CORE-1 WAN Link...&amp;nbsp;&lt;/P&gt;
&lt;P&gt;O E2 10.1.104.0/24 [110/1] via 10.255.255.253, 19:02:47, Vlan901&lt;BR /&gt;O E2 10.1.103.0/24 [110/1] via 10.255.255.253, 19:02:47, Vlan901&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ah the better route is now in the routing table, but only because the worse one has disappeared. I would have thought this behaviour to be dynamic.... I.e. if the route with a metric of 255 is in the routing table and a better ones comes along, OSPF would withdraw the route with metric 255 from the routing table and install the one with a better metric.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Oh and I brought back the CORE-1 WAN router link, and the better metric route remained, until I repeated the whole failure situation again &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If anyone wants config files let me know. Happy to provide.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jul 2018 10:45:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/ospf-new-dynamic-route-learnt/m-p/3676124#M299222</guid>
      <dc:creator>IrmanGhaffar</dc:creator>
      <dc:date>2018-07-27T10:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: Ospf new dynamic route learnt</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/ospf-new-dynamic-route-learnt/m-p/3676235#M299235</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Thanks doe the response Paul.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The output of he command is as below on Core-1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;#show ip ospf border-routers&lt;/P&gt;
&lt;P&gt;#&lt;/P&gt;
&lt;P&gt;OSPF Process 11 internal Routing Table&lt;/P&gt;
&lt;P&gt;Codes: i - Intra-area route, I - Inter-area route&lt;/P&gt;
&lt;P&gt;i 10.255.255.253 [1] via 10.255.255.253, Vlan901, ASBR, Area 0, SPF 9&lt;/P&gt;
&lt;P&gt;#&lt;/P&gt;
&lt;P&gt;OSPF Process 10 internal Routing Table&lt;/P&gt;
&lt;P&gt;Codes: i - Intra-area route, I - Inter-area route&lt;/P&gt;
&lt;P&gt;i 10.2.101.253 [1] via 10.2.101.253, Vlan101, ASBR, Area 0, SPF 7&lt;/P&gt;
&lt;P&gt;###&lt;/P&gt;
&lt;P&gt;So for Process 10, the Border router is its local WAN router. However for 11 it is the adjacent Core-2 router (both cores have a&amp;nbsp;physical P2P connection).&lt;/P&gt;
&lt;P&gt;Wouldn't Core-1 also be an ASBR since it joins to another ospf Autonomous system (OSPF 11)?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was under the impression if all Core-1 received 2 "E2" ospf prefixes, it would then compare metrics. In this case 255 is worse than 1 so it would choose the new prefix with lower metric and dynamically discard the prefix it had installed in the rib with a metric of 255.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks again.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jul 2018 13:25:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/ospf-new-dynamic-route-learnt/m-p/3676235#M299235</guid>
      <dc:creator>IrmanGhaffar</dc:creator>
      <dc:date>2018-07-27T13:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Ospf new dynamic route learnt</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/ospf-new-dynamic-route-learnt/m-p/3676666#M299266</link>
      <description>Can you share the following outputs please:&lt;BR /&gt;- sh ip protocols&lt;BR /&gt;- sh ip route 10.1.104.0 (everything has to be up)&lt;BR /&gt;- sh ip route 10.1.104.0 (wan 1 link has to be down like your example)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 28 Jul 2018 03:13:35 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/ospf-new-dynamic-route-learnt/m-p/3676666#M299266</guid>
      <dc:creator>Francesco Molino</dc:creator>
      <dc:date>2018-07-28T03:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Ospf new dynamic route learnt</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/ospf-new-dynamic-route-learnt/m-p/3676677#M299268</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;We're here to help( If we can:) )&lt;/P&gt;
&lt;P&gt;Could you pleasssssssssssse send us a topology diagram which shows addressing too? It must show your area design too.&lt;/P&gt;
&lt;P&gt;Something like simple drawings which you can search.&lt;/P&gt;
&lt;P&gt;I'll do my best to help you with my brief knowledge in Routing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jul 2018 03:55:58 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/ospf-new-dynamic-route-learnt/m-p/3676677#M299268</guid>
      <dc:creator>salemmahara</dc:creator>
      <dc:date>2018-07-28T03:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: Ospf new dynamic route learnt</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/ospf-new-dynamic-route-learnt/m-p/3676977#M299313</link>
      <description>&lt;P&gt;Hey Salemmahara,&lt;/P&gt;
&lt;P&gt;I have attached a detailed diagram with IP addresses.&lt;/P&gt;
&lt;P&gt;Let me know if you want me to explain it but the above should be a good explanation so far.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 29 Jul 2018 16:18:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/ospf-new-dynamic-route-learnt/m-p/3676977#M299313</guid>
      <dc:creator>IrmanGhaffar</dc:creator>
      <dc:date>2018-07-29T16:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: Ospf new dynamic route learnt</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/ospf-new-dynamic-route-learnt/m-p/3676979#M299314</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Francesco,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks for getting back to me. The output from core-1 as requested is below:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Core-1# show ip proto&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Routing Protocol is "ospf 10"&lt;BR /&gt; Outgoing update filter list for all interfaces is not set&lt;BR /&gt; Incoming update filter list for all interfaces is not set&lt;BR /&gt; Router ID 10.2.101.254&lt;BR /&gt; It is an autonomous system boundary router&lt;BR /&gt; Redistributing External Routes from,&lt;BR /&gt; ospf 11, includes subnets in redistribution&lt;BR /&gt; Number of areas in this router is 1. 1 normal 0 stub 0 nssa&lt;BR /&gt; Maximum path: 4&lt;BR /&gt; Routing for Networks:&lt;BR /&gt; Routing on Interfaces Configured Explicitly (Area 0):&lt;BR /&gt; Vlan104&lt;BR /&gt; Vlan103&lt;BR /&gt; Vlan102&lt;BR /&gt; Vlan101&lt;BR /&gt; Passive Interface(s):&lt;BR /&gt; FastEthernet0/0&lt;BR /&gt;... To ...&lt;BR /&gt; FastEthernet0/15&lt;BR /&gt; Vlan1&lt;BR /&gt; Vlan901&lt;BR /&gt; Routing Information Sources:&lt;BR /&gt; Gateway Distance Last Update&lt;BR /&gt; 10.2.101.253 110 2d06h&lt;BR /&gt; 10.2.101.254 110 3d01h&lt;BR /&gt; Distance: (default is 110)&lt;/P&gt;
&lt;P&gt;#&lt;/P&gt;
&lt;P&gt;Routing Protocol is "ospf 11"&lt;BR /&gt; Outgoing update filter list for all interfaces is not set&lt;BR /&gt; Incoming update filter list for all interfaces is not set&lt;BR /&gt; Router ID 10.255.255.252&lt;BR /&gt; It is an autonomous system boundary router&lt;BR /&gt; Redistributing External Routes from,&lt;/P&gt;
&lt;P&gt;ospf 10, includes subnets in redistribution&lt;BR /&gt; Number of areas in this router is 1. 1 normal 0 stub 0 nssa&lt;BR /&gt; Maximum path: 4&lt;BR /&gt; Routing for Networks:&lt;BR /&gt; Routing on Interfaces Configured Explicitly (Area 0):&lt;BR /&gt; Vlan901&lt;BR /&gt; Passive Interface(s):&lt;BR /&gt; FastEthernet0/0&lt;BR /&gt;.. To ..&lt;BR /&gt; FastEthernet0/14&lt;BR /&gt; Passive Interface(s):&lt;BR /&gt; FastEthernet0/15&lt;BR /&gt; Vlan1&lt;BR /&gt; Vlan101&lt;BR /&gt; Vlan102&lt;BR /&gt; Vlan103&lt;BR /&gt; Vlan104&lt;BR /&gt; Routing Information Sources:&lt;BR /&gt; Gateway Distance Last Update&lt;BR /&gt; 10.255.255.252 110 2d06h&lt;BR /&gt; 10.255.255.253 110 00:03:19&lt;BR /&gt; Distance: (default is 110)&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;sh ip route 10.1.104.0 (Everything us up)&amp;nbsp; &amp;lt;-- 10.1.104.0 exists on core-2 as an SVI&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Core-1#show ip route 10.1.104.0&lt;BR /&gt;Routing entry for 10.1.104.0/24&lt;BR /&gt; Known via "ospf 10", distance 110, metric 255&lt;BR /&gt; Tag 8888, type extern 2, forward metric 1&lt;BR /&gt; Redistributing via ospf 11&lt;BR /&gt; Advertised by ospf 11 subnets route-map EAD-FILTER&lt;BR /&gt; Last update from 10.2.101.253 on Vlan101, 2d06h ago&lt;BR /&gt; Routing Descriptor Blocks:&lt;BR /&gt; * 10.2.101.253, from 10.2.101.253, 2d06h ago, via Vlan101&lt;BR /&gt; Route metric is 255, traffic share count is 1&lt;BR /&gt; Route tag 8888&lt;/P&gt;
&lt;P&gt;&amp;nbsp;## As you can see, route in RIB is being learned from its local WAN router (we want the direct link to be selected as best and end up in the RIB).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;- show ip route 10.1.104.0 (Local WAN link is now down):&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Core-1#&amp;nbsp; show ip route 10.1.104.0&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Routing entry for 10.1.104.0/24&lt;BR /&gt; Known via "ospf 11", distance 110, metric 1&lt;BR /&gt; Tag 9991, type extern 2, forward metric 1&lt;BR /&gt; Redistributing via ospf 10&lt;BR /&gt; Advertised by ospf 10 subnets&lt;BR /&gt; Last update from 10.255.255.253 on Vlan901, 00:00:16 ago&lt;BR /&gt; Routing Descriptor Blocks:&lt;BR /&gt; * 10.255.255.253, from 10.255.255.253, 00:00:16 ago, via Vlan901&lt;BR /&gt; Route metric is 1, traffic share count is 1&lt;BR /&gt; Route tag 9991&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;WAN-1 router (WAN Link is still down, Fa0/0)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;WAN-1# Show ip route 10.1.104.0&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Routing entry for 10.1.104.0/24&lt;BR /&gt; Known via "ospf 10", distance 110, metric 1&lt;BR /&gt; Tag 9991, type extern 2, forward metric 1&lt;BR /&gt; Redistributing via bgp 65001&lt;BR /&gt; Advertised by bgp 65001 route-map DENY-TAG-OUT&lt;BR /&gt; Last update from 10.2.101.254 on FastEthernet0/1, 00:02:17 ago&lt;BR /&gt; Routing Descriptor Blocks:&lt;BR /&gt; * 10.2.101.254, from 10.2.101.254, 00:02:17 ago, via FastEthernet0/1&lt;BR /&gt; Route metric is 1, traffic share count is 1&lt;BR /&gt; Route tag 9991&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;*** Now if i bring the Fa0/0 on the WAN router up again (thats the WAN Link), the routing table remains constant i.e. 10.1.104.0 is still reachable via&amp;nbsp;10.255.255.253 (i.e. Local link). It will remain this way until the LAN link fails and we will end up in the situation we had in the output above i.e. 10.1.104.0 is reachable via the WAN, not LAN (even though LAN is back up).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope that makes sense....&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I have tested this many times now, also included a more detailed diagram in the post which may help.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks again for your help and assistance.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Jul 2018 16:41:19 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/ospf-new-dynamic-route-learnt/m-p/3676979#M299314</guid>
      <dc:creator>IrmanGhaffar</dc:creator>
      <dc:date>2018-07-29T16:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Ospf new dynamic route learnt</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/ospf-new-dynamic-route-learnt/m-p/3678101#M299399</link>
      <description>&lt;P&gt;Can anyone help with problem?&lt;/P&gt;
&lt;P&gt;Driving me crazy!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jul 2018 08:40:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/ospf-new-dynamic-route-learnt/m-p/3678101#M299399</guid>
      <dc:creator>IrmanGhaffar</dc:creator>
      <dc:date>2018-07-31T08:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: Ospf new dynamic route learnt</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/ospf-new-dynamic-route-learnt/m-p/3678292#M299413</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/247979"&gt;@IrmanGhaffar&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The direct link between Core-1 and Core-2 is running OSPF process 11 as a P2P.&lt;/P&gt;
&lt;P&gt;Core-1 and Core-2 also redistribute OSPF 10 --&amp;gt; 11 and visa versa.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Why?&amp;nbsp; they are in the same backbone area anyway, Relocate them over to PID 11 and test again.&lt;BR /&gt;&lt;BR /&gt;res&lt;/P&gt;
&lt;P&gt;Paul&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jul 2018 13:36:29 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/ospf-new-dynamic-route-learnt/m-p/3678292#M299413</guid>
      <dc:creator>paul driver</dc:creator>
      <dc:date>2018-07-31T13:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: Ospf new dynamic route learnt</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/ospf-new-dynamic-route-learnt/m-p/3678408#M299419</link>
      <description>&lt;P&gt;HI Paul,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; The reason I have the P2P running on its own OSPF instance is because I want to retain the route tagging element which is quite important for my setup&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The question however does remain, why would an OSPF E2 route with a cost of 255 remain in the routing table when there there is another OSPF E2 route with a cost of 1 available?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will however try to run a single OSPF instance with area 0 being the P2P, and area1/2 of the switches connected to the local WAN routers. Hopefully I will be able to tag in and out of ospf areas.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jul 2018 15:48:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/ospf-new-dynamic-route-learnt/m-p/3678408#M299419</guid>
      <dc:creator>IrmanGhaffar</dc:creator>
      <dc:date>2018-07-31T15:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Ospf new dynamic route learnt</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/ospf-new-dynamic-route-learnt/m-p/3678754#M299486</link>
      <description>I don't see anything here that can say why you're getting the route from the other peer. Can you share your config please on all devices (route-maps and ospf).&lt;BR /&gt;You forgot adding the new detailed diagram.</description>
      <pubDate>Wed, 01 Aug 2018 01:33:09 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/ospf-new-dynamic-route-learnt/m-p/3678754#M299486</guid>
      <dc:creator>Francesco Molino</dc:creator>
      <dc:date>2018-08-01T01:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: Ospf new dynamic route learnt</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/ospf-new-dynamic-route-learnt/m-p/3679158#M299510</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;I&gt;The question however does remain, why would an OSPF E2 route with a cost of 255 remain in the routing table when there there is another OSPF E2 route with a cost of 1 available?&lt;/I&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;when your redistributing onto ospf from multiple exit points it will depend on not only the metric type from each asbr but also the internal cost towards the asbr and also any abr in the asbrs path.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As such my understanding is even with type 2 external routes the cost path towards the asbr will be still be internally calculated&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check the path metric towards the&amp;nbsp;asbr’s and you will most properly find out why ospf is selectiing that path-&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;show ip ospf database external &amp;nbsp;x.x,xx&lt;/P&gt;
&lt;P&gt;show ip ospf database asbr- summary xxxx&lt;/P&gt;
&lt;P&gt;show ip ospf database router xxxx&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 13:50:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/ospf-new-dynamic-route-learnt/m-p/3679158#M299510</guid>
      <dc:creator>paul driver</dc:creator>
      <dc:date>2018-08-01T13:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: Ospf new dynamic route learnt</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/ospf-new-dynamic-route-learnt/m-p/3679210#M299515</link>
      <description>&lt;P&gt;Hey Paul,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I think I managed to solve it.... The problem appeared to be running 2 OSPF processes on the same physical device. From my testing, the route that made it into the RIB first will remain, regardless of metrics. I did test this in a situation where everything is in the same area and it worked as expected, the metric was used to calculate the best path. As soon as I add in multiple processes the metric goes out the window.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if you would agree with my testing. If not I can show the outputs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for all your help.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 14:28:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/ospf-new-dynamic-route-learnt/m-p/3679210#M299515</guid>
      <dc:creator>IrmanGhaffar</dc:creator>
      <dc:date>2018-08-01T14:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Ospf new dynamic route learnt</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/ospf-new-dynamic-route-learnt/m-p/3679212#M299516</link>
      <description>Hello Francesco,&lt;BR /&gt;  I posted the detailed topology as per reply to Salemmahara comment...&lt;BR /&gt;In any case I think I have got to the bottom of the problem... &lt;BR /&gt;I am running 2 ospf processes on a single device. It would appear the one that makes it into the RIB first (from either OSPF 10 or 11) will remain in there regardless of metric. I tested this out by putting all devices and interfaces in the same OSPF process and it chose the metric as I expected it to..&lt;BR /&gt;&lt;BR /&gt;If you agree with this let me know otherwise I will post more detailed configs here.&lt;BR /&gt;&lt;BR /&gt;Thanks again&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Aug 2018 14:32:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/ospf-new-dynamic-route-learnt/m-p/3679212#M299516</guid>
      <dc:creator>IrmanGhaffar</dc:creator>
      <dc:date>2018-08-01T14:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Ospf new dynamic route learnt</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/ospf-new-dynamic-route-learnt/m-p/3679555#M299556</link>
      <description>&lt;P&gt;I agree on this but I wanted to validate anyways with your real config, just to make sure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I saw now the design and it appears that OSPF 11 is kind of backdoor/redundant link. I wouldn't set it up in area 0 but&amp;nbsp;in another area.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 22:06:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/ospf-new-dynamic-route-learnt/m-p/3679555#M299556</guid>
      <dc:creator>Francesco Molino</dc:creator>
      <dc:date>2018-08-01T22:06:22Z</dc:date>
    </item>
  </channel>
</rss>

