neighbor ebgp-multihop


neighbor {<IP-ADDRESS>|<PEER-GROUP-NAME>} ebgp-multihop <ttl>

no neighbor {<IP-ADDRESS>|<PEER-GROUP-NAME>} ebgp-multihop <ttl>


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




Specifies an IP address.


Specifies a peer group.


Specifies the ttl value.




switch(config-router)# neighbor ebgp-multihop 5
switch(config-router)# no neighbor ebgp-multihop
switch(config-router)# neighbor pg ebgp-multihop 5
switch(config-router)# no neighbor pg ebgp-multihop