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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

OSPF equivalent of EIGRP Leak-map

Hello,

I'm looking for an equivalent of the EIGRP leak-map with OSPF.

Have you already seen this kind of configuration ?

Regards,

5 REPLIES
Silver

OSPF equivalent of EIGRP Leak-map

What are you trying to do?

EIGRP is distance vector and OSPF is link state so the same tools can't be used. Explain what you are after and we'll try to help you out. Do you mean to do a summary on ABR but still leak some prefixes within the summary?

Daniel Dib CCIE #37149 Please rate helpful posts.
New Member

OSPF equivalent of EIGRP Leak-map

Thank you for your help.

As you said, I'm trying to announce a specific route and a summary which already include this specific route (on an ASBR).

Regards

OSPF equivalent of EIGRP Leak-map

Hi,

Kindly try if the below helps to achieve what you want to do.

summary-address {{ip-address mask} | {prefix mask}} [not-advertise] [tag tag]

http://www.cisco.com/en/US/docs/ios/12_2/iproute/command/reference/1rfospf.html#wp1029504


***********Plz do rate this post if you found it helpful*************************


Thanks & Regards,


Vignesh R P

New Member

OSPF equivalent of EIGRP Leak-map

In fact, one of my colleague has found a solution (thanks!).

Using the diagram above, I would like summarized a 10.1.0.0/22 and also announced the specific 10.1.1.0/24.

The following configuration can be used:

R1:

==

router ospf 1

router-id 1.1.1.1

summary-address 10.1.0.0 255.255.252.0

summary-address 10.1.1.0 255.255.255.0

redistribute connected subnets

network 192.168.1.0 0.0.0.255 area 0

On R2, we can see:

      10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

O E2     10.1.0.0/22 [110/20] via 192.168.1.1, 00:05:48, FastEthernet0/1

O E2     10.1.1.0/24 [110/20] via 192.168.1.1, 00:00:07, FastEthernet0/1

Silver

OSPF equivalent of EIGRP Leak-map

Nice.

I was going to suggest that you tried to play with distribute-list and area range command on ABR but you found a better solution.

Daniel Dib
CCIE #37149

Daniel Dib CCIE #37149 Please rate helpful posts.
1035
Views
15
Helpful
5
Replies