real

Use this command to add a real SLB server to an IPv4 or IPv6 server farm and to enter SLB real server configuration mode.

Syntax

real ip-address [port number]
no real ip-address

Parameters

ip-address Specifies a server IPv4 or IPv6 address.
port number (Optional) Specifies a port number for this server.

Defaults

If port is not specified, no port is associated with this real server.

Mode

Configuration command, SLB Server Farm Configuration mode.

Usage

The real server IP address type (IPv4 or IPv6), specified with this command, must agree with the IP address type for the server farm being configured.

If no port number is specified, then the real server will not cause the UDP/TCP destination port number to be NATed. Also if no port number is specified, then the real server can not use UDP or TCP fail-detection types.

Examples

This example shows how to add a real server 10.1.2.3 to the server farm named “myproductHTTP” and to configure the port number to be used for the service provided by this server:

System(rw-config)->ip slb serverfarm myproductHTTP
System(rw-config-slb-sfarm)->real 10.1.2.3 port 80
System(rw-config-slb-real)->

This example shows how to add a real server 2001:11ac:fd34::5 to the server farm named “myproductHTTP66” and to configure the port number to be used for the service provided by this server:

System(rw-config)->ipv6 slb serverfarm myproductHTTP66
System(rw-config-slb-sfarm)->real 2001:11ac:fd34::5 port 80
System(rw-config-slb-real)->