flooding-control

Function

The flooding-control command restricts the flooding of OSPF update LSAs.

The undo flooding-control command restores the default configuration.

By default, the flooding of update LSAs is not restricted.

Format

flooding-control [ number number-value | timer-interval timer-interval-value ] *

undo flooding-control [ number number-value | timer-interval timer-interval-value ] *

Parameters

Parameter Description Value
number number-value

Sets the maximum number of Update packets that can be sent at each interval during update LSA flooding.

The value is an integer ranging from 1 to 1000. The default value is 50.

timer-interval timer-interval-value

Sets the interval at which Update packets are sent during update LSA flooding.

The value is an integer ranging from 30 to 100000, in milliseconds. The default value is 30.

Views

OSPF view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ospf write

Usage Guidelines

Usage Scenario

An OSPF neighbor receives a large number of Update packets at a short time if the device has multiple neighbors or a large number of update LSAs are flooded by a local device. In this case, the neighbor is busy with processing burst Update packets and discards the Hello packets for maintaining neighbor relationships. As a result, the OSPF neighbor relationships will be torn down unexpectedly. If such a problem occurs, the neighbors will exchange many packets to reestablish neighbor relationships, deteriorating system performance.

To resolve the problem, run the flooding-control command on the local device to set the maximum number of Update packets that can be sent at each interval during update LSA flooding.

Precautions

The parameter setting in this command directly affects the flooding speed. If the setting is improper, LSAs may fail to be synchronized in time, affecting network-wide routes. Therefore, you are not advised to use this function unless otherwise specified.

Example

# Configure a device to send a maximum of 100 Update packets at each interval of 50 ms during update LSA flooding.
<HUAWEI> system-view
[~HUAWEI] ospf 1
[*HUAWEI-ospf-1] flooding-control number 100 timer-interval 50
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >