External BGP peering sessions are configured to allow BGP peers from different autonomous systems to exchange routing updates. By design, a BGP routing process expects eBGP peers to be directly connected. When the neighbor is not directly connected, then we can enable eBGP Multihop function to allow the session to be established.

In this example, BGP is configured to allow connections to or from neighbor, which resides on a network that is not directly connected.

admin@XorPlus# set protocols bgp neighbor remote-as external
admin@XorPlus# set protocols bgp neighbor ebgp-multihop maximum-hop 5
admin@XorPlus# commit