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 link-IP type can only reference a policy profile of the link-generic type.