stub (OSPFv3 area view)

Function

The stub command configures an area as a stub area.

The undo stub command cancels the configuration.

By default, no area is configured as a stub area.

Format

stub

stub { default-route-advertise backbone-peer-ignore | no-summary } *

undo stub

Parameters

Parameter Description Value
default-route-advertise

Controls the default route's advertisement.

-

backbone-peer-ignore

Prevents the ABR from checking the neighbor status.

-

no-summary

Enables the ABR of the area to advertise a default route that carries a Type 3 LSA. This parameter applies only to the ABR. After the parameter is specified, the ABR does not generate any other Type 3 LSAs and prevents Type 3 LSAs from entering this stub area.

-

Views

OSPFv3 area view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ospf write

Usage Guidelines

Usage Scenario

To configure an area as a stub area, run the stub command. If an area is configured as a stub area, the stub command must be run in the OSPFv3 view on all Routers in the area.

You can run the default-cost(OSPFV3) command in the OSPFv3 area view to specify the cost of the default route sent from an ABR to a stub area. This command takes effect only on an ABR.

Example

# Configure OSPFv3 area 1 as a stub area.
<HUAWEI> system-view
[~HUAWEI] ospfv3 1
[*HUAWEI-ospfv3-1] area 1
[*HUAWEI-ospfv3-1-area-0.0.0.1] stub
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >