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 OSPFv3

Configuring BFD for OSPFv3

To speed up OSPFv3 convergence when the link status changes, you can configure BFD for OSPFv3. After detecting a link failure, BFD notifies the routing protocol of the failure, which triggers fast convergence. When the neighbor relationship is Down, the BFD session is deleted dynamically.

Usage Scenario

To speed up OSPFv3 convergence when the link status changes, you can configure BFD for OSPFv3 links.

BFD detects links much faster than keep-alive protocols do. If OSPFv3 is bound to BFD sessions, BFD can notify OSPFv3 of link failures immediately, and then OSPFv3 perform route calculation and convergence in the new network topology.

Pre-configuration Tasks

Before configuring BFD for OSPFv3, complete the following tasks:

  • Configure a link layer protocol.

  • Configure IPv6 addresses for interfaces to ensure that neighboring nodes are reachable at the network layer.

  • Configure basic OSPFv3 functions.

Configuration Procedures

Figure 6-6 Flowchart for configuring BFD for OSPFv3

Configuring BFD Globally

On the two devices that need to establish a BFD session, you can configure BFD for all the interfaces in a certain OSPFv3 process.

Context

Perform the following steps on the ME device that runs OSPFv3:

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ospfv3 process-id

    The OSPFv3 view is displayed.

  3. Run bfd all-interfaces enable

    BFD for OSPFv3 is enabled to establish a BFD session.

  4. Run commit

    The configuration is committed.

Configuring OSPFv3 BFD Parameters

After enabling BFD for OSPFv3, you need to configure BFD parameters in the OSPFv3 process.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ospfv3 process-id

    The OSPFv3 view is displayed.

  3. Run bfd all-interfaces { min-transmit-interval min-transmit-value | min-receive-interval min-receive-value | detect-multiplier detect-multiplier-value } *

    OSPFv3 BFD parameters are configured.

    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 min-transmit-value at which BFD packets are transmitted on the local ME device, configured interval min-receive-value 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 min-transmit-value at which BFD packets are transmitted on the peer ME device, configured interval min-receive-value 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 detect-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.

  4. Run commit

    The configuration is committed.

(Optional) Preventing an Interface from Dynamically Setting Up a BFD Session

To disable BFD on some interfaces, you need to prevent these interfaces from dynamically establishing BFD sessions.

Context

After the bfd all-interfaces enable command is used in an OSPFv3 process, the following situations occur:

  • On a P2P network, all OSPFv3 interfaces whose neighbor status is Up set up dynamic BFD sessions.

  • On a broadcast network, all OSPFv3 interfaces whose neighbor status is Up set up dynamic sessions between Designated Intermediate Systems (DISs) and non-DISs.

To prevent certain interfaces from setting up dynamic BFD sessions, perform the following steps on the interfaces:

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface view is displayed.

  3. Run ospfv3 bfd block

    The interface is prevented from dynamically setting up BFD sessions.

  4. Run commit

    The configuration is committed.

(Optional) Configuring BFD for a Specified Interface

To configure BFD only on a specified interface, or enable an interface to detect link failures faster after BFD for OSPFv3 is enabled globally, configure BFD on the specified interface.

Context

To configure BFD only on a specified interface, or enable an interface to detect link failures faster after BFD for OSPFv3 is enabled globally, perform the following steps on the interface:

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface view is displayed.

  3. Run ospfv3 bfd enable [ per-link one-arm-echo ]

    BFD is enabled on the interface to establish a BFD session.

    When BFD is configured globally and the neighbor status is Full, OSPFv3 establishes BFD sessions on all the neighbors in the process using default BFD parameters.

    You can run the ospfv3 bfd { min-transmit-interval min-transmit-value | min-receive-interval min-receive-value | detect-multiplier detect-multiplier-value | frr-binding } * [ instance instance-id ] } command to set parameters for BFD sessions.

    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 OSPFv3 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 OSPFv3 neighbor relationship from going Down.

    NOTE:
    • The BFD configured on an interface takes precedence over that configured in a process. Specifically, if BFD is enabled on an interface, BFD parameters on the interface are used to establish BFD sessions.

    • If the parameters of a BFD session are set but the ospfv3 bfd enable command is not run, BFD cannot be enabled.

    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 min-transmit-value at which BFD packets are transmitted on the local ME device, configured interval min-receive-value 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 min-transmit-value at which BFD packets are transmitted on the peer ME device, configured interval min-receive-value 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 detect-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.

  4. Run commit

    The configuration is committed.

Verifying the Configuration of BFD for OPSFv3

After configuring BFD for OSPFv3, verify information about the BFD session.

Prerequisites

BFD for OSPFv3 has been configured.

Procedure

  • Run the display ospfv3 [process-id ] bfd session [ interface-type interface-number ] [ neighbor-id ] [ verbose ] command to check information about the BFD session.

Example

Run the display ospfv3 bfd session verbose command. If a BFD session has been established, the BFD status of the local ME device is Up.

<HUAWEI> display ospfv3 1 bfd session verbose
        OSPFv3 Process 1 with Router ID 1.1.1.1

* - STALE

 Neighbor-Id: 3.3.3.3            BFD Status: Up
 Interface: GE1/0/0                Instance : 2
 IPv6-Local-Address: FE80::2E0:B1FF:FE49:8142
 IPv6-Remote-Address: FE80:23:22::

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

Document ID: EDOC1100059437

Views: 20610

Downloads: 15

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