Configuring Dynamic BFD


In Dynamic BFD sessions are established based on the neighbor adjacencies established by the routing protocols such as OSPF, BGP, and PIM.

Link failures or topology changes on the network can lead to route recalculation. It is important to shorten the convergence time of routing protocols to improve the availability of the network. Users can enable the association between BFD and the routing protocols to quickly detect faults on links between network devices and achieve fast route convergence.

The following sections list the configuration steps and commands for how to establish BFD sessions for OSPFv2, OSPFv3, BGP and PIM.

Note that echo function is only supported in the single-hop BFD case.

Configuring BFD for OSPFv2

Step 1       (Optional) Create a profile to modify BFD session parameters.

  set protocols bfd profile <profile-name> detect-multiplier <MULTIPLIER>

  set protocols bfd profile <profile-name> minimum-ttl <minimum-ttl>

  set protocols bfd profile <profile-name> receive-interval <receive-interval>

  set protocols bfd profile <profile-name> transmit-interval <transmit-interval>

Step 2       (Optional) Create a profile to enable BFD echo function.

  set protocols bfd profile <profile-name> echo-mode

  set protocols bfd profile <profile-name> echo receive-interval [<receive-interval> | disabled]

  set protocols bfd profile <profile-name> echo transmit-interval <transmit-interval>

Step 3       Enable BFD for OSPFv2.

  set protocols ospf interface <vlan-interface> bfd [profile <profile-name>]

Step 4       Commit the configurations.

                  commit

Configuring BFD for OSPFv3

Step 1       (Optional) Create a profile to modify BFD session parameters.

  set protocols bfd profile <profile-name> detect-multiplier <MULTIPLIER>

  set protocols bfd profile <profile-name> minimum-ttl <minimum-ttl>

  set protocols bfd profile <profile-name> receive-interval <receive-interval>

  set protocols bfd profile <profile-name> transmit-interval <transmit-interval>

Step 2       (Optional) Create a profile to enable BFD echo function.

  set protocols bfd profile <profile-name> echo-mode

  set protocols bfd profile <profile-name> echo receive-interval [<receive-interval> | disabled]

  set protocols bfd profile <profile-name> echo transmit-interval <transmit-interval>

Step 3       Enable BFD for OSPFv3.

  set protocols ospf6 interface <vlan-interface> bfd [profile <profile-name>]

Step 4       Commit the configurations.

                  commit

Configuring BFD for BGP

Step 1       (Optional) Create a profile to modify BFD session parameters.

  set protocols bfd profile <profile-name> detect-multiplier <MULTIPLIER>

  set protocols bfd profile <profile-name> minimum-ttl <minimum-ttl>

  set protocols bfd profile <profile-name> receive-interval <receive-interval>

  set protocols bfd profile <profile-name> transmit-interval <transmit-interval>

Step 2       (Optional) Create a profile to enable BFD echo function.

  set protocols bfd profile <profile-name> echo-mode

  set protocols bfd profile <profile-name> echo receive-interval [<receive-interval> | disabled]

  set protocols bfd profile <profile-name> echo transmit-interval <transmit-interval>

Step 3       Enable BFD for BGP.

  set protocols bgp [vrf <vrf-name>] {neighbor <ip>| peer-group <peer-group> |interface <interface>} bfd [profile <profile-name>]

Step 4       Commit the configurations.

                  commit

Configuring BFD for PIM

Step 1       (Optional) Create a profile to modify BFD session parameters.

  set protocols bfd profile <profile-name> detect-multiplier <MULTIPLIER>

  set protocols bfd profile <profile-name> minimum-ttl <minimum-ttl>

  set protocols bfd profile <profile-name> receive-interval <receive-interval>

  set protocols bfd profile <profile-name> transmit-interval <transmit-interval>

Step 2       (Optional) Create a profile to enable BFD echo function.

  set protocols bfd profile <profile-name> echo-mode

  set protocols bfd profile <profile-name> echo receive-interval [<receive-interval> | disabled]

  set protocols bfd profile <profile-name> echo transmit-interval <transmit-interval>

Step 3       Enable BFD for PIM.

  set protocols pim interface <vlan-interface> bfd [profile <profile-name>]

Step 4       Commit the configurations.

                  commit



Copyright © 2024 Pica8 Inc. All Rights Reserved.