timers (bgp-neighbor-config)

Configures this BGP neighbor‘s keepalive and holdtime durations

Note

Note

The keepalive and holdtime settings configured at the neighbor level override those configured on the BGP router.

Supported in the following platforms:

  • Wireless Controllers — RFS 4000

  • Service Platforms — NX 95XX, NX 96XX

Syntax

timers [<0-65535> <0-65535>|connect <0-65535>]

Parameters

timers [<0-65535> <0-65535>|connect <0-65535>]
timers <0-65535> <0-65535> Sets the keepalive and holdtime intervals
  • <0-65535> – Specifies the keepalive interval from 0 - 65535 seconds. It is the interval, in seconds, between two successive keepalive packets exchanged with this neighbor to keep the TCP connection alive.
    • <0-65535> – Specifies the holdtime interval from 0 - 65535. This is the time this neighbor will wait without receiving a keepalive packet from its neighbor before declaring it dead. If the time since the last keepalive packet received (from its neighbor) exceeds the value set here, the neighbor is declared dead.
timers connect <0-65535> Sets the BGP connect time. This is the interval, in seconds, after which BGP tries to connect to a dead peer.
  • <0-65535> – Specify a value from 1 - 65535 seconds.

Examples

nx9500-6C8809(config-profile testNX9000-router-bgp-neighbor-192.168.13.99)#timers 20 40
nx9500-6C8809(config-profile testNX9000-router-bgp-neighbor-192.168.13.99)#timers connect 20
nx9500-6C8809(config-profile testNX9000-router-bgp-neighbor-192.168.13.99)#show context
  bgp neighbor 192.168.13.99
   remote-as 100
   advertisement-interval 100
   peer-group eBGPPeerGrp1
   port 21
   strict-capability-match
   timers connect 20
   timers 20 40
   allowas-in 10
   attribute-unchanged as-path
   capability orf prefix-list both
   default-originate
   description neighbor "This neighbor is an external AS neighbor"
   disable-connected-check
   dont-capability-negotiate
   ebgp-multihop 20
   enforce-multihop
   local-as 20 no-prepend
   maximum-prefix 400 50 warning-only
   next-hop-self
   override-capability
   passive
   password neighbor eBGPneighbor@300
   remove-private-as
   route-server-client
   send-community both
nx9500-6C8809(config-profile testNX9000-router-bgp-neighbor-192.168.13.99)#

Related Commands

no (bgp-neighbor-config) Removes the holdtime value set for this neighbor