Cisco Systems OL-14356-01 Network Router User Manual


 
Implementing BGP on Cisco IOS XR Software
How to Implement BGP on Cisco IOS XR Software
RC-50
Cisco IOS XR Routing Configuration Guide
OL-14356-01
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. end
or
commit
DETAILED STEPS
Command or Action Purpose
Step 1
configure
Example:
RP/0/RP0/CPU0:router# configure
Enters global configuration mode.
Step 2
router bgp as-number
Example:
RP/0/RP0/CPU0:router(config)# router bgp 123
Enters BGP configuration mode, allowing you to configure
the BGP routing process.
Step 3
timers bgp keepalive hold-time
Example:
RP/0/RP0/CPU0:router(config-bgp)# timers bgp 30
90
Sets a default keepalive time and a default hold time for all
neighbors.
Step 4
neighbor ip-address
Example:
RP/0/RP0/CPU0:router(config-bgp)# neighbor
172.168.40.24
Places the router in neighbor configuration mode for BGP
routing and configures the neighbor IP address as a BGP
peer.