neighbor timers

This command specifies holdtime and keepalive time values for a BGP peer.

Syntax

neighbor ip-address timers keepalive-value holdtime-value
no neighbor ip-address timers keepalive-value holdtime-value

Parameters

ip-address Specifies a BGP peer as a valid IPv4 address in dotted-quad format or as a valid IPv6 address in colon-separated format.
keepalive-value Specifies the interval between keepalive messages. Valid values are 0 - 65535 seconds. Default value is 30 seconds.
holdtime-value Specifies the interval of the BGP hold-timer. Valid values are 0 - 21845 seconds. The Default value is 90 seconds.

Defaults

None.

Mode

BGP Router Configuration.

Usage

The keepalive value specifies the number of seconds that will elapse between keepalive messages. The hold time value specifies the number of seconds to use when negotiating a peering session within this group. If the S- and 7100-Series router does not receive a keepalive, update, or notification message within the specified period, then the BGP connection will be closed.

The BGP keepalive timer will be set to one-third of the negotiated holdtime by default. If the administrative keepalive time is set to greater than one-third of the hold time, the router will default to one-third of the negotiated hold time.

The negotiated holdtime value is the lesser of the values sent in the exchanged BGP OPEN messages. If a holdtime of zero is specified, no keepalives will be sent. If a holdtime of zero is received from the remote peer, then the holdtime must be configured to be zero in order for the peering session to become established.

Note

Note

You cannot specify a holdtime value of 1 or 2. Attempting to do so will result in an error.

The no neighbor timers command removes the configured values and returns this to its default values of 30 seconds for keepalive and 90 seconds for hold time.

Example

This example sets keepalive and holdtime values of 40 and 120 seconds, respectively, for this peer:

System(su-config)->router bgp 65151
System(su-config-bgp)->bgp router-id 1.1.1.1
System(su-config-bgp)->neighbor 1.2.3.4 remote-as 5
System(su-config-bgp)->neighbor 1.2.3.4 timers 40 120