You can configure the intervals that a
device waits to send (transmit) or receive control packets from Bidirectional Forwarding
Detection (BFD) peers. You can also configure the interval after which routes are withdrawn
when a BFD session is down.
Procedure
-
Access global configuration
mode.
device# configure terminal
-
Access BGP configuration mode.
device(config)# router bgp
-
Access BGP address-family IPv4
unicast VRF configuration mode.
device(config-bgp-router)# address-family ipv4 unicast vrf green
-
To enable BFD sessions for a
specified neighbor:
device(config-bgp-ipv4u-vrf)# neighbor 10.10.1.1 bfd
-
To specify the transmit time,
the receive time, and the number of consecutive control packets that must be
missed before the connection to a peer is considered non-operational:
device(config-bgp-ipv4u-vrf)# neighbor 10.10.1.1 bfd interval 120 min-rx 140 multiplier 10
For neighbor 10.10.1.1, this example specifies a transmit interval of 120 ms,
the min-rx keyword followed by a receive
interval of 140 ms, and the multiplier value of 10, which indicates that 10
consecutive packets must be missed before the connection to the peer is
considered non-operational.
-
To specify the interval (in
seconds) after which BGP routes are withdrawn after a BFD session is declared
down:
device(config-bgp-ipv4u-vrf)# neighbor 10.10.1.1 bfd holdover-interval 12
For neighbor 10.10.1.1, this example specifies a holdover interval of 12
seconds.