DETAILED STEPS
Step 1
configure
Step 2
router bgp as-number
Example:
RP/0/RP0/CPU0:router(config)# router bgp 123
Specifies the autonomous system number and enters the 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.
Step 5
timers keepalive hold-time
Example:
RP/0/RP0/CPU0:router(config-bgp-nbr)# timers 60 220
(Optional) Sets the keepalive timer and the hold-time timer for the BGP neighbor.
Step 6
commit
Change 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
BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x
8
Implementing BGP
Change BGP Default Local Preference Value