Configuration of the BFD Link Detection (Static Route)-HUAWEI

*******BFD Link Detection (Static Route)********

  1. Create VLANs and add upstream ports to the VLANs.
    OLT(config)#vlan 30 smart
    OLT(config)#port vlan 30 0/19 0
    OLT(config)#vlan 40 smart
    OLT(config)#port vlan 40 0/19 1
  2. Configure the IP address of the L3 interface of the VLAN.
    OLT(config)#interface vlanif 30
    OLT(config-if-vlanif30)#ip address 10.10.10.1 24
    OLT(config-if-vlanif30)#quit
    OLT(config)#interface vlanif 40
    OLT(config-if-vlanif40)#ip address 20.20.20.1 24
    OLT(config-if-vlanif40)#quit
  3. Configure the BFD sessions.You can configure BFD sessions only after the BFD function is enabled.
    OLT(config)#bfd
    OLT(config-bfd)#quit
    OLT(config)#bfd ToRouter_1 bind peer-ip 10.10.10.2 source-ip 10.10.10.1 auto
    OLT(config-bfd-session-torouter_1)#min-rx-interval 10
    OLT(config-bfd-session-torouter_1)#min-tx-interval 10
    OLT(config-bfd-session-torouter_1)#detect-multiplier 3
    OLT(config-bfd-session-torouter_1)#commit
    OLT(config-bfd-session-torouter_1)#quit
    OLT(config)#bfd ToRouter_2 bind peer-ip 20.20.20.2 source-ip 20.20.20.1 auto
    OLT(config-bfd-session-torouter_2)#min-rx-interval 10
    OLT(config-bfd-session-torouter_2)#min-tx-interval 10
    OLT(config-bfd-session-torouter_2)#detect-multiplier 3
    OLT(config-bfd-session-torouter_2)#commit
    OLT(config-bfd-session-torouter_2)#quit
  4. Bind the BFD sessions to the static routes.
    OLT(config)#ip route-static 30.30.30.1 24 10.10.10.2 preference 2 track bfd-session ToRouter_1
    OLT(config)#ip route-static 30.30.30.1 24 20.20.20.2 preference 6 track bfd-session ToRouter_2
  5. Save the data.
    OLT(config)#save

                                                                              ********END********

Be the first to comment

Leave a Reply

Your email address will not be published.


*


For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

I agree to these terms.