neighbor update-source
Syntax
neighbor {<IP-ADDRESS>|<PEER-GROUP-NAME>}
update-source {<IPv4>|<IPv6> | loopback <NUMBER>}
no neighbor {<IP-ADDRESS>|<PEER-GROUP-NAME>}
update-source [<IPv4>|<IPv6> | loopback <NUMBER>]
Description
This command specifies the source address to reach the neighbor.
An iBGP connection can occur as long as there is a TCP/IP path between the routers. If multiple paths exist between the iBGP routers, using a loopback interface as the neighbor address can add stability to the network. With this command, stability can be achieved by providing the loopback interface address as the source address of the TCP/IP session.
The
no
form of this command negates the route updates of the neighbor.
Command context
config-bgp
Parameters
<IP-ADDRESS>
Specifies an IP address.
<PEER-GROUP-NAME>
Specifies a peer group.
<IPV4>
Specifies an interface by IPv4 address.
<IPV6>
Specifies an interface by IPv6 address.
loopback <NUMBER>
Specifies a loopback interface number.
Authority
Administrators
Examples
switch(config-bgp)# neighbor 1.1.1.1 update-source loopback 1 switch(config-bgp)# no neighbor 1.1.1.1 update-source
switch(config-bgp)# neighbor PG update-source loopback 1 switch(config-bgp)# no neighbor PG update-source