adGenIfResetCounters
ADTRAN-GENIF-MIB ·
.1.3.6.1.4.1.664.5.70.7.1.1.1.1
Object
column deprecated
r/w
Enumeration
This object is deprecated due to confusion among users regarding its intended purpose. Two new objects (adGenIfResetAllPM and adGenIfResetAllCounters) should be used instead. The original description text is below: Selection of counter types to reset/clear for the indexed interface. The counter types are performance monitoring intervals (PM history) which typically consist of 15 minute/24 hour interval data, and current counters. A read will always return all(1).
Context
- MIB
- ADTRAN-GENIF-MIB
- OID
.1.3.6.1.4.1.664.5.70.7.1.1.1.1- Type
- column
- Access
- readwrite
- Status
- deprecated
- Parent
- adGenIfEntry
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 'ADTRAN-GENIF-MIB' -M '/opt/observium/mibs/adtran:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ADTRAN-GENIF-MIB::adGenIfResetCounters'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ADTRAN-GENIF-MIB' -M '/opt/observium/mibs/adtran:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ADTRAN-GENIF-MIB::adGenIfResetCounters.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ADTRAN-GENIF-MIB' -M '/opt/observium/mibs/adtran:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ADTRAN-GENIF-MIB::adGenIfResetCounters'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | all |
2 | pmhistory |
3 | current |