timers bgp
Sets the keepalive and holdtime timers.
Syntax: timers bgp keepalive holdtime
no timers bgp
keepalive
The number of seconds this BGP speaker waits for a keepalive message before deciding that the connection is down. We recommend you configure the keepalive parameter as 1/3 of the holdtime parameter.
holdtime
The number of seconds this BGP speaker waits for a keepalive, update, or notification message before deciding that the connection is down. We recommend you configure the holdtime parameter as 3 times the keepalive parameter.
Description: The keepalive timer is the number of seconds a BGP router waits for a keep-alive message from a neighbor before deciding the connection is down. The holdtime timer is the number of seconds a BGP router waits after not receiving a keepalive, update, or notification message before declaring that a connection a neighbor 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.
Use the timers bgp command to adjust BGP network timers between neighbors.
Use the no timers bgp command to reset to timers to their default values.
Factory Default: Keepalive: 60 seconds, holdtime: 180 seconds
Command Mode: Router configuration.
Example 1: In the following example,
- The timers bgp command changes the keepalive timer to 30 seconds and the holdtime timer to 90 seconds.
- The show running-config bgp command displays the setting:
router(config-router)#timers bgp 30 90
router(config-router)#end
router#show running-config bgp
!
router bgp 100
timers bgp 30 90
aggregate-address 12.0.0.0 255.248.0.0 summary-only
redistribute static
.
.
.
Example 2: In the following example, the no timers bgp command resets the keepalive and holdtime timers to their defaults:
router(config-router)#no timers bgp
Related Commands: show running-config bgp
Copyright © 2004
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: BGP_Nd.fm
HTML File Name: BGP_Nd61.html
Last Updated: 05/10/04 at 16:36:55