Configuring BFD Session Parameters on the Interface To configure BFD on an interface, you must set the baseline BFD session parameters. Repeat the steps in this procedure for each interface over which you want to run BFD sessions to BFD neighbors. The following procedure shows BFD configuration steps for a physical interface. Please use the corresponding BFD timer values for SVIs and ether-channels respectively. Procedure Configuring Bidirectional Forwarding Detection Configuring BFD Session Parameters on the Interface Command or Action Purpose Step 1 enable Example: Device>enable Enables privileged EXEC mode. Enter your password if prompted. Step 2 configure terminal Example:
Device#configure terminal Enters global configuration mode. Step 3 Perform one of the following steps: • ip address ipv4-address mask • ipv6 address ipv6-address/mask Example: Configuring an IPv4 address for the interface: Device(config-if)#ip address 10.201.201.1 255.255.255.0 Configuring an IPv6 address for the interface: Device(config-if)#ipv6 address 2001:db8:1:1::1/32 Configures an IP address for the interface. Step 4 bfd interval milliseconds min rx _ milliseconds multiplier interval-multiplier Example: Device(config-if)#bfd interval 100 min rx _ 100 multiplier 3 Enables BFD on the interface.
The BFD interval configuration is removed when the subinterface on which it is configured is removed. The BFD interval configuration is not removed when: • An interface removes an IPv4 address. • An interface removes an IPv6 address is removed from an interface. • An interface disables IPv6. • An interface is shutdown Configuring Bidirectional Forwarding Detection 6