| Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Change OSPF Area (CHGOSPFARA) command can change the attributes of an existing OSPF area in 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 change the attributes of OSPF areas in either the IPv4 or IPv6 routing domains.
Restrictions:
| Top |
| Keyword | Description | Choices | Notes |
|---|---|---|---|
| AREA | Area identifier | Character value | Required, Key, Positional 1 |
| AUTHTYPE | Authentication type | *SAME, *NONE, *MD5, *PASSWORD | Optional |
| STUB | Stub area | *SAME, *NO, *YES | Optional |
| STUBCOST | Stub cost | 1-65535, *SAME | Optional |
| IMPORT | Import | *SAME, *NO, *YES | Optional |
| IPVERSION | IP version | *SAME, *IPV4, *IPV6 | Optional |
| Top |
Specifies the OSPF area identifier to be changed.
This is a required parameter.
| Top |
Specifies the default security schema to be used in this area. This parameter is only valid for OSPF IPv4.
| Top |
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.
| Top |
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.
| Top |
Specifies whether this stub area will import either a routing summary (IPv4) or prefixes from (IPv6) a neighbor area.
| Top |
Specifies whether the area is part of the IPv4 or IPv6 routing domain.
| Top |
Example 1:Changing an OSPF IPv4 Area
CHGOSPFARA AREA('1.1.1.1') AUTHTYPE(*PASSWORD)
This command changes the OSPF IPv4 area with area identifier 1.1.1.1 to use password authentication.
Example 2:Changing an OSPF IPv6 Area
CHGOSPFARA AREA('67.67.67.67') STUB(*YES) IPVERSION(*IPV6)
This command changes the OSPF IPv6 area with area identifier 67.67.67.67 to be a stub area.
| Top |
*ESCAPE Messages
| Top |