Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

protocols bgp <asn> neighbor <id> timers <action>

Sets BGP timers for this neighbor.

set protocols bgp asn neighbor id timers { connect | keepalive seconds | holdtime seconds }
delete protocols bgp asn neighbor id timers [ connect | keepalive | holdtime ]
show protocols bgp asn neighbor id timers

The default for the connect timer is 120. The default for the keep-alive timer is 60 seconds. The default for the holdtime timer is 180 seconds.

asn
The number for the AS in which this router resides. The number ranges from 1 through 4294967295.
id
The IPv4 or IPv6 address of a BGP neighbor.
connect seconds
The amount of time, in seconds, that the system waits for the transport protocol connection to complete. If this timer expires, the state remains in Connect state, the timer is reset, and the system tries to initiate a new transport connection. The numbers range from 0 through 65535.The default is 120.

During the connect period, the remote BGP peer can establish a connection to the local system.

connect
The BGP connect time for this BGP neighbor. The numbers are 0 and 1 through 65535, where 0 disables the connect timer.
holdtime seconds
The maximum interval, in seconds, after which if the local router has not received a keep-alive message from this neighbor, the neighbor is declared dead. The range is 0 and 4 through 65535, where 0 disables the holdtime timer. The default is 180.
keepalive seconds
The frequency, in seconds, with which the local router sends keep-alive messages to this neighbor. The numbers range from 1 through 65535. The default is 60.

Configuration mode


protocols {
    bgp asn {
        neighbor id {
            timers {
                connect seconds
                keepalive seconds
                holdtime seconds
            }
        }
    }
}

Use the set form of this command to set timers for monitoring the health of the remote peer.

  • If this command is issued and values are specified, the values configured here override global timers set for the local router.
  • If this command is issued but values are not specified, the defaults for this command apply.
  • If this command is not issued, or if the configuration statement is deleted, timers set globally for the router using protocols bgp <asn> timers apply to this neighbor.

Use the delete form of this command to remove explicitly configured timers for a neighbor. In this case, timers set globally for the router apply to this neighbor.

Use the show form of this command to view BGP neighbor configuration settings.