Specifications

Send document comments to nexus3k-docfeedback@cisco.com.
6-36
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, Release 5.0(3)U2(2)
OL-25782-02
Chapter 6 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:
To tune BGP, use the following optional commands in neighbor address-family configuration mode:
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.
low-memory exempt
Example:
switch(config-router-neighbor)# low-memory
exempt
Exempts this BGP neighbor from a possible
shutdown due to a low memory condition.
transport connection-mode passive
Example:
switch(config-router-neighbor)# transport
connection-mode passive
Allows a passive connection setup only. This BGP
speaker does not initiate a TCP connection to a
BGP peer. You must manually reset the BGP
sessions after configuring this command.
remove-private-as
Example:
switch(config-router-neighbor)#
remove-private-as
Removes private AS numbers from outbound route
updates to an eBGP peer. This command triggers an
automatic soft clear or refresh of BGP neighbor
sessions.
update-source interface-type number
Example:
switch(config-router-neighbor)#
update-source ethernet 2/1
Configures the BGP speaker to use the source IP
address of the configured interface for BGP
sessions to the peer. This command triggers an
automatic notification and session reset for the
BGP neighbor sessions.