# timers bgp

#### Syntax

timers bgp keepaliveTime holdTime

no timers bgp [ keepaliveTime [ holdTime ] ]

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Sets keepalive and hold-time timers for all neighbors. The no version restores the default values.

#### Options

- keepaliveTime—Interval in seconds between keepalive messages, in the range 0–65535 seconds; default value is 30; a value of zero prevents BGP from sending keepalive messages
- holdTime—Period in seconds that BGP waits for keepalive messages before declaring the neighbor to be unavailable, in the range 0–65535 seconds; default value is 90; a value of zero informs BGP not to expect any hold-time messages

#### Mode

Router Configuration