< Home

Configuring BFD with Specific Parameters on the Ingress Node

Context

BFD parameters on the ingress node include the local and remote discriminators, minimum intervals for sending and receiving BFD packets, and local BFD detection multiplier. The BFD parameters affect BFD session setup.

You can adjust the local detection time according to the network situation. On an unstable link, if a small detection time is used, a BFD session may flap. You can increase the detection time of the BFD session.

Actual interval for the local device to send BFD packets = MAX {locally configured interval for sending BFD packets, remotely configured interval for receiving BFD packets}

Actual interval for the local device to receive BFD packets = MAX {remotely configured interval for sending BFD packets, locally configured interval for receiving BFD packets}

Local detection time = Actual interval for receiving BFD packets x Remotely configured BFD detection multiplier

Perform the following steps on the ingress node of the static LSP.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run bfd

    This node is enabled with the global BFD function. The global BFD view is displayed.

    By default, global BFD is disabled.

  3. Run quit

    Return to the system view.

  4. Run bfd cfg-name bind static-lsp lsp-name

    The BFD session is bound to the static LSP.

  5. Set local and remote discriminators of a BFD session.

    • Run discriminator local discr-value

      The local discriminator is configured.

    • Run discriminator remote discr-value

      The remote discriminator is configured.

    The local and remote discriminators of the two ends on a BFD session must be correctly associated. That is, the local discriminator of the local device and the remote discriminator of the remote device are the same, and the remote discriminator of the local device and the local discriminator of the remote device are the same. Otherwise, the BFD session cannot be correctly set up. In addition, the local and remote discriminators cannot be modified after being successfully configured.

  6. (Optional) Run min-tx-interval interval

    The interval for sending BFD packets is set on the local device.

  7. (Optional) Run min-rx-interval interval

    The interval for receiving BFD packets is set on the local device.

  8. (Optional) Run detect-multiplier multiplier

    The local BFD detection multiplier is set.

    By default, the value is 3.

  9. Run process-pst

    The changes of the BFD session status can be advertised to the upper-layer application.

    By default, a static BFD session cannot report faults of the monitored service module to the system.

  10. Run commit

    The configuration is committed.

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