Home > Configuration > Load Balancing > setlbvserver_listenpolicy

setlbvserver_listenpolicy

Use this method to set expression identifying traffic accepted by the virtual server. Can be either an expression (for example, CLIENT.IP.DST.IN_SUBNET(192.0.2.0/24) or the name of a named expression. In the above example, the virtual server accepts all requests whose destination IP address is in the 192.0.2.0/24 subnet.

Syntax



Parameters

name

Name of the virtual server.
This is mandatory parameter.

listenpolicy

Expression identifying traffic accepted by the virtual server. Can be either an expression (for example, CLIENT.IP.DST.IN_SUBNET(192.0.2.0/24) or the name of a named expression. In the above example, the virtual server accepts all requests whose destination IP address is in the 192.0.2.0/24 subnet.
Default value = "NONE".

Return Value

Returns simpleResult

See Also