Send document comments to nexus7k-docfeedback@cisco.com.
11-37
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 11 Configuring Advanced BGP
Configuring Advanced BGP
To tune BGP, use the following optional command in router address-family configuration mode:
To tune BGP, use the following optional commands in neighbor configuration mode:
router-id id
Example:
switch(config-router)# router-id
209.165.20.1
Manually configures the router ID for this BGP
speaker.
timers [bestpath-delay delay | bgp
keepalive holdtime | prefix-peer-timeout
timeout]
Example:
switch(config-router)# timers bgp 90 270
Sets the BGP timer values. The optional parameters
are as follows:
• delay—Initial best-path timeout value after a
restart. The range is from 0 to 3600 seconds.
The default value is 300.
• keepalive—BGP session keepalive time. The
range is from 0 to 3600 seconds. The default
value is 60.
• holdtime—BGP session hold time.The range is
from 0 to 3600 seconds. The default value is
180.
• timeout—Prefix peer timeout value. The range
is from 0 to 1200 seconds. The default value is
30.
You must manually reset the BGP sessions after
configuring this command.
Command Purpose
Command Purpose
distance ebgp-distance ibgp distance
local-distance
Example:
switch(config-router-af)# distance 20 100
200
Sets the administrative distance for BGP. The range
is from 1 to 255. The defaults are as follows:
• eBGP distance—20.
• iBGP distance—200.
• local distance—220. Local-distance is the
administrative distance used for aggregate
discard routes when they are installed in the
RIB.
Command Purpose
description string
Example:
switch(config-router-neighbor)#
description main site
Sets a descriptive string for this BGP peer. The
string can be up to 80 alphanumeric characters.