F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices VPN Command Reference-6PW100
198
[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
reset dvpn session
Use reset dvpn session to delete the specified DVPN sessions on the local client.
Syntax
reset dvpn session { all | interface interface-type interface-number [ private-ip ip-address ] }