sfpState

NEXANS-BM-MIB · .1.3.6.1.4.1.266.20.5.1.1.2

Object

column Enumeration
A value indicating the current state of the SFP module.
The possible values returned are:
notSupported(1)
	The port has no SFP slot.
noSfpInserted(2)
	The port has a SFP slot but there is no valid SFP module inserted.
validSfpNoDiagnostic(3)
	A valid SFP module is inserted but the module doesn't supports 
	diagnostic values.
validSfpWithDiagnostic(4)
	A valid SFP module which supports diagnostic is inserted.

Context

MIB
NEXANS-BM-MIB
OID
.1.3.6.1.4.1.266.20.5.1.1.2
Type
column
Access
readonly
Status
current
Parent
bmSwitchSfpEntry

Walk 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 'NEXANS-BM-MIB' -M '/opt/observium/mibs/nexans:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NEXANS-BM-MIB::sfpState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NEXANS-BM-MIB' -M '/opt/observium/mibs/nexans:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NEXANS-BM-MIB::sfpState.<sfpPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NEXANS-BM-MIB' -M '/opt/observium/mibs/nexans:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NEXANS-BM-MIB::sfpState'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1notSupported
2noSfpInserted
3validSfpNoDiagnostic
4validSfpWithDiagnostic