Podobne
 
[ Pobierz całość w formacie PDF ]

Command Modes Router configuration
Command History Release Modification
12.0 This command was introduced.
Usage Guidelines The timers configured for a specific neighbor or peer group override the timers configured for all BGP
neighbors using the command timers bgp.
Examples The following example changes the keepalive timer to 70 seconds and the holdtime timer to
210 seconds for the BGP peer 192.98.47.0:
router bgp 109
neighbor 192.98.47.0 timers 70 210
Network Protocols Command Reference, Part 1
P1R-430
BGP Commands
neighbor update-source
neighbor update-source
To have the Cisco IOS software allow Border Gateway Protocol (BGP) sessions to use a specific
operational interface for TCP connections, use the neighbor update-source command in router
configuration mode. To restore the interface assignment to the closest interface, which is called the best
local address, use the no form of this command.
neighbor {ip-address | peer-group-name} update-source interface
no neighbor {ip-address | peer-group-name} update-source interface
Syntax Description ip-address IP address of the BGP-speaking neighbor.
peer-group-name Name of a BGP peer group.
interface-type Interface to be used as the source.
Defaults Best local address
Command Modes Router configuration
Command History Release Modification
10.0 This command was introduced.
Usage Guidelines This command works in conjunction with any specified interface on the router. The loopback interface
is the interface that is most commonly used with this feature. For more information, refer to the
loopback interface feature described in the  Interface Configuration Overview chapter of the Cisco
IOS Interface Configuration Guide.
If you specify a BGP peer group by using the peer-group-name argument, all the members of the peer
group will inherit the characteristic configured with this command.
Examples The following example sources BGP TCP connections for the specified neighbor with loopback
interface s IP address rather than the best local address:
router bgp 110
network 172.16.0.0
neighbor 172.16.2.3 remote-as 110
neighbor 172.16.2.3 update-source Loopback0
Related Commands Command Description
neighbor peer-group (creating) Creates a BGP peer group.
Network Protocols Command Reference, Part 1
P1R-431
BGP Commands
neighbor version
neighbor version
To configure the Cisco IOS software to accept only a particular BGP version, use the neighbor version
command in router configuration mode. To use the default version level of a neighbor, use the no form
of this command.
neighbor {ip-address | peer-group-name} version value
no neighbor {ip-address | peer-group-name} version value
Syntax Description ip-address IP address of the BGP-speaking neighbor.
peer-group-name Name of a BGP peer group.
value BGP version number. The version can be set to 2 to force the software
to use only Version 2 with the specified neighbor. The default is to use
Version 4 and dynamically negotiate down to Version 2 if requested.
Defaults BGP Version 4
Command Modes Router configuration
Command History Release Modification
10.0 This command was introduced.
Usage Guidelines Entering this command disables dynamic version negotiation.
Our implementation of BGP supports BGP Versions 2, 3, and 4. If the neighbor does not accept default
Version 4, dynamic version negotiation is implemented to negotiate down to Version 2.
If you specify a BGP peer group by using the peer-group-name argument, all the members of the peer
group will inherit the characteristic configured with this command.
Examples The following example locks down to Version 4 of the BGP protocol:
router bgp 109
neighbor 131.104.27.2 version 4
Related Commands Command Description
neighbor peer-group (creating) Creates a BGP peer group.
Network Protocols Command Reference, Part 1
P1R-432
BGP Commands
neighbor weight
neighbor weight
To assign a weight to a neighbor connection, use the neighbor weight command in router configuration
mode. To remove a weight assignment, use the no form of this command.
neighbor {ip-address | peer-group-name} weight weight
no neighbor {ip-address | peer-group-name} weight weight
Syntax Description ip-address Neighbor s IP address.
peer-group-name Name of a BGP peer group.
weight Weight to assign. Acceptable values are 0 to 65535.
Defaults Routes learned through another BGP peer have a default weight of 0 and routes sourced by the local
router have a default weight of 32768.
Command Modes Router configuration
Command History Release Modification
10.0 This command was introduced.
Usage Guidelines All routes learned from this neighbor will have the assigned weight initially. The route with the highest
weight will be chosen as the preferred route when multiple routes are available to a particular network.
The weights assigned with the match as-path and set weight route-map commands override the
weights assigned using the neighbor weight and neighbor filter-list commands.
Note For weight changes to take effect, it may be necessary to use clear ip bgp peer-group *.
If you specify a BGP peer group by using the peer-group-name argument, all the members of the peer
group will inherit the characteristic configured with this command.
Examples The following example sets the weight of all routes learned via 172.16.12.1 to 50:
router bgp 109
neighbor 172.16.12.1 weight 50
Network Protocols Command Reference, Part 1
P1R-433
BGP Commands
neighbor weight
Related Commands Command Description
neighbor distribute-list Distributes BGP neighbor information as specified in an
access list.
neighbor filter-list Sets up a BGP filter.
neighbor peer-group (creating) Creates a BGP peer group.
Network Protocols Command Reference, Part 1
P1R-434
BGP Commands
network (BGP)
network (BGP)
To specify the list of networks for the Border Gateway Protocol (BGP) routing process, use this form
of the network command in router configuration mode. To remove an entry, use the no form of this
command.
network network-number [mask network-mask] [route-map map-name]
no network network-number [mask network-mask] [route-map map-name]
Syntax Description network-number Network that BGP will advertise.
mask Network or subnetwork mask. If the mask keyword is
configured, then an exact match must exist in the routing
table.
network-mask (Optional) Network mask address. [ Pobierz całość w formacie PDF ]
  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • karro31.pev.pl
  •  
    Copyright © 2006 MySite. Designed by Web Page Templates