area <AREA-ID>

Syntax

area <AREA-ID>

no area <AREA-ID>

Description

Creates a normal area, with <AREA-ID> set if not present. If area is present and not normal area, this command changes the area type to normal area.

The no form of this command deletes the area with the <AREA-ID> specified. Area can be of any type (nssa, nssa no-summary, stub, stub no-summary, and default normal area).

Command context

config-ospf

Parameters

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

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

Authority

Administrators

Examples

Creating a normal area:

switch# configure terminal
switch(config)# router ospf 1
switch(config-ospf-1)# area 1
switch(config-ospf-1)# area 10.1.1.1

Deleting an area:

switch# configure terminal
switch(config)# router ospf 1
switch(config-ospf-1)# no area 1