Use this command to override the global timer values and set the keepalive and hold timers for a specific neighbor. The new values are not applied to adjacencies already in the ESTABLISHED state. A new keepalive or hold time is applied the next time an adjacency is formed.
Issue this command in Peer Template Configuration Mode to add it to a peer template.
Default | The keepalive and hold timers default to the globally configured values set with the address-family command. |
Format | neighbor {ipv4-address | autodetect interface interface-name } timers keepalive holdtime |
Mode | IPv4 VRF Address Family Config |
Parameter | Description |
---|---|
ipv4-address | The neighbor's IPv4 or IPv6 address. This is the IP address on the link that connects the two peers. |
autodetect interface interface-name | The routing interface on which the neighbor's link local IPv6 address is auto-detected. |
keepalive | The time, in seconds, between BGP KEEPALIVE packets sent to a neighbor. The range is 0 to 65,535 seconds. Jitter is applied to the keepalive interval. |
holdtime | The time, in seconds, that BGP continues to consider a neighbor to be alive without receiving a BGP KEEPALIVE or UPDATE packet from the neighbor. If no KEEPALIVE is received from a neighbor for longer than the hold time, BGP drops the adjacency. If the hold time is set to 0, then BGP does not enforce a hold time and BGP does not send periodic KEEPALIVE messages. The range is 0 to 65,535 seconds. |