hwXponOntLoadProtocol
HUAWEI-XPON-MIB ·
.1.3.6.1.4.1.2011.6.128.1.1.2.42.3
Object
scalar r/w
Enumeration
This object indicates the transfer protocol. Options: 1. tftp(1) - TFTP 2. ftp(2) - FTP 3. sftp(3) - SFTP 4. inValidProtocol(255) - Indicates that the query fails or no information is detected
Context
- MIB
- HUAWEI-XPON-MIB
- OID
.1.3.6.1.4.1.2011.6.128.1.1.2.42.3- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hwXponOntLoadCtrlTable
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-XPON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-XPON-MIB::hwXponOntLoadProtocol.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-XPON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-XPON-MIB::hwXponOntLoadProtocol'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | tftp |
2 | ftp |
3 | sftp |
255 | inValidProtocol |