R3721-F3210-F3171-HP High-End Firewalls VPN Command Reference-6PW101

181
By default, the idle timeout for a Spoke-Spoke DVPN tunnel is 600 seconds.
This setting must be the same for all VAM clients in a VPN domain.
Related commands: interface tunnel and tunnel-protocol.
Examples
# Set the idle timeout for a Spoke-Spoke DVPN tunnel to 800 seconds.
<Sysname> system-view
[Sysname] interface tunnel 0
[Sysname-tunnel0] dvpn session idle-time 800
keepalive
Syntax
keepalive [ seconds [ times ] ]
undo keepalive
View
Tunnel interface view
Default level
2: System level
Parameters
seconds: Interval for transmitting DVPN keepalive packets, in the range 1 to 32767 seconds.
times: Maximum number of attempts for transmitting a keepalive packet, in the range 1 to 255.
Description
Use keepalive to set the DVPN keepalive interval and the maximum number of attempts for transmitting
a keepalive packet.
Use undo keepalive to restore the default.
By default, the DVPN keepalive interval is 180 seconds and the maximum number of transmission
attempts is 3.
If a keepalive packet is transmitted for the maximum number of times but still no response is received from
the peer, the connection is considered broken.
The keepalive timer is triggered when a DVPN session is set up successfully.
Related commands: interface tunnel.
Examples
# Set the DVPN keepalive interval to 20 seconds and the maximum number of transmission attempts to
5.
<Sysname> system-view
[Sysname] interface tunnel 0
[Sysname-Tunnel0] keepalive 20 5