Establishing a BFD Session

You can establish a static BFD session with automatically negotiated discriminators on both ends of a link to allow a device to rapidly detect faults in a link.

Procedure

  1. Run system-view

    The system view is displayed.

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

    • Run the bfd session-name bind peer-ip peer-ip [ vpn-instance vpn-name ] [ interface { interface-name | interface-type interface-number } ] source-ip source-ip auto command to set up a static BFD session for IPv4 with automatically negotiated discriminators.

      • A source address must be configured.
      • The IP address must be an explicit IPv4 address but not a multicast one.
    • Run the bfd session-name bind peer-ipv6 peer-ipv6 [ vpn-instance vpn-name ] [ interface interface-type interface-number ] source-ipv6 ipv6-address auto command to set up a static BFD session for IPv6 with automatically negotiated discriminators.

      • A source address must be configured.
      • The IP address must be an explicit IPv6 address but not a multicast one.

  3. Run commit

    The configuration is committed.

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