area <AREA-ID> stub

Syntax

area <AREA-ID> stub [no-summary]

no area <AREA-ID> stub [no-summary]

Description

Creates the stub area with <AREA-ID> if not present. If area is present and is not the stub area, this command changes the area type to stub area. If no-summary is used, area type will be totally stubby area.

The no form of this command unsets the area type as stub. The configured area will be changed to the default normal area. The no area <AREA-ID> stub no_summary command will start sending Area Border Router (ABR) summary link advertisements into the stub area, but will not unset the stub area.

Command context

config-ospfv3

Parameters

<AREA-ID>
Specifies the area ID in one of the following formats.
  • Area identifier in IPv4 address format. Format: A.B.C.D

  • Area identifier in decimal format. Range: 0-4294967295.

stub [no-summary]

Specifies stub area type. If area is present and not stub area, this parameter changes the area type to stub area. If no-summary is specified, area type will be totally stubby area, which means do not inject interarea routes into stub.

Authority

Administrators

Examples

Creating a stub area:

switch(config)# router ospfv3 1
switch(config-ospfv3-1)# area 1 stub
switch(config-ospfv3-1)# area 1 stub no-summary

Unsetting the stub area type:

switch(config)# router ospfv3 1
switch(config-ospfv3-1) # no area 1 stub
switch(config-ospfv3-1) # no area 1 sub no-summary