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 BCG configuration mode.
device(config)# router bgp
-
Create a peer group.
device(config-bgp-router)# neighbor pg1 peer-group
-
Enable BFD sessions for the peer
group.
device(config-bgp-router)# neighbor pg1 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-router)# neighbor pg1 bfd interval 200 min-rx 220 multiplier 25
For peer group 1, this example specifies a transmit interval of 200 ms, the
min-rx keyword followed by a
receive interval of 220 ms, and the multiplier value of 25, which indicates that
25 consecutive packets must be missed before the connection to the peer is
considered non-operational.
-
To specify the interval after
which BGP routes are withdrawn after a BFD session is declared down:
device(config-bgp-router)# neighbor pg1 bfd holdover-interval 17
For peer group 1, this example specifies a holdover interval of 17 seconds.