hostSfpType
ASAM-SFP-MIB ·
.1.3.6.1.4.1.637.61.1.56.3.1.7
Object
This variable indicates the type of the SFP or XFP, as read from the
device.
It is a bitmap represented as a sum, therefore, it can represent
multiple types (combination of types) simultaneously.
The SFP type bits (0..7) are as defined in standard SFF-8472.
The XFP type bits (8..15) are as defined in standard INF-8077_v4.5.
The SFP octet and the XFP octet are mutually exclusive (i.e. at least
one of the two octets is always zero).
The various bit positions are:
bit 0 (1): 1000BASE-SX
bit 1 (2): 1000BASE-LX
bit 2 (4): 1000BASE-CX
bit 3 (8): 1000BASE-T
bit 4 (16): 100BASE-LX/LX10
bit 5 (32): 100BASE-FX
bit 6 (64): BASE-BX10
bit 7 (128): BASE-PX
bit 8 (256): reserved for a future XFP type, INF-8077
bit 9 (512): 10GBASE-EW
bit 10 (1024): 10GBASE-LW
bit 11 (2048): 10GBASE-SW
bit 12 (4096): 10GBASE-LRM
bit 13 (8192): 10GBASE-ER
bit 14 (16384): 10GBASE-LR
bit 15 (32768): 10GBASE-SR
bit 16 (65536): 2500BASE-SX
bit 17 (131072): 2500BASE-LX
bit 18 (262144): 2500BASE-BX
If the hostSfpType is unknown or not specified, hostSfpType = 0.
WARNING This table is now deprecated. ltHostSfpStatusTable should be used instead.
ALCATEL NOTE:
ACCESS: RO
USAGE: NA
PERSIST: NO
INSRVMOD: NA
RANGE: 0..65535
DEFVALUE: 0 / hostSfpType unknown
UNITS: NA
SPARSE: NO
DESCR: NA
Context
- MIB
- ASAM-SFP-MIB
- OID
.1.3.6.1.4.1.637.61.1.56.3.1.7- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- hostSfpStatusEntry
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 'ASAM-SFP-MIB' -M '/opt/observium/mibs/alcatel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ASAM-SFP-MIB::hostSfpType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ASAM-SFP-MIB' -M '/opt/observium/mibs/alcatel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ASAM-SFP-MIB::hostSfpType.<hostStatusSfpFaceplateNumber>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ASAM-SFP-MIB' -M '/opt/observium/mibs/alcatel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ASAM-SFP-MIB::hostSfpType'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647