Creating an LB class

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

Creating an LB class for Layer 4 server load balancing

Step

Command

Remarks

1. Enter system view.

system-view

N/A

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

loadbalance class class-name type generic [ match-all | match-any ]

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

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

description text

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

Creating an LB class for Layer 7 server load balancing

Step

Command

Remarks

1. Enter system view.

system-view

N/A

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

loadbalance class class-name type { http | radius } [ match-all | match-any ]

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

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

description text

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