BGP Peer Configuration
© Copyright Lenovo 2017
Table 299.
Border Gateway Protocol Options (continued)
Command Syntax and Usage
[no] set ip nexthop peeraddress
Applied on output, sets the next‐hop of the advertised matching routes to the
current peer address of the local router. Applied on input, sets the next‐hop of
the received matching routes to the neighbor address, overriding other
existing next‐hops.
Use the no form of the command to remove the entry.
Command mode: Route map
show ip bgp
Displays the current BGP configuration.
Command mode: All
Use these commands to configure BGP peers, which are border routers that
exchange routing information with routers on internal and external networks. The
peer option is disabled by default.
Table 300.
BGP Peer Configuration Options
Command Syntax and Usage
neighbor <1‐96> advertisementinterval <1‐65535>
Sets time, in seconds, between advertisements.
The default value is 60 seconds.
Command mode: Router BGP
[no] neighbor <1‐96> nexthopself
Enables or disables enforcing the use the router's own IP address as next‐hop
attribute when sending BGP updates to the peer.
Note: Applicable only for EBGP routes.
Command mode: Router BGP
[no] neighbor <1‐96> passive
Enables or disables BGP passive mode, which prevents the switch from
initiating BGP connections with peers. Instead, the switch waits for the peer to
send an open message first.
Command mode: Router BGP
neighbor <1‐96> password <1‐16 characters>
Configures the BGP peer password.
Command mode: Router BGP
no neighbor <1‐96> password
Removes the BGP peer password.
Command mode: Router BGP
Chapter 4: Configuration Commands
563