ECS4660-28F_Management Guide-R03

Table Of Contents
C
HAPTER
51
| IP Routing Commands
Border Gateway Protocol (BGPv4)
– 1883
neighbor
update-source
This command specifies the interface to use for a TCP connection, instead
of using the nearest interface. Use the no form to use the default interface.
SYNTAX
[no] neighbor {ip-address | group-name} update-source interface
vlan vlan-id
ip-address – IP address of a neighbor.
group-name – A BGP peer group containing a list of neighboring
routers configured with the neighbor peer-group command.
vlan-id - VLAN ID. (Range: 1-4094)
COMMAND MODE
Router Configuration
DEFAULT SETTING
The nearest (best/closest) interface is used.
COMMAND USAGE
By default the nearest interface to the neighbor is used for BGP
connections. This command can be used to specify any available interface
for a TCP connection.
EXAMPLE
Console(config-router)#neighbor 10.1.1.66 update-source interface vlan 1
Console(config-router)#
neighbor weight This command assigns a weight to routes sent from a neighbor. Use the no
form to restore the default weight.
SYNTAX
neighbor {ip-address | group-name} weight weight
no neighbor {ip-address | group-name} weight
ip-address – IP address of a neighbor.
group-name – A BGP peer group containing a list of neighboring
routers configured with the neighbor peer-group command.
weight – The weight to be assigned to routes received from this
neighbor. (Range: 0-65535)
COMMAND MODE
Router Configuration
DEFAULT SETTING
Routes learned from a neighbor: 0
Static routes sourced by the local router: 32768