area
Syntax
area no area
Description
Creates a normal area, with
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.
Theno
form of this command deletes the area with the
specified. Area can be of any type (nssa, nssa no-summary, stub, stub no-summary, and default normal area).
Command context
config-ospf -
Parameters
-
-
Specifies the area ID in one of the following formats.
OSPF area identifier in IPv4 format (
x.x.x.x
), wherex
is a decimal number from 0 to 255.OSPF区域标识符在十进制形式t. Range: 0 to 4294967295.
Authority
Administrators or local user group members with execution rights for this command.
Examples
Creating a normal area:
switch(config)#router ospf 1switch(config-ospf-1)#area 1switch(config-ospf-1)#area 10.1.1.1Switch(config-ospf-1)#show running-config current-context router ospf 1router-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 1switch(config-ospf-1)#no area 1