< Home

Configuring the BFD Echo Function

Pre-configuration Tasks

Before configuring the BFD Echo function, complete the following tasks:

  • Connect interfaces properly.

  • Correctly configure an IP address for the Layer 3 interface.

Configuration Process

Figure 1 Configuration process of the BFD Echo function

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. Run quit

    Return to the system view.

  4. Run bfd session-name bind peer-ip peer-ip [ vpn-instance vpn-instance-name ] interface interface-type interface-number [ source-ip ip-address ] one-arm-echo

    A BFD session supporting the BFD Echo function is configured.

    By default, the BFD Echo function is not configured.

    • The BFD Echo function is only applicable to single-hop BFD sessions.

    • When the BFD Echo function is configured, the device uses the IP address of the outbound interface as the source IP address by default. In this case, you must manually configure the value of source-ip ip-address to be different from the IP address of the outbound interface. This is because some devices will discard packets in which the source and destination IP addresses are the same.

    • When URPF is enabled on the remote device, the remote device must have a route to the IP address specified by source-ip ip-address so that BFD packets are not incorrectly discarded.

  5. Run discriminator local discr-value

    The discriminator for the BFD session is configured.

    You can only configure the local discriminator because the BFD Echo function is only configured on one device supporting BFD.

  6. Run commit

    The configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >