< Home

spf timers

Function

The spf timers command sets the interval for calculating OSPFv3 routes by a common SPF timer.

The undo spf timers command restores the default setting.

By default, the interval for calculating OSPFv3 routes by a common SPF timer is not set.

Format

spf timers delay-interval hold-interval

undo spf timers

Parameters

Parameter Description Value
delay-interval Specifies the delay for OSPFv3 from receiving network changes to performing SPF calculation. The value is an integer ranging from 0 to 65535 seconds.
hold-interval Specifies the holding interval between two consecutive SPF calculations. The value is an integer ranging from 0 to 65535 seconds.

Views

OSPFv3 view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

According to the local LSDB, the switch that runs OSPFv3 can calculate a SPT with itself as the root and determines the next hop to the destination network according to the SPT. Adjusting SPF calculation interval can avoid the exhaustion of bandwidth and switch sources caused by frequent change of the network.

Precautions

  • By default, the intelligent SPF timer takes effect.

  • The spf timers delay-interval hold-interval and spf-schedule-interval delay-interval hold-interval commands have the same functions.

  • The configurations of the spf timers delay-interval hold-interval, spf-schedule-interval delay-interval hold-interval, and spf-schedule-interval intelligent-timer max-interval start-interval hold-interval-1 commands will override each other, and only the configuration of the last executed command takes effect.

Example

# Set both the OSPFv3 route calculation interval and the hold interval to 6 seconds.

<HUAWEI> system-view
[HUAWEI] ospfv3 1
[HUAWEI-ospfv3-1] spf timers 6 6
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >