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

CLI-based Configuration Guide - VPN

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R010

This document describes VPN features on the device and provides configuration procedures and configuration examples.
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 Static BFD for PWs

Configuring Static BFD for PWs

Static BFD for PWs enables the device to fast detect faults on PWs and trigger switching of upper-layer applications. Static BFD applies to small-scale networks.

Pre-configuration Tasks

Before configuring static BFD for PWs, complete the following tasks:

  • Setting IP parameters to make each node reachable

  • Configuring a PW

Configuration Procedure

The following configurations are mandatory and must be performed in sequence.

Enabling BFD Globally

Context

Before configure BFD for PWs, enable BFD globally. Perform the following operations on the PEs at both ends of a PW.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run bfd

    BFD is enabled globally on the local node and the BFD view is displayed.

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.

Verifying the Configuration of Static BFD for PWs

Prerequisites

The configurations of static BFD for PWs are complete.

Procedure

  • Run the display bfd configuration pw interface interface-type interface-number [ secondary ] [ verbose ] command to check the BFD configuration.
  • Run the display bfd session pw interface interface-type interface-number [ secondary ] [ verbose ] command to check information about the BFD session.
Translation
Download
Updated: 2019-08-07

Document ID: EDOC1100033725

Views: 142606

Downloads: 359

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