Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree
Skip to end of metadata
Go to start of metadata

The set protocols bgp neighbor timers connect holdtime command sets the hold time for a BGP peer.
The delete protocols  bgp neighbor timers connect holdtime command removes the configurations.

Command Syntax

set protocols bgp [vrf <vrf-name>{neighbor <ip>| peer-group <peer-group> | interface <interface>} timers holdtime <hold time>

delete protocols bgp [vrf <vrf-name>{neighbor <ip>| peer-group <peer-group> | interface <interface>} timers holdtime




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 <ip>Specifies the IP address of a peer.
peer-group <peer-group>Specifies a peer group.
interface <interface>Specifies an interface for BGP connection.
<hold time>Specifies the hold time. Default: 9 seconds. Range: 0-65535.

Usage Guidelines

By default, BGP exchanges periodic keepalive messages to measure and ensure that a peer is still alive and functioning. If a keepalive or update message is not received from the peer within the hold time, the peer is declared down and all routes received by this peer are withdrawn from the local BGP table. By default, the keepalive interval is set to 3 seconds and the hold time is set to 9 seconds. To decrease CPU load, especially in the presence of a lot of neighbors, you can increase the values of these timers or disable the exchange of keepalives entirely. When manually configuring new values, the keepalive interval can be less than or equal to one third of the hold time, but cannot be less than 1 second. Setting the keepalive and hold time values to 0 disables the exchange of keepalives.

• This example set the hold time to 30 seconds.

admin@XorPlus# set protocols bgp neighbor timers holdtime 30
admin@XorPlus# commit

  • No labels