hm2SfpMediaType
HM2-DEVMGMT-MIB ·
.1.3.6.1.4.1.248.11.10.1.7.1.1.2
Object
column Enumeration
The SFP's Media Type
Context
- MIB
- HM2-DEVMGMT-MIB
- OID
.1.3.6.1.4.1.248.11.10.1.7.1.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hm2SfpInfoEntry
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 'HM2-DEVMGMT-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-DEVMGMT-MIB::hm2SfpMediaType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HM2-DEVMGMT-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-DEVMGMT-MIB::hm2SfpMediaType.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-DEVMGMT-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-DEVMGMT-MIB::hm2SfpMediaType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | ge-1000-base-sx |
2 | ge-1000-base-lx |
4 | ge-1000-base-cx |
5 | fe-100base-lx |
6 | fe-100base-fx |
8 | ge-1000-base-t |
9 | unsupported |
10 | oc3-mm-sr |
11 | oc3-sm-ir |
12 | oc3-sm-lr |
13 | oc12-mm-sr |
14 | oc12-sm-ir |
15 | oc12-sm-lr |
16 | oc48-sr |
17 | oc48-ir |
18 | oc48-lr |
30 | xfp-10gbase-sr |
31 | xfp-10gbase-lr |
32 | xfp-10gbase-er |
40 | microfx |
41 | pof |
50 | m-sfp-2500 |