hwOpticsDdmInfoExEncapsulationType
HUAWEI-LINE-COMMON-MIB ·
.1.3.6.1.4.1.2011.6.158.1.1.1.1.1.33
Object
column Enumeration
Options: 1. sff2x5(1) - SFF 2x5 2. sff2x10(2) - SFF 2x10 3. sfp(3) - SFP 4. xfp(4) - XFP 5. lxfp(5) - LXFP 6. bosaonboard(6) - BOSA ON BOARD 7. unknown(7) - Unknown 8. sfpplus(8) - SFP+ 9. invalid(-1) - Indicates that the query fails or no information is detected
Context
- MIB
- HUAWEI-LINE-COMMON-MIB
- OID
.1.3.6.1.4.1.2011.6.158.1.1.1.1.1.33- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwOpticsDdmInfoExEntry
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-LINE-COMMON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-LINE-COMMON-MIB::hwOpticsDdmInfoExEncapsulationType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-LINE-COMMON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-LINE-COMMON-MIB::hwOpticsDdmInfoExEncapsulationType.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-LINE-COMMON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-LINE-COMMON-MIB::hwOpticsDdmInfoExEncapsulationType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
-1 | invalid |
1 | sff2x5 |
2 | sff2x10 |
3 | sfp |
4 | xfp |
5 | lxfp |
6 | bosaonboard |
7 | unknown |
8 | sfpplus |