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

S12700 V200R011C10 Configuration Guide - VPN

This document describes the VPN configuration procedures and provides 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 BFD to Detect Public Network Links

Configuring BFD to Detect Public Network Links

Context

After BFD for PW is configured, the fault on a PW can be rapidly detected and service flows on the PW can be rapidly switched to the secondary PW. In this scenario, BFD can be configured in the following two modes:
  • If there are a small number of service PWs, configure BFD for service PWs.
  • If there are multiple PWs, configure BFD for mPW and associate service PWs with the mPW. In this way, BFD monitors service PWs by detecting the mPW.
NOTE:

The BFD control packets are encapsulated in the PW control packets. Therefore, the control word function must be enabled on the PWs to be detected by BFD.

Perform the following operations on PEs at both ends of the primary PW.

Procedure

  • Configure BFD for service PWs or the mPW.
    1. Run system-view

      The system view is displayed.

    2. Run bfd

      BFD is enabled globally, and the global BFD view is displayed.

    3. Run quit

      Return to the system view.

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

      A BFD configuration item is created.

      NOTE:
      • The outbound interface (specified by interface interface-type interface-number) to which a BFD session is bound is an AC interface on which a PW is established. If an mPW is bound to a BFD session, the interface is the loopback interface where the mPW is configured.
      • If the PW to be detected is a secondary PW, you must specify secondary.

    5. (Optional) Run wtr wtr-value

      The time before a BFD session recovers is set.

      By default, the value is 0, indicating that a BFD session recovers immediately.

      Running this command can prevent applications from continuous active/standby switchovers during the BFD session flapping.

    6. Configure local and remote discriminators.

      • Run discriminator local discr-value

        A local discriminator is configured.

      • Run discriminator remote discr-value

        A remote discriminator is configured.

      NOTE:

      The local discriminator of one end must be the same as the remote discriminator of the other end of a BFD session.

    7. 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:
      • The local and remote discriminators cannot be changed once being configured. To modify the local and remote discriminators, run the undo bfd bfd-name command in the system view to delete BFD for PW configurations. Then, you can re-configure the local and remote discriminators.
      • After the PW is deleted, the related BFD sessions and configurations are deleted.

  • (Optional) Associate service PWs with the mPW.
    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number [ .subinterface-number ]

      The AC interface view is displayed.

    3. Run mpls l2vc [ secondary | bypass ] track admin-vc interface loopback interface-number

      Service PWs on the AC interface are associated with the mPW.

Translation
Download
Updated: 2019-04-01

Document ID: EDOC1000178118

Views: 158743

Downloads: 159

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