By default, the BGP process attempts to connect to a peer after a failure (or on startup) every 10 seconds. You can change this value to suit your needs.
The set protocols bgp neighbor timers connect command sets the reconnect value.
The delete protocols bgp neighbor timers connect command removes the configurations.
Command Syntax
set protocols bgp [vrf <vrf-name>] neighbor <protocol bgppeer> timers connect <timers>
delete protocols bgp [vrf <vrf-name>] neighbor <protocol bgppeer> timers connect <timers>
Parameter
Parameter | Description |
vrf <vrf-name> | Optional. Specifies a VRF name. The value is a string. It’s a user-defined VRF set by the command set ip vrf <vrf-name> [description <string>]. |
neighbor <protocol bgppeer> | Specifies an IP address of neighbor. |
timers connect <timers> | Specifies the reconnect timer value for the neighbor. Default: 10 seconds. Range: 1-65535. |
Example
• This example sets the reconnect value to 30 seconds.
admin@XorPlus# set protocols bgp neighbor 2.2.2.2 timers connect 30 admin@XorPlus# commit