Procedure
-
Enable BFD support with the command
bfd
.
-
Enable BFD on an IPv4 static route with the command
ip route bfd
.
-
For most deployments, the default values for the following features do not need to be changed. If your deployment requires different settings, change the default values with the indicated command:
BFD setting
|
Default value
|
Command to change it
|
Sets the BFD detection multiplier on an interface.
|
5
|
bfd detect-multiplier |
Sets the minimum time interval between received BFD echo packets.
|
500 milliseconds
|
bfd min-echo-receive-interval |
Sets the minimum time interval between transmitted BFD control packets on an interface.
|
3000 milliseconds
|
bfd min-transmit-interval |
Configuring the timers to be too aggressive (for example, detect-multiplier of 1) can sometimes lead to BFD session flaps depending upon traffic conditions.
-
Review BFD configuration settings with the commands
show bfd
.
Example
Enabling BFD on a static IPv4 route.
switch# config
switch(config)# bfd
switch# interface 1/1/1
switch(config-if)# no shutdown
switch(config-if)# ip address 192.168.1.1/24
switch(config-if)# exit
switch(config)# ip route 10.0.2.0/24 20.0.0.2 bfd