hwOntState
HUAWEI-DEVICE-MIB ·
.1.3.6.1.4.1.2011.6.3.23.1.2
Object
column OctetString
ONT state. data structure: -------------------------------------------------------------------------------------------------- | m | ONT state combination | ONT state combination | | ONT state combination | | (2B) | in Port x | in Port y | ..... | in Port n | -------------------------------------------------------------------------------------------------- / \ / \ / \ ----------------------------------- | x | ONT m-1 | | ONT 0 | |(2B) |state(1b)|...... |state(1b)| ----------------------------------- state enum: normal(0): ONT state is normal. fault(1): ONT state is fault.
Context
- MIB
- HUAWEI-DEVICE-MIB
- OID
.1.3.6.1.4.1.2011.6.3.23.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwAgentOntInfoEntry
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::hwOntState'
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::hwOntState.<hwFrameIndex>.<hwSlotIndex>.<hwPortIndex>.<hwOntIndex>'
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::hwOntState'
Syntax
OctetString
Values & Constraints
No enumerated values or constraints recorded.