Cisco Cisco ASR 5000

Page of 9109
BGP Configuration Mode Commands   
▀  neighbor 
 
 
▄  Command Line Interface Reference, StarOS Release 18 
1678 
   
update-source
 
ip_address
 
Binds the specified IP address to the BGP socket that is used to communicate to the peer. 
ip_address
 is an 
IPv4 address in dotted-decimal notation. 
In most cases you should set the update-source address to the address of the loopback interface in the current 
context. By doing this, the TCP connection does not go down until there is no route for the loopback address 
in the peering router. 
weight
 
value
 
Sets the default weight for routes from this neighbor. 
value
 must be an integer from 0 through 65535. 
Default: 0 
Usage 
Use this command to set parameters for communication with a specified neighbor. The chassis supports a 
maximum of 64 peers per context. 
Example
 
The following command specifies that the neighbor at the IP address 
192.168.100.25
 has an AS number of 
2000
neighbor 192.168.100.25 remote-as 2000 
The following command allows BGP neighbors that are a maximum of 
27
 hops away: 
neighbor 192.168.100.25 ebgp-multihop max-hop 27 
The following command sets the minimum interval between sending routing updates to 3 minutes (180 
seconds): 
neighbor 192.168.100.25 advertisement-interval 180 
The following command sets the default weight for all routes from the specified neighbor to 
100
neighbor 192.168.100.25 weight 100