Creating an LB action

You can configure a generic, HTTP, or RADIUS LB action only in the following cases:

Creating an LB action for Layer 4 server load balancing

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Create a generic LB action, and enter LB action view.

loadbalance action action-name type generic

By default, no LB actions exist. When you create an LB action, you must specify the LB action type. You can enter an existing LB action view without specifying the type of the LB action.

3. (Optional.) Set a description for the LB action.

description text

By default, no description is set for the LB action.

Creating an LB action for Layer 7 server load balancing

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Create an HTTP or RADIUS LB action, and enter LB action view.

loadbalance action action-name type { http | radius }

By default, no LB actions exist. When you create an LB action, you must specify the LB action type. You can enter an existing LB action view without specifying the type of the LB action.

3. (Optional.) Set a description for the LB action.

description text

By default, no description is set for the LB action.