cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
494
Views
0
Helpful
1
Replies

ospf and manual summarization of routes

sarahr202
Level 5
Level 5

Hi every body!

Please consider the following routing table of a router running ospf

c 172.172.1.0/24 directly connected loop1

c 172.172.2.0/24 directly connected loop2

c 172.172.3.0/24 directly connected loop3

( i just loop 1 means loopback 1 and so forth)

Now if i want to summarize these connected routes. which command i have to use? should i use the same command to summarize these routes had they been learned by ospf?

===================================

Consider the following routing table of a router running ospf

0ex 172.172.1.0 via 192.192.192.1 s1

0ex 172.172.2 .0 via 193.193.193.2 s2

These routes are redistributed, which command can i use to summarize these routes?

Thanks a lot!

1 Accepted Solution

Accepted Solutions

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Sarah,

subnets advertised by network commands can be summarized only at area boundary by an ABR and so this requires a multi-area OSPF domain.

the command is

router ospf 10

area x range 172.172.0.0 255.255.252.0

if instead the prefixes are redistributed into OSPF only the ASBR that is injecting the prefixes in OSPF can aggregate them

router ospf 10

redistribute connected subnets

summary-address 172.172.0.0 255.255.252.0

the result will be

O Ex 172.172.0.0/22

Hope to help

Giuseppe

View solution in original post

1 Reply 1

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Sarah,

subnets advertised by network commands can be summarized only at area boundary by an ABR and so this requires a multi-area OSPF domain.

the command is

router ospf 10

area x range 172.172.0.0 255.255.252.0

if instead the prefixes are redistributed into OSPF only the ASBR that is injecting the prefixes in OSPF can aggregate them

router ospf 10

redistribute connected subnets

summary-address 172.172.0.0 255.255.252.0

the result will be

O Ex 172.172.0.0/22

Hope to help

Giuseppe

Review Cisco Networking for a $25 gift card