vmapClearStats
IBM-GbTOR-G8052-MIB ·
.1.3.6.1.4.1.26543.2.7.7.1.2.11.2.1.3
Object
column r/w
Enumeration
Setting this value to clear(2) clears the stats for the VMAP.
Context
- MIB
- IBM-GbTOR-G8052-MIB
- OID
.1.3.6.1.4.1.26543.2.7.7.1.2.11.2.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- vmapStatsTableEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'IBM-GbTOR-G8052-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IBM-GbTOR-G8052-MIB::vmapClearStats'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'IBM-GbTOR-G8052-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IBM-GbTOR-G8052-MIB::vmapClearStats.<vmapStatsIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IBM-GbTOR-G8052-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IBM-GbTOR-G8052-MIB::vmapClearStats'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | ok |
2 | clear |