Command:

neighbor update-source


Mode:

Router(config-router)#


Syntax:
 

neighbor {ip-address | peer-group-name} update-source interface-type

no neighbor {ip-address | peer-group-name} update-source interface-type

Syntax Description:

ip-address

IP address of the BGP-speaking neighbor

peer-group-name

Name of a BGP peer group

interface-type

Interface to be used as the source

 

Command Description:

To have the Cisco IOS software allow Border Gateway Protocol (BGP) sessions to use a specific operational interface for TCP connections, use the neighbor update-source router configuration command. To restore the interface assignment to the closest interface, which is called the best local address, use the no form of this command. This feature works in conjunction with any specified interface on the router. The loopback interface is the interface that is most commonly used.

Example:

The following example sources BGP TCP connections for the specified neighbor with the IP address of the loopback interface rather than the best local address:

Router (config)#router bgp 110

Router (config-router)#network 160.89.0.0

Router (config-router)#neighbor 160.89.2.3 remote-as 110

Router (config-router)#neighbor 160.89.2.3 update-source loopback0

Misconceptions:
None

Related Commands:
neighbor remote-as

� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)