myIfCounterClear

MY-INTERFACE-MIB · .1.3.6.1.4.1.4881.1.1.10.2.10.1.1.1.13

Object

column r/w SNMPv2-SMIInteger32
Setting its to any value but 0, will clear counters of this interface. 
Setting its value to 0 will cause no action of the agent. and when
query will always return 0.

Context

MIB
MY-INTERFACE-MIB
OID
.1.3.6.1.4.1.4881.1.1.10.2.10.1.1.1.13
Type
column
Access
readwrite
Status
current
Parent
myIfEntry
Groups
1

Walk 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 'MY-INTERFACE-MIB' -M '/opt/observium/mibs/ruijie:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MY-INTERFACE-MIB::myIfCounterClear'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MY-INTERFACE-MIB' -M '/opt/observium/mibs/ruijie:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MY-INTERFACE-MIB::myIfCounterClear.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MY-INTERFACE-MIB' -M '/opt/observium/mibs/ruijie:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MY-INTERFACE-MIB::myIfCounterClear'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647

Conformance