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 BFD for OSPF

Configuring BFD for OSPF

After BFD for OSPF is enabled, if a link fails, the router rapidly detects the failure, notifies the OSPF process or interface of the fault, and instructs OSPF to recalculate routes. This speeds up OSPF network convergence.

Usage Scenario

OSPF enables the router to periodically send Hello packets to a neighboring router for fault detection. Detecting a fault takes more than 1s. As voice, video, and other VOD services are widely used. These services are sensitive to packet loss and delays. When traffic is transmitted at gigabit rates, long-time fault detection will cause packet loss. This cannot meet high reliability requirements of the carrier-class network. BFD for OSPF was introduced to resolve this problem. After BFD for OSPF is configured in a specified process or on a specified interface, the link status can be rapidly detected and fault detection can be completed in milliseconds. This speeds up OSPF convergence when the link status changes.

Pre-configuration Tasks

Before configuring BFD for OSPF, complete the following tasks:

Configuration Procedures

Perform one or more of the following configurations as required.

Configuring BFD for OSPF in a Specified Process

Configuring BFD for OSPF in a specified process helps the system to rapidly detect the link status and speeds up OSPF convergence in the case of a link failure.

Context

After BFD for OSPF is configured, when detecting a link fault, BFD rapidly notifies the ME devices on both ends of the link of the fault, triggering rapid OSPF convergence. When the OSPF neighbor relationship goes Down, the BFD session will be dynamically deleted.

Before configuring BFD for OSPF, enable BFD globally.

Perform the following steps on the ME devices between which a BFD session is to be created.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run bfd

    BFD is globally configured.

  3. Run quit

    Return to the system view.

  4. Run ospf [ process-id ]

    The OSPF process view is displayed.

  5. Run bfd all-interfaces enable

    BFD for OSPF is configured. The default parameter values are used to create a BFD session.

    If all the interfaces in a certain process are configured with BFD and their neighbor relationships are in the Full state, OSPF creates BFD sessions with default parameter values on all the interfaces in the process.

  6. (Optional) Run bfd all-interfaces { min-rx-interval receive-interval | min-tx-interval transmit-interval | detect-multiplier multiplier-value | frr-binding } *

    BFD session parameters are modified.

    You can skip this step. The default interval at which BFD packets are transmitted and the default detection multiplier are recommended.

    The parameters are configured based on the network status and network reliability requirements. A short interval at which BFD packets are transmitted can be configured for a link that has a higher requirement for reliability. A long interval at which BFD packets are transmitted can be configured for a link that has a lower requirement for reliability.

    NOTE:
    • Actual interval at which BFD packets are transmitted on the local ME device = Max { configured interval transmit-interval at which BFD packets are transmitted on the local ME device, configured interval receive-interval at which BFD packets are received on the peer ME device }
    • Actual interval at which BFD packets are received on the local ME device = Max { configured interval transmit-interval at which BFD packets are transmitted on the peer ME device, configured interval receive-interval at which BFD packets are received on the local ME device }
    • Actual time for detecting BFD packets = Actual interval at which BFD packets are received on the local ME device x Configured detection multiplier multiplier-value on the peer ME device

    For example:

    • On the local ME device, the configured interval at which BFD packets are transmitted is 200 ms; the configured interval at which BFD packets are received is 300 ms; the detection multiplier is 4.
    • On the peer ME device, the configured interval at which BFD packets are transmitted is 100 ms; the interval at which BFD packets are received is 600 ms; the detection multiplier is 5.

    Then:

    • On the local ME device, the actual interval at which BFD packets are transmitted is 600 ms calculated by using the formula max {200 ms, 600 ms}; the interval at which BFD packets are received is 300 ms calculated by using the formula max {100 ms, 300 ms}; the detection period is 1500 ms calculated by multiplying 300 ms by 5.
    • On the peer ME device, the actual interval at which BFD packets are transmitted is 300 ms calculated by using the formula max {100 ms, 300 ms}, the actual interval at which BFD packets are received is 600 ms calculated by using the formula max {200 ms, 600 ms}, and the detection period is 2400 ms calculated by multiplying 600 ms by 4.

  7. (Optional) Prevent an interface from dynamically creating a BFD session.

    After BFD for OSPF is configured, all interfaces on which neighbor relationships are Full in the OSPF process will create BFD sessions. To prevent specific interfaces from being enabled with BFD, disable these interfaces from dynamically creating BFD sessions.

    1. Run quit

      Return to the system view.

    2. Run interface interface-type interface-number

      The interface view is displayed.

    3. Run ospf bfd block

      An interface is prevented from dynamically creating a BFD session.

  8. Run commit

    The configuration is committed.

Configuring BFD for OSPF on a Specified Interface

Configuring BFD for OSPF on a specified interface helps speed up OSPF convergence in the case of an interface failure.

Context

After BFD for OSPF is configured on a specified interface and the interface becomes faulty, the ME device rapidly detects the fault and instructs OSPF to recalculate routes. This speeds up OSPF convergence. When the OSPF neighbor relationship goes Down, the BFD session between OSPF neighbors is dynamically deleted.

Before configuring BFD for OSPF, enable BFD globally.

Perform the following steps on the ME device:

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run bfd

    BFD is globally configured.

  3. Run quit

    Return to the system view.

  4. Run interface interface-type interface-number

    The interface view is displayed.

  5. Run ospf bfd enable [ per-link one-arm-echo ]

    BFD for OSPF is configured. The default parameter values are used to create a BFD session.

    If all the interfaces in a certain process are configured with BFD and their neighbor relationships are in the Full state, OSPF creates BFD sessions with default parameter values on specified interfaces in the process.

    If multiple physical interfaces are bound to an Eth-Trunk in a VLAN and per-link one-arm-echo is not specified, the BFD session may go Down as long as one of the physical interfaces goes Down. As a result, the OSPF neighbor relationship goes Down. If per-link one-arm-echo is specified in this case, the BFD session goes Down only if all the physical interfaces are Down, which prevents the OSPF neighbor relationship from going Down.

    NOTE:
    The priority of BFD for OSPF configured on an interface is higher than that of BFD for OSPF configured for a process.

  6. (Optional) Run ospf bfd { min-rx-interval receive-interval | min-tx-interval transmit-interval | detect-multiplier multiplier-value | frr-binding } *

    BFD session parameters are modified.

    You can skip this step. The default interval at which BFD packets are transmitted and the default detection multiplier are recommended.

    The parameters are configured based on the network status and network reliability requirements. A short interval at which BFD packets are transmitted can be configured for a link that has a higher requirement for reliability. A long interval at which BFD packets are transmitted can be configured for a link that has a lower requirement for reliability.

    NOTE:
    • Actual interval at which BFD packets are transmitted on the local ME device = Max { configured interval transmit-interval at which BFD packets are transmitted on the local ME device, configured interval receive-interval at which BFD packets are received on the peer ME device }
    • Actual interval at which BFD packets are received on the local ME device = Max { configured interval transmit-interval at which BFD packets are transmitted on the peer ME device, configured interval receive-interval at which BFD packets are received on the local ME device }
    • Actual time for detecting BFD packets = Actual interval at which BFD packets are received on the local ME device x Configured detection multiplier multiplier-value on the peer ME device

    For example:

    • On the local ME device, the configured interval at which BFD packets are transmitted is 200 ms; the interval at which BFD packets are received is set to 300 ms; the detection multiplier is 4.
    • On the peer ME device, the configured interval at which BFD packets are transmitted is 100 ms; the interval at which BFD packets are received is 600 ms; the detection multiplier is 5.

    Then:

    • On the local ME device, the actual interval at which BFD packets are transmitted is 600 ms calculated by using the formula max {200 ms, 600 ms}; the interval at which BFD packets are received is 300 ms calculated by using the formula max {100 ms, 300 ms}; the detection period is 1500 ms calculated by multiplying 300 ms by 5.
    • On the peer ME device, the actual interval at which BFD packets are transmitted is 300 ms calculated by using the formula max {100 ms, 300 ms}, the actual interval at which BFD packets are received is 600 ms calculated by using the formula max {200 ms, 600 ms}, and the detection period is 2400 ms calculated by multiplying 600 ms by 4.

  7. Run commit

    The configuration is committed.

Verifying the Configuration of BFD for OSPF

After BFD for OSPF is configured, you can check information about the BFD session.

Prerequisites

BFD for OSPF has been configured.

Procedure

  • Run either of the following commands to check the BFD session:

    • display ospf [process-id ] bfd session interface-type interface-number [ router-id ]
    • display ospf [process-id ] bfd session { router-id | all }

Example

Run the display ospf bfd session all command to view the "BFDState:up" field. The following example shows that the field is Up, indicating that the BFD session on the local router is Up.

<HUAWEI> display ospf bfd session all
          OSPF Process 1 with Router ID 3.3.3.3
  Area 0.0.0.0 interface 2.2.2.1 ( GigabitEthernet1/0/0 )'s BFD Sessions

 NeighborId:2.2.2.2         BFDState:up
 LocalIpAdd:2.2.2.1          RemoteIpAdd:2.2.2.2

   Total UP/DOWN BFD Session Number : 1 / 0
Translation
Download
Updated: 2019-01-04

Document ID: EDOC1100059437

Views: 20234

Downloads: 15

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