Set up multiple OSPF areas on a primary interface and summarize routes to reduce LSA count and optimize network resource usage.
When subnetworks are configured on different interfaces, OSPF can summarize these into a single LSA, reducing LSA numbers and conserving network resources. Interarea route summarization applies only to internal routes within your autonomous system and must be performed on the ABR. Summarization does not affect external routes injected via redistribution. Multi-area adjacency is supported where only two OSPF speakers are attached; for broadcast networks, configure the interface as OSPF point-to-point.
Before you begin
Ensure the interface used for multi-area adjacency has only two OSPF speakers attached.
For native broadcast networks, configure the interface as point-to-point using the network point-to-point command.
Procedure
| 1. | Configure the primary loopback interface IPv4 address. Example:
|
|
| 2. | Associate the loopback interface with the first OSPF area. Example:
|
|
| 3. | Reuse the same loopback interface in another OSPF area using the multi-area-interface command. Example:
|
|
| 4. | Verify the configuration using show running-config. Example:
|
|
| 5. | Check how the ABR identifies Loopback0 in area 1 using show ospf routes. Example:
You can verify configuration changes at the RI LSA level. |
|
| 6. | After enabling Loopback0 for area 1, verify that the summary LSA is not advertised by the ABR in area 0 with show ospf database summary. Example:
|
|
| 7. | Verify the RI LSA for area 0 with show ospf database opaque-area. Confirm the multi-area loopback interface is enabled. Example:
|
The OSPF configuration is complete and verified. The router reflects the intended operational state with summarized LSAs and correct area interface assignments.