Chapter 29
| IP Routing Commands
Border Gateway Protocol (BGPv4)
– 975 –
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