
Adjusting BGP Timers
Perform this task to set the timers for BGP neighbors.
BGP uses certain timers to control periodic activities, such as the sending of keepalive messages and the
interval after which a neighbor is assumed to be down if no messages are received from the neighbor during
the interval. The values set using the
timers bgp
command in router configuration mode can be overridden
on particular neighbors using the
timers
command in the neighbor configuration mode.
SUMMARY STEPS
1.
configure
2.
router bgp as-number
3.
timers bgp
keepalive hold-time
4.
neighbor ip-address
5.
timers keepalive hold-time
6.
commit
DETAILED STEPS
Purpose
Command or Action
configure
Step 1
Specifies the autonomous system number and enters the
BGP configuration mode, allowing you to configure the
BGP routing process.
router bgp as-number
Example:
RP/0/RP0/CPU0:router(config)# router bgp 123
Step 2
Sets a default keepalive time and a default hold time for all
neighbors.
timers bgp
keepalive hold-time
Example:
Step 3
RP/0/RP0/CPU0:router(config-bgp)# timers bgp 30 90
Places the router in neighbor configuration mode for BGP
routing and configures the neighbor IP address as a BGP
peer.
neighbor ip-address
Example:
RP/0/RP0/CPU0:router(config-bgp)# neighbor
172.168.40.24
Step 4
(Optional) Sets the keepalive timer and the hold-time timer
for the BGP neighbor.
timers keepalive hold-time
Example:
Step 5
RP/0/RP0/CPU0:router(config-bgp-nbr)# timers 60
220
commit
Step 6
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
51
Implementing BGP
Adjusting BGP Timers