Configuring IP Unicast Routing
Configuring BFD
Enabling BFD Routing Protocol Clients
After you configure BFD parameters on an interface, you can start a BFD session for one or more routing protocols. You
must first enable routing by entering the ip routing global configuration command on the switch. Note that there can be
more than one way to start a BFD session on an interface, depending on the routing protocol.
Configuring BFD for OSPF, page 887
Configuring BFD for IS-IS, page 888
Configuring BFD for BGP, page 890
Configuring BFD for EIGRP, page 891
Configuring BFD for HSRP, page 892
Configuring BFD for OSPF
When you start BFD sessions for OSPF, OSPF must be running on all participating devices. You can enable BFD support
for OSPF by enabling it globally on all OSPF interfaces or by enabling it on one or more interfaces.
Configuring BFD for OSPF Globally
BEFORE YOU BEGIN
Configure BFD parameters as described in the
Configure OSPF as described in the
DETAILED STEPS
Command
1.
configure terminal
2.
router ospf process- id
3.
bfd all-interfaces
4.
exit
5.
interface interface-id
6.
ip ospf bfd disable
7.
end
8.
show bfd neighbors [detail]
9.
copy running-config
startup-config
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.
Configuring BFD Session Parameters on an Interface, page
Configuring OSPF, page
823.
Purpose
Enter global configuration mode.
Specify an OSPF process, and enter router configuration mode.
Enable BFD globally on all interfaces associated with the OSPF
routing process.
(Optional) Return to global configuration mode if you want to
disable BFD on one or more OSPF interfaces.
(Optional) Specify an interface, and enter interface configuration
mode.
(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.
Return to privileged EXEC mode.
Verify the configuration.
(Optional) Save your entries in the configuration file.
887
886.
Need help?
Do you have a question about the IE-4000 and is the answer not in the manual?
Questions and answers