Name
area range — router, OSPF
Synopsis
areaarea-id
rangeaddress mask
no areaarea-id
rangeaddress mask
Configures
OSPF route summarization
Default
None
Description
This command tells the OSPF routing process to summarize selected routes for an area. A single route to the given address is generated, instead of separate routes for the individual networks.
-
area-id
The area to be summarized.
-
address
The IP address of the network to summarize.
-
mask
The mask for the IP address, showing which routes to include in the summary.
Example
The following OSPF configuration summarizes all routes for area 2 into a single route for network 10.0.0.0/8:
router ospf 99 network 10.0.0.0 0.255.255.255 area 2 area 2 range 10.0.0.0 255.0.0.0
Get Cisco IOS in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.