Chapter 11
Configuring Advanced BGP
S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m .
Command
router-id id
Example:
switch(config-router)# router-id
209.165.20.1
timers [bestpath-delay delay | bgp
keepalive holdtime | prefix-peer-timeout
timeout]
Example:
switch(config-router)# timers bgp 90 270
To tune BGP, use the following optional command in router address-family configuration mode:
Command
distance ebgp-distance ibgp distance
local-distance
Example:
switch(config-router-af)# distance 20 100
200
To tune BGP, use the following optional commands in neighbor configuration mode:
Command
description string
Example:
switch(config-router-neighbor)#
description main site
OL-20002-02
Purpose
Manually configures the router ID for this BGP
speaker.
Sets the BGP timer values. The optional parameters
are as follows:
You must manually reset the BGP sessions after
configuring this command.
Purpose
Sets the administrative distance for BGP. The range
is from 1 to 255. The defaults are as follows:
Purpose
Sets a descriptive string for this BGP peer. The
string can be up to 80 alphanumeric characters.
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
Configuring Advanced BGP
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.
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.
11-37