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 01

NE05E and NE08E V300R003C10SPC500

This is NE05E and NE08E V300R003C10SPC500 Configuration Guide - VPN
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).
(Optional) Configuring BFD for VPLS PW

(Optional) Configuring BFD for VPLS PW

After a PW is configured for a VPLS using LDP as signaling, BFD can be configured to monitor the primary PW so that traffic can be immediately switched to the secondary PW in case of a primary PW fault.

Usage Scenario

On a VPLS LDP network, you can configure BFD to detect PW faults, which quickens link fault detection and enhances application-layer service protection.

Currently, static BFD and dynamic BFD are supported. You can choose one according to the network plan.

Pre-configuration Tasks

Before you configure BFD to monitor a VPLS PW, complete the following tasks:

  • Configure network-layer parameters for devices to communicate.

  • Configure a PW.

  • If a remote peer cannot identify the BFD CV Type field value 0x08 used for VCCV, run the mpls l2vpn vccv bfd-cv-negotiation command to change the BFD CV Type field value carried in a Label Mapping packet to be consistent with the remote peer's.
NOTE:
  • The control word mode of static BFD for VPLS PW does not support the 0x10 or 0x20 type of BFD CV. If the PW-negotiated CV values on both ends are 0x10 or 0x20, a BFD session cannot go Up after negotiation.

  • If dynamic BFD for VPLS is configured and the BFD CV Type field is negotiated to be 0x10 or 0x20 for the peers, the MTU value of the interface through which BFD control packets are transmitted cannot be less than the BFD control packet length. A BFD control packet's payload is in one of the following lengths:
    • Non-authentication: 24 bytes
    • MD5 authentication: 48 bytes
    • SHA1 authentication: 52 bytes

Procedure

  • Configure a static BFD session.
    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

      The system view is displayed.

    4. Run bfd session-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 configuration items are created.

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

      • To configure the local discriminator, run the discriminator local discr-value command.

      • To configure the remote discriminator, run the discriminator remote discr-value command.

      NOTE:

      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 service PW is Down, the BFD session can be established but cannot go Up.

      NOTE:
      • BFD for PW must be configured or cancelled on both PEs of a PW. If this function is configured or cancelled only on one end, the PW status between both ends will be inconsistent.
      • To modify the parameters of an existing BFD session, run the min-tx-interval, min-rx-interval, and detect-multiplier commands.

  • Configure a dynamic BFD session.
    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

      The system view is displayed.

    4. Trigger the establishment of a dynamic BFD session.

      1. Run the vsi vsi-name command to enter the VSI view.
      2. Run the pwsignal ldp command to enter the VSI LDP view.
      3. Run the vsi-id vsi-id command to configure the VSI ID.
      4. Run the peer peer-address to configure the VSI peer.
      5. Run the peer peer-address pw pw-name command to configure a VSI LDP PW profile.
      6. Run the bfd-detect [ detect-multiplier multiplier | min-rx-interval rx-interval | min-tx-interval tx-interval | option-tlv ] * command to configure a dynamic BFD session for the VPLS PW.
        NOTE:
        The parameters are described as follows:
        • detect-multiplier multiplier indicates the BFD detection multiplier.

        • min-rx-interval rx-interval indicates the Required Min Rx Interval (RMRI), which is the supported minimum interval at which the local device receives BFD control packets.

        • min-tx-interval tx-interval indicates the Desired Min Tx Interval (DMTI), which is the desired minimum interval at which the local device sends BFD control packets.

        The BFD detection parameters actually used may be different from the ones configured:
        • Actual local detection interval = Actual interval at which the local device receives BFD control packets x Configured remote BFD detection multiplier

        • Actual interval at which the local device receives BFD control packets = Max { Configured remote DMTI, Configured local RMRI }

        • Actual interval at which the local device transmits BFD control packets = Max { Configured local DMTI, Configured remote RMRI }

      7. Run the quit command to return to the system view.

    5. Run commit

      The configuration is committed.

Checking the Configurations

After configuring BFD for VPLS PW, check the configurations.
  • Run the display bfd session command to check BFD session configurations.

# Run the display bfd session vsi-pw vsivsi-name peerpeer-address [ vc-id vc-id ] [ verbose ] command. The command output shows information about the BFD session status, BFD session discriminators, BFD session type, and type of the PW bound to the BFD session. For example:

<HUAWEI> display bfd session vsi-pw vsi v1 peer 3.3.3.3 verbose
--------------------------------------------------------------------------------
  State : Up                    Name : dyn_16386
--------------------------------------------------------------------------------
  Local Discriminator    : 16386            Remote Discriminator   : 16385 
  Session Detect Mode    : Asynchronous Mode Without Echo Function
  BFD Bind Type          : VSI_PW 
  Bind Session Type      : Dynamic  
  Bind Peer IP Address   : 3.3.3.3         
  NextHop Ip Address     : -.-.-.-  
  Bind Interface         : -                                                 
  LSP Token              : -
  Vsi Name               : v1
  Vsi Pw Peer Ip Address : 3.3.3.3
  Vc Id                  : 1
  PW TTL Mode            : -                PW TTL                 : - 
  Remote Peer            : 3.3.3.3           
  FSM Board Id           : 9                TOS-EXP                : 7
  Min Tx Interval (ms)   : 10               Min Rx Interval (ms)   : 10 
  Actual Tx Interval (ms): 1000             Actual Rx Interval (ms): 1000 
  Local Detect Multi     : 3                Detect Interval (ms)   : 50000 
  Echo Passive           : Disable          Acl Number             : - 
  Destination Port       : 3784             TTL                    : 255 
  Proc Interface Status  : Disable          Process PST            : Enable     
  WTR Interval (ms)      : -                Config PST             : Enable     
  Active Multi           : 50   
  Last Local Diagnostic  : Control Detection Time Expired
  Bind Application       : L2VPN
  Session TX TmrID       : -                Session Detect TmrID   : - 
  Session Init TmrID     : -                Session WTR TmrID      : - 
  Session Echo Tx TmrID  : -   
  Session Description    : - 
--------------------------------------------------------------------------------
Translation
Download
Updated: 2019-01-14

Document ID: EDOC1100058925

Views: 27960

Downloads: 53

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