No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Configuration Guide - VPN

S7700 and S9700 V200R013C00

This document describes the configurations of VPN, including GRE, IPSec, BGP/MPLS IP VPN, BGP/MPLS IPv6 VPN, VLL, PWE3, VPLS, L2VPN Access to L3VPN.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring BFD for PWs

Configuring 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 to be detected.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run bfd cfg-name bind pw interface interface-type interface-number [ secondary ]

    BFD for PWs is configured.

    The outbound interface interface interface-type interface-number bound to a BFD session is the AC interface where a PW resides.

    To detect a secondary PW, specify secondary.

  3. Configure BFD discriminators.

    • Run discriminator local discr-value

      The local discriminator is set.

    • Run discriminator remote discr-value

      The remote discriminator is set.

    NOTE:

    The local discriminator at the local end must be the same as the remote discriminator at the peer end, and the remote discriminator at the local end must be the same as the local discriminator at the peer end.

  4. Run commit

    The configuration is committed.

    When the PW status is Down, a BFD session can be set up but cannot go Up.

    NOTE:
    • The local and remote BFD discriminators cannot be modified once being configured. To modify the local or remote BFD discriminator, run the undo bfd bfd-name command in the system view to delete the configuration of BFD for PWs, and then reconfigure the local or remote BFD discriminator.
    • After the PW is deleted, the related BFD session and configuration are deleted.

  5. (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 either 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 set the encapsulation type 0x08 for 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.

Translation
Download
Updated: 2019-04-08

Document ID: EDOC1100065751

Views: 39165

Downloads: 50

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next