Setting BFD Parameters on the Ingress

After setting BFD parameters on the ingress, you can use BFD sessions to monitor a TE tunnel.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Perform either of the following operations:

    • Configure a BFD session to monitor a TE tunnel:

      bfd session-name bind mpls-te interface interface-type interface-number [ one-arm-echo]

      If the specified tunnel is down, no BFD session can be configured.

  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.

    The local discriminator of the local device and the remote discriminator of the remote device are the same. 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.

    Remote discriminators do not need to be set for one-arm sessions.

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

    The local 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 set.

    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 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 >