area range

Use this command to define the range of addresses to be used by Area Border Routers (ABRs) when they communicate routes to other areas.

Syntax

area area-id range ip-address ip-mask [not-advertise]
no area area-id range ip-address ip-mask [not-advertise]

Parameters

area-id Specifies the area at the boundary of which routes are to be summarized.
ip-address Specifies the common prefix of the summarized networks.
ip-mask Specifies the length of the common prefix.
not-advertise (Optional) Prevents advertisement of the specified IP address range

Defaults

If not-advertise is not specified, the specified IP address range is advertised.

Mode

OSPF router configuration.

Usage

The “no” form of this command stops the routes from being summarized.

Example

This example shows how to define the address range as 172.16.0.0/16 for summarized routes communicated at the boundary of area 0.0.0.0:

System(rw-config)->router ospf 1
System(rw-config-ospf-1)->area 0.0.0.0 range 172.16.0.0 255.255.0.0