BGP Configuration Commands
6-104 Configuring the Border Gateway Protocol
Mode
Routerconfiguration:XSR(config-router)#
Example
Thisexamplesetsthepeerkeepaliveto10secondsand,subsequently,theholdtimeto30
seconds:
XSR(config)#router bgp 100
XSR(config-router)#neighbor 1.1.1.1 timers 10

neighbor update-source

ThiscommandspecifiesthesourceIPaddressusedwhencommunicatingwithaBGPneighbor.A
loopbackinterfaceistypicallyusedwiththiscommand.
Syntax
neighbor {ip-address | peer-group-name} update-source interface
Syntax of the “no” Form
Thenoformofthiscommandremovesaneighborsupdatesource:
no neighbor {ip-address | peer-group-name} update-source interface
Mode
Routerconfiguration:XSR(config-router)#
Default
Bestoutboundinterface.
Example
ThefollowingexamplesourcesBGPTCPconnectionsforthespecifiedneighborwiththeIP
addressoftheloopbackinterfaceratherthanthebestlocaladdress:
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 NeighborsIPaddress.
peer-group-name BGPpeergroupbyname.Range:1to64characters.
interface Identifiestheinterfacetobeusedasthesource.