client

Use this command to allow a specific client to use a virtual server.

Syntax

client {ip-address network-mask | ip-address/prefixlength | acl-list}
no client [ip-address network-mask]

Parameters

ip-address network-mask Specifies a client‘s IP address and network mask (IPv4 only).
ip-address/prefixlength Specifies a client‘s IP address or IP address and prefix length (IPv4 only).
acl-list A standard ACL list containing IP address permit statements (IPv4 or IPv6).

Defaults

All clients can use a virtual server.

Mode

Configuration command, SLB Virtual Server Configuration mode.

Usage

The ip-address network-mask and ip-address/prefixlength parameter options can only be used in an IPv4 virtual server context. An IPv4 or IPv6 standard ACL list containing permit statements for client IP addresses can be used in an IPv4 or IPv6 virtual server context.

If no client networks are specified with this command, all clients will be allowed to use a virtual server. When client networks are specified with this command, only specified clients will be allowed to use a virtual server.

The “no” form of this command removes permission for a client to use the virtual server.

Example

This example shows how to allow a client network at 100.12.22.42 255.255.255.0 to use the virtual server named virtual-lsnat:

System(rw-config)->ip slb vserver virtual-lsnat
System(rw-config-slb-vserver)->client 100.12.22.42 255.255.255.0

This example shows how to allow all clients specified in the aclvs66 ACL list to use the virtual server named virtual-lsnat66:

System(rw-config)->ipv6 slb vserver virtual-lsnat66
System(rw-config-slb-vserver)->client aclvs66