The ospf suppress-flapping peer hold-max-cost disable command disables the Hold-max-cost mode.
The undo ospf suppress-flapping peer hold-max-cost disable command enables the Hold-max-cost mode.
By default, the Hold-max-cost mode is enabled.
ospf suppress-flapping peer hold-max-cost disable
undo ospf suppress-flapping peer hold-max-cost disable
Usage Scenario
Flapping suppression works in either Hold-down or Hold-max-cost mode.
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 interval command.
Prerequisites
OSPF neighbor relationship flapping suppression must have been enabled globally before you configure duration for the Hold-max-cost mode. By default, the function is enabled. If it is disabled, run the undo suppress-flapping peer disable command to enable it.
Precautions
The Hold-max-cost mode takes effect only unidirectionally. If a remote device does not support OSPF neighbor relationship flapping suppression, bidirectional traffic between the local and remote devices may travel along different paths.