BGP Configuration Commands
XSR CLI Reference Guide 6-95

neighbor ebgp-multihop

ThiscommandconnectstheBGPneighborsonnetworksthatarenotdirectlyconnectedtothe
networkoftherouterthatthiscommandisenteredon.Beforeenteringthiscommand,aneighbor
orpeergroupmustbeidentifiedbymeansoftheneighbor remote-as orneighbor peer-group
command.
Syntax
neighbor {ip-address | peer-group-name} ebgp-multihop
Syntax of the “no” Form
Thenoformofthiscommandremovesthespecifiedneighbor:
no neighbor {ip-address | peer-group-name} ebgp-multihop
Mode
Routerconfiguration:XSR(config-router)#
Default
Notenabled
Example
Thefollowingexampleallowsconnectionstoorfromneighbor192.168.1.1,whichresidesona
networkthatisnotdirectlyconnected:
XSR(config)#router bgp 100
XSR(config-router)#neighbor 192.168.1.1 remote-as 101
XSR(config-router)#neighbor 192.168.1.1 ebgp-multihop

neighbor filter-list

ThiscommandsetsupaBGPfilterbasedonASpath.Beforeenteringthiscommand,aneighboror
peergroupmustbeidentifiedbymeansoftheneighbor remote-asorneighbor peer-group
command.Also,theASpathbasedaccesslistmustbeconfigured.
Syntax
neighbor {ip-address | peer-group-name} filter-list filter-list {in | out | weight
value}
ip-address NeighborsIPaddress.
peer-group-name BGPpeergroupbyname.Range:1to64characters.
Note: Perform a clear ip bgp neighbor <IP address> whenever this command is changed.
ip-address NeighborsIPaddress.