< Home

lsa-originate-interval

Function

The lsa-originate-interval command sets the interval for updating OSPF LSAs.

The undo lsa-originate-interval command restores the default setting.

By default, an intelligent timer is enabled. The interval for updating LSAs is expressed in milliseconds. The maximum interval for updating LSAs is 5000 milliseconds (ms), the initial interval is 500 ms, and the Holdtime interval is 1000 ms.

Format

lsa-originate-interval 0

lsa-originate-interval intelligent-timer max-interval start-interval hold-interval [ other-type interval ]

lsa-originate-interval other-type interval [ intelligent-timer max-interval start-interval hold-interval ]

lsa-originate-interval suppress-flapping suppress-interval [ threshold threshold ]

undo lsa-originate-interval

undo lsa-originate-interval suppress-flapping suppress-interval

Parameters

Parameter Description Value
0 Specifies the interval for updating LSAs to 0; that is, the 5-second interval is canceled. -
intelligent-timer Sets the interval for updating OSPF router LSAs and network LSAs through an intelligent timer. -
max-interval Specifies the maximum interval for updating OSPF LSAs. The value is an integer ranging from 1 to 120000, in milliseconds. The default value is 5000.
start-interval Specifies the initial interval for updating OSPF LSAs. The value is an integer ranging from 0 to 60000, in milliseconds. 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 milliseconds. The default value is 1000.
other-type Sets the interval for updating LSAs, excluding 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.
suppress-flapping suppress-interval Specifies an OSPF LSA suppression period. The value is an integer ranging from 0 to 600, in seconds. The default value is 10 seconds.
threshold threshold Specifies an OSPF LSA suppression threshold. The value is an integer ranging from 3 to 100. The default value is 30.

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.

To configure the maximum LSA suppression period, run the lsa-originate-interval suppress-flapping command. If frequent LSA flapping occurs, the larger value between lsa-originate-interval suppress-flapping and lsa-originate-interval is used to suppress LSA flapping.

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 × 2(n-2) reaches the maximum interval specified by max-interval, OSPF updates LSAs at the maximum interval for three consecutive times. Then, OSPF updates LSAs at the initial interval specified by start-interval.
  4. When the interval specified by hold-interval×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

The interval for updating LSAs set by using the lsa-originate-interval command should be equal to or bigger than the interval for receiving LSAs set by using the lsa-arrival-interval command. This prevents too much network bandwidth and device resources from being consumed due to network connections or frequent route flapping.

Example

# Cancel the interval for updating LSAs.

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