neighbor ebgp-multihop
Syntax
neighbor {<IP-ADDRESS>|<PEER-GROUP-NAME>} ebgp-multihop <ttl>
no neighbor {<IP-ADDRESS>|<PEER-GROUP-NAME>} ebgp-multihop <ttl>
Description
Enables BGP to establish connection with external peers residing on networks that are not directly connected.
By default external BGP peers need to be directly connected. If external BGP peers are not connected directly, then this command is enabled to initiate the connection with that external peer. If the command is disabled and external BGP peers are indirectly connected, then BGP peer session will not be established.
The neighbor connection must be reset using
clear ip bgp
<NEIGHBOR-IP-ADDRESS>
to allow this configuration to take effect.
The
no
form of this command disables the peer ebgp-multihop feature.
Command context
config-router
Parameters
<IP-ADDRESS>
Specifies an IP address.
<PEER-GROUP-NAME>
Specifies a peer group.
<ttl>
Specifies the ttl value.
Authority
Administrators
Examples
switch(config-router)# neighbor 1.1.1.1 ebgp-multihop 5 switch(config-router)# no neighbor 1.1.1.1 ebgp-multihop
switch(config-router)# neighbor pg ebgp-multihop 5 switch(config-router)# no neighbor pg ebgp-multihop