2. OSPF does not support auto summarization, only manual. OSPF route
summarization can be of two types:
Internal route summarization;
External route summarization.
OSPF internal route summarization on Cisco routers. Unlike EIGRP where is
possible to summarize wherever, in OSPF you can do internal route
summarization only on ABR (between areas). The reason for this is that Link
State Database for all routers in a area must be the same for that area.
3. Using OSPF summarization give us significant advantages like:
Smaller routing tables;
Less LSA flooding throughout the network;
Less bandwidth, memory and CPU resources utilization on network links
and devices.
Summary routes are carried by type 3 LSA (called summary LSA). Normally
type 3 LSA (which runs between areas) is translated from type 1 LSA and
type 2 LSA (which run within area). When summarization is used type 3 LSA
joins multiple routes into fewer. So, instead of flooding all type 1 and 2 LSAs
(translated into type 3 LSA) between areas, only one or several summary
prefixes will be sent between areas carried in type 3 LSA.
By default summary LSA (type 3 LSA), which runs between areas, does not
contain summary routes, it contains information from type 1 LSA (Router
LSA) and type 2 LSA (Network LSA). So, they carry summarization
information after you configure summarization.
4. To configure OSPF summarization go to ABR under OSPF configuration mode
and use this command:
area area-id range address mask [advertise | not-advertise][cost cost]
10. We will configure ABR to summarize routes learned in Area 15, thus, a summary route will be sent
in Area 0 to HQ. In next output we can see routing table and summary LSAs in link state database
on HQ router before we configure summarization.
HQ#show ip route
... output ommited ...
Gateway of last resort is not set
10.0.0.0/30 is subnetted, 1 subnets
C 10.0.0.0 is directly connected, Serial0/0
O IA 192.168.0.0/24 [110/74] via 10.0.0.1, 00:14:17, Serial0/0
O IA 192.168.1.0/24 [110/74] via 10.0.0.1, 00:14:17, Serial0/0
HQ#
11. HQ#show ip ospf database
... output ommited ...
Summary Net Link States (Area 0)
Link ID ADV Router Age Seq# Checksum
192.168.0.0 192.168.1.1 1004 0x80000001 0x00233B
192.168.1.0 192.168.1.1 1004 0x80000001 0x001845
12. It’s time to configure summarization. Go to ABR under OSPF configuration and type:
ABR(config-router)#area 15 range 192.168.0.0 255.255.254.0
Range 192.168.0.0/23 contains both networks in Area 15. Let’s verify again routing
table and LSDB on HQ to see the results.
HQ#show ip route
... output ommited ...
Gateway of last resort is not set
10.0.0.0/30 is subnetted, 1 subnets
C 10.0.0.0 is directly connected, Serial0/0
O IA 192.168.0.0/23 [110/74] via 10.0.0.1, 00:04:32, Serial0/0
13. HQ#show ip ospf database
... output ommited ...
Summary Net Link States (Area 0)
Link ID ADV Router Age Seq# Checksum
192.168.0.0 192.168.1.1 310 0x80000003 0x001A43
It just works fine. Instead of two summary LSA in database, we have only one, the
same is with inter area OSPF routes.
If we have more than one ABR between backbone area and a non-backbone area, be
careful how you configure summarization to avoid suboptimal routing !