neighbor update-source

Configures the device to communicate with a neighbor through a specified interface.
Syntax
neighbor { ip-address | ipv6-address | peer-group-name } update-source { ip-address | ipv6-address | ethernet unit/slot/port | lag lag-id | loopback num | ve vlan_id }
no neighbor { ip-address | ipv6-address | peer-group-name } update-source { ip-address | ipv6-address | ethernet unit/slot/port | lag lag-id | loopback num | ve vlan_id }
Parameters
ip-address
IPv4 address of the neighbor
ipv6-address
IPv6 address of the neighbor
peer-group-name
Peer group name configured by the neighbor peer-group-name command.
ip-address
IP address of the update source.
ipv6-address
IPv6 address of the update source.
ethernet unit/slot/port
Specifies the physical interface.
lag lag-id
Specifies a LAG virtual interface.
loopback num
Specifies a loopback interface.
ve vlan_id
Specifies a virtual Ethernet VLAN interface.
Modes

BGP configuration mode

BGP address-family IPv4 unicast VRF configuration mode

BGP address-family IPv6 unicast VRF configuration mode

Usage Guidelines

Use the no form of the command to restore the defaults.

Examples

This example configures the device globally to communicate with a neighbor through the specified IPv4 address and port.

device#configure terminal
device#(config)# router bgp
device(config-bgp)# neighbor 10.11.12.13 update-source ethernet 5/1/1
History
Release version Command history
08.0.30 Support was added for the BGP address-family IPv6 unicast VRF configuration mode.
08.0.61 The command was modified to include LAG ID options.