bfd

To enable Bidirectional Forwarding Detection ( BFD) monitoring on all or specific OSPF interfaces, use the command bfd in OSPF Router Configuration Mode. The no form of the command disables BFD monitoring on all or specific OSPF interfaces. The BFD protocol is a simple hello mechanism that detects failures in a network. BFD works with a wide variety of network environments and topologies. A pair of routing devices exchange BFD packets, and hello packets are sent at a specified regular interval.

bfd

bfd { {all-interface } { | <interface-type> } { <interface-id> } { | vlan } { <vlan-id (1-4094)> } { [switch } { <switch-name>]} }

no bfd

no bfd { {all-interface } { | <interface-type> } { <interface-id> } { | vlan } { <vlan-id (1-4094)> } { [switch } { <switch-name>]} }

Parameters

Parameter Type Description
all-interface   Enter to enable BFD monitoring on all OSPF interfaces.
<interface-type>   Enter an interface type on which BFD monitoring to be enabled.
<interface-id>   Enter an interface identifier on which BFD monitoring to be enabled. The interface identifier is a unique value that represents the specific interface. This value is a combination of slot number and port number separated by a slash. For example: 0/1 represents a slot number of 0 and port number of 1.
vlan   Enter to enable BFD monitoring on the specified VLAN ID
<vlan-id (1-4094)> Integer Enter a VLAN ID on which BFD monitoring is to be enabled. This value ranges from 1 to 4094.
switch   Enter to configure a switch name.
<switch-name>   Enter default for switch name.

Mode

OSPF Router Configuration Mode

Default

BFD is disabled for all interfaces.

Prerequisites

This command can be configured only if bfd is enabled and OSPF is started on the interface.

Examples

iS5Comm(config)# router ospf

iS5Comm(config-router)# bfd all-interface

iS5Comm (config-router)# bfd vlan 1 switch default