area (OSPFv3 view)

Function

The area command creates an OSPFv3 area and displays the OSPFv3 area view.

The undo area command deletes the specified OSPFv3 area.

By default, no OSPFv3 area is created.

Format

area { area-id | area-id }

undo area { area-id | area-id }

Parameters

Parameter Description Value
area-id

Specifies the OSPFv3 area ID.

The value can be a decimal integer or in the IPv4 address format. The integer ranges from 0 to 4294967295.

Views

OSPFv3 view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ospf write

Usage Guidelines

Usage Scenario

The number of devices increases with the network expansion, which leads to a large LSDB on each OSPFv3-enabled device on a large-scale network. Consequently, route flapping frequently occurs, and a large number of OSPFv3 packets are transmitted on the network, which wastes bandwidth resources.

OSPFv3 addresses the preceding problem by logically partitioning an AS into different areas.

Prerequisites

Before creating and entering an OSPFv3 area, you need to enter the OSPFv3 process.

Precautions

After an AS is partitioned into different areas, not all areas are equal. The area with ID 0 is a backbone area. The backbone area is responsible for forwarding inter-area routes. In addition, the routing information between non-backbone areas must be forwarded through the backbone area.

The first time the area command is run, an OSPFv3 area is created and the OSPFv3 area view is displayed; running the area command later enters the OSPFv3 area view only.

If the undo area command is run, all configurations in the OSPFv3 area are deleted. Therefore, exercise caution when using the command.

Example

# Enter the OSPFv3 area 0 view.
<HUAWEI> system-view
[~HUAWEI] ospfv3 1
[*HUAWEI-ospfv3-1] area 0
[*HUAWEI-ospfv3-1-area-0.0.0.0]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >