cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1299
Views
0
Helpful
3
Replies

Add OSPF routes in the routing table

Martin Konov
Level 1
Level 1

Hi,

Today I met a very strange case and I could not find : Why my OSPF routes are not added in my routing table? So, I received my OSPF routes by my ISP which used MPLS for transport. My CE (T_Router) router received in my routes in OSPF database but they are not added to the routing table. I already check the some parameters like : OSPF network type, Addressing and all are correct. Lets try to explain a bit more :

X.X.X.X   >>>>  Router Id Address of my ISP

T_Router#sh ip ospf database

               Router Link States (Area 2)

X.X.X.X    X.X.X.X    48          0x80000DE5 0x005F9F 6

               Summary Net Link States (Area 2)

10.161.118.203  X.X.X.X    1148        0x80000005 0x00DCBB  

               Type-5 AS External Link States

X.X.X.X    X.X.X.X    759         0x80000007 0x00C4F2 3489669645

T_Router#sh ip route | i 10.161.118.203

                        **  NO ROUTE **

Thank you in advance !

3 Replies 3

bapatsubodh
Level 1
Level 1

Martin,

Probable cause could be if there is any local route-filter configured for OSPF process.

Another reason could be protocol with better admin distance has these subnets in this case OSPF learned routes will not be installed in routing table.

Try "clear ospf process.".

Also check outut of  command show ip route 10.161.118.203

And not sh ip route | inc 10.161.118.203

Exact host may not be available in the routing table. You may have some subnet that is reachable that contains this particular.

Last but not least check if there is any IOS bug.

Cheers...

Sudeep Valengattil
Cisco Employee
Cisco Employee

Hi Martin,

Do you have VRFs configured in the CE router. If thats the case, u may need to enable vrf-lite under ospf process, for the prefixes to get installed in Routing table.

"capability vrf-lite"

Thanks,

Sudeep

Martin Konov
Level 1
Level 1

Dear all,

Thanks for your answers.

The problem was in our ISP and I hope that it will be solved today.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card