12-17-2019 07:29 PM
Hi Guys,
I have IP Address 10.243.128.0/17 and it's install to OSPF database like this:
CORE-SW02# show ip ospf database 10.243.128.0 detail
OSPF Router with ID (10.254.255.2) (Process ID 1 VRF default)
Type-7 AS External Link States (Area 0.0.0.251)
LS age: 1475
Options: 0 (No TOS-capability, No Type 7/5 translation, No DC)
LS Type: Type-7 AS-External
Link State ID: 10.243.128.0 (Network address)
Advertising Router: 10.254.255.1
LS Seq Number: 0x800003f0
Checksum: 0xbbdb
Length: 36
Network Mask: /17
Metric Type: 2 (Larger than any link state path)
TOS: 0
Metric: 20
Forward Address: 10.254.251.38
External Route Tag: 0
Type-5 AS External Link States
LS age: 364
Options: 0x2 (No TOS-capability, No DC)
LS Type: Type-5 AS-External
Link State ID: 10.243.128.0 (Network address)
Advertising Router: 10.254.255.1
LS Seq Number: 0x8000a438
Checksum: 0x02d7
Length: 36
Network Mask: /17
Metric Type: 2 (Larger than any link state path)
TOS: 0
Metric: 20
Forward Address: 0.0.0.0
External Route Tag: 0
What I want to ask is which one the best route the router will be install to routing table?
is it Type 7 or type 5 external?
Thanks.
William
12-17-2019 11:07 PM
Type 5 will override Type 7
12-17-2019 11:44 PM
Thanks, so based on theory it's must be choose Type-5 , right?
But, why the reality is router chose Type 7 to install on routing table? is it related to forward address ?
Because, in type 5 forward address is 0.0.0.0 but type 7 use forward address 10.254.251.38 (more spesific)
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