275
Enabling BGP to establish an EBGP session over multiple
hops
To establish an EBGP session, two routers must have a direct physical link and use directly
connected interfaces. If no direct link is available, you must use the
peer
ebgp-max-hop
command
to enable BGP to establish an EBGP session over multiple hops and specify the maximum hops.
When the BGP GTSM feature is enabled, two peers can establish an EBGP session after passing
GTSM check, regardless of whether the maximum number of hops is reached.
To enable BGP to establish an indirect EBGP session (IPv4 unicast/multicast address family):
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP instance view or
BGP-VPN instance view.
•
Enter BGP instance view:
bgp
as-number
[
instance
instance-name
]
•
Enter BGP-VPN instance
view:
a. bgp
as-number
[
instance
instance-name
]
b. ip vpn-instance
vpn-instance-name
N/A
3.
Enable BGP to establish an
EBGP session to an
indirectly connected peer or
peer group and specify the
maximum hop count.
peer
{
group-name
|
ipv4-address
[
mask-length
] }
ebgp-max-hop
[
hop-count
]
By default, BGP cannot establish
an EBGP session to an indirectly
connected peer or peer group.
To enable BGP to establish an indirect EBGP session (IPv6 unicast/multicast address family):
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP instance view or
BGP-VPN instance view.
•
Enter BGP instance view:
bgp
as-number
[
instance
instance-name
]
•
Enter BGP-VPN instance
view:
a. bgp
as-number
[
instance
instance-name
]
b. ip vpn-instance
vpn-instance-name
N/A
3.
Enable BGP to establish an
EBGP session to an
indirectly connected peer or
peer group and specify the
maximum hop count.
peer
{
group-name
|
ipv6-address
[
prefix-length
] }
ebgp-max-hop
[
hop-count
]
By default, BGP cannot establish
an EBGP session to an indirectly
connected peer or peer group.
Summary of Contents for HPE FlexNetwork 7500 series
Page 505: ...493 Connector N A ...