< Home

stub (OSPFv3 Area)

Function

The stub command sets an OSPFv3 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 Disables an ABR from sending non-default Type 3 LSAs to the stub area. This parameter applies only to ABRs of stub areas. If the parameter is configured on an ABR, the ABR advertises only one default Type 3 LSA (no other Type 3 LSAs) to the stub area. In this case, this area is also called a totally stub area. -
default-route-advertise Configures an ABR to advertise a default Type 3 LSA to the stub area. This parameter applies only to ABRs of stub areas. -
backbone-peer-ignore Prevents an ABR from checking the neighbor status when the ABR generates a default Type 3 LSA and advertises it to the stub area. This parameter applies only to ABRs of stub areas. If the parameter is configured on an ABR, the ABR generates a default Type 3 LSA and advertises it to the stub area as long as an interface is Up in the backbone area. -

Views

OSPFv3 area view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The stub area attribute must be configured on all switches in a stub area.

  • If the stub command is run on an ABR, without parameters specified, the ABR advertises a default Type 3 LSA and advertises it to the stub area as long as an OSPFv3 neighbor in the full state exists in the backbone area.
  • If the stub no-summary command is run on an ABR, the ABR is disabled from sending non-default Type 3 LSAs to the stub area connected to the ABR.
  • If the stub default-route-advertise backbone-peer-ignore command is run on an ABR, the ABR generates a default Type 3 LSA and advertises it to the stub area as long as an interface is Up in the backbone area.

Precautions

The backbone area cannot be configured as a stub area.

Example

# Set the OSPFv3 area 1 to the 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 >