Protocol Commands for BFD
The chapter describes the commands used to manage BFD functionality for OSPF, IS-IS and BGP.
area virtual-link
Use this command to enable the BFD option for a specified virtual-link neighbor.
Use the no form of the command to disable BFD on a virtual-link neighbor.
Command Syntax
area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D {fall-over bfd}
no area (A.B.C.D|<0-4294967295>) virtual-link A.B.C.D {fall-over bfd}
Parameters
A.B.C.D
Indicate an area IP address
<0-429467295>
Indicate an area ID in integer format
virtual-link
Indicate a virtual link and its parameters
A.B.C.D
Indicate the IP address of the virtual link
fall-over
Indicate fall-over detection
bfd
Specify the Bidirectional Forwarding Detection (BFD)
Default
No default value is specified
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#router ospf
(config-router)#area 1 virtual-link 192.168.0.1 fall-over bfd
bfd all-interfaces
Use this command to enable BFD for all neighbors maintained by an OSPF process or an ISIS instance.
Use the no form of the command to disable BFD.
Note: This command does not apply BFD to virtual-link neighbors.
Command Syntax
bfd all-interfaces
no bfd all-interfaces
Parameters
None
Default
By default, bfd all interface is disabled
Command Mode
Configure router mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#router ospf
(config-router)#bfd all-interfaces
#configure terminal
(config)#router isis
(config-router)#bfd all-interfaces
debug bgp bfd
Use this command to debug BFD processes in BGP.
Use the no form of the command to stop debugging.
Command Syntax
debug bgp bfd
no debug bgp bfd
Parameters
None
Command Mode
Exec mode and Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#debug bgp bfd
debug isis bfd
Use this command to debug BFD processes in IS-IS.
Use the no form of the command to stop debugging.
Command Syntax
debug isis bfd
no debug isis bfd
Parameters
None
Command Mode
Exec mode and Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#debug isis bfd
debug ospf bfd
Use this command to debug BFD processes in OSPF.
Use the no form of the command to stop debugging.
Command Syntax
debug ospf bfd
no debug ospf bfd
Parameters
None
Command Mode
Exec mode and Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#debug ospf bfd
ip ospf bfd
Use this command to enable the BFD option for OSPF neighbors on an interface. Use the no form of the command to disable the BFD option for OSPF neighbors on an interface.
Note: When BFD monitoring is enabled for ospf session, protocol admin events like clear/ shutdown will cause BFD session to go to admin down.Due to this, neigbourship/adjacency down detection on peer will be according to the protocol configured dead interval and is not based on BFD interval.
Command Syntax
ip ospf bfd (disable|)
no ip ospf bfd (disable|)
Parameter
disable
Disable the BFD option for neighbors on an interface
Default
No default value is specified
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#interface eth1
(config-if)#ip ospf bfd
isis bfd
Use this command to enable the BFD option for IS-IS neighbors on an interface. Use the no form of the command to disable the BFD option for neighbors on an interface.
Note: When BFD monitoring is enabled for ISIS session, protocol admin events like clear/ shutdown will cause BFD session to go to admin down. Due to this, neigbourship/adjacency down detection on peer will be according to the protocol configured hello hold interval and is not based on BFD interval.
Command Syntax
isis bfd (disable|)
no isis bfd (disable|)
Parameter
disable
Used to disable the BFD option for neighbors on an interface
Default
No default value is specified
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#interface eth1
(config-if)#isis bfd disable