Home > Configuration > Content Switching > setcsvserver_listenpriority

setcsvserver_listenpriority

Use this method to set integer specifying the priority of the listen policy. A higher number specifies a lower priority. If a request matches the listen policies of more than one virtual server the virtual server whose listen policy has the highest priority (the lowest priority number) accepts the request.

Syntax



Parameters

name

Identifies the virtual server name (created with the add cs vserver method).
This is mandatory parameter.

listenpriority

Integer specifying the priority of the listen policy. A higher number specifies a lower priority. If a request matches the listen policies of more than one virtual server the virtual server whose listen policy has the highest priority (the lowest priority number) accepts the request.
Default value = 101.
Minimum value = 0.
Maximum value = 100.

Return Value

Returns simpleResult

See Also