Cisco IOS XR BFD for OSPF configuration Example
In Cisco IOS XR software, a BFD neighbor is established through routing. The Cisco IOS bfd neighbor interface configuration command is not supported in Cisco IOS XR software.Hardware based difference and capabilities affect the bfd time interval and mode.
Router-1
router ospf 1
router-id 100.100.100.1
bfd minimum-interval 30
bfd multiplier 2
area 0
interface Loopback0
passive enable
!
interface GigabitEthernet0/1/0/5
bfd fast-detect
network point-to-point
Router-2
router ospf 1
router-id 100.100.100.2
bfd minimum-interval 30
bfd multiplier 2
area 0
interface Loopback0
passive enable
!
interface GigabitEthernet0/1/0/5
bfd fast-detect
network point-to-point
show bfd session
Interface Dest Addr Local det time(int*mult) State
Echo Async
-------------------- --------------- ---------------- ---------------- ---------
Gi0/1/0/5 192.168.2.1 60ms(30ms*2) 6s(2s*3) UP
In Cisco IOS XR software, BFD is configured under a dynamic routing protocol, such as an OSPF or BGP. This is not the case for BFD in Cisco IOS software,where BFD is only configured on an interface.
Router-1
router ospf 1
router-id 100.100.100.1
bfd minimum-interval 30
bfd multiplier 2
area 0
interface Loopback0
passive enable
!
interface GigabitEthernet0/1/0/5
bfd fast-detect
network point-to-point
Router-2
router ospf 1
router-id 100.100.100.2
bfd minimum-interval 30
bfd multiplier 2
area 0
interface Loopback0
passive enable
!
interface GigabitEthernet0/1/0/5
bfd fast-detect
network point-to-point
show bfd session
Interface Dest Addr Local det time(int*mult) State
Echo Async
-------------------- --------------- ---------------- ---------------- ---------
Gi0/1/0/5 192.168.2.1 60ms(30ms*2) 6s(2s*3) UP
No comments:
Post a Comment