Specifying the VSIP and port number

Specifying the VSIP and port number for Layer 4 server load balancing

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter IP, TCP, or UDP virtual server view.

virtual-server virtual-server-name

N/A

3. Specify the VSIP for the virtual server.

  • Specify an IPv4 address:virtual ip address ipv4-address [ mask-length | mask ]

  • Specify an IPv6 address:virtual ipv6 address ipv6-address [ prefix-length ]

By default, no IPv4 or IPv6 address is specified for the virtual server.

4. Specify the port number for the virtual server.

port { port-number [ to port-number ] } &<1-n>

By default, the port number is 0 (any ports) for the virtual server of the IP, TCP, or UDP type.

Specifying the VSIP and port number for Layer 7 server load balancing

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter fast HTTP, HTTP, or RADIUS virtual server view.

virtual-server virtual-server-name

N/A

3. Specify the VSIP for the virtual server.

  • Specify an IPv4 address:virtual ip address ipv4-address

  • Specify an IPv6 address:virtual ipv6 address ipv6-address

By default, no IPv4 or IPv6 address is specified for the virtual server.

4. Specify the port number for the virtual server.

port { port-number [ to port-number ] } &<1-n>

By default:

  • The port number is 80 for the virtual server of the fast HTTP or HTTP type.

  • The port number is 0 (any ports) for the virtual server of the RADIUS type.

If the virtual server has referenced an SSL policy, you must specify a non-default port number (typically 443) for the virtual server.