< Home

(Optional) Configuring BFD for PW

Context

If only signaling is used to detect PW faults, PWs are slow to become aware of faults. BFD for PW is often used to quickly detect PW faults.

Generally, BFD for PW only needs to be configured for the primary PW. When BFD for PW detects a fault on the primary PW, BFD for PW immediately triggers an active/standby PW switchover.

Do as follows on the UPE devices:

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run bfd

    BFD is enabled globally and the BFD view is displayed.

  3. Run quit

    Return to the system view.

  4. Run the following command to create BFD configurations to detect faults of different types of PWs:

    On the UPE configured with a VSI, run bfd cfg-name bind pw vsi vsi-name peer peer-address [ vc-id vc-id ] [ remote-peer remote-peer-address pw-ttl { auto-calculate | ttl-number } ]

    BFD for PW is configured to detect VSI PW faults.

  5. Run the following commands to configure BFD session discriminators:

    • Run discriminator local discr-value

      A local BFD session discriminator is configured.

    • Run discriminator remote discr-value

      A remote BFD session discriminator is configured.

    The local BFD session discriminator on one end must be the remote BFD session discriminator on the other end.

  6. Run commit

    The configuration is committed.

    If the status of a PW is Down, the BFD session can be established but cannot go Up.

    Note that you must configure or cancel BFD for PW on both ends of a PW. Otherwise, the PW status on both ends may be inconsistent.

  7. Run quit

    Return to the system view.

  8. Run bfd for vsi-pw enable

    The system is enabled to send BFD for VSI-PW packets to the protocol stack for processing.

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