Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

OSPF route in database but not in routing table

Dear expert,

I am facing problem with ospf

one of the route 192.168.145.80/28 is there in ospf database but not in the routing table

Few output for reference

MPLS>sh ip ospf database summary | begin 192.168.145.80

Link State ID: 192.168.145.80 (summary Network Number)

Advertising Router: 10.50.2.1

LS Seq Number: 80000007

Checksum: 0xD9D8

Length: 28

Network Mask: /28

TOS: 0 Metric: 391

MPLS>sh ip ospf database | inc 192.168.145.80

192.168.145.80 10.50.2.1 5 (DNA) 0x80000007 0x00D9D8

MPLS>sh ip route 192.168.145.80

% Network not in table

Please help to resolve the issue

Regards

Mahesh

5 REPLIES

Re: OSPF route in database but not in routing table

Mahesh,

It's a good idea to explain what your network diagram is. Did you configure any Virtual-link as well?

Toshi

New Member

Re: OSPF route in database but not in routing table

Hi,

Could you post a diagram showing which router it should be learning this route from and where the network originates etc. If you could also show your running config for OSPF on both routers that may be helpful.

Regards

Mike

Hall of Fame Super Silver

Re: OSPF route in database but not in routing table

Hello Mahesh,

this kind of problem can happen for a mismatch in OSPF network type at the two ends of the link.

Check with sh ip ospf interface typex/y

on both devices

another possible issue is overlapping OSPF Router-IDs

I agree with Mike and Toshi that more details are needed to provide help

Hope to help

Giuseppe

New Member

Re: OSPF route in database but not in routing table

Topology is

CPE1--PE1--mpls coud--PE2-CPE2

CPE2 originates a route 192.168.145.80/28 which is not there in routing table of CPE1 but there in database.

Moreover at PE2 and CPE2 network type is point-to-point

if any more details required please let me know

regards

mahesh

Cisco Employee

Re: OSPF route in database but not in routing table

Hello Mahesh,

Are you using VRFs on the CPE1? If yes then, first, you have to verify the presence of the route in the respective VRF. Your "show ip route" verified only the global routing table.

Further on, it is possible that the network is removed by additional checks in OSPF against routing loops. These checks are not suitable if a customer uses VRFs himself. You can try turning them off in the respective OSPF process configuration using this command:

capability vrf-lite

Best regards,

Peter

433
Views
0
Helpful
5
Replies
CreatePlease to create content