The ospfv3 suppress-flapping peer command configures detection parameters for OSPFv3 neighbor relationship flapping suppression.
The undo ospfv3 suppress-flapping peer command restores the default detection parameters.
By default, the detection interval of OSPFv3 neighbor relationship flapping suppression is 60s, the suppression threshold is 10, and the interval for exiting from suppression is 120s.
ospfv3 suppress-flapping peer { detecting-interval detecting-interval | threshold threshold | resume-interval resume-interval } * [ instance instance-id ]
undo ospfv3 suppress-flapping peer { detecting-interval detecting-interval | threshold threshold | resume-interval resume-interval } * [ instance instance-id ]
Parameter | Description | Value |
---|---|---|
detecting-interval detecting-interval | Specifies the detection interval of OSPFv3 neighbor relationship flapping suppression. Each OSPFv3 interface on which OSPFv3 neighbor relationship flapping suppression is enabled starts a flapping counter. If the interval between two successive neighbor status changes from Full to a non-Full state is shorter than detecting-interval, a valid flapping_event is recorded, and the flapping_count is incremented by 1. |
The value is an integer ranging from 1 to 300, in seconds. The default value is 60s. |
threshold threshold | Specifies the threshold of OSPFv3 neighbor relationship flapping suppression. When the flapping_count reaches or exceeds threshold, flapping suppression takes effect. |
The value is an integer ranging from 1 to 1000. The default value is 10. |
resume-interval resume-interval | Specifies the interval for exiting from OSPFv3 neighbor relationship flapping suppression. If the interval between two successive neighbor status changes from Full to a non-Full state is longer than resume-interval, the flapping_count is reset. NOTE:
The value of resume-interval must be greater than that of detecting-interval. |
The value is an integer ranging from 2 to 1000, in seconds. The default value is 120s |
instance instance-id | Specifies the ID of the instance to which an interface belongs. | The value is an integer ranging from 0 to 255. |
Usage Scenario
To configure detection parameters for OSPFv3 neighbor relationship flapping suppression on an interface, run the ospfv3 suppress-flapping peer command. However, keeping the default configurations is recommended.
Prerequisites
OSPFv3 neighbor relationship flapping suppression must have been enabled globally before you configure detection parameters for it. By default, the function is enabled. If it is disabled, run the undo suppress-flapping peer disable command to enable it before you configure the detection parameters.
# Set the detection interval of OSPFv3 neighbor relationship flapping suppression to 5s, the suppression threshold to 40, and the interval for exiting from suppression to 20s on VLANIF 100.
<HUAWEI> system-view
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] ospfv3 suppress-flapping peer detecting-interval 5 threshold 40 resume-interval 20