367
Configuring keepalive parameters
Keepalive parameters include a keepalive interval and a maximum number of keepalive retries. The
VAM server assigns the configured keepalive parameters to clients in the ADVPN domain.
A client sends keepalives to the server at the specified interval. If a client does not receive any
responses from the server after the maximum keepalive attempts (keepalive retries + 1), the client
stops sending keepalives. If the VAM server does not receive any keepalives from a client before the
timeout timer expires, the server removes information about the client and logs off the client. The
timeout time is the product of the keepalive interval and keepalive attempts.
Newly configured keepalive parameters do not affect registered VAM clients. They apply to
subsequently registered clients.
If a device configured with dynamic NAT exists between the VAM server and VAM clients, configure
the keepalive interval to be shorter than the aging time of NAT entries.
To configure keepalive parameters:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Enter ADVPN domain view.
vam server advpn-domain
domain-name [
id
domain-id ]
N/A
3. Configure keepalive
parameters.
keepalive
interval
interval
retry
retries
By default, the keepalive interval
is 180 seconds, and the maximum
number of keepalive retries is 3.
Setting the retry timer
The VAM server starts the retry timer after it sends a request to a client. If the server does not receive
a response from the client before the retry timer expires, the server resends the request. The server
stops sending the request after receiving a response from the client or after the timeout timer
(product of the keepalive interval and keepalive attempts) expires.
To set the retry timer:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Enter ADVPN domain view.
vam server advpn-domain
domain-name [
id
domain-id ]
N/A
3. Set the retry timer.
retry interval
interval
By default, the retry timer is 5
seconds.
Configuring the VAM client
Tasks at a glance
(Required.) Creating a VAM client
(Required.) Enabling VAM clients
(Required.) Specifying VAM servers