Configuring BFD for OSPF Fault Detection
Bidirectional Forwarding Detection (BFD) can be used for OSPF fault detection. This feature provides fast failure detection when there is an intermediate device between two non-adjacent OSPF neighbors. That is, BFD provides fast failure detection between two nodes and notifies any protocol (OSPF) of this event to make it converge much faster than with default timers in protocols. Since OSPF hello timers may not be fast enough for detecting neighbor loss, you can use BFD to establish a BFD connection with the OSPF neighbor and bring an OSPF neighbor down as soon as BFD detects an issue.
Note that BFD is used for down detection only. This means that regular OSPF neighbor discovery and state machine transitions are not affected by enabling BFD.
You can enable BFD on all OSPF interfaces at the global level or on a specific interface. By default, BFD is disabled globally and on all interfaces. Individual interface configuration takes precedence over the global configuration.
Note: BFD is not supported for OSPFv6.
Setting the vrouter global OSPF level:
To enable OSPF BFD per vRouter on global OSPF level:
CLI (network-admin@switch) > vrouter-modify name vrouter-name
vrouter-modify |
Modify a vrouter |
One or more of the following options |
|
ospf-bfd-all-if|no-ospf-bfd-all-if |
Enables or disables BFD protocol for fault detection on all OSPF interface. Default is disabled |
Setting the Interface (nic) OSPF level:
To enable OSPF BFD per interface :
CLI (network-admin@switch) > vrouter-interface-config-add vrouter-name nic
vrouter-interface-config-add |
Add an interface configuration to a vRouter VNIC name. |
One or more of the following options |
|
nic vrouter interface nic |
Specify the name of the vNIC. |
[ospf-bfd] default|enable|disable |
Enable BFD protocol support for OSPF fault detection |
To modify OSPF BFD per interface:
CLI (network-admin@switch) > vrouter-interface-config-modify vrouter-name name nic nic ospf-bfd enable|disable|default
vrouter-interface |
Modify an interface configuration to a vRouter |
One or more of the following options: |
Specify the name of the VNIC. |
ospf-bfd enable|disable|default |
Enables or disables the BFD protocol for fault detection on all OSPF interface. Default is disabled. |
Displaying the OSPF BFD Configuration State
To display the configuration state of OSPF BFD, use these show commands:
CLI (network-admin@switch) > vrouter-show
CLI (network-admin@switch) > vrouter-interface-show
Note: There are no changes to the commands: vrouter-ospf-neighbor-show and vrouter-bfd-neighbor-show