Timer configured using the peer timer command is preferred to the timer configured using this
command.
The holdtime interval must be at least three times the keepalive interval.
The configured timer applies to all the BGP peers, while it becomes valid only after the
corresponding BGP connections are reset.
Related commands: peer timer.
Examples
# Configure keepalive interval and holdtime interval as 60s and 180s.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] timer keepalive 60 hold 180
# In BGP-VPN instance view, configure keepalive interval and holdtime interval as 60s and 180s (the
VPN has been created).
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] timer keepalive 60 hold 180
1-72