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

CX11x, CX31x, CX710 (Earlier Than V6.03), and CX91x Series Switch Modules V100R001C10 Configuration Guide 12

The documents describe the configuration of various services supported by the CX11x&CX31x&CX91x series switch modules The description covers configuration examples and function configurations.
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 Single-Hop BFD

Configuring Single-Hop BFD

Single-hop BFD fast detects faults on the directly connected link.

Pre-configuration Tasks

Before configuring single-hop BFD, complete the following tasks:

  • Configuring link layer protocol parameters for interfaces to ensure that the link layer protocol status on the interfaces is Up

  • Configuring an IP address for the Layer 3 interface

Configuration Process

Figure 11-16 Single-hop BFD configuration process

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    bfd

    BFD is enabled globally and the BFD view is displayed.

    By default, BFD is disabled globally.

  3. (Optional) Run:

    default-ip-address ip-address

    The default multicast IP address for BFD is configured.

    By default, BFD uses the multicast IP address 224.0.0.184.

  4. Run:

    quit

    Return to the system view.

  5. According to whether BFD detects an IPv4 or IPv6 link, perform either of the following operations:

    • According to whether the remote end is configured with an IP address, run either of the following commands to configure a BFD binding relationship:
      • To bind the BFD session to a Layer 3 interface with an IP address, run:

        bfd session-name bind peer-ip ip-address [ vpn-instance vpn-name ] interface interface-type interface-number [ source-ip ip-address ]

        A BFD session for IPv4 is bound to a Layer 3 interface.

        By default, BFD binding is not created.

        NOTE:
        • If a single-hop BFD session for IPv4 is created for the first time, a peer IPv4 address must be specified for the BFD session, and the BFD session must be bound to the local interface. The binding cannot be modified after being created.
        • When a BFD session for IPv4 is created, the system checks only the validity of the IPv4 address format. Binding the BFD session for IPv4 to an incorrect remote or local IPv4 address results in a failure in establishing the BFD session for IPv4.
        • If BFD and unicast reverse path forwarding (URPF) are used together, source-ip must be configured correctly before a BFD session is bound to the IPv4 address to prevent BFD packets from being discarded. URPF checks the format of the source IPv4 addresses in received packets and discards the packets whose source IPv4 addresses are incorrect.
      • To bind the BFD session to a Layer 2 interface or a Layer 3 member interface without an IP address, run:

        bfd session-name bind peer-ip default-ip interface interface-type interface-number [ source-ip ip-address ]

        A BFD session for IPv4 is bound to an interface.

        By default, BFD binding is not created.

    • Run:

      bfd session-name bind peer-ipv6 ipv6-address [ vpn-instance vpn-name ] [ interface interface-type interface-number ] [ source-ipv6 ipv6-address ]

      A BFD session for IPv6 is bound to an interface.

      By default, BFD binding is not created.

      NOTE:
      • If a single-hop BFD session for IPv6 is created for the first time, the BFD session must be bound to the remote IPv6 address and the local interface. The binding cannot be modified after being created.
      • When a BFD session for IPv6 is created, the system checks only the validity of the IPv6 address format. Binding the BFD session for IPv6 to an incorrect remote or local IPv6 address results in a failure in establishing the BFD session for IPv6.
      • If BFD and URPF are used together, source-ipv6 must be configured correctly before a BFD session is bound to the interface to prevent BFD packets from being discarded. URPF checks the format of the source IPv6 addresses in received packets and discards the packets whose source IPv6 addresses are incorrect.

  6. Run:

    discriminator local discr-value

    The local discriminator is set.

  7. Run:

    discriminator remote discr-value

    The remote discriminator is set.

    NOTE:

    The local discriminator of the local system must be the same as the remote discriminator of the remote system; the remote discriminator of the local system must be the same as the local discriminator of the remote system. Otherwise, BFD sessions cannot be established.

    If a BFD session is bound to the default multicast address, the local discriminator and the remote discriminator must be different.

  8. Run:

    commit

    The configuration is committed.

Translation
Download
Updated: 2019-08-09

Document ID: EDOC1000041694

Views: 59528

Downloads: 3623

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