Example
keepalive retry
Syntax
View
Parameter
Description
Related command:
Example
pre-shared-key (VPN domain view)
Syntax
View
# Configure the interval for sending keepalive messages from VAM client to VAM
server to 30 seconds.
<Sysname> system-view
[Sysname] vam server vpn 1
[Sysname-vam-server-vpn-1] keepalive interval 30
keepalive retry retry-times
undo keepalive retry
VPN domain view
retry-times: Maximum number of attempts of sending keepalive message from
VAM client. It is in the range 1 to 6.
Use the
keepalive retry
attempts of sending keepalive message from VAM client to VAM server. If the
maximum number of attempts is reached but no response is received by a VAM
client, the VAM client regards that the connection is broken.
Use the
undo keepalive retry
By default, the maximum number of attempts of sending keepalive message from
VAM client is 3.
Note that the VAM server sends this setting in a registration response to its clients.
All clients in a VPN have the same keepalive settings, but if you change the
keepalive settings of the server, the new settings are sent to only clients that
register later; all clients registering before use the old settings.
vam server vpn, keepalive interval
# Configure the maximum number of attempts of sending keepalive message
from VAM client to 5.
<Sysname> system-view
[Sysname] vam server vpn 1
[Sysname-vam-server-vpn-1] keepalive retry 5
pre-shared-key { cipher | simple } key-string
undo pre-shared-key
VPN domain view
command to configure the maximum number of
command to restore to the default value.
1727