Routing Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Release

PDF

Base configuration for BFD

Want to summarize with AI?

Log in

Explains how to establish core BFD configuration and enable fast failure detection under routing protocols or static routes before applying protocol-specific settings.


To establish a BFD neighbor, complete at least one procedure to configure BFD under a dynamic routing protocol or with a static route.


Configure BFD over BGP

Procedure

1.

Configure BFD for the BGP neighbor.

Example:

Router# configure
Router#(config)# router bgp 1200
Router#(config-bgp)# bfd multiplier 2
Router#(config-bgp)# bfd minimum-interval 1200
Router#(config-bgp)# neighbor 192.168.70.24
Router#(config-bgp-nbr)# remote-as 2
Router#(config-bgp-nbr)# bfd fast-detect
Router#(config-bgp-nbr)# commit
Router#(config-bgp-nbr)# end
2.

Verify the configuration.

Example:

Router# show run router bgp

Configure BFD for OSPF

This example shows how to enable BFD for OSPF on a HundredGigE interface.

Procedure

1.

Configure the BFD fast-detect feature on the OSPF interface.

Example:

Router# configure
Router#(config)# router ospf 0
Router#(config-ospf)# area 0
Router#(config-ospf-ar)# interface HundredGige 0/3/0/1
Router#(config-ospf-ar-if)# bfd fast-detect
Router#(config-ospf-ar-if)# commit
Router#(config-ospf-ar-if)# end
2.

Verify the configuration.

Example:

Router# show run router ospf
router ospf 0
area 0
interface HundredGige 0/3/0/1
bfd fast-detect

Configure BFD on IPv4 static routes

Procedure

Configure the static route with BFD fast detection in IPv4 address family configuration mode..

Example:

Router# configure
Router(config)# router static
Router(config-static)# address-family ipv4 unicast
Router(config-static)# 10.2.2.0/24 10.3.3.3 bfd fast-detect
Router(config-static)# commit