Creating an LB policy
You can configure a generic, HTTP, or RADIUS LB policy only in the following cases:
The device does not support server load balancing licenses.
The device supports server load balancing licenses and has licenses installed.
Creating an LB policy for Layer 4 server load balancing
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Create a generic LB policy, and enter LB action view. | loadbalance policy policy-name type generic | By default, no LB policies exist. When you create an LB policy, you must specify the LB policy type. You can enter an existing LB policy view without specifying the type of the LB policy. |
3. (Optional.) Set a description for the LB policy. | description text | By default, no description is set for the LB policy. |
Creating an LB policy for Layer 7 server load balancing
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Create an HTTP or RADIUS LB policy, and enter LB policy view. | loadbalance policy policy-name type { http | radius } | By default, no LB policies exist. When you create an LB policy, you must specify the LB policy type. You can enter an existing LB policy view without specifying the type of the LB policy. |
3. (Optional.) Set a description for the LB policy. | description text | By default, no description is set for the LB policy. |