Configuring BFD for PIM over IPv6

Prerequisites
  • PIM must be enabled globally and on the specific interface that will support BFD.

Procedure
  1. Enable BFD support with the commandbfd.
  2. 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.

  3. 切换到你想enabl接口e BFD with the commandinterface.
  4. Enable BFD support with the commandip pim-sparse bfd.
  5. Review BFD configuration settings with the commandsshow bfd.

Examples

This example shows how to configure PIM and enable BFD on interface1/1/2.

switch#configswitch(config)#bfdswitch(config)#router pim6switch(config-pim)#enableswitch(config-pim)#exitswitch(config)#interface 1/1/2switch(config-if)#no shutdownswitch(config-if)#ipv6 address 2130::1/64switch(config-if)#ipv6 mld enableswitch(config-if)#ip pim-sparse enableswitch(config-if)#ip pim-sparse bfdswitch(config-if)#exitswitch(config)#exitswitch#show bfdAdmin status: enabled Echo source IP:  Statistics: Total number of control packets transmitted: 8 Total number of control packets received: 8 Total number of control packets dropped: 0 Session Interface VRF Source IP Destination IP Echo State Application ------- --------- --------- ------------------- ----------------------------- -------- ------------ ------------ 1 1/1/2 default N/A fe80::94f1:2821:2ef:6300 enabled up pimv6