The peer ebgp-max-hop command configures a BGP device to establish an EBGP peer relationship with a peer on an indirectly-connected network and set the maximum number of hops between the two devices.
The undo peer ebgp-max-hop command cancels the existing configuration.
By default, an EBGP connection can be set up only on a directly-connected physical link.