hwGponDeviceOntControlBatteryCurStatus

HUAWEI-XPON-MIB · .1.3.6.1.4.1.2011.6.128.1.1.2.46.1.27

Object

column Enumeration
This object indicates the ONT battery status.
Options:
1. notSupport(0)         - Not support
2. charge(1)             - Charge state
3. discharge(2)          - Discharge state
4. holding(3)            - Holding state
5. supportButInvalid(4)  - Provisioned and present but cannot recharge
6. unknownStatus(-1)     - Indicates that the query fails or no information is detected

Context

MIB
HUAWEI-XPON-MIB
OID
.1.3.6.1.4.1.2011.6.128.1.1.2.46.1.27
Type
column
Access
readonly
Status
current
Parent
hwGponDeviceOntControlInfoEntry

Walk 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-XPON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-XPON-MIB::hwGponDeviceOntControlBatteryCurStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-XPON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-XPON-MIB::hwGponDeviceOntControlBatteryCurStatus.<ifIndex>.<hwGponDeviceOntIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-XPON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-XPON-MIB::hwGponDeviceOntControlBatteryCurStatus'

Syntax

Enumeration

Values & Constraints

Enumerated Values
-1unknownStatus
0notSupport
1charge
2discharge
3holding
4supportButInvalid