Scheduling links

Perform this task to specify a scheduling algorithm for a link group and specify the number of links to participate in scheduling. The LB device calculates the links to process user requests based on the specified scheduling algorithm.

To schedule links:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter link group view.

loadbalance link-group link-group-name

N/A

3. Specify a scheduling algorithm for the link group.

predictor hash address { destination | source | source-ip-port } [ mask mask-length ] [ prefix prefix-length ]

predictor { least-connection | random | round-robin | { bandwidth | max-bandwidth } [ inbound | outbound ] }

By default, the scheduling algorithm for a link group is weighted round robin.

4. Specify the number of links to participate in scheduling.

selected-link min min-number max max-number

By default, the links with the highest priority participate in scheduling.