hwXponOntDIState

HUAWEI-XPON-COMMON-MIB · .1.3.6.1.4.1.2011.6.145.1.1.1.51.1.2

Object

column OctetString
When query the ONT DI status, returns the status of all DI ports at a time.
The first byte indicates the number of ports (0~127).
Each two byte indicates the state of a port, with the first byte indicating the port index and the second byte indicating the DI state.
Port index (1 Byte);
Port status (1 Byte): 0- low level, 1- high level.

Context

MIB
HUAWEI-XPON-COMMON-MIB
OID
.1.3.6.1.4.1.2011.6.145.1.1.1.51.1.2
Type
column
Access
readonly
Status
current
Parent
hwXponOntDIDOEntry

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

Syntax

OctetString

Values & Constraints

Object Constraints
range: 0-255