< Home

set snmp dynamic-control threshold

Function

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%.

Format

set snmp dynamic-control threshold threshold

undo set snmp dynamic-control threshold threshold

Parameters

Parameter Description Value
threshold Specifies the CPU usage threshold. The value is an integer that ranges from 30 to 90, in percentage.

Views

System view

Default Level

3: Management level

Usage Guidelines

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.

Example

# 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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >