< Home

lsa-originate-interval

Function

The lsa-originate-interval command sets an interval for updating LSAs.

The undo lsa-originate-interval command restores the default interval for updating LSAs.

By default, the interval for updating LSA packets is 5 seconds.

Format

lsa-originate-interval { 0 | { intelligent-timer max-interval start-interval hold-interval | other-type interval } * }

undo lsa-originate-interval

Parameters

Parameter Description Value

0

Sets an interval for updating LSAs to 0 ms, that is, deletes the initial interval (5000 ms) for updating LSAs.

-

intelligent-timer

Enables an intelligent timer to update OSPF router LSAs and network LSAs.

-

max-interval

Specifies the maximum interval for updating OSPF LSAs.

The value is an integer ranging from 1 to 120000, in ms. The default value is 5000.

start-interval

Specifies the initial interval for updating OSPF LSAs.

The value is an integer that ranges from 0 to 60000, in ms. The default value is 500.

hold-interval

Specifies the Holdtime interval for updating OSPF LSAs.

The value is an integer ranging from 1 to 60000, in ms. The default value is 1000.

other-type

Sets the interval for updating the LSAs other than the OSPF router LSAs and network LSAs.

-

interval

Specifies the interval for updating LSAs.

The value is an integer ranging from 0 to 10, in seconds. The default value is 5.

Views

OSPF view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To prevent frequent LSA updates caused by network connection or frequent route flapping, you can set the interval for receiving LSAs using this command. A router receives LSAs only when it meets the set interval.

In a stable network where routes need to be fast converged, you can set the interval for receiving LSAs at millisecond level to update LSAs in time. The change of the topology or the route, therefore, can be immediately detected, and LSDB synchronization speed is improved.

If there is no special requirement for the network, using the default value is recommended.

Configuration Impact

After this command is configured, the interval for updating LSAs is as follows:
  1. The initial interval for updating LSAs is specified by the parameter start-interval.
  2. The interval for updating LSAs for the nth (n≥2) time is equal to hold-interval × 2(n-2).
  3. When the interval specified by hold-interval x 2(n-2) reaches the maximum interval specified by max-interval, OSPF performs SPF calculation at the maximum interval until max-interval expires without flapping or the OSPF process is restarted.

Precautions

You are advised to set the receiving interval specified by lsa-originate-interval to be a value longer than or equal to the Holdtime interval specified by lsa-arrival-interval.

Example

# Set the interval for updating LSAs to 0 milliseconds.

<HUAWEI> system-view
[HUAWEI] ospf 1
[HUAWEI-ospf-1] lsa-originate-interval 0
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >