07-22-2023 10:16 PM
Hi Everyone,
We have a WAN topology with thousands branches and one DC and one DR. We change OSPF metric types to E1 so We can See DC networks from DC tunnel and DR network from DR Tunnel. This worked on IOS 15 Routers But in IOS 12 after even clear OPSF process all network always prefereed from one tunnel But the metrics is correct!!!!!
I appreciate any help
Tnx in advance
07-23-2023 05:04 AM
Could your OSPF metric exceed 64K?
I recall (??) later IOS's OSPF support metrics using more than 2 bytes.
Just tried to find confirming documentation, no success.
07-23-2023 05:27 AM
Still have not found documentation.
Also recall (??) it was also related to externals. In that they had a larger metric field.(??). If so, possiblity ver. 15 handles better/correctly vs. ver. 12.
The person most likely to know, might be @Peter Paulik
07-23-2023 05:32 AM
ip ospf databse external command show the correct metric BTW in IOS 12.4. But show ip route is incorrect and shows the worst metric
07-23-2023 05:52 AM
Is the correct external metric greater than 64K?
07-23-2023 05:54 AM
No teir metric are 28 and 26 respectively via "ip ospf databse external" command
07-23-2023 08:59 AM
Do you have a representative example, you can post, of the discrepancy between vers. 12 and 15, for any route, using the show OSPF and route commands?
If not between vers. 12 and 15, between those commands show the metric differences for just version 12?
07-23-2023 09:53 PM
The metrics are correct and same in both version in OSPF database. The problem is in IOS 12.4 the best (lowest) metric didn't install in Routing table.
07-24-2023 04:31 AM
Well in that case, sounds like a software defect.
Years ago, in one of the earlier release trains of 12.x, I found, then, an unknown bug in OSPF. Reported it. A couple of releases later, Cisco fixed it.
Your simple choices might be: use 15.x or, if that 12.4 is still supported, and you have maintenance, open a TAC case.
07-23-2023 05:46 AM
Ah, did find some LSAs only have a 2 byte metric and some (like externals) have a 3 byte metric. (Finding this [again] refreshes my memory - I was working an OSPF case where metric exceeded 64K, which surprised me, but it was an external. So, if you're exceeding 64K metrics, wouldn't surprise me vers. 12 and 15 don't work the same.)
07-23-2023 05:34 AM
All of the metrics are below 30
07-23-2023 05:08 AM
The ospf ver. Different between two routers'
Can you check which ospf ver. You run in both ?
07-23-2023 05:33 AM
OSPF version are same. OSPF PID and area are also same.
07-23-2023 05:38 AM
Not ospfv2 or opsfv3 what I talk' ospf have many rfc and each one have different behave for opsf path select.
I think two routers use different ospf rfc ver.
07-23-2023 05:45 AM
How can I verify OSPF rfc via show commands?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide