neighbor bfd

Enables Bidirectional Forwarding Detection (BFD) sessions for specified Border Gateway Protocol (BGP) neighbors or peer groups, and configures BFD session parameters.
Syntax
neighbor { ip-address | ipv6-address | peer-group-name } bfd [ disable | holdover-interval time | min-tx transmit-time min-rx receive-time multiplier number | passive ]
no neighbor{ ip-address | ipv6-address | peer-group-name } bfd [ disable | holdover-interval time | min-tx transmit-time min-rx receive-time multiplier number | passive ]
Command Default

BFD is not configured for BGP neighbors.

Parameters
ip-address
Specifies the IPv4 address of the neighbor.
ipv6-address
Specifies theIPv6 address of the neighbor.
peer-group-name
Specifies the peer group name configured by the neighbor peer-group command.
disable
Disables BFD for a specified neighbor or peer group.
holdover-intervaltime
Specifies the time interval for which BGP routes are withdrawn after the BFD session is declared down. Valid values range from range 3 through 150.
min-txtransmit-time
Specifies the interval, in milliseconds, a device waits to send control packets to BFD peers. Valid values range from 50 through 50000 milliseconds. The default is 300.
min-rxreceive-time
Specifies the interval, in milliseconds, a device waits to receive control packets from BFD peers. Valid values range from 50 through 50000 milliseconds. The default is 300.
multipliernumber
Specifies the number of consecutive BFD control packets that must be missed from a BFD peer before BFD determines that the connection to that peer is down. Valid values range from 2 through 50. The default is 3.
passive
Specifies that the BFD session operates in passive mode.
Modes

BGP configuration mode

BGP address-family IPv6 unicast configuration mode

BGP address-family IPv4 unicast VRF configuration mode

BGP address-family IPv6 unicast VRF configuration mode

Usage Guidelines

This command is supported for ICX 7850 devices only.

It is recommended to use the default values.

The no form of the neighbor{ip-address|ipv6-address|peer-group-name}bfddisable command disables BFD for a specified neighbor or peer-group.

The no form of the neighbor{ip-address|ipv6-address|peer-group-name}bfdholdover-interval command removes the configured holdover-interval for a BGP neighbor or peer group. If BFD is enabled at peer group or VRF level, the BFD session for this peer inherits them in that order.

The no form of the neighbor{ip-address|ipv6-address|peer-group-name}bfdmin-txtransmit-timemin-rxreceive-timemultipliernumber] command reverts BFD parameters to their default values for a BGP neighbor or peer group . If BFD is enabled at peer group or VRF level, the BFD session for this peer inherits them in that order.

The no form of the neighbor{ip-address|ipv6-address|peer-group-name}bfdpassive command specifieds that BFD does not operate in passive mode, if passive mode has been configured for the BFD session.

Examples

The following example configures BFD for a BGP neighbor with the IP address 10.11.12.13.

device# configure terminal 
device(config)# router bgp
device(config-bgp-router)# neighbor 10.11.12.13 bfd

The following example disables BFD for a BGP neighbor with the IPv6 address 2001:2018:8192::125.

device# configure terminal 
device(config)# router bgp
device(config-bgp-router)# address-family ipv6 unicast
device(config-bgp-ipv6u)# neighbor 2001:2018:8192::125 bfd disable

The following example configures BFD for a specified peer group and sets the BFD holdover interval to 12.

device# configure terminal 
device(config)# router bgp
device(config-bgp-router)# neighbor mypeergroup peer-group
device(config-bgp-router)# neighbor mypeergroup bfd
device(config-bgp-router)# neighbor mypeergroup bfd holdover-interval 12

The following example configures BFD for a BGP neighbor with the IPv6 address 2001:2018:8192::125 and sets the BFD session timer values.

device# configure terminal
device(config)# router bgp
device(config-bgp-router)# neighbor 2001:2018:8192::125 bfd
device(config-bgp-router)# neighbor 2001:2018:8192::125 bfd min-tx 290 min-rx 301 multiplier 3

The following example configures BFD for a BGP neighbor with the IP address 10.11.12.14 and sets the BFD session as passive.

device# configure terminal 
device(config)# router bgp
device(config-bgp-router)# address-family ipv6 unicast
device(config-bgp-ipv6u)# neighbor 10.11.12.14 bfd
device(config-bgp-ipv6u)# neighbor 10.11.12.14 bfd passive

The following example enables a BFD session for a BGP neighbor with the IP address 10.5.1.1 and configures the BFD session parameters and holdover interval for VRF instance “red”.

device# configure terminal
device(config)# router bgp
device(config)# address-family ipv4 unicast vrf red
device(config-bgp-ipv4u-vrf)# neighbor 10.5.1.1 bfd
device(config-bgp-ipv4u-vrf)# neighbor 10.5.1.1 bfd min-tx 300 min-rx 302 multiplier 3
device(config-bgp-ipv4u-vrf)# neighbor 10.5.1.1 bfd holdover-interval 10
History
Release version Command history
08.0.90 This command was introduced.