hwFlashDevEraseStatus
HUAWEI-DEVICE-MIB ·
.1.3.6.1.4.1.2011.6.3.6.1.1.5
Object
column Enumeration
Status of current or last flash erasing. Options: 1.flashErasing(1) - flash is executing erasing operation 2.flashErasedSuccessful(2) - flash erased successfully 3.flashErasedFail(3) - flash erased failed 4.flashReadOnly(4) - flash state is read only 5.flashOpenFailure(5) - open flash failed 6.bufferAllocationFailure(6) - allocating buffer on flash failed 7.noEraseAfterPowerOn(7) - there is no erasing operation after device was powered on
Context
- MIB
- HUAWEI-DEVICE-MIB
- OID
.1.3.6.1.4.1.2011.6.3.6.1.1.5- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwFlashDevEntry
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 'HUAWEI-DEVICE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DEVICE-MIB::hwFlashDevEraseStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-DEVICE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DEVICE-MIB::hwFlashDevEraseStatus.<hwFrameIndex>.<hwSlotIndex>.<hwFlashDevIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-DEVICE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-DEVICE-MIB::hwFlashDevEraseStatus'
Syntax
Enumeration
Values & Constraints
No enumerated values or constraints recorded.