The display snmp-agent statistics mib command displays 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.
display snmp-agent statistics mib [ [ vpn-instance vpn-instance-name ] { address ipv4-address | ipv6 ipv6-address } ]
Parameter | Description | Value |
---|---|---|
vpn-instance vpn-instance-name | Specifies a VPN instance name. | The value must be an existing VPN instance name. |
address ipv4-address | Specifies an IPv4 address. | - |
ipv6 ipv6-address | Specifies an IPv6 address. | - |
Usage Scenario
An NMS performs operations on MIB objects to manage devices. To check these operation statistics, run the display snmp-agent statistics mib command. The command output displays names, access frequencies, and handling dates of MIB objects.
If no NMS is specified, the display snmp-agent statistics mib command displays statistics about the operations performed by all NMSs (that is, IPv4+VPN, IPv6+VPN, IPv4, and IPv6 NMSs) on MIB objects.
Follow-up Procedure
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.
# Display all statistics about the NMS's operations on MIB objects.
<HUAWEI> display snmp-agent statistics mib
-----------------------------------------------------------------------------------------
ip address:192.168.1.4, total mib node number:9
SUMMARY: Total set:0,Total get:9,Total get-next:75
-----------------------------------------------------------------------------------------
MibNode Set Get GetNext MaxTime MinTime AveTime
ifEntry 0 0 75 0 0 0
ifNumber 0 1 0 0 0 0
sysContact 0 1 0 0 0 0
sysDescr 0 1 0 0 0 0
sysLocation 0 1 0 0 0 0
sysName 0 1 0 0 0 0
sysObjectID 0 1 0 0 0 0
sysServices 0 1 0 0 0 0
sysUpTime 0 2 0 0 0 0
# Display the statistics about the operations performed by the NMS with the IP address of 192.168.1.3 in the VPN instance aa.
<HUAWEI> display snmp-agent statistics mib vpn-instance aa address 192.168.1.3
-----------------------------------------------------------------------------------------
vpn instance:aa, ip address:192.168.1.3, total mib node number:1
SUMMARY: Total set:0,Total get:1,Total get-next:0
-----------------------------------------------------------------------------------------
MibNode Set Get GetNext MaxTime MinTime AveTime
sysDescr 0 1 0 0 0 0
Item | Description |
---|---|
ip address | IP address of the NMS. |
vpn instance | VPN instance name |
total mib node number | Total number of MIB objects accessed by the NMS. |
SUMMARY | Abstract of statistics about the NMS's operations on MIB objects. |
Total set | Total number of Set operations performed on all MIB objects. |
Total get | Total number of Get operations performed on all MIB objects. |
Total get-next | Total number of GetNext operations performed on all MIB objects. |
MibNode | MIB object name. |
Set | Number of the Set operations performed on a specified MIB object. |
Get | Number of the Get operations performed on a specified MIB object. |
GetNext | Number of the GetNext operations performed on a specified MIB object. |
MaxTime | Maximum time for an operation performed on MIB objects. |
MinTime | Minimum time for an operation performed on MIB objects. |
AveTime | Average time for an operation performed on MIB objects. |