для Cisco Cisco ASR 5000
![Cisco](https://files.manualsbrain.com/attachments/7380d0050044647c30f5c24bbbf5d0c0b6d9bb84/common/fit/150/50/faa183d287233c52228cfea3dbc2a127fe780f60564fcb0955d9c3d1cd23/brand_logo.png)
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