< Home

ospf suppress-flapping peer hold-down

Function

The ospf suppress-flapping peer hold-down command configures the Hold-down mode and sets a duration for this mode.

The undo ospf suppress-flapping peer hold-down command cancels the Hold-down mode.

By default, the Hold-down mode is disabled.

Format

ospf suppress-flapping peer hold-down interval

undo ospf suppress-flapping peer hold-down [ interval ]

Parameters

Parameter Description Value
interval

Specifies a duration for the Hold-down mode.

The value is an integer ranging from 1 to 600, in seconds. The default value is 60.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Flapping suppression works in either Hold-down or Hold-max-cost mode.

  • Hold-down mode: In the case of frequent flooding and topology changes during neighbor relationship establishment, interfaces prevent neighbor relationship reestablishment during Hold-down suppression, which minimizes LSDB synchronization attempts and packet exchanges.
  • Hold-max-cost mode: If the traffic forwarding path changes frequently, interfaces use 65535 as the cost of the flapping link during Hold-max-cost suppression, which prevents traffic from passing through the flapping link.

Flapping suppression can also work first in Hold-down mode and then in Hold-max-cost mode.

By default, the Hold-max-cost mode takes effect. To configure the Hold-down mode and set a duration for this mode, run the ospf suppress-flapping peer hold-down command.

Prerequisites

OSPF neighbor relationship flapping suppression must have been enabled globally before you configure the Hold-down mode and set a duration for this mode. By default, the function is enabled. If it is disabled, run the undo suppress-flapping peer disable command to enable it.

Example

# Configure the Hold-down mode and set its duration to 200s on VLANIF100.

<HUAWEI> system-view
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] ospf suppress-flapping peer hold-down 200
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >