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

Configuration Guide - Reliability

CloudEngine 12800 and 12800E V200R002C50

This document describes the configurations of Reliability, including BFD Configuration, VRRP Configuration, DLDP Configuration, Smart Link and Monitor Link Configuration, EFM Configuration, and CFM Configuration.
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

Pre-configuration Tasks

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

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

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

  • Configure an IP address for the Layer 3 interface.

Configuration Process

Figure 2-15 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. Depending on whether BFD detects an IPv4 or IPv6 link, perform either of the following operations.

    • Run either of the following commands as required to configure BFD binding:
      • 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 [ select-board slot-id1 [ slot-id2 ] ] [ 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 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 to establish 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-03-21

Document ID: EDOC1000166606

Views: 127095

Downloads: 90

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