The set snmp dynamic-control threshold command configures the CPU usage threshold that triggers a device to reduce resources for scheduling SNMP tasks.
The undo set snmp dynamic-control threshold command restores the default setting.
By default, a device reduces resources for scheduling SNMP tasks when the CPU usage reaches 75%.
set snmp dynamic-control threshold threshold
undo set snmp dynamic-control threshold threshold
Parameter | Description | Value |
---|---|---|
threshold | Specifies the CPU usage threshold. | The value is an integer that ranges from 30 to 90, in percentage. |
By default, the CPU usage threshold that triggers a device to reduce resources for scheduling SNMP tasks is 75%. That is, a device reduces resources for scheduling SNMP tasks when the CPU usage exceeds 75%. This reduces CPU usage of SNMP tasks. You can run the set snmp dynamic-control threshold command to change the CPU usage threshold based on your site scenario.
# Set the CPU usage threshold that triggers a device to reduce resources for scheduling SNMP tasks to 60%.
<HUAWEI> system-view [HUAWEI] set snmp dynamic-control threshold 60 Info: The CPU usage threshold that triggers a device to reduce resources for scheduling SNMP tasks is set to 60%. That is, when the system CPU usage exceeds 70%, the device reduces resources for scheduling SNMP tasks. Continue?[Y/N]:y