Configuring BGP
Configuring Advanced BGP Features
IPC-326
Cisco IOS IP Configuration Guide
To adjust BGP timers for all neighbors, use the following command in router configuration mode:
To adjust BTP keepalive and hold-time timers for a specific neighbor, use the following command in
router configuration mode:
Note The timers configured for a specific neighbor or peer group override the timers configured for all
BGP neighbors using the timers bgp router configuration command.
To clear the timers for a BGP neighbor or peer group, use the no form of the neighbor timers command.
Changing the Default Local Preference Value
You can define a particular path as more preferable or less preferable than other paths by changing the
default local preference value of 100. To assign a different default local preference value, use the
following command in router configuration mode:
You can use route maps to change the default local preference of specific paths. See the “BGP Route
Map Examples” section at the end of this chapter for examples when used with BGP route maps.
Redistributing Network 0.0.0.0
By default, you are not allowed to redistribute network 0.0.0.0. To permit the redistribution of network
0.0.0.0, use the following command in router configuration mode:
Command Purpose
Router(config-router)# timers bgp keepalive holdtime Adjusts BGP timers for all neighbors.
Command Purpose
Router(config-router)# neighbor [ip-address |
peer-group-name] timers keepalive holdtime
Sets the keepalive and hold-time timers (in seconds) for the
specified peer or peer group.
Command Purpose
Router(config-router)# bgp default local-preference
value
Changes the default local preference value.
Command Purpose
Router(config-router)# default-information originate Allows the redistribution of network 0.0.0.0 into BGP.