name host-name: Specifies a domain name of a secondary VAM server. It is a dot-separated,
case-insensitive string that can include letters, digits, hyphens (-), and underscores (_). The domain name
can include at most 253 characters, and each separated string includes no more than 63 characters.
port port-number: Specifies a port number for the secondary VAM server, in the range of 1025 to 65535.
The default is 18000.
Usage guidelines
The port number of a VAM server must be the same as the port number configured on the VAM server by
using the vam server listen-port command.
If the specified primary and secondary VAM servers have the same address or name, only the primary
VAM server takes effect.
If you execute this command multiple times, the most recent configuration takes effect.
Examples
# Specify the domain name of the secondary VAM server as abc.com and port number as 2000 for VAM
client abc.
<Sysname> system-view
[Sysname] vam client name abc
[Sysname-vam-client-abc] server secondary name abc.com port 2000
# Specify the public IP address of the secondary VAM server as 1.1.1.2 and port number as 3000 for
VAM client abc.
<Sysname> system-view
[Sysname] vam client name abc
[Sysname-vam-client-abc] server secondary ip-address 1.1.1.2 port 3000
# Specify the public IPv6 address of the primary VAM server as 1001::2 and port number as 3000 for
VAM client abc.
<Sysname> system-view
[Sysname] vam client name abc
[Sysname-vam-client-abc] server secondary ipv6-address 1001::2 port 3000
Related commands
server primary
user
Use user to configure a username and password for a VAM client.
Use undo user to remove the configuration.
Syntax
user username password { cipher cipher-string | simple simple-string }
undo user
Default
No username or password is configured.
Views
VAM client view
523