HP VPN Firewall Appliances VPN Command Reference

192
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
Related commands
interface tunnel
tunnel-protocol
keepalive
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.
Syntax
keepalive [ seconds [ times ] ]
undo keepalive
Default
The DVPN keepalive interval is 180 seconds and the maximum number of transmission attempts is 3.
Views
Tunnel interface view
Default command level
2: System level
Parameters
seconds: Interval for transmitting DVPN keepalive packets, in the range of 1 to 32767 seconds.
times: Maximum number of attempts for transmitting a keepalive packet, in the range of 1 to 255.
Usage guidelines
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.
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
Related commands
interface tunnel