BFD is a protocol used to detect faults between two forwarding engines connected by a link. On IOS-XR, BFD provides sub-second failure detection for routing protocols such as BGP, IS-IS, and OSPF, enabling faster convergence than protocol-native keepalive timers. It supports single-hop, multi-hop, and bundle-member sessions with configurable dampening to prevent route flapping during unstable link conditions.
Name Type Constraint Mandatory Default Value configuration Class configuration No
Name Type Constraint Mandatory Default Value configuration Class configuration No
Name Type Constraint Mandatory Default Value configuration Class configuration No
Name Type Constraint Mandatory Default Value bfd Class bfd No
Name Type Constraint Mandatory Default Value echo_disable Boolean true, falseNo echo_ latency_ detect Boolean true, falseNo echo_ latency_ detect_ percentage Integer min: 100, max: 250 No echo_ latency_ detect_ count Integer min: 1, max: 10 No echo_ startup_ validate_ force Boolean true, falseNo echo_ ipv4_ source IP No echo_ ipv4_ bundle_ per_ member_ minimum_ interval Integer min: 15, max: 2000 No trap_ singlehop_ pre_ mapped Boolean true, falseNo multipath_ locations List multipath_ locations No multipath_ destinations List multipath_ destinations No multihop_ ttl_ drop_ threshold Integer min: 0, max: 254 No dampening_ initial_ wait Integer min: 1, max: 3600000 No dampening_ secondary_ wait Integer min: 1, max: 3600000 No dampening_ maximum_ wait Integer min: 1, max: 3600000 No dampening_ threshold Integer min: 60000, max: 3600000 No dampening_ extensions_ down_ monitoring Boolean true, falseNo dampening_ disable Boolean true, falseNo dampening_ bundle_ member_ l3_ only_ mode Boolean true, falseNo dampening_ bundle_ member_ initial_ wait Integer min: 1, max: 518400000 No dampening_ bundle_ member_ secondary_ wait Integer min: 1, max: 518400000 No dampening_ bundle_ member_ maximum_ wait Integer min: 1, max: 518400000 No bundle_ coexistence_ bob_ blb Choice inherit, logicalNo ipv6_ checksum_ disable Boolean true, falseNo interfaces List interfaces No
Name Type Constraint Mandatory Default Value location String Yes
Name Type Constraint Mandatory Default Value address IP Yes location String Yes
Name Type Constraint Mandatory Default Value name String Yes echo_disable Boolean true, falseNo echo_ ipv4_ source IP No ipv6_ checksum_ disable Boolean true, falseNo disable Boolean true, falseNo local_address IP No tx_interval Integer min: 3000, max: 30000000 No rx_interval Integer min: 3000, max: 30000000 No multiplier Integer min: 2, max: 50 No
Example-1: Configure BFD with echo latency detection.
echo_latency_detect_percentage : 200
echo_latency_detect_count : 10
echo_startup_validate_force : true
Example-2: Configure BFD with echo IPv4 source and trap settings.
echo_ipv4_source : 10.1.1.1
echo_ipv4_bundle_per_member_minimum_interval : 200
trap_singlehop_pre_mapped : true
Example-3: Configure BFD dampening settings.
dampening_initial_wait : 3600
dampening_secondary_wait : 3200
dampening_maximum_wait : 3100
dampening_threshold : 60000
dampening_extensions_down_monitoring : true
Example-4: Configure BFD with interface-specific settings.
bundle_coexistence_bob_blb : inherit
ipv6_checksum_disable : true
- name : GigabitEthernet0/0/0/0
echo_ipv4_source : 12.1.1.1
ipv6_checksum_disable : true
Example-5: Configure BFD multipath with locations and destinations.
- address : " 2001:db1:1::1 "