29-75
Cisco ME 3800X and 3600X Switch Software Configuration Guide
OL-23400-01
Chapter 29 Configuring IP Unicast Routing
Configuring BFD
Configuring BFD for OSPF Globally
Beginning in privileged EXEC mode, follow these steps to configure OSFP BFD globally, and to
optionally disable it on specific interfaces:
To disable OSPF BFD on all interfaces, enter the no bfd all-interfaces router configuration command.To
disable it on an interface, enter the no ip osfp bfd or the ip ospf bfd disable interface configuration
command on the interface.
If you want to run OSPF BFD on only one or a few interfaces, you can enter the ip ospf bfd interface
configuration command on those interfaces instead of enabling it globally. See the next procedure.
Note
If you try to configure OSPF BFD on a Layer 2 interface, the configuration is not recognized.
This is an example of configuring BFD for OSPF on all OSPF interfaces:
Switch(config)#
router ospf 109
Switch(config-router)#
bfd all-interfaces
Switch(config-router)#
exit
Configuring BFD for OSPF on an Interface
Beginning in privileged EXEC mode, follow these steps to configure OSFP BFD on an individual
interface:
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
router ospf process- id
Specify an OSPF process, and enter router configuration mode.
Step 3
bfd all-interfaces
Enable BFD globally on all interfaces associated with the OSPF routing
process.
Step 4
exit
(Optional) Return to global configuration mode if you want to disable BFD
on one or more OSPF interfaces.
Step 5
interface interface-id
(Optional) Specify an interface, and enter interface configuration mode.
Step 6
ip ospf bfd disable
(Optional) Disable BFD on the specified OSPF interface. Repeat Steps 5
and 6 for all OSPF interfaces on which you do not want to run BFD
sessions.
Step 7
end
Return to privileged EXEC mode.
Step 8
show bfd neighbors [detail]
Verify the configuration.
Step 9
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
router ospf process- id
Specify an OSPF process, and enter router configuration mode.
Step 3
exit
Return to global configuration mode.
Step 4
interface interface-id
Specify an interface, and enter interface configuration mode.