Configuring BFD for VRRP

Procedure
  1. Enable BFD support with the command bfd.
  2. Enable BFD on a VRRP interface with the command bfd <IPV4-ADDR>.
  3. 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.

  4. Review BFD configuration settings with the commands show bfd.

Example

Enabling BFD on a VRRP interface.

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)# vrrp 1 address-family ipv4
switch(config-if-vrrp)# bfd 192.158.1.2
switch(config-if-vrrp)# exit
switch# show vrrp

VRRP is enabled

Interface 1/1/1 - Group 1 - Address-Family IPv4
  State is MASTER
  State duration 56 mins 57.826 secs
  Virtual IP address is 192.168.1.1
  Virtual MAC address is 00:00:5e:00:01:01
  Advertisement interval is 1000 msec
  Preemption enabled
  Priority is 100
  BFD is enabled
  Master Router is 192.168.1.1 (local), priority is 100
  Master Advertisement interval is 1000 msec
  Master Down interval is unknown
  Tracked object ID is 1, and state Down