Add OSPF Area (ADDOSPFARA)

The Add OSPF Area (ADDOSPFARA) command adds an OSPF area to the routing domain. An OSPF area is a collection of subnetted networks in which the OSPF interfaces are attached. Each OSPF area has an unique 32-bit identifier. The main purpose of an OSPF area is to reduce the routing traffic and be hidden to other areas, thereby reducing the size of the Link-State database.

This command can add an OSPF areas in either the IPv4 or IPv6 routing domain.

Restrictions:

Parameters

Keyword Description Choices Notes
AREA Area identifier Character value Required, Positional 1
AUTHTYPE Authentication type *NONE, *MD5, *PASSWORD Optional
STUB Stub area *NO, *YES Optional
STUBCOST Stub cost 1-65535, 1 Optional
IMPORT Import *NO, *YES Optional
IPVERSION IP version *IPV4, *IPV6 Optional

Area identifier (AREA)

Specifies the OSPF area identifier to be configured.

This is a required parameter.

character-value
Specify the internet address for the OSPF area in the form a.a.a.a where a is a decimal number between 1 and 255.

Authentication type (AUTHTYPE)

Specifies the default security schema to be used in this area. This parameter is only valid for OSPF IPv4.

*NONE
No authentication is necessary to pass packets.
*MD5
MD5 cryptographic authentication is used.
*PASSWORD
Simple password authentication is used.

Stub area (STUB)

Specifies whether or not this area is a stub area. A stub area is a small OSPF area that will not import autonomous system external link advertisements.

*NO
This area is not a stub area.
*YES
The area is a stub area. The area will not receive any autonomous system external link advertisements, reducing the size of your database and decreasing memory usage for routers in the stub area. You cannot configure virtual links through a stub area. You cannot configure a router within the stub area as an autonomous system boundary router.

Stub cost (STUBCOST)

Specifies the cost of the default summary_LSA that the system should advertise into the area, if the area has been configured as a stub area and the system is participating as a area border router.

1
The lowest stub cost value is used.
1-65535
Specify the stub default cost value.

Import (IMPORT)

Specifies whether this stub area will import either a routing summary (IPv4) or prefixes from (IPv6) a neighbor area.

*NO
Specifies this area will not import routing information.
*YES
Specifies this area will import routing information.

IP version (IPVERSION)

Specifies whether the area is part of the IPv4 or IPv6 routing domain.

*IPV4
This area will be part of an OSPF IPv4 routing domain.
*IPV6
This area will be part of an OSPF IPv6 routing domain.

Examples

Example 1:Adding an OSPF IPv4 Area

ADDOSPFARA   AREA('1.1.1.1')

This commands adds an OSPF IPv4 area with an area identifier of 1.1.1.1.

Example 2:Adding an OSPF IPv6 Area

ADDOSPFARA   AREA('67.67.67.67')  IPVERSION(*IPV6)

This commands adds an OSPF IPv6 area with an area identifier of 67.67.67.67.

Error messages

*ESCAPE Messages

TCP8050
*IOSYSCFG authority required to use &1.
TCP6515
OSPF Area &1 has not been added to the configuration file. Fails with reason code &2.
TCP9999
Internal system error in program &1.