Allowing establishment of ebgp connection to a, Non directly connected peer/peer group – H3C Technologies H3C S7500E Series Switches User Manual
Page 223
6-20
To do…
Use the command…
Remarks
Specify the source interface for
establishing TCP connections to a
peer or peer group
peer { group-name | ip-address }
connect-interface
interface-type interface-number
Required
By default, BGP uses the outbound
interface of the best route to the
BGP peer/peer group as the source
interface for establishing a TCP
connection to the peer/peer group.
To establish multiple BGP connections between two routers, you need to specify on the local router
the source interface for establishing TCP connections to each peer; otherwise, the local BGP router
may fail to establish TCP connections to a peer when using the outbound interface of the best route to
the peer as the source interface.
Allowing Establishment of eBGP Connection to a Non Directly Connected Peer/Peer
Group
In general, direct physical links should be available between eBGP peers. If not, you can use the peer
ebgp-max-hop command to establish a TCP connection over multiple hops between two peers.
Follow these steps to allow establishment of eBGP connection to a non directly connected peer/peer
group:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp as-number
—
Allow the establishment of eBGP
connection to a non directly
connected peer/peer group
peer { group-name | ip-address }
ebgp-max-hop [ hop-count ]
Optional
Not allowed by default.
The peer ebgp-max-hop command needs not be configured if the two eBGP peers are directly
connected.