hwXponDeviceOtdrTestOpticalFibreLength
HUAWEI-XPON-COMMON-MIB ·
.1.3.6.1.4.1.2011.6.145.1.1.1.21.1.13
Object
Length of the optical fiber to be tested. Options: 1.(1) - Indicates that the length of the optical fiber to be tested is 5 km. 2.(2) - Indicates that the length of the optical fiber to be tested is 10 km. 3.(3) - Indicates that the length of the optical fiber to be tested is 20 km. 4.(4) - Indicates that the length of the optical fiber to be tested is 30 km. 5.(5) - Indicates that the length of the optical fiber to be tested is 40 km. 6.(6) - Indicates that the length of the optical fiber to be tested is 80 km. 7.(-1) - Indicates that the query fails or no information is detected. The length of the optical fiber to be tested is displayed as the value selected by the user. However, the actual length equals the value selected by the user plus 10 km in background processing. Default:4(30km).
Context
- MIB
- HUAWEI-XPON-COMMON-MIB
- OID
.1.3.6.1.4.1.2011.6.145.1.1.1.21.1.13- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwXponDeviceOtdrTestEntry
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::hwXponDeviceOtdrTestOpticalFibreLength'
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::hwXponDeviceOtdrTestOpticalFibreLength.<ifIndex>'
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::hwXponDeviceOtdrTestOpticalFibreLength'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647