Specifies how frequently a device sends KEEPALIVE messages to its BGP neighbors, as well as how long the device waits for KEEPALIVE or UPDATE messages before concluding that a neighbor is dead.
BGP configuration mode
BGP address-family IPv4 unicast VRF configuration mode
BGP address-family IPv6 unicast VRF configuration mode
The no form of the command restores the defaults.
The following example sets the keepalive timer for a device to 120 seconds and the hold-timer to 360 seconds.
device# configure terminal device(config)# router bgp device(config-bgp-router)# neighbor 10.11.12.13 timers keep-alive 120 hold-time 360
The following example sets the keepalive timer to 120 seconds and the hold-timer to 360 seconds for VRF instance "red".
device# configure terminal device(config)# router bgp device(config-bgp-router)# address-family ipv6 unicast vrf red device(config-bgp-ipv6u-vrf)# neighbor 10.11.12.13 timers keep-alive 120 hold-time 360