369 
Step Command Remarks 
4.  (Optional.) Specify the 
secondary VAM server. 
server secondary
 { 
ip-address
 
ip-address | 
ipv6-address
 
ipv6-address | 
name
 host-name } 
[ 
port
 port-number ]
 
By default, no VAM server is 
specified.
 
 
Specifying an ADVPN domain for a VAM client 
Step Command Remarks 
1.  Enter system view. 
system-view 
N/A 
2.  Enter VAM client view. 
vam client name
 client-name N/A 
3.  Specify an ADVPN domain 
for the VAM client. 
advpn-domain
 domain-name 
By default, no ADVPN domain is 
specified for a VAM client. 
 
Configuring a pre-shared key for a VAM client 
The pre-shared key is used to generate initial encryption and authentication keys during connection 
initialization. It is also used to generate encryption and authentication keys for subsequent packets if 
encryption and authentication are needed. 
All VAM clients and the VAM server in an ADVPN domain must have the same pre-shared key. If they 
have different pre-shared keys, the decryption and authentication will fail, and they cannot establish 
any connection. 
To configure a pre-shared key for a VAM client: 
 
Step Command Remarks 
1.  Enter system view. 
system-view 
N/A 
2.  Enter VAM client view. 
vam client name
 client-name N/A 
3.  Configure a pre-shared key 
for the VAM client. 
pre-shared-key
 { 
cipher
 | 
simple
 } 
string 
By default, no pre-shared key 
is configured for a VAM client.
 
Setting the retry interval and retry number for a VAM client 
After a VAM client sends a request to the server, it resends the request if it does not receive any 
responses within the retry interval. If the client fails to receive a response after maximum attempts 
(retry times + 1), the client determines that the server is unreachable. 
The retry-times setting does not apply to register and update requests. The client sends those 
requests at the retry interval until it goes offline. 
To set the retry interval and retry number for a VAM client: 
 
Step Command Remarks 
1.  Enter system view. 
system-view 
N/A 
2.  Enter VAM client view. 
vam
 
client
 
name
 client-name N/A 
3.  Set the retry interval and 
retry number. 
retry
 
interval
 interval 
count
 
retries 
By default, the retry interval is 5 
seconds, and the retry number 
are 3.