timers bgp

Use this command to globally set or reset the keepalive and holdtime values for all the neighbors.

Use the no parameter with this command to reset timers to default value.

Command Syntax

Copy
timers bgp <0-65535> <0-65535>
no timers bgp

Parameters

<0-65535>

Frequency with which keepalive messages are sent to the neighbors

<0-65535>

Interval after which a neighbor is considered dead if keepalive messages are not received

Default

By default, keepalive timer value is 30 seconds

By default, holdtime value is 90 seconds

Command Mode

Router mode

Applicability

This command was introduced before OcNOS version 1.3.

Examples

Copy
#configure terminal
(config)#router bgp 10
(config-router)#timers bgp 40 120