hwXponOntLoadFileType
HUAWEI-XPON-MIB ·
.1.3.6.1.4.1.2011.6.128.1.1.2.42.1
Object
scalar r/w
Enumeration
This object indicates the ONT file type. Options: 1. app(1) - Application load 2. cfg(2) - Configuration load 3. inValidFileType(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.1- 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::hwXponOntLoadFileType.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::hwXponOntLoadFileType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | app |
2 | cfg |
255 | inValidFileType |