< Home

snmp-agent statistics mib disable

Function

The snmp-agent statistics mib disable command disables the statistics function about the NMS's operations on MIB objects.

The undo snmp-agent statistics mib disable command restores the default statistics status.

By default, the statistics function about the NMS's operations on MIB objects is enabled.

Only S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this command.

Format

snmp-agent statistics mib disable

undo snmp-agent statistics mib disable

Parameters

None

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

An NMS performs operations on MIB objects to manage devices. Currently, SNMP supports the statistics function about these operations.

By default, the statistics function is enabled. To disable this function due to some reasons, for example, high CPU usage caused by collecting statistics about the NMS accessing MIB objects, run the snmp-agent statistics mib disable command.

Follow-up Procedure

Run the display snmp-agent statistics mib command to check statistics about the NMS's operations on MIB objects.

If the NMS accesses a great amount of MIB node information and statistics do not need to be saved, run the reset snmp-agent statistics mib command to delete the statistics.

Precautions

After you run the snmp-agent statistics mib disable command, the statistics function is disabled, but statistics that have been collected are not deleted.

Example

# Disable the statistics function about the NMS's operations on MIB objects.

<HUAWEI> system-view
[HUAWEI] snmp-agent statistics mib disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >