Controlling route generation, Configuration prerequisites, Allowing establishment of ebgp connection to an – H3C Technologies H3C SR8800 User Manual
Page 227: Indirectly connected peer/peer group

211
Step Command
Remarks
2.
Enter BGP view.
bgp as-number
N/A
3.
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
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.
NOTE:
To establish multiple BGP connections between two routers, you must specify the source interface for
establishing TCP connections to each peer on the local router; 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 an indirectly
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.
To allow establishment of EBGP connection to an indirectly connected peer/peer group:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP view.
bgp as-number
N/A
3.
Allow the establishment of
EBGP connection to an
indirectly connected
peer/peer group.
peer { group-name | ip-address }
ebgp-max-hop [ hop-count ]
Optional
Not allowed by default
NOTE:
The peer ebgp-max-hop command needs not be configured if the two EBGP peers are directly connected.
Controlling route generation
Different from IGP, BGP focuses on route generation and advertisement control and optimal route
selection.
Generating BGP routes can be done in the following ways:
•
Configure BGP to advertise local networks.
•
Configure BGP to redistribute routes from other routing protocols, including the default route.
Configuration prerequisites
BGP connections have been created.
- H3C SR6600-X H3C SR6600 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module