< Home

reset snmp-agent statistics mib

Function

The reset snmp-agent statistics mib command clears statistics about the NMS's operations on MIB objects.

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

reset snmp-agent statistics mib [ address ipv4-address | ipv6 ipv6-address | vpn-instance vpn-instance-name address ipv4-address ]

Parameters

Parameter Description Value
address ipv4-address Specifies an IPv4 address. -
ipv6 ipv6-address Specifies an IPv6 address. -
vpn-instance vpn-instance-name Specifies a VPN instance name. The value must be an existing VPN instance name.

Views

User view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

An NMS performs operations on MIB objects to manage devices. You can run the display snmp-agent statistics mib command to check the operation statistics.

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.

If no NMS is specified, the reset snmp-agent statistics mib command clears statistics about the operations performed by all NMSs (that is, IPv4+VPN, IPv6+VPN, IPv4, and IPv6 NMSs) on MIB objects.

Precautions

Operation statistics cannot be restored after they are cleared. Exercise caution when running the reset snmp-agent statistics mib command.

Example

# Clear all statistics about the NMS's operations on MIB objects.

<HUAWEI> reset snmp-agent statistics mib
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >