Configuring BFD for Physical Ports
BFD on physical ports is useful when no routing protocol is enabled. Without BFD, if the remote system
fails, the local system does not remove the connected route until the first failed attempt to send a packet.
When BFD is enabled, the local system removes the route as soon as it stops receiving periodic control
packets from the remote system.
Configuring BFD for a physical port is a two-step process:
1. Enable BFD globally. See page 176.
2. Establish a session with a next-hop neighbor. See page 176.
Related configuration tasks
•
Change session parameters. See page 178.
•
Disable or re-enable BFD on an interface. See page 179.
Enabling BFD globally
BFD must be enabled globally on both routers, as shown in
To enable BFD globally:
Step
Task
1
Enable BFD globally.
Verify that BFD is enabled globally using the command
Figure 9-4. Enabling BFD Globally
R1(conf)#bfd ?
enable
protocol-liveness
R1(conf)#bfd enable
R1(conf)#do show running-config bfd
!
bfd enable
R1(conf)#
Establishing a session on physical ports
To establish a session, BFD must be enabled at interface level on both ends of the link, as shown in
Figure
9-5. The configuration parameters do not need to match.
176
|
Bidirectional Forwarding Detection
Enable BFD protocol
Enable BFD protocol-liveness
BFD Enabled Globally
Figure
9-5.
Command Syntax
bfd enable
show running bfd
, as shown in
Command Mode
CONFIGURATION
Figure
9-4.