The load-balance dynamic-adjust trunk command configures key parameters for dynamic load balancing adjustment of a trunk.
The undo load-balance dynamic-adjust trunk command configures key parameters for dynamic load balancing adjustment of a trunk to default value..
The default scanning period, threshold for CPU usage, threshold for restoring CPU usage, and CPU usage detection period and statistical period and precision deviation threshold are 60 minutes, 60%, 55%, 10 minutes, 1 minute and 5%, respectively.
load-balance dynamic-adjust trunk { scan scan-period | cpu cpu-threshold | cpu-detect cpu-detect-period | cpu-restore cpu-restore-threshold | statistics statistics-period | precision precision-threshold }
undo load-balance dynamic-adjust trunk { scan | cpu | cpu-detect | cpu-restore | statistics | precision }
Parameter | Description | Value |
---|---|---|
scan scan-period |
Specifies a scanning period. |
The value is an integer ranging from 2 to 720, in minutes. |
cpu cpu-threshold |
Specifies a threshold for CPU usage. |
The value ranges from 10 to 100. |
cpu-detect cpu-detect-period |
Specifies a CPU usage detection period. |
The value is an integer ranging from 1 to 10, in minutes. |
cpu-restore cpu-restore-threshold |
Specifies a threshold for restoring CPU usage. |
The value ranges from 10 to 100. |
statistics statistics-period |
The period parameter for collecting statistics about a timer. |
The value is an integer that ranges from 60 to 600. The default value is 60, in second. |
precision precision-threshold |
The value of the precision threshold for starting the dynamic adjustment. |
The value is an integer that ranges from 1% to 100%. The default value is 5%. |
Usage Scenario
After enabling dynamic load balancing adjustment for a trunk, run the load-balance dynamic-adjust trunk command to configure key parameters for dynamic load balancing adjustment of the trunk.
Prerequisites
Dynamic trunk load balancing has been enabled using the load-balance dynamic-adjust trunk enable command.
In VS mode, this command is supported only by the admin VS.