574
Switch(config)#access-list 10 permit 10.1.1.100 0.0.0.255
Switch(config)#route-map rmp permit 5
Switch(config-route-map)#match ip next-hop 10
Route with nexthop as 10.1.1.100 will not be restrained
14.8.3.75 neighbor update-source
Command: neighbor {<ip-address>|<TAG>} update-source <IFNAME>
no neighbor {<ip-address>|<TAG>} update-source <IFNAME>
Function:
Configure the update source. The “
no neighbor {<ip-address>|<TAG>}
update-source <IFNAME>
“ cancels this configuration
Parameter: <ip-address>
: Neighbor IP address
<TAG>
: Name of peer group
<IFNAME>
: Name or IP of the interface
Default:
Not configured, namely use nearest interface
Command Mode:
BGP routing mode.
Usage Guide:
Specified update source is allowed to connect with any available interface
which normally is the loop back interface. The NO forms restores to the nearest interface
update source. Improper update source use may lead to neighbor connection unavailable,
while the invalid interface causes problem which is also the reasons we use loop back
interfaces. Note: the loop back interface should be maintained with its address
accessibility to be able to establish connections when as the update source.
Example:
Switch(config-router)#neighbor 10.1.1.66 update-source 192.168.0.1
14.8.3.76 neighbor version 4
Command: neighbor {<ip-address>|<TAG>} version 4
Function:
Configure the BGP version of the partner
Parameter: <ip-address>
: Neighbor IP address
<TAG>
: Name of the peer group
4
: Allowed BGP version, 4 only
Default:
4.
Command Mode:
BGP routing mode.
Usage Guide:
Only version 4 is supported so far, so whatever the configuration is the
version remains at 4.
Example:
Switch(config-router)#neighbor 10.1.1.66 version 4
Switch(config-router)#
14.8.3.77 neighbor weight