< Home

lsa-arrival-interval

Function

The lsa-arrival-interval command sets the interval for receiving OSPF LSA.

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

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

Format

lsa-arrival-interval { interval | intelligent-timer max-interval start-interval hold-interval }

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

undo lsa-arrival-interval

undo lsa-arrival-interval suppress-flapping suppress-interval

Parameters

Parameter Description Value
interval Specifies the interval for receiving LSAs. The value is an integer ranging from 0 to 10000, in milliseconds.
intelligent-timer Sets the interval for receiving OSPF LSAs through an intelligent timer. -
max-interval Specifies the maximum interval for receiving OSPF LSAs. The value is an integer ranging from 1 to 120000, in milliseconds. The default value is 1000.
start-interval Specifies the initial interval for receiving 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 receiving OSPF LSAs. The value is an integer ranging from 1 to 60000, in milliseconds. The default value is 500.
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 receive and 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-arrival-interval suppress-flapping command. If frequent LSA flapping occurs, the larger value between lsa-arrival-interval suppress-flapping and lsa-arrival-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 receiving LSAs is as follows:
  1. The initial interval for receiving LSAs is specified by the parameter start-interval.
  2. The interval for receiving 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 receives LSAs at the maximum interval for three consecutive times. Then, OSPF receives 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

# Set the interval for receiving LSAs to 0 milliseconds.

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