hwXponDeviceOtdrProtocol
HUAWEI-XPON-COMMON-MIB ·
.1.3.6.1.4.1.2011.6.145.1.1.1.21.1.17
Object
column r/w
Enumeration
Transfer protocol of test result. Options: 1.ftp(1) - Indicates that the test result file transfer mode is ftp. 2.tftp(2) - Indicates that the test result file transfer mode is tftp. 3.sftp(3) - Indicates that the test result file transfer mode is sftp. 4.invalid(-1) - Indicates that the query fails or no information is detected. Default:ftp(1).
Context
- MIB
- HUAWEI-XPON-COMMON-MIB
- OID
.1.3.6.1.4.1.2011.6.145.1.1.1.21.1.17- 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::hwXponDeviceOtdrProtocol'
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::hwXponDeviceOtdrProtocol.<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::hwXponDeviceOtdrProtocol'
Syntax
Enumeration
Values & Constraints
Enumerated Values
-1 | invalid |
1 | ftp |
2 | tftp |
3 | sftp |