Supported Platforms
Related Documentation
- EX, M, MX, T Series
- precision-timers
- J, M, MX, QFX, SRX, T Series
- BGP Messages Overview
hold-time (Protocols BGP)
Syntax
Hierarchy Level
Release Information
Statement introduced before Junos OS Release 7.4.
Statement introduced in Junos OS Release 9.0 for EX Series switches.
Statement introduced in Junos OS Release 11.3 for the QFX Series.
Description
Specify the hold-time value to use when negotiating a connection with the peer. The hold-time value is advertised in open packets and indicates to the peer the length of time that it should consider the sender valid. If the peer does not receive a keepalive, update, or notification message within the specified hold time, the BGP connection to the peer is closed and routing devices through that peer become unavailable.
The hold time is three times the interval at which keepalive messages are sent.
BGP on the local routing device uses the smaller of either the local hold-time value or the peer’s hold-time value received in the open message as the hold time for the BGP connection between the two peers.
Options
seconds—Hold time.
Range: 10 through 65,535 seconds
Default: 90 seconds
![]() | Tip: When you set a hold-time value of less than 20 seconds, we recommend that you also configure the BGP precision-timers statement. The precision-timers statement ensures that if scheduler slip messages occur, the routing device continues to send keepalive messages. When the precision-timers statement is included, keepalive message generation is performed in a dedicated kernel thread, which helps to prevent BGP session flaps. |
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Related Documentation
- EX, M, MX, T Series
- precision-timers
- J, M, MX, QFX, SRX, T Series
- BGP Messages Overview
Published: 2012-09-09
Supported Platforms
Related Documentation
- EX, M, MX, T Series
- precision-timers
- J, M, MX, QFX, SRX, T Series
- BGP Messages Overview