Home > Configuration > User > adduservserver

adduservserver

Use this method to creates an user defined load balancing virtual server.
Example: add user protocol MQTT -transporttype TCP -extension mqtt_logic

Syntax



Parameters

name

Name for the virtual server. Must begin with an ASCII alphanumeric or underscore (_) character, and must contain only ASCII alphanumeric, underscore, hash (#), period (.), space, colon (:), at sign (@), equal sign (=), and hyphen (-) characters. CLI Users: If the name includes one or more spaces, enclose the name in double or single quotation marks (for example, "my vserver" or 'my vserver').
This is mandatory parameter.

userprotocol

User protocol uesd by the service.
This is mandatory parameter.

ipaddress

IPv4 or IPv6 address to assign to the virtual server.
This is mandatory parameter.

port

Port number for the virtual server.
This is mandatory parameter.
Range 1 - 65535.

defaultlb

Name of the default Load Balancing virtual server used for load balancing of services. The protocol type of default Load Balancing virtual server should be a user type.
This is mandatory parameter.

params

Any comments associated with the protocol.

comment

Any comments that you might want to associate with the virtual server.

state

Initial state of the user vserver.
Default value = ENABLED.

Return Value

Returns simpleResult

See Also