The set protocols bgp timers command sets the timers for all the BGP neighbor.
The delete protocols bgp timers command clears the BGP timers.
Command Syntax
set protocols bgp [vrf <vrf-name>] timers {holdtime <HOLDTIME>|keepalive <KEEPALIVE>}
delete protocols bgp [vrf <vrf-name> timers {holdtime <HOLDTIME>|keepalive<KEEPALIVE>}
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. |
keepalive<KEEPALIVE> | Specifies the Keep-Alive timer value for the neighbor. Default: 60 seconds. Range: 0-65535. |
holdtime <HOLDTIME> | Specifies the Hold-timer value. Default: 180 seconds. Range: 0-65535. |
Example
• This example sets the keepalive timer for a specific BGP neighbor.
admin@XorPlus# set protocols bgp neighbor 2.2.2.2 timers keepalive 360 admin@XorPlus# commit