< Home

area (OSPF)

Function

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

The undo area command deletes the specified OSPF area.

By default, the system does not creates an OSPF area.

Format

area area-id

undo area area-id

Parameters

Parameter Description Value
area-id

Specifies the area ID.

The area with the area-id being 0 is a backbone area.

The value can be an integer or an IP address.

  • If the value is a decimal integer, it ranges from 0 to 4294967295.
  • If the value is an IP address, it is in dotted decimal notation.

Views

OSPF view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

All devices in a large-scale network run OSPF and a large number of OSPF packets are transmitted on the network with the expansion of the network. This leads to a large LSDB on each device. In this case, the bandwidth utilization is reduced.

OSPF resolves this problem by partitioning an AS into different areas. An area is regarded as a logical group and each group is identified by an area ID.

Configuration Impact

After OSPF partitions the AS into different areas, functions, such as the timer, filter, and summarization, of multiple routers in the same area, can be planned and configured uniformly in the area. Therefore, the size of the LSDB is reduced and the network performance is improved.

Prerequisites

Run the ospf command before you run the area command the first time to start the OSPF process and enter the OSPF view.

Precautions

  • At the border of an area resides a router instead of a link.
  • A network segment or a link belongs to only one area. The area to which each OSPF interface belongs must be specified.
  • The backbone area is responsible for forwarding inter-area routing information. The routing information between the non-backbone areas must be forwarded through the backbone area.
  • All non-backbone areas maintain the connectivity with the backbone area and the backbone areas in different OSPF areas maintain the connectivity with each other.

Example

# Create OSPF area 0 and enter the OSPF area view.

<sysname> system-view 
[sysname] ospf 100
[sysname-ospf-100] area 0
[sysname-ospf-100-area-0.0.0.0]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >