sfpDiagMonitorCode
SIAE-SFP-MIB ·
.1.3.6.1.4.1.3373.1103.74.2.1.8
Object
column Bits
This indicates which type of diagnostic monitoring is
implemented (if any) in the SFP.
-bit 7: = 0 legacy diagnostic implementations (should be 0)
-bit 6: = 1 digital diagnostic monitoring implemented (should be 1)
-bit 5: = 1 internal calibration
-bit 4: = 1 external calibration mask
-bit 3: = 0 OMA received power measurment,
= 1 average received power
-bit 2: = 1 I2C addressing option.
Located at I2C address 0xa0, byte: 92
Context
- MIB
- SIAE-SFP-MIB
- OID
.1.3.6.1.4.1.3373.1103.74.2.1.8- Type
- column
- Access
- readonly
- Status
- current
- Parent
- sfpSerialIdEntry
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 'SIAE-SFP-MIB' -M '/opt/observium/mibs/siaemic:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SIAE-SFP-MIB::sfpDiagMonitorCode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SIAE-SFP-MIB' -M '/opt/observium/mibs/siaemic:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SIAE-SFP-MIB::sfpDiagMonitorCode.<sfpModuleId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SIAE-SFP-MIB' -M '/opt/observium/mibs/siaemic:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SIAE-SFP-MIB::sfpDiagMonitorCode'
Syntax
Bits
Values & Constraints
Enumerated Values
0 | sfpDMCtypeLegacy |
1 | sfpDMCtypeImplemented |
2 | sfpDMCtypeInternalCal |
3 | sfpDMCtypeExternalCal |
4 | sfpDMCtypeRxAvgPwr |
5 | sfpDMCtypeAddrChngReqrd |