Related commands:
Examples
Use the
command to restore the default.
undo timer
By default, BGP keepalive and holdtime intervals are 60s and 180s.
Note that:
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.
peer timer (BGP/BGP-VPN instance view).
# 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
1013