Neighbor update-source – Enterasys Networks X-Pedition XSR CLI User Manual

Page 300

Advertising
background image

BGP Configuration Commands

6-104 Configuring the Border Gateway Protocol

Mode

Router configuration: 

XSR(config-router)#

Example

This example sets the peer keep‐alive to 10 seconds and, subsequently, the hold‐time to 30 
seconds:

XSR(config)#router bgp 100
XSR(config-router)#neighbor 1.1.1.1 timers 10

neighbor update-source

This command specifies the source IP address used when communicating with a BGP neighbor. A 
loopback interface is typically used with this command.

Syntax

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

Syntax of the “no” Form

The no form of this command removes a neighbor’s update source:

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

Mode

Router configuration: 

XSR(config-router)#

Default

Best outbound interface.

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:

XSR(config)#router bgp 100
XSR(config-router)#neighbor 192.168.1.1 remote-as 101
XSR(config-router)#neighbor 192.168.1.1 update-source loopback 0

ip-address

Neighbor’s IP address.

peer-group-name

BGP peer group by name. Range: 1 to 64 characters.

interface

Identifies the interface to be used as the source.

Advertising