Specifying an LB policy

By referencing an LB policy, the virtual server load balances matching packets based on the packet contents.

To specify an LB policy:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter virtual server view.

virtual-server virtual-server-name

N/A

3. Specify an LB policy for the virtual server.

lb-policy policy-name

By default, the virtual server does not reference any LB policies.

A virtual server can only reference a policy profile of the specified type. For example, a virtual server of the fast HTTP or HTTP type can reference a policy profile of the generic type or HTTP type. A virtual server of the IP, TCP, or UDP type can only reference a policy profile of the generic type. A virtual server of the RADIUS type can reference a policy profile of the generic or RADIUS type.