set protocols bgp neighbor update-source


The set protocols bgp neighbor update-source 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 delete protocols  bgp neighbor update-source command negates the route updates of the neighbor.


Command Syntax

set protocols bgp [vrf <vrf-name>{neighbor <ip>| peer-group <peer-group> | interface <interface>} update-source {<IPv4>|<IPv6> |<interface-source>}

delete protocols bgp [vrf <vrf-name>{neighbor <ip>| peer-group <peer-group> | interface <interface>} update-source

Parameter

Parameter

Description

vrf <vrf-name>

Optional. Specifies a VRF name. The value is a string. It’s a user-defined VRF set by the command set ip vrf <vrf-name> [description <string>].

neighbor <ip>Specifies the IPv4/IPv6 address of a peer.
peer-group <peer-group>Specifies a peer group.
interface <interface>Specifies an L3 interface for BGP connection. The value could be a VLAN interface name, loopback interface name, routed interface or sub-interface name.
update-source {<IPv4>|<IPv6> |<interface-source>}

Specifies the source address or source interface.

  • <IPV4>: Specifies an interface by IPv4 address.
  • <IPV6>: Specifies an interface by IPv6 address.
  • <interface-source>: Specifies a source interface name.


Example
• This example specifies the source address to reach the neighbor. 

admin@XorPlus# set protocols bgp neighbor 2.2.2.2 update-source 10.10.192.1
admin@XorPlus# commit


Copyright © 2024 Pica8 Inc. All Rights Reserved.