No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

ME60 V800R010C10SPC500 Configuration Guide - IP Routing 01

This is ME60 V800R010C10SPC500 Configuration Guide - IP Routing
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring OSPF Neighbor Relationship Flapping Suppression

Configuring OSPF Neighbor Relationship Flapping Suppression

OSPF neighbor relationship flapping suppression works by delaying OSPF neighbor relationship reestablishment or setting the link cost to the maximum value.

Usage Scenario

If an interface carrying OSPF services alternates between Up and Down, OSPF neighbor relationship flapping occurs on the interface. During the flapping, OSPF frequently sends Hello packets to reestablish the neighbor relationship, synchronizes LSDBs, and recalculates routes. In this process, a large number of packets are exchanged, adversely affecting neighbor relationship stability, OSPF services, and other OSPF-dependent services, such as LDP and BGP. OSPF neighbor relationship flapping suppression can address this problem by delaying OSPF neighbor relationship reestablishment or preventing service traffic from passing through flapping links.

NOTE:
The following steps are optional, choose them as required.

Pre-configuration Tasks

Before configuring OSPF neighbor relationship flapping suppression, complete the following tasks:

Procedure

  1. Run system-view

    The system view is displayed.

    By default, OSPF neighbor relationship flapping suppression is enabled globally. To disable this function globally, run the suppress-flapping peer disable command.

  2. Run interface interface-type interface-number

    The interface view is displayed.

    By default, OSPF neighbor relationship flapping suppression is enabled on all interfaces in the same OSPF process. To disable the function from one of the interfaces, run the ospf suppress-flapping peer disable command.

  3. Run ospf suppress-flapping peer hold-down interval

    The Hold-down mode is configured, and its duration is set.

    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.

      NOTE:
      To change the maximum cost for OSPF links, run the maximum-link-cost cost command.

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

    To disable the Hold-max-cost mode, run the ospf suppress-flapping peer hold-max-cost disable command.

  4. Run ospf suppress-flapping peer { detecting-interval detecting-interval | threshold threshold | resume-interval resume-interval } *

    Detection parameters are configured for OSPF neighbor relationship flapping suppression.

    • Specifies the interval for exiting from OSPF 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.

    • If OSPF neighbor relationship flapping suppression works in hold-max-cost mode, resume-interval indicates the duration of this mode.
    NOTE:
    The value of resume-interval must be greater than that of detecting-interval.

    By default, the detection interval of OSPF neighbor relationship flapping suppression is 60s, the suppression threshold is 10, and the interval for exiting from suppression is 120s. Using the default detection parameters is recommended.

  5. Run quit

    The system view is displayed.

  6. Run quit

    The user view is displayed.

  7. Run reset ospf suppress-flapping process-id peer [ interface-type interface-number ] [ notify-peer ]

    Interfaces are forced to exit from OSPF neighbor relationship flapping suppression.

    NOTE:

    Interfaces exit from flapping suppression in the following scenarios:

    • The suppression timer expires.
    • The corresponding OSPF process is reset.
    • An OSPF neighbor is reset using the reset ospf peer command.
    • OSPF neighbor relationship flapping suppression is disabled globally using the suppress-flapping peer disable command in the OSPF view.
    • The reset ospf suppress-flapping peer command is run.

  8. Run commit

    The configuration is committed.

Checking the Configurations

Run the display ospf [ process-id ] interface interface-type interface-number verbose command to check the status of OSPF neighbor relationship flapping suppression.

<HUAWEI> display ospf interface gigabitethernet1/0/0 verbose
          OSPF Process 1 with Router ID 1.1.1.2
                  Interfaces
 Area: 0.0.0.1          (MPLS TE not enabled)
 Interface: 6.6.6.2 ( GE1/0/0 )
 Cost: 1    State: DR    Type: Broadcast    MTU: 1500
 Priority: 1
 Designated Router: 6.6.6.2
 Backup Designated Router: 6.6.6.1
 Timers: Hello 10 , Dead 40 , Wait 40 , Poll 120 , Retransmit 5 , Transmit Delay 1
 OpaqueId: 0   PrevState: BackupDR
 Effective cost : 65535, enabled by BGP_IGP
 Link quality adjust cost: No, link quality: 0x0(GOOD).
 Suppress flapping peer: hold-down(start: 2016-01-02 09:58:41, remain-interval: 476 sec)

Suppress flapping peer in the command output indicates the current suppression mode (Hold-down), time when the flapping suppression started, and the remaining time of the flapping suppression.

Translation
Download
Updated: 2019-01-04

Document ID: EDOC1100059437

Views: 20597

Downloads: 15

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next