242
Step Command
Remarks
2.
Enter BGP view or BGP-VPN
instance view.
•
Enter BGP view:
bgp
as-number
•
Enter BGP-VPN instance view:
a.
bgp
as-number
b.
ip vpn-instance
vpn-instance-name
N/A
3.
Configure the interval for
sending updates for the same
route to a peer or peer group.
peer
{
group-name
|
ipv6-address
}
route-update-interval
interval
By default, the interval is 15
seconds for an IBGP peer and 30
seconds for an EBGP peer.
Enabling BGP to establish an EBGP session over multiple hops
To establish an EBGP connection, two routers must have a direct physical link. 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.
If directly connected EBGP peers use loopback interfaces to establish a BGP session, you do not need to
configure the
peer ebgp-max-hop
command.
When the BGP GTSM function 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 view or BGP-VPN
instance view.
•
Enter BGP view:
bgp
as-number
•
Enter BGP-VPN instance view:
a.
bgp
as-number
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
|
ip-address
}
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 view or BGP-VPN
instance view.
•
Enter BGP view:
bgp
as-number
•
Enter BGP-VPN instance view:
a.
bgp
as-number
b.
ip vpn-instance
vpn-instance-name
N/A