powerOnClearResetCounter
CISCO-DMN-DSG-DIAG-MIB ·
.1.3.6.1.4.1.1429.2.2.5.18.1.8
Object
scalar r/w
Enumeration
Set this object to yes(2) to clear Power On Reset counter.
Context
- MIB
- CISCO-DMN-DSG-DIAG-MIB
- OID
.1.3.6.1.4.1.1429.2.2.5.18.1.8- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- powerOn
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-DMN-DSG-DIAG-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-DMN-DSG-DIAG-MIB::powerOnClearResetCounter.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-DMN-DSG-DIAG-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-DMN-DSG-DIAG-MIB::powerOnClearResetCounter'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | writeOnly |
2 | yes |