< Home

flooding-control

Function

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

The undo flooding-control command cancels the restriction on the flooding of update LSAs.

By default, this function is enabled when the number of neighbors exceeds 256.

Format

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

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

Parameters

Parameter Description Value
number transmit-number Sets the number of update LSAs to be flooded each time. The value is an integer ranging from 1 to 1000. By default, the value is 50.
timer-interval transmit-interval Sets the interval for flooding update LSAs. The value is an integer that ranges from 30 to 100000, in milliseconds. By default, the value is 30.

Views

OSPF view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When multiple neighbors are configured or a large number of update LSAs are flooded, a neighboring router may receive a large number of update LSAs in a short period. If the neighboring router is busy processing these Update packets and discards the Hello packets that maintain neighbor relationships, neighbor relationships may be interrupted. During the reestablishment of neighbor relationships, more packets need to be exchanged, which deteriorates the processing of packets.

To avoid the preceding problem, you can run the flooding-control command to restrict the flooding of update LSAs to keep stable neighbor relationships.

Configuration Impact

After the flooding-control command is run, the flooding of update LSAs is immediately restricted.

Precautions

By default, a FW spends 30 ms in flooding update LSAs each time. If not all the update LSAs are flooded within 30 ms, the FW floods the remaining LSAs after the time specified by transmit-interval.

Example

# Set the number of update LSAs to be flooded each time to 100.

<sysname> system-view 
[sysname] ospf 1 
[sysname-ospf-1] flooding-control number 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >