267
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
neighbor
BGP Peer 2
switch# configure terminal
switch(config)# interface loopback 2
switch(config-if)# ip address 192.168.0.200 255.255.255
switch(config-if)# exit
switch(config)# router bgp 64496
switch(config-router)# neighbor 10.0.0.100 remote-as 64497
switch(config-router-neighbor)# update-source loopback 1
switch(config-router-neighbor)# disable-connected-check
switch(config-router-neighbor)#
This example shows how to source BGP TCP connections for the specified neighbor with the IP address
of the loopback interface rather than the best local address:
switch# configure terminal
switch(config)# router bgp 64496
switch(config-router)# neighbor 192.168.0.0 remote-as 64496
switch(config-router-neighbor)# update-source Loopback0
switch(config-router-neighbor)#
Related Commands Command Description
feature bgp Enables BGP on the router.
route-map Creates a route map.