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 Summarize routes

ospf summ.jpeg.jpeg

Hi,

its ospf network, i'm facing some problem when i try to summarize routes between from area0 to area 1, Router5 placed in area0 its has couple of loop address and router 2 (ABR) want to summarize those address in to area 1.

here is the error message when i try to advertise this routes

R2(config-router)#area 1 range 172.12.1.0 255.255.240.0

% OSPF: Inconsistent address/mask 172.12.1.0/20 for area range

   172.12.0.0/24 is subnetted, 6 subnets

O       172.12.1.0 [110/65] via 10.1.246.5, 00:06:45, Serial1/0

O       172.12.4.0 [110/65] via 10.1.246.5, 00:06:45, Serial1/0

O       172.12.5.0 [110/65] via 10.1.246.5, 00:06:45, Serial1/0

O       172.12.6.0 [110/65] via 10.1.246.5, 00:06:45, Serial1/0

O       172.12.8.0 [110/65] via 10.1.246.5, 00:06:45, Serial1/0

O       172.12.10.0 [110/65] via 10.1.246.5, 00:06:45, Serial1/0

3 ACCEPTED SOLUTIONS

Accepted Solutions

Re: ospf Summarize routes

Hi,

you have to summarize those networks in Area 0.

area range command:

area-id: Identifier of the area about which routes are to be summarized. It can be specified as either a decimal value or as an IPv6 prefix.

HTH

Rolf

Hall of Fame Super Blue

Re: ospf Summarize routes

You cannot summarise routes in OSPF within the same area. You can summarise -

1) on the ASBR when you inject routes into your OSPF domain

and

2) when you pass routes from one area to another area.

Jon

Hall of Fame Super Blue

ospf Summarize routes

Instead of 172.12.1.0 255.255.240 try 172.12.0.0 255.255.240.0.

Jon

8 REPLIES

Re: ospf Summarize routes

Hi,

you have to summarize those networks in Area 0.

area range command:

area-id: Identifier of the area about which routes are to be summarized. It can be specified as either a decimal value or as an IPv6 prefix.

HTH

Rolf

New Member

ospf Summarize routes

Hi,

Router 5 already placed in Area0, can we summarize routes inside the area ?

Hall of Fame Super Blue

Re: ospf Summarize routes

You cannot summarise routes in OSPF within the same area. You can summarise -

1) on the ASBR when you inject routes into your OSPF domain

and

2) when you pass routes from one area to another area.

Jon

Re: ospf Summarize routes

You need to use the area range command on the ABR to summarize to other areas:

R2(config-router)#area 0 range 172.12.1.0 255.255.240.0

Inside an area you can't summarize or filter, because the LSDBs of all routers within an area have to be the same. This is, among scalability and limiting the scope of the SPF algorithm, one of the main concepts of link-state routing protocols hierarchy.

New Member

Re: ospf Summarize routes

if you see the diagram, router 2 is ABR for area 1 its connected to area 0 and area 1,

R2(config-router)#area 1 range 172.12.1.0 255.255.240.0

But i mention wrong area id just saw the fischer post.

if its work i ll close this post .

New Member

Re: ospf Summarize routes

But stil the same error showing even i change the area id from1 to 0

R2(config-router)#area 0 range 172.12.1.0 255.255.240.0

% OSPF: Inconsistent address/mask 172.12.1.0/20 for area range

Hall of Fame Super Blue

ospf Summarize routes

Instead of 172.12.1.0 255.255.240 try 172.12.0.0 255.255.240.0.

Jon

New Member

Re: ospf Summarize routes

Thanks for the correction working

207
Views
0
Helpful
8
Replies
CreatePlease login to create content