hwSetBattStdCapacity
EMAP-MIB ·
.1.3.6.1.4.1.2011.6.164.1.4.4.1.1.8
Object
column r/w
Integer32
Set battery standard capacity, is an inherent attribute of the device. Value range: 5 to 10000, units: Ah, the value is an integer (1). If the value is 2147483647(0x7FFFFFFF), it indicates that the value is invalid.
Context
- MIB
- EMAP-MIB
- OID
.1.3.6.1.4.1.2011.6.164.1.4.4.1.1.8- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwBattStringConfigEntry
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 'EMAP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'EMAP-MIB::hwSetBattStdCapacity'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'EMAP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'EMAP-MIB::hwSetBattStdCapacity.<hwBattStringConfigIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'EMAP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'EMAP-MIB::hwSetBattStdCapacity'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 5-10000