04-13-2022 12:06 AM
Hello,
I am trying to configure bfd on cisco XR routers under ospf process.
R1-------R2
router ospf 1
bfd fast-detect
But when I execute 'show bfd session' I do not see any output of the command.
What configuration I am missing?
Thanks,
Sachin
04-13-2022 03:13 AM
The B in BFD means 'bidirectional'. Make sure others routers are prepared for BFD as well.
Take a look on this doc.
Look Prerequisites for Bidirectional Forwarding Detection and
Restrictions for Bidirectional Forwarding Detection
https://www.cisco.com/c/en/us/td/docs/ios/12_0s/feature/guide/fs_bfd.html
04-16-2022 03:40 AM - edited 04-16-2022 03:43 AM
Hi,
Some information about BFD for IOS-XR, and how to configure it properly for OSPF:
When using BFD with OSPF, consider the following guidelines:
BFD establishes sessions from a neighbor to a designated router (DR) or backup DR (BDR) only when the neighbor state is full.
BFD does not establish sessions between DR-Other neighbors (for example, when their OSPF states are both 2-way).
BFD Over OSPF:
The following example shows how to enable BFD for OSPF on a Gigabit Ethernet interface:
RP/0/RP0/CPU0:router#configure
RP/0/RP0/CPU0:router(config)#router ospf 0
RP/0/RP0/CPU0:router(config-ospf)#area 0
RP/0/RP0/CPU0:router(config-ospf-ar)#interface gigabitEthernet 0/3/0/1
RP/0/RP0/CPU0:router(config-ospf-ar-if)#bfd fast-detect
RP/0/RP0/CPU0:router(config-ospf-ar-if)#commit
RP/0/RP0/CPU0:router(config-ospf-ar-if)#end
!
RP/0/RP0/CPU0:router#show run router ospf
router ospf 0
area 0
interface GigabitEthernet0/3/0/1
bfd fast-detect
Attaches a BFD document for iOS-XR
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide