< Home

Configuring BFD for CR-LSP

Procedure

  • Configure SPEs.

    The following uses the configuration of Core_SPE1 on the core ring as an example. The configurations of Core_SPE2 and Core_SPE3 are similar to the configuration of Core_SPE1, and are not mentioned here.

    bfd SPE1toUPE1_b bind mpls-te interface Tunnel611 te-lsp backup    //Enable static BFD to detect the backup CR-LSP of TE tunnel 611.
     discriminator local 6116    //Set the local discriminator. The local discriminator of the local system must be the same as the remote discriminator of the remote system.
     discriminator remote 6115    //Set the remote discriminator.
     detect-multiplier 8    //Set the local detection multiplier of BFD.
     min-tx-interval 3    //Set the minimum interval at which the local device sends BFD packets to 3.3 ms.
     min-rx-interval 3    //Set the minimum interval at which the local device receives BFD packets to 3.3 ms.
     process-pst    //Allow BFD sessions to change the PST to speed up switchovers.
     commit    //Commit the BFD session configuration.
    #
    bfd SPE1toUPE1_m bind mpls-te interface Tunnel611 te-lsp    //Enable static BFD to detect the primary CR-LSP of TE tunnel 611.
     discriminator local 6112
     discriminator remote 6111
     detect-multiplier 8
     min-tx-interval 3
     min-rx-interval 3
     process-pst
     commit
    #
    bfd SPE1toUPE2_b bind mpls-te interface Tunnel622 te-lsp backup    //Enable static BFD to detect the backup CR-LSP of TE tunnel 622.
     discriminator local 6226
     discriminator remote 6225
     detect-multiplier 8
     min-tx-interval 3
     min-rx-interval 3
     process-pst
     commit
    #
    bfd SPE1toUPE2_m bind mpls-te interface Tunnel622 te-lsp    //Enable static BFD to detect the primary CR-LSP of TE tunnel 622.
     discriminator local 6222
     discriminator remote 6221
     detect-multiplier 8
     min-tx-interval 3
     min-rx-interval 3
     process-pst
     commit
    #
    bfd SPE1toUPE5_b bind mpls-te interface Tunnel721 te-lsp backup    //Enable static BFD to detect the backup CR-LSP of TE tunnel 721.
     discriminator local 7216
     discriminator remote 7215
     detect-multiplier 8
     min-tx-interval 3
     min-rx-interval 3
     process-pst
     commit
    #
    bfd SPE1toUPE5_m bind mpls-te interface Tunnel721 te-lsp    //Enable static BFD to detect the primary CR-LSP of TE tunnel 721.
     discriminator local 7212
     discriminator remote 7211
     detect-multiplier 8
     min-tx-interval 3
     min-rx-interval 3
     process-pst
     commit
    #
    bfd SPE1toUPE6_b bind mpls-te interface Tunnel711 te-lsp backup    //Enable static BFD to detect the backup CR-LSP of TE tunnel 711.
     discriminator local 7116
     discriminator remote 7115
     detect-multiplier 8
     min-tx-interval 3
     min-rx-interval 3
     process-pst
     commit
    #
    bfd SPE1toUPE6_m bind mpls-te interface Tunnel711 te-lsp    //Enable static BFD to detect the primary CR-LSP of TE tunnel 711.
     discriminator local 7112
     discriminator remote 7111
     detect-multiplier 8
     min-tx-interval 3
     min-rx-interval 3
     process-pst
     commit
    #

  • Configure UPEs.

    The following uses the configuration of Site1_UPE1 as an example. The configurations of Site1_UPE2, Site2_UPE3, Site2_UPE4, Site3_UPE5, and Site3_UPE6 are similar to the configuration of Site1_UPE1, and are not mentioned here.

    bfd UPE1toSPE1_m_b bind mpls-te interface Tunnel611 te-lsp backup    //Enable static BFD to detect the backup CR-LSP of TE tunnel 611.
     discriminator local 6115    //Set the local discriminator. The local discriminator of the local system must be the same as the remote discriminator of the remote system.
     discriminator remote 6116    //Set the remote discriminator.
     detect-multiplier 8    //Set the local detection multiplier of BFD.
     min-tx-interval 3    //Set the minimum interval at which the local device sends BFD packets to 3.3 ms.
     min-rx-interval 3    //Set the minimum interval at which the local device receives BFD packets to 3.3 ms.
     process-pst    //Allow BFD sessions to change the PST to speed up switchovers.
     commit    //Commit the BFD session configuration.
    #
    bfd UPE1toSPE1_m bind mpls-te interface Tunnel611 te-lsp    //Enable static BFD to detect the primary CR-LSP of TE tunnel 611.
     discriminator local 6111
     discriminator remote 6112
     detect-multiplier 8
     min-tx-interval 3
     min-rx-interval 3
     process-pst
     commit
    #
    bfd UPE1toSPE2_b bind mpls-te interface Tunnel612 te-lsp backup    //Enable static BFD to detect the backup CR-LSP of TE tunnel 612.
     discriminator local 6125
     discriminator remote 6126
     detect-multiplier 8
     min-tx-interval 3
     min-rx-interval 3
     process-pst
     commit
    #
    bfd UPE1toSPE2_m bind mpls-te interface Tunnel612 te-lsp    //Enable static BFD to detect the primary CR-LSP of TE tunnel 612.
     discriminator local 6121
     discriminator remote 6122
     detect-multiplier 8
     min-tx-interval 3
     min-rx-interval 3
     process-pst
     commit
    #

Checking the Configuration

  • Run the display bfd session all for-te command to view the BFD session status.

    Using Core_SPE1 as an example, if BFD sessions with the tunnel type being S_TE_LSP are all in Up state, BFD sessions have been set up successfully.

    [Core_SPE1]display bfd session all for-te
    --------------------------------------------------------------------------------
    Local Remote     PeerIpAddr      State     Type         InterfaceName           
    --------------------------------------------------------------------------------
    7112  7111       172.16.2.86     Up        S_TE_LSP     Tunnel711               
    7212  7211       172.16.2.87     Up        S_TE_LSP     Tunnel721               
    7216  7215       172.16.2.87     Up        S_TE_LSP     Tunnel721               
    7116  7115       172.16.2.86     Up        S_TE_LSP     Tunnel711               
    6226  6225       172.16.2.50     Up        S_TE_LSP     Tunnel622               
    6116  6115       172.16.2.51     Up        S_TE_LSP     Tunnel611               
    6112  6111       172.16.2.51     Up        S_TE_LSP     Tunnel611               
    6222  6221       172.16.2.50     Up        S_TE_LSP     Tunnel622               
    --------------------------------------------------------------------------------
         Total UP/DOWN Session Number : 8/0
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic