BFD Peers on Routers Running Cisco IOS and Cisco IOS XR Software: Example
The following example shows how to configure BFD on a router interface on Router 1 that is running Cisco
IOS software, and use the bfd neighbor command to designate the IP address 192.0.2.1 of an interface as its
BFD peer on Router 2. Router 2 is running Cisco IOS XR software and uses the router static command and
address-family ipv4 unicast command to designate the path back to Router 1’s interface with IP address
192.0.2.2.
Router 1 (Cisco IOS software)
RP/0/RSP0/CPU0:router#configure
RP/0/RSP0/CPU0:router(config)#interface GigabitEthernet8/1/0
RP/0/RSP0/CPU0:router(config-if)#description to-TestBed1 G0/0/0/0
RP/0/RSP0/CPU0:router(config-if)#ip address 192.0.2.2 255.255.255.0
RP/0/RSP0/CPU0:router(config-if)#bfd interval 100 min_rx 100 multiplier 3
RP/0/RSP0/CPU0:router(config-if)#bfd neighbor 192.0.2.1
Router 2 (Cisco IOS XR Software)
RP/0/RSP0/CPU0:router#configure
RP/0/RSP0/CPU0:router(config)#router static
RP/0/RSP0/CPU0:router(config-static)#address-family ipv4 unicast
RP/0/RSP0/CPU0:router(config-static-afi)#10.10.10.10/32 192.0.2.2 bfd fast-detect
RP/0/RSP0/CPU0:router(config-static-afi)#exit
RP/0/RSP0/CPU0:router(config-static)#exit
RP/0/RSP0/CPU0:router(config)#interface GigabitEthernet0/0/0/0
RP/0/RSP0/CPU0:router(config-if)#ipv4 address 192.0.2.1 255.255.255.0
Configuring BFD IPv6 Multihop: Examples
Configuring BFD IPv6 Multihop for eBGP Neighbors: Example
This example shows how to configure BFD IPv6 Multihop for eBGP Neighbors:
bfd
multipath include location 0//CPU0
!
router bgp 65001
neighbor 21:1:1:1:1:1:1:2
bfd fast-detect
ebgp-multiphop 255
Configuring BFD IPv6 Multihop for iBGP Neighbors: Example
This example shows how configure BFD IPv6 Multihop for iBGP Neighbors:
bfd
multipath include location 0/7/CPU0
!
router bgp 65001
neighbor 21:1:1:1:1:1:1:2
bfd fast-detect
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x
OL-30423-03 235
Implementing BFD
BFD Peers on Routers Running Cisco IOS and Cisco IOS XR Software: Example