serverfarm (Virtual Server)

Use this command to configure the server farm that the IPv4 or IPv6 virtual server will use.

Syntax

serverfarm serverfarm-name
no serverfarm serverfarm-name

Parameters

serverfarm-name Specifies a server farm name. Must be previously configured with ip slb serverfarm for an IPv4 server farm or ipv6 slb serverfarm for an IPv6 server farm.

Defaults

None.

Mode

Configuration command, SLB Virtual Server Configuration mode.

Usage

The “no” form of this command removes the virtual server association.

The IP address type for the server farm does not have to agree with the IP address type of the virtual server. The virtual server IP address type must always agree with the client IP address type. For example, in a client IPv4 to real server IPv6 configuration, the server farm must be defined as an IPv6 server farm using ipv6 slb serverfarm and the virtual server is configured for IPv4

Examples

This example shows how to associate the IPv4 virtual server named “virtual-http” to the “myproductHTTP” IPv4 server farm:

System(rw-config)->ip slb vserver virtual-http
System(rw-config-slb-vserver)->serverfarm myproductHTTP

This example shows how to associate the IPv4 virtual server named “virtual-http” to the “myproductHTTP46” IPv6 server farm:

System(rw-config)->ip slb vserver virtual-http
System(rw-config-slb-vserver)->serverfarm myproductHTTP46