neighbor ebgp-multihop
Allows/disallows BGP connections to external peers on networks that are not directly connected.
Syntax: [no] neighbor {ip-address | peer-group-name} ebgp-multihop [ttl]
ip-address
IP address of a BGP neighbor.
peer-group-name
Name of a BGP peer group.
ttl
Time-to-live counter. Indicates the maximum number of hops the BGP session may traverse to reach the specified neighbor. Valid values are integers from 1 to 255.
Description: BGP requires that external peers are directly connected. The neighbor ebgp-multihop command loosens that requirement and allows a BGP speaker to establish a peering session with a router that is not directly connected.
Use the neighbor ebgp-multihop command to allow BGP connections to external peers that are not on a directly connected network.
Use the peer-group-name parameter to configure all the members of a BGP peer group to inherit the multihop attribute configured with this command.
Use the ttl parameter to specify how many hops are allowed to reach the peer.
If you are having difficulty communicating with a peer, use the ping command to verify that the peer is reachable.
Use the no neighbor ebgp-multihop command to return to the default.
Factory Default: Allow only directly connected neighbors. Default value for ttl: 255
Command Mode: Router configuration.
Example: In the following example, the neighbor ebgp-multihop command indicates that the external neighbor is not directly connected and allows connections using up to 3 hops, and the show ip bgp neighbor command displays the setting:
router(config)#router bgp 190
router(config-router)#neighbor 121.80.100.4 remote-as 200
router(config-router)#neighbor 121.80.100.4 ebgp-multihop 3
router(config-router)#end
router#show ip bgp neighbor 121.80.100.4
BGP neighbor 121.80.100.4 using remote AS 200
router ID: 0.0.0.0 version: 4
state: Connect time: 0:00:00
def orignat: False ebgp multihop: True
.
.
.
Related Commands: neighbor peer-group (assigning and creating)
Copyright © 2004
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: BGP_Nd.fm
HTML File Name: BGP_Nd29.html
Last Updated: 05/10/04 at 16:36:55