< Home

reset snmp-agent statistics mib

Function

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

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. The value is in dotted decimal notation.
ipv6 ipv6-address Specifies an IPv6 address. The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.
vpn-instance vpn-instance-name Specifies a VPN instance name. The value is a string of 1 to 31 characters.

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

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.

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