The display snmp-agent statistics mib command displays statistics about the NMS's operations on MIB objects.
display snmp-agent statistics mib [ address ipv4-address | ipv6 ipv6-address | vpn-instance vpn-instance-name address ipv4-address | vpn-instance vpn-instance-name ipv6 ipv6-address ]
| Parameter | Description | Value |
|---|---|---|
| address ipv4-address | Displays the statistics about operations performed by the NMS with a specified IPv4 address. | The value is in dotted decimal notation. |
| ipv6 ipv6-address | Displays the statistics about operations performed by the NMS with a specified 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 | Displays the statistics about operations performed by the NMS with a specified VPN instance name. | The value is a string of 1 to 31 characters. |
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.
<sysname> 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.
<sysname> 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 |
| SUMMARY | Abstract of statistics about the NMS's operations on MIB objects |
| Total set | Total number of Set operations |
| Total get | Total number of Get operations |
| Total get-next | Total number of Get-next operations |
| 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 Get-next 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 |