Cisco Cisco ASR 5000
BGP Address-Family (IPv4/IPv6) Configuration Mode Commands
neighbor ▀
Command Line Interface Reference, StarOS Release 18 ▄
1637
weight
value
Sets the default weight for routes from this neighbor as 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.
maximum of 64 peers per context.
Important:
A remote AS number must be specified for a neighbor before other parameters can be configured.
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):
(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