< Home

flooding-control

Function

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

The undo flooding-control command cancels the restriction on the flooding of updated 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 updated 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 updated 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 updated LSAs are flooded, a switch may receive a large number of updated LSAs in a short period. If the switch 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 updated LSAs to keep stable neighbor relationships.

Configuration Impact

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

Precautions

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

Example

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

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