firmwareUpgradeState
HUAWEI-SERVER-IBMC-MIB ·
.1.3.6.1.4.1.2011.2.235.1.1.30.2
Object
scalar SNMPv2-SMIInteger32
Information about firmware upgrading state. the value defined as: -1: upgrade not start or completed, -2: file uploading, -3: checking preUpgrade, -4: invalid URI or file not exist, -5: file upload failed, -6: file too large or memory not enough, -7: invalid upgrade package, -8: not support upgrade in current state, -9: upgrade failed, -10: The upgrade file does not match the device to be upgraded, -11: The BIOS upgrade fails because the ME status is not correct, -12: Unknown error, [0,100]:represents upgrade progress in percentage while firmware being upgrading.
Context
- MIB
- HUAWEI-SERVER-IBMC-MIB
- OID
.1.3.6.1.4.1.2011.2.235.1.1.30.2- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- firmwareUpgrade
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 'HUAWEI-SERVER-IBMC-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-SERVER-IBMC-MIB::firmwareUpgradeState.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-SERVER-IBMC-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-SERVER-IBMC-MIB::firmwareUpgradeState'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647