area range

Syntax

arearange类型{inter-area | nssa}[no-advertise] no arearange类型{inter-area | nssa}[no-advertise]

Description

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

Thenoform of this command unsets the route summarization for the configured IPv4 prefix address on the ABR. When using thenoform of the command with theno-advertiseoption, enables advertising this range to other areas.

Command context

config-ospfv3-

Parameters

Specifies the area ID is one of the following formats.
  • OSPF area identifier in IPv4 format (x.x.x.x), wherexis a decimal number from 0 to 255.

  • 在d OSPF区域标识符ecimal format. Range: 0 to 4294967295.

range

Specifies summarizing routes matching the area range prefix/mask.

类型{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 asDoNotAdvertise(do not advertise this range to other areas).

Authority

Administrators or local user group members with execution rights for this command.

Examples

Summarizing inter-area or NSSA paths on OSPFv3:

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

Unsetting summarization on OSPFv3:

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