Specifying an LB action

A link-generic LB policy can reference only link-generic LB classes and link-generic LB actions.

To specify an LB action:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter LB policy view.

loadbalance policy policy-name

N/A

3. Specify an LB action for the specified LB class.

class class-name [ insert-before before-class-name ] action action-name

By default, no LB action is specified for any LB classes.

You can specify an LB action for different LB classes.