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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

OSPF Route Injection....

hi all,

I have dought to clarify with you. I have a vlan interface and R1 learend that route from the OSPF. Then I did the area summurization in R1 router 10.74.0.0/19 ( area 0 10.74.0.0 255.255.224.0). Then in R3 I accepted only few routes using a Route Map.My requiment is to allow only selected networks in 10.74.0.0/19  while blocking the others. If I acceppted 10.74.0.0/15 or 10.74.0.0/19 Networks route successfully injected to R3 routing table. But Once I permit 10.74.10.0/23 route is not injected to the R3 routing table.

Do I need to specifically match the exact network (10.74.0.0/19) or How can this happen ?

Thanks

Everyone's tags (2)
4 REPLIES
VIP Purple

OSPF Route Injection....

Harsha,

you have to add an area 0 range command for the specific network you want to allow and advertise it on R1.

area 0 range 10.74.0.0 255.255.224.0

area 0 range 10.74.0.0 255.255.254.0 advertise

This way, 10.74.0.0/23, which is part of the summary, gets advertised.

HTH,

Georg

New Member

OSPF Route Injection....

hi gpuwen,

Thanks for your reply. But I didnt get what you meat. I will explain further.

R1 config :t 0

router ospf 1

     area 0 10.74.0.0 255.255.224.0

R3 config :

router ospf 1

     distribute-list route-map OSPFIN in

    

ip access-list extended OSPFIN

     permit ip 10.74.10.0 255.255.254.0 any

But no any routes from 10.74.0.0 network display in R3 routing table. Then I change the route map config on R3 as following.

R3 config:

    

ip access-list extended OSPFIN

     permit ip 10.74.0.0 255.255.224.0 any

Then all routes to 10.74.0.0 network displayed properly. I want to know why this happened to me.If you want I can rpovide much details.

Thanks

Re: OSPF Route Injection....

R3 config :

router ospf 1

     distribute-list route-map OSPFIN in

Remove it!!!

You are not changing route-map config but you are removing an LSA filter built with distribute-list command

Check for reference on Cisco Doc

Alessio

VIP Purple

OSPF Route Injection....

Harsha,

sorry for the confusion. On R1, you are summarizing:

area 0 10.74.0.0 255.255.224.0

Yet on R3, you only want to allow:

10.74.10.0 255.255.254.0

So, on R1, your OSPF configuration should look like this:

router ospf 1

area 0 range 10.74.0.0 255.255.224.0

area 0 range 10.74.10.0 255.255.254.0 advertise

Can you try this and see what the results are ?

Regards,

Georg

1067
Views
0
Helpful
4
Replies
CreatePlease login to create content