< 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.

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. By default, it is 5 seconds.
hold-interval Specifies the holding interval between two consecutive SPF calculations. The value is an integer ranging from 0 to 65535 seconds. By default, it is 10 seconds.

Views

OSPFv3 view

Default Level

2: Configuration level

Usage Guidelines

By default, the intelligent timer takes effect.

According to the local LSDB, the router that runs OSPFv3 can calculate an 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 router sources caused by frequent change of the network.

A common SPF timer and an intelligent SPF timer are mutually exclusive.

Example

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

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