![Cisco Nexus 3548 series Command Reference Manual Download Page 286](http://html.mh-extra.com/html/cisco/nexus-3548-series/nexus-3548-series_command-reference-manual_2609162286.webp)
266
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
neighbor
command. BGP does not bring up sessions if the check fails. BGP considers an EBGP peer ias a
single hop away, if the eBGP peer does does not have the
ebgp-multihop
command configured (that
is, the time-to-live(TTL) value is one).
•
dont-capability-negotiate
—Turns off the negotiate capability with this neighbor.
•
dynamic-capability
—Enables the dynamic capability.
•
ebgp-multihop
—Accepts and attempts BGP connections to external peers that reside on networks
that are not directly connected.
Note
You should enter this command under the guidance of Cisco technical support staff only.
•
exit
—Exits from the current command mode.
•
inherit
peer-session
session-name
—Configures a peer to inherit the configuration from another
peer-session template. To remove an inherit statement from a peer-session template, use the
no
form
of this command.
•
no
—Negates a command or sets its defaults.
•
transport connection-mode passive
—Allows a passive connection setup only. To remove the
restriction, use the no form of this command.
•
remove-private-as
—Removes the private AS number from the outbound updates.
•
shutdown
—Administratively shuts down this neighbor.
•
timers
keepalive-time
—Configures keepalive and hold timers in seconds. The range is from 0 to
3600. The default is 60.
•
update-source
{
ethernet
mod
/
port
|
loopback
virtual-interface
|
port-channel
number
[
.
sub-interface
]}—Specifies the source of the BGP session and updates. The range for
virtual-interface
is from 0 to 1023. The range for
number
is from 0 to 4096. The range for
sub-interface
is from 1 to 4093.
The Cisco NX-OS software allows BGP sessions to use any operational interface for TCP
connections, when you enter the
update-source
command in neighbor configuration mode. To
restore the interface assignment to the closest interface, which is called the best local address, use
the
no
form of this command.
You must use the
update-source
command must to enable IPv6 link-local peering for internal or
external BGP sessions.
This command requires the Enterprise Services license.
Examples
This example shows how to configure a single-hop eBGP peering session between two BGP peers that
are reachable on the same network segment through a local loopback interfaces on each router:
BGP Peer 1
switch#
configure terminal
switch(config)#
interface loopback 1
switch(config-if)#
ip address 10.0.0.100 255.255.255
switch(config-if)#
exit
switch(config)#
router bgp 64497
switch(config-router)#
neighbor 192.168.0.200 remote-as 64496
switch(config-router-neighbor)#
update-source loopback 2
switch(config-router-neighbor)#
disable-connected-check
switch(config-router-neighbor)#