hwXponOntAutoPingResultCode
HUAWEI-XPON-COMMON-MIB ·
.1.3.6.1.4.1.2011.6.145.1.1.1.44.1.2
Object
column Enumeration
Indicates the result of ont auto ping test. Options: 1.success(0) - Indicates the ont auto ping test complete. 2.offline(1) - Indicates the ont is not online. 3.notsupport(2) - Indicates the ont doesn't support this operation. 4.onterror(3) - Indicates the ont process error. 5.nowan(4) - Indicates that no wan ports exist on the ont. 6.invalid(-1) - Indicates that no information is detected.
Context
- MIB
- HUAWEI-XPON-COMMON-MIB
- OID
.1.3.6.1.4.1.2011.6.145.1.1.1.44.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwXponOntAutoPingEntry
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-XPON-COMMON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-XPON-COMMON-MIB::hwXponOntAutoPingResultCode'
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::hwXponOntAutoPingResultCode.<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::hwXponOntAutoPingResultCode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
-1 | invalid |
0 | success |
1 | offline |
2 | notsupport |
3 | onterror |
4 | nowan |