area <AREA-ID> range

Syntax

area <AREA-ID> range <IP-PREFIX> type {inter-area | nssa} [no-advertise]

no area <AREA-ID> range <IP-PREFIX> type {inter-area | nssa} [no-advertise]

Description

Summarizes the routes with the matching address or masks for OSPFv3. This command only works for border routers.

The no form of this command unsets the route summarization for the configured IPv4 prefix address on the ABR. When using the no form of the command with the no-advertise option, enables advertising this range to other areas.

Command context

config-ospf

Parameters

<AREA-ID>
Specifies the area ID is one of the following formats.
  • OSPF area identifier in IPv4 address format.

  • OSPF area identifier in decimal format. Range: 0-4294967295.

range <IP-PREFIX>

Specifies summarizing routes matching the area range prefix/mask.

type {inter-area | nssa}

Specifies the type this address aggregation applies to as either inter-area range prefix or NSSA range prefix.

no-advertise

Specifies the address range status as DoNotAdvertise (do not advertise this range to other areas).

Authority

Administrators

Examples

Summarizing inter-area or NSSA paths on OSPFv3:

switch(config)# router ospfv3 1
switch(config-ospfv3-1)# area 1 range fd00::1/64 type inter-area
switch(config-ospfv3-1)# area 1 range fd00::1/64 type nssa
switch(config-ospfv3-1)# area 1 range fd00::1/64 type inter-area no-advertise

Unsetting summarization on OSPFv3:

switch(config)# router ospfv3 1
switch(config-ospfv3-1)# no area 1 range fd00::1/64 type inter-area
switch(config-ospfv3-1)# no area 1 range fd00::1/64 type nssa
switch(config-ospfv3-1)# no area 1 range fd00::1/64 type inter-area no-advertise