PurposeCommand or Action
Sets a default keepalive time and a default hold time for
all neighbors.
timers bgp keepalive hold-time
Example:
RP/0/RSP0/CPU0:router(config-bgp)# timers bgp
30 90
Step 3
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/RSP0/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:
RP/0/RSP0/CPU0:router(config-bgp-nbr)# timers
60 220
Step 5
commit
Step 6
Changing the BGP Default Local Preference Value
Perform this task to set the default local preference value for BGP paths.
SUMMARY STEPS
1.
configure
2.
router bgp as-number
3.
bgp default local-preference value
4.
commit
DETAILED STEPS
PurposeCommand 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/RSP0/CPU0:router(config)# router bgp
120
Step 2
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x
OL-30423-03 81
Implementing BGP
Changing the BGP Default Local Preference Value