timers bgp
Syntax
timers bgp <KEEPALIVE> <HOLDTIME>
no timers bgp <KEEPALIVE> <HOLDTIME>
Description
Adjusts BGP network timers.
The
no
form of this command resets the BGP timers to defaults of 60 seconds for the keepalive timer and 180 seconds for the holdtime timer.
Command context
config-router
Parameters
<KEEPALIVE>
Sets the value for keepalive timer. Default: 60 seconds. Range: 0-65535.
<HOLDTIME>
Sets the value for holdtime timer. Default: 180 seconds. Range: 0-65535.
Authority
Administrators
Usage
The keepalive timer is the number of seconds a BGP peer waits for a keep-alive message from a BGP peer before deciding the connection is down.
The holdtime timer is the number of seconds a BGP peer waits after not receiving a keepalive, update, or notification message before declaring that a connection with BGP peer is down.
When a session is started, BGP negotiates holdtime with the neighbor, and selects the smaller value. The keepalive timer is then set based on the negotiated holdtime and the configured keepalive time.
Examples
switch(config-router)# timers bgp 100 150 switch(config-router)# no timers bgp