Creating a virtual server

You can configure a virtual server of the fast HTTP, HTTP, RADIUS, TCP, or UDP type only in the following cases:

Creating a virtual server for Layer 4 server load balancing

The virtual server types of Layer 4 server load balancing include IP, TCP, and UDP.

To create a virtual server for Layer 4 server load balancing:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Create an IP, TCP, or UDP virtual server and enter virtual server view.

virtual-server virtual-server-name type { ip | tcp | udp }

By default, no virtual servers exist.

When you create a virtual server, you must specify a server type. You can enter existing virtual server view without specifying the type of the virtual server.

3. (Optional.) Set a description for the virtual server.

description text

By default, no description is set for the virtual server.

Creating a virtual server for Layer 7 server load balancing

The virtual server types of Layer 7 server load balancing include fast HTTP, and HTTP, and RADIUS.

To create a virtual server for Layer 7 server load balancing:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Create a fast HTTP, HTTP, or RADIUS virtual server and enter virtual server view.

virtual-server virtual-server-name type { fast-http | http | radius }

By default, no virtual servers exist.

When you create a virtual server, you must specify a server type. You can enter existing virtual server view without specifying the type of the virtual server.

3. (Optional.) Set a description for the virtual server.

description text

By default, no description is set for the virtual server.