Setting BFD Parameters on the Ingress

This section describes how to set BFD parameters on the ingress to monitor CR-LSPs using BFD sessions.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run bfd session-name bind mpls-te interface interface-type interface-number te-lsp [ backup ] [ one-arm-echo ]

    BFD is configured to monitor the primary or backup LSP bound to a TE tunnel.

    If the backup parameter is specified, the BFD session is bound to the backup CR-LSP.

  3. Run discriminator local discr-value

    The local discriminator of the BFD session is set.

  4. Run discriminator remote discr-value

    The remote discriminator of the BFD session is set.

    This command cannot be run for a one-arm-echo session.

    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. A discriminator inconsistency causes the BFD session to fail to be established.

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

    The minimum interval at which BFD packets are sent is set.

    This command cannot be run for a one-arm-echo session.

    • Effective local interval at which BFD packets are sent = MAX { Configured local interval at which BFD packets are sent, Configured remote interval at which BFD packets are received }
    • Effective local interval at which BFD packets are received = MAX { Configured remote interval at which BFD packets are sent, Configured local interval at which BFD packets are received }
    • Effective local detection interval = Effective local interval at which BFD packets are received x Configured remote detection multiplier

    For example:

    • The local interval at which BFD packets are sent is set to 200 ms, the local interval at which BFD packets are received is set to 300 ms, and the local detection multiplier is set to 4.

    • The remote interval at which BFD packets are sent is set to 100 ms, the remote interval at which BFD packets are received is set to 600 ms, and the remote detection multiplier is set to 5.

    Then,

    • Effective local interval at which BFD packets are sent = MAX { 200 ms, 600 ms } = 600 ms; effective local interval at which BFD packets are received = MAX { 100 ms, 300 ms } = 300 ms; effective local detection period = 300 ms x 5 = 1500 ms

    • Effective remote interval at which BFD packets are sent = MAX { 100 ms, 300 ms } = 300 ms; effective remote receiving interval = MAX { 200 ms, 600 ms } = 600 ms; effective remote detection period = 600 ms x 4 = 2400 ms

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

    The local minimum interval at which BFD packets are received is configured.

    For a one-arm-echo session, run the min-echo-rx-interval interval command to configure the minimum interval at which the local device receives BFD packets.

  7. (Optional) Run detect-multiplier multiplier

    The local BFD detection multiplier is set.

  8. Run commit

    The configuration is committed.

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