hwXponOntAutoPingTestResultCode

HUAWEI-XPON-TRAP-MIB · .1.3.6.1.4.1.2011.6.145.2.70

Object

scalar r/w Enumeration
The object indicates the result of ont auto ping test .
options:
1.success(0)       - Indicates the ont auto ping test complete.
2.fail(1)          - Indicates the ont auto ping test fail.
3.invalid(-1)      - Indicates that no information is detected.

Context

MIB
HUAWEI-XPON-TRAP-MIB
OID
.1.3.6.1.4.1.2011.6.145.2.70
Type
scalar
Access
readwrite
Status
current
Parent
hwXponCommonTrapsVbOids

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-XPON-TRAP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-XPON-TRAP-MIB::hwXponOntAutoPingTestResultCode.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-XPON-TRAP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-XPON-TRAP-MIB::hwXponOntAutoPingTestResultCode'

Syntax

Enumeration

Values & Constraints

Enumerated Values
-1invalid
0success
1fail