minimum-hold-time
Syntax
minimum-hold-time time-in-seconds;
Hierarchy Level
[edit protocols bgp], [edit protocols bgp group group-name ], [edit protocols bgp group group-name neighborip-address ]
Description
Prevent BGP session establishment toward BGP peers
that attempt to negotiate a lower BGP session hold-time than the configured minimum-hold-time
. Such BGP peers will be rejected. BGP session
establishment attempt will be dropped and a notification message with unacceptable hold time
error will be sent to the
neighbor. This helps reduce the load on the router by avoid the sending
of constant keepalive messages at a high frequency.
We recommend using Bidirectional Forwarding Detection
(BFD) rather than lowering BGP hold timers and also recommend configuring
a meaningful minimum-hold-time
value (for example, 20 seconds
or higher) for all BGP peers (at the BGP group level).
If a BGP remote node does not support BFD, and therefore a lower
BGP hold-time is desired for the quicker discovery of a BGP neighbor
failure, you can configure a smaller minimum-hold-time
value.
However, use it with caution and only for a limited number of BGP
peers.
Options
time-in-seconds | Specify hold time in seconds. |
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 19.3.