224
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 keepalive
interval and hold time.
•
Configure the global keepalive
interval and hold time:
timer keepalive
keepalive
hold
holdtime
•
Configure the keepalive
interval and hold time for a
peer or peer group:
peer
{
group-name
|
ip-address
}
timer
keepalive
keepalive
hold
holdtime
Use either method.
By default, the keepalive interval is
60 seconds, and hold time is 180
seconds.
The
timer
command takes effect for
new BGP sessions and does not
affect existing sessions.
If you modify the timers with the
peer timer
command, BGP
immediately closes the existing
BGP session and creates a new
session to the peer by using the
new settings.
To configure the keepalive interval and hold time (IPv6):
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.
Configure the keepalive
interval and hold time.
•
Configure the global keepalive
interval and hold time:
timer keepalive
keepalive
hold
holdtime
•
Configure the keepalive
interval and hold time for a
peer or peer group:
peer
{
group-name
|
ipv6-address
}
timer
keepalive
keepalive
hold
holdtime
Use either method.
By default, the keepalive interval is
60 seconds, and hold time is 180
seconds.
The
timer
command takes effect for
new BGP sessions and does not
affect existing sessions.
If you modify the timers with the
peer timer
command, BGP
immediately closes the existing
BGP session and creates a new
session to the peer by using the
new settings.