area <AREA-ID>
Syntax
area <AREA-ID>
no area <AREA-ID>
Description
Creates a normal area, with
<AREA-ID>
set if not present. If the area is already present and it is not a normal area, then this command changes the area type to normal.
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 or local user group members with execution rights for this command.
Examples
Creating a normal area:
switch(config)# router ospf 1 switch(config-ospf-1)# area 1 switch(config-ospf-1)# area 10.1.1.1 Switch(config-ospf-1)# show running-config current-context router ospf 1 router-id 1.1.1.1 area 0.0.0.0 area 0.0.0.1 area 0.0.0.2 stub area 0.0.0.3 nssa
Deleting an area:
switch(config)# router ospf 1 switch(config-ospf-1)# no area 1