< Home

(Optional) Configuring Auto-negotiation of Static Discriminators

By configuring the auto-negotiation of static discriminators, you can enable the connection to the device that establishes BFD sessions dynamically. The auto-negotiation function of static discriminators is mainly applied to static routes.

Context

This function is used, when BFD interworks with the static route and the local device needs to communicate with the peer device, which uses the dynamic BFD session.

Local and remote discriminators cannot be configured on the device when you configure the auto-negotiation of static discriminators.

The configuration difference between the static auto-negotiated BFD session and the static BFD session lies in:
  • After you create the static auto-negotiation configuration, the BFD session can be established without the commit command executed.
  • After the parameters (such as the BFD control packet sending interval, receiving interval, and local detection multiple) of the static auto-negotiated BFD session are changed, they take effect without the commit command executed.

Procedure

  1. Access the system view.

    system-view

  2. Enable the global BFD function and access the BFD global view.

    bfd

  3. Return to the system view.

    quit

  4. According to whether BFD detects an IPv4 or IPv6 link, perform either of the following operations:
    • Create a static auto-negotiated BFD session for IPv4 with the static discriminator.

      bfd  cfg-name bind peer-ip peer-ip [ vpn-instance vpn-instance-name ] [ interface interface-type interface-number ] source-ip source-ip auto
      • The peer-ip value cannot be a multicast IP address.

      • If both interface and source-ip are specified, the source IP address must be the same as the IP address of the interface.
    • Create a static auto-negotiated BFD session for IPv6 with the static discriminator.

      bfd session-name bind peer-ipv6 ipv6-address [ vpn-instance vpn-name ] [ interface interface-type interface-number ] source-ipv6 ipv6-address auto
      • The ipv6-address value cannot be a multicast IP address.

      • If both interface and source-ip are specified, the source IP address must be the same as the IP address of the interface.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >