protocols bgp <asn> timers
Sets BGP timers globally for the local router.
The default for the keep-alive timer is 60 seconds. The default for the holdtime timer is 180 seconds.
- asn
- The number for the AS in which this router resides. The numbers range from 1 through 4294967294. The subrange, 64512 through 65534, is reserved for private AS.
- keepalive seconds
- The frequency, in seconds, with which the local router sends keep-alive messages to neighbors. The numbers range from 1 through 65535. The default is 60.
- holdtime seconds
- The maximum interval, in seconds, after which if the local router has not received a keep-alive message from the neighbor, a neighbor is declared dead. The range is 0 and 4 through 65535, where 0 disables the holdtime timer. The default is 180.
Configuration mode
protocols {
bgp asn {
timers {
keepalive seconds
holdtime seconds
}
}
}
Use the set form of this command to set global BGP timers for monitoring the health of remote peers. These timers will be applied to all remote peers unless a neighbor has timers explicitly configured for it. Timers explicitly specified for a neighbor override the timers set globally.
Use the delete form of this command to restore global BGP timers to default values.
Use the show form of this command to view global BGP timer configuration settings.