< Home

stub (OSPF)

Function

The stub command sets an area to the stub area.

The undo stub command cancels the settings.

By default, no area is set to the stub area.

Format

stub [ no-summary | default-route-advertise backbone-peer-ignore ] *

undo stub

Parameters

Parameter Description Value
no-summary Forbids the ABR to send Summary LSAs to the stub area. -
default-route-advertise Forcibly advertise the LSA of 0.0.0.0. -
backbone-peer-ignore Ignores the checking the status of the backbone peer. -

Views

OSPF area view

Default Level

2: Configuration level

Usage Guidelines

There are two configuration commands for stub area: stub and default-cost If you want to configure one area as the stub area, you must configure all routers in the area by the stub command.

The default-cost command takes effect only when it is configured on an ABR. The command is used to specify the cost of the default summary route transmitted by the ABR to the stub area.

On an ABR, you can configure the no-summary of the stub command to prevent Type-3 LSA from entering the stub area that the ABR connects to.

The backbone Area 0 cannot be configured as a stub area.

Example

# Set the OSPF area 1 as the stub area.

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