IS-IS neighbor relationship flapping suppression works by delaying IS-IS neighbor relationship reestablishment or setting the link cost to the maximum value.
If an interface carrying IS-IS services alternates between Up and Down, IS-IS neighbor relationship flapping occurs on the interface. During the flapping, IS-IS reestablishes the neighbor relationship and recalculates routes. In this process, a large number of packets are exchanged, adversely affecting neighbor relationship stability, IS-IS services, and other IS-IS-dependent services, such as LDP and BGP. IS-IS neighbor relationship flapping suppression can address this problem by delaying IS-IS neighbor relationship reestablishment or preventing service traffic from passing through flapping links.
The following steps are optional, choose them as required.
Before configuring IS-IS neighbor relationship flapping suppression, complete the following tasks:
The system view is displayed.
To disable IS-IS neighbor relationship flapping suppression globally, run the suppress-flapping peer disable command.
The interface view is displayed.
To disable IS-IS neighbor relationship flapping suppression from one of the interfaces, run the isis suppress-flapping peer disable command.
The Hold-down mode is configured, and its duration is set.
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.
To disable this mode, run the isis suppress-flapping peer hold-max-cost disable command.
Detection parameters are configured for IS-IS neighbor relationship flapping suppression.
Each IS-IS interface on which IS-IS 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 increases by 1. When the flapping_count reaches or exceeds threshold, flapping suppression takes effect. 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.
The value of resume-interval must be greater than that of detecting-interval.
Using the default detection parameters is recommended.
The system view is displayed.
The user view is displayed.
Interfaces are forced to exit from IS-IS neighbor relationship flapping suppression.
The configuration is committed.
Run the display isis [ process-id ] interface interface-type interface-number verbose command to check the status of IS-IS neighbor relationship flapping suppression.