< Home

Creating Dynamic BFD for PWs

Context

You must configure or delete BFD for PWs on the two PEs of a PW simultaneously; otherwise, the PW status on the two PEs may be different. Perform the following operations on the two PEs of the PW.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The AC interface view is displayed.

  3. Run mpls l2vpn pw bfd [ detect-multiplier multiplier | min-rx-interval rx-interval | min-tx-interval tx-interval ] * [ remote-vcid vc-id ] [ secondary ]

    A BFD session is created to detect a PW.

    You can run this command to create a BFD session or adjust BFD parameters.

    To configure BFD for a multi-hop PW, you must specify remote-vcid, namely, remote VC ID of the PW.

    To configure BFD for a standby PW, specify secondary.

  4. (Optional) Set the encapsulation type for BFD CV packets to be sent to remote peers.
    1. Run quit

      Return to the system view.

    2. Run mpls l2vpn

      The MPLS L2VPN view is displayed.

    3. Run any of the following commands:

      • To set the encapsulation type to 0x04 for BFD CV packets to be sent to all remote peers, run the mpls l2vpn vccv bfd-cv-negotiation fault-detection-only command.
      • To restore the default encapsulation type 0x08 of BFD CV packets to be sent to all remote peers, run the undo mpls l2vpn vccv bfd-cv-negotiation fault-detection-only command.
      • To set the encapsulation type to 0x04 for BFD CV packets to be sent to a specified remote peer, run the mpls l2vpn vccv bfd-cv-negotiation fault-detection-only peer peer-address enable command.
      • To set the encapsulation type to 0x08 for BFD CV packets to be sent to a specified remote peer, run the mpls l2vpn vccv bfd-cv-negotiation fault-detection-only peer peer-address disable command.
      • To restore the global encapsulation type of BFD CV packets to be sent to a specified remote peer, run the undo mpls l2vpn vccv bfd-cv-negotiation fault-detection-only peer peer-address command.

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