< Home

Setting an SPF Timer

By setting the interval for SPF calculation, you can reduce resource consumption caused by frequent network changes.

Context

Whenever the LSDB of OSPFv3 changes, the shortest path should be recalculated. Calculating the shortest path each time the LSDB changes consumes enormous resources and lowers the efficiency of a router.

Adjusting the SPF delay and hold interval can suppress frequent network changes to avoid resource consumption.

Procedure

  • Configure an SPF normal timer.

    1. Access the system view.

      system-view

    2. Access the OSPFv3 process view.

      ospfv3 [ process-id ]

    3. Set an SPF normal timer.

      spf timers delay-interval hold-interval

  • Configure an SPF intelligent timer.

    1. Access the system view.

      system-view

    2. Access the OSPFv3 process view.

      ospfv3 [ process-id ]

    3. Set an SPF intelligent timer.

      spf-schedule-interval { delay-interval hold-interval | intelligent-timer max-interval start-interval hold-interval-1

    An SPF normal timer and an SPF intelligent timer are mutually exclusive.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >