hwXponPortAutoPingTestResultCode

HUAWEI-XPON-TRAP-MIB · .1.3.6.1.4.1.2011.6.145.2.69

Object

scalar r/w Enumeration
The object indicates the result of port auto ping test .
options:
1.success(0)       - Indicates the port auto ping test complete.
2.fail(1)          - Indicates the port 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.69
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::hwXponPortAutoPingTestResultCode.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::hwXponPortAutoPingTestResultCode'

Syntax

Enumeration

Values & Constraints

Enumerated Values
-1invalid
0success
1fail