Configuring BGP

Configuring Advanced BGP Features

To adjust BGP timers for all neighbors, use the following command in router configuration mode:

Command

Purpose

 

 

 

Router(config-router)# timers bgp keepalive holdtime

Adjusts BGP timers for all neighbors.

 

 

 

To adjust BTP keepalive and hold-time timers for a specific neighbor, use the following command in

router configuration mode:

 

 

 

 

 

Command

Purpose

 

 

 

Router(config-router)# neighbor [ip-address

Sets the keepalive and hold-time timers (in seconds) for the

peer-group-name]timers keepalive holdtime

specified peer or peer group.

 

 

 

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:

Command

Purpose

 

 

Router(config-router)#bgp default local-preference

Changes the default local preference value.

value

 

 

 

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)#default-information originate

Allows the redistribution of network 0.0.0.0 into BGP.

 

 

Cisco IOS IP Configuration Guide

IPC-326

Page 372
Image 372
Cisco Systems 78-11741-02 manual Changing the Default Local Preference Value, Redistributing Network, IPC-326